Commit graph

480 commits

Author SHA1 Message Date
Jack251970
58de62565a Do not validate plugin settings & cache path 2025-02-24 14:14:19 +08:00
Jack251970
6e763f0c3b Remove ReplaceActionKeyword api function & Add action keyword same noticification 2025-02-24 09:53:00 +08:00
Jack251970
9cd30112fe Add documents for plugin metadata 2025-02-23 21:28:03 +08:00
Jack251970
5919418980 Add assembly name & plugin settings path & plugin cache path in meta data for csharp plugins 2025-02-23 21:01:53 +08:00
Jack251970
87febda78f Add ReplaceActionKeyword api function 2025-02-23 12:49:21 +08:00
Jeremy Wu
4b03aa477c
Merge pull request #3240 from Jack251970/back_query_results_before_change_query
Fix ChangeQuery & ReQuery Work Issue When Results Are Not From Query Results
2025-02-23 10:13:11 +11:00
Jack Ye
0f82246683
Update Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs
Co-authored-by: Jeremy Wu <jeremy24wu@gmail.com>
2025-02-22 20:16:36 +08:00
Jeremy Wu
61cd536028
Apply suggestions from code review 2025-02-22 23:16:20 +11:00
Jack251970
64eb4a7bea Improve documents 2025-02-22 19:48:25 +08:00
Jack251970
6f55e8a35d Add BackToQueryResults api function back 2025-02-22 19:44:21 +08:00
Jack251970
aee585620a Remove back to query result and call this function in ChangeQuery & ReQuery 2025-02-22 19:32:08 +08:00
Jack251970
abfeee1423 Support multiple action keywords 2025-02-21 12:59:56 +08:00
Jack251970
e1f1b97b7e Support allow modify action keywords & WebSearch does not let user change its keywords 2025-02-21 12:27:38 +08:00
Jack251970
6e4d9a5e61 Remove useless blank lines 2025-02-21 11:10:16 +08:00
Jack251970
b4bffb1cf5 Use null as default value for record key 2025-02-20 17:17:53 +08:00
Jeremy Wu
735cc14821
Merge pull request #3203 from Jack251970/context_menu_back_to_query
Improve context menu item action response & Fix origin query null exception
2025-02-18 21:57:32 +11:00
Kevin Zhang
81c068e13e
Merge pull request #3194 from Jack251970/record_key
New API for Record Key of Results & Fix Result Clone Issue
2025-02-16 23:43:41 -08:00
Jack251970
00de8611e1 Remove useless obsolete constructor 2025-01-26 20:37:41 +08:00
Jack251970
198442621a Add support for record key 2025-01-21 14:37:14 +08:00
Jack Ye
fc2ce73343
Merge branch 'dev' into dev3 2025-01-19 15:17:36 +08:00
Jeremy Wu
0b8db59e39
Merge pull request #3112 from Flow-Launcher/remove-result-caching
Remove Result Equal used for WPF caching
2025-01-18 21:06:09 +11:00
Jack251970
8eb5a4dfca Improve HttpDownloadAsync function & Use it in PluginManager plugin 2025-01-11 13:24:41 +08:00
Jack251970
297d191412 Use function to delegate the progress task 2025-01-10 19:13:19 +08:00
Jack251970
122887e6a6 Await close event from non-ui thread 2025-01-09 16:37:52 +08:00
Jack251970
8aebf958aa Check ui thread when calling close function & Update documents 2025-01-09 12:13:46 +08:00
Jack251970
f69dd0f155 Improve documents 2025-01-05 00:13:32 +08:00
Jack251970
54f02e04e6 Use public api for ProgressBoxEx & Add support for force close event 2025-01-05 00:08:56 +08:00
Kevin Zhang
fd3576d52c
Merge pull request #3122 from Jack251970/dev3
Replace DllImport and flags with CSWin32 & Remove useless DllImport and flags & Fix right Win key click issue
2024-12-27 16:06:44 -08:00
Hongtao Zhang
9350e82b77 only stackalloc the getwindowtitle buffer when length is small. 2024-12-27 12:57:17 -06:00
Hongtao Zhang
0153f71083 use stackalloc if possible and fix some incorrect use of safehandle 2024-12-25 11:20:09 -06:00
Hongtao Zhang
51a16cc40f Remove Result comparison and Change signature from IEnumerable to ICollection (due to the potential of multiple enumeration) 2024-12-25 14:39:04 +08:00
Jack251970
269e583ea7 Add maximum score to the results for developers. 2024-12-24 11:54:15 +08:00
Jeremy Wu
1c01fa4e46
update comment 2024-12-24 14:32:05 +11:00
Jack251970
4ad967b5f3 Add support for removing selected count from score 2024-12-23 15:57:59 +08:00
Jack251970
a088f91541 Add comments for string truncation 2024-12-14 11:17:29 +08:00
Jack251970
79f8f053d9 Replace DllImport with CSWin32 2024-12-10 15:24:19 +08:00
Jeremy
bce07ee7d2 Merge branch 'dev' into dev1 2024-12-08 16:24:31 +11:00
Jeremy Wu
ce6b4d90bd
Merge pull request #3093 from Jack251970/dev4
Replace original MessageBox with MessageBoxEx & Improve MessageBoxEx display style & Add new public api for using MessageBoxEx
2024-12-08 10:44:08 +11:00
Jeremy
676a5b1590 add defaults to MessageBoxEx Show & update WebSearch to use api call 2024-12-07 22:21:08 +11:00
NoPlagiarism
0b0ead10dc [Result] return data uri image support 2024-12-02 12:20:21 +05:00
Jack251970
b568d2dd95 Combine ShowMsgBox into one function. 2024-12-01 19:55:07 +08:00
Jack251970
0d362b30dd Add default messageboxShow parameter for functions in FilesFolders 2024-12-01 18:38:48 +08:00
Jack251970
9b75acdf21 Add ShowMsgBox functions in public api 2024-11-27 10:07:03 +08:00
Jack251970
dcea54ab83 Fix parameter bug under release mode 2024-11-26 19:28:39 +08:00
Jack251970
b30cc4fc38 Replace System.Windows.MessageBox with MessageBoxEx 2024-11-25 10:38:43 +08:00
Jack251970
6df0837906 improve requery doc 2024-11-21 19:18:15 +08:00
Jack251970
3c3087793a add new public api for chaning the query list back to query results list 2024-11-21 19:18:05 +08:00
dependabot[bot]
7237c1ba6c
Bump JetBrains.Annotations from 2024.2.0 to 2024.3.0
Bumps [JetBrains.Annotations](https://github.com/JetBrains/JetBrains.Annotations) from 2024.2.0 to 2024.3.0.
- [Commits](https://github.com/JetBrains/JetBrains.Annotations/compare/2024.2...2024.3)

---
updated-dependencies:
- dependency-name: JetBrains.Annotations
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-28 22:46:05 +00:00
Jeremy Wu
d3991e6959 version bump 2024-08-13 18:10:48 +10:00
dependabot[bot]
3fc26e524b
Bump JetBrains.Annotations from 2023.3.0 to 2024.2.0
Bumps JetBrains.Annotations from 2023.3.0 to 2024.2.0.

---
updated-dependencies:
- dependency-name: JetBrains.Annotations
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-08 22:08:01 +00:00
Jeremy
4dbecb1b5a allow preview plugin to override the AlwaysPreview setting 2024-06-12 14:14:25 +10:00
Jeremy
9e39e48bf8 minor clean up and update 2024-05-30 21:49:44 +10:00
Jeremy
f902eaed0d Merge remote-tracking branch 'origin/dev' into quicklook 2024-05-29 21:17:09 +10:00
Jeremy
666211dd4c add plugin support for external preview 2024-05-28 21:27:48 +10:00
DB p
e0ff7d2f66 Merge branch 'dev' into 240430PreviewSetting 2024-05-24 17:50:11 +09:00
Yusyuriv
696ae7e20d
Move the additional explorer plugin functionality into the explorer plugin itself 2024-05-20 23:03:19 +06:00
Jeremy Wu
1bbe0302fa
Merge pull request #2520 from flooxo/local_install
Feature: Add support for local plugin installation
2024-05-20 08:44:47 +10:00
Jeremy
2606faae17 minor fixes & refactor 2024-05-16 21:22:08 +10:00
VictoriousRaptor
a337163d9e
fix typo 2024-05-01 11:29:43 +08:00
DB p
dcf72bca5b Add FileSize/Created/LastModified Info for Preview 2024-04-30 07:57:39 +09:00
Kevin Zhang
56bc8f75f2
Update Flow.Launcher.Plugin.csproj 2024-04-16 19:36:57 -05:00
Kevin Zhang
4721b9758b
Merge pull request #2529 from Flow-Launcher/improve-context-menu-results-2
Improve context menu results
2024-03-31 11:49:16 -05:00
AminSallah
c8a2f10620
Introduce param "reselect" to ReQuery instance 2024-02-25 04:29:14 +02:00
AminSallah
50f71c0731
Add ReQuery to API 2024-02-23 23:28:16 +02:00
Garulf
0a9eb09d7e Add DeepCopy method 2024-02-07 14:01:58 +08:00
Jeremy
45ba16da59 bump flow API version 2024-02-04 13:24:43 +11:00
NoPlagiarism
e6fb59e64a Add ToggleGameMode to system commands 2024-01-14 18:31:21 +05:00
VictoriousRaptor
6625e91182 Use default SpecialKeyState 2023-11-20 23:20:59 +08:00
dependabot[bot]
6eecc614a8
Bump JetBrains.Annotations from 2023.2.0 to 2023.3.0
Bumps [JetBrains.Annotations](https://github.com/JetBrains/JetBrains.Annotations) from 2023.2.0 to 2023.3.0.
- [Commits](https://github.com/JetBrains/JetBrains.Annotations/compare/v2023.2.0...2023.3)

---
updated-dependencies:
- dependency-name: JetBrains.Annotations
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-13 22:04:20 +00:00
Hongtao Zhang
f5b1b4f830 rename and add js/ts v2 2023-11-03 21:16:51 -05:00
Hongtao Zhang
3c2ea382ea Merge branch 'dev' of https://github.com/Flow-Launcher/Flow.Launcher into jsonrpc_v2 2023-10-31 08:39:51 -05:00
VictoriousRaptor
29c150397e
Merge branch 'dev' into quicklook 2023-10-15 11:53:45 +08:00
VictoriousRaptor
ec58939e55 Fix exclude path check for index search 2023-09-09 01:49:18 +08:00
VictoriousRaptor
c36cea70de Merge branch 'dev' into quicklook 2023-08-27 22:53:32 +08:00
Jeremy
efd1498a1a bump Plugin project version 2023-08-09 07:49:38 +10:00
Jeremy
9dacfb145a Merge remote-tracking branch 'origin/dev' into jsonrpc_v2 2023-08-07 13:16:26 +10:00
dependabot[bot]
59d27fd90e
Bump JetBrains.Annotations from 2022.3.1 to 2023.2.0
Bumps [JetBrains.Annotations](https://github.com/JetBrains/JetBrains.Annotations) from 2022.3.1 to 2023.2.0.
- [Commits](https://github.com/JetBrains/JetBrains.Annotations/compare/v2022.3.1...v2023.2.0)

---
updated-dependencies:
- dependency-name: JetBrains.Annotations
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-31 22:21:16 +00:00
VictoriousRaptor
e248fcbca5 Fix build error introduced in 1eae69304f
Recover FilePath in 71376b8b
2023-07-11 20:26:37 +08:00
VictoriousRaptor
1eae69304f Merge branch 'dev' into quicklook 2023-07-11 20:16:37 +08:00
Jeremy Wu
6020cd9b81
Merge pull request #2209 from Flow-Launcher/version_bumps
Bump versions for release
2023-07-10 21:24:11 +09:30
Ioannis G
4eb20e242f
fix build issue introduced in 088818bb 2023-07-09 19:32:29 +03:00
Odotocodot
088818bb32 Move delegate into EventHandler.cs
#2216
2023-07-09 15:54:32 +01:00
Odotocodot
7f43d85401
Update Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs
Co-authored-by: Jeremy Wu <jeremy24wu@gmail.com>
2023-07-09 14:07:54 +01:00
Odotocodot
fa96132528 Add Plugin API -> VisibiltyChangedEventHandler 2023-07-03 22:42:41 +01:00
Hongtao Zhang
24c125fd0d Merge remote-tracking branch 'origin/dev' into jsonrpc_v2
# Conflicts:
#	Flow.Launcher.Plugin/Query.cs
2023-07-03 16:48:46 +08:00
Jeremy Wu
eec0b9daf1 bump Flow.Launcher.Plugin version 2023-06-30 20:57:42 +10:00
Jeremy Wu
a7fc5b3dc9
Merge pull request #2204 from Flow-Launcher/clear_obsolete
Remove obsolete and unused code
2023-06-27 21:09:59 +09:30
VictoriousRaptor
67d8b20fdb
Merge pull request #2202 from JamesNZL/ResultEquals
fix: 🐛 check autocomplete and copy text for `Result` equality
2023-06-27 15:29:09 +08:00
Ioannis G
340dc3c8bf
clear obsolete code from Flow.Launcher.Plugin 2023-06-26 14:08:18 +03:00
James
5dd0d349de
refactor: ♻️ use HashCode.Combine for Result hashcode (#2201) 2023-06-26 13:51:37 +12:00
James
7b8f998065
perf: improve Result hashcode algorithm (#2201) 2023-06-25 14:32:54 +12:00
James
cdff8fcd7c
fix: 🐛 check autocomplete and copy text for Result equality (#2201) 2023-06-25 01:46:27 +12:00
Hongtao Zhang
f6912597b4 Merge branch 'dev' into jsonrpc_v2
# Conflicts:
#	Flow.Launcher.Plugin/Query.cs
2023-06-23 11:24:27 +08:00
Ioannis G
da41f2c4f1
update plugin readme, include in nupkg 2023-06-18 23:32:15 +03:00
Ioannis G
bb5e1d3a19
more documentation in Plugin package 2023-06-18 22:53:01 +03:00
Ioannis G
6ebac4e4b1
update documentation in Query 2023-06-18 22:29:40 +03:00
Ioannis G
9b5fbeef9b
update documentation in Result 2023-06-18 21:59:43 +03:00
Jeremy Wu
0047d8accc
Merge pull request #2174 from JohnTheGr8/requery_enhancements
Improvements for re-queries
2023-06-13 18:04:52 +09:30
VictoriousRaptor
1b68d09d51
Merge pull request #2115 from VictoriousRaptor/RemoveUnusedNuget
Remove unused nuget and imports
2023-06-12 16:11:41 +08:00
Jeremy Wu
6f7c3eba4d add option to suppress notification when calling copy 2023-06-11 21:59:08 +10:00
VictoriousRaptor
dcc7dbb918
Merge branch 'dev' into RemoveUnusedNuget 2023-06-11 18:36:04 +08:00
Jeremy Wu
2b862f702a Make CopyToClipboard generic 2023-06-09 19:59:49 +10:00
Jeremy Wu
1ff328be03 update copy calls to use API CopyToClipboard method 2023-06-08 22:46:37 +10:00
Ioannis G
a360ac1b5f
Query: rename IsForced property to IsReQuery 2023-06-07 23:19:47 +03:00
Ioannis G
0b05e954e5
add Query.IsForced property
When a plugin is processing a query, it can check the `IsForced` property
to decide if the results will be served from cache or not.
2023-06-06 12:57:44 +03:00
Hongtao Zhang
8093a7ca31
Merge remote-tracking branch 'origin/dev' into jsonrpc_v2
# Conflicts:
#	Flow.Launcher/Flow.Launcher.csproj
#	Flow.Launcher/Notification.cs
2023-06-02 23:12:38 +08:00
rainyl
bc181683a0 Add plugin API: HideMainWindow(), IsMainWindowVisible() 2023-05-11 22:57:10 +08:00
VictoriousRaptor
306ad7931b
Merge branch 'dev' into RemoveUnusedNuget 2023-05-04 21:14:13 +08:00
Jeremy Wu
ec42aa10eb version bump Flow.Launcher.Plugin 2023-05-03 06:17:39 +10:00
Vic
00e6e5b30d Remove unused using 2023-04-25 21:02:34 +08:00
Vic
2147943117 Fix API docstring format 2023-04-24 15:46:26 +08:00
Vic
a1600fabcc Implement preview switching logic
- Internal and external preview can't open at the same time
- Always preview option doesn't control external
2023-04-22 16:48:05 +08:00
Vic
0c4f50a89f Default values for preview info 2023-04-21 23:46:06 +08:00
Vic
71376b8beb Add FilePath property for PreviewInfo 2023-04-21 22:13:33 +08:00
Hongtao Zhang
85fdcde8a8
Merge branch 'dev' of github.com:Flow-Launcher/Flow.Launcher into jsonrpc_v2 2023-03-26 01:00:30 -05:00
Vic
0f5b02fa38 Open file with associated program
Prevent opening zip in Explorer
Fix working directory issue
2023-03-24 15:22:55 +08:00
Vic
b096944ba1 Add to modifier keys 2023-03-24 14:22:10 +08:00
TheBestPessimist
a9192541ab Make code more readable 2023-03-08 14:29:46 +02:00
TheBestPessimist
436ec7dd39 cleanup 2023-03-08 14:29:46 +02:00
TheBestPessimist
05ba89db3d Result.ToString contains Score as well 2023-03-08 14:29:46 +02:00
TheBestPessimist
52729e3431 cleanup 2023-03-08 14:29:46 +02:00
Jeremy
57bdfcb900 bump Plugin project version from .Net upgrade 2023-02-07 08:19:53 +11:00
Hongtao Zhang
704c26ca3d
Merge branch 'dev' of github.com:Flow-Launcher/Flow.Launcher into net7.0 2023-02-04 11:52:15 -06:00
dependabot[bot]
95ce15f22d
Bump Microsoft.SourceLink.GitHub from 1.0.0 to 1.1.1 (#1866) 2023-02-04 17:50:59 +00:00
Jeremy Wu
3db80b17e4 version bump Flow 2023-01-23 08:53:18 +11:00
Vic
dd02ad37bc Refactor 2023-01-22 13:21:53 +08:00
Vic
babffe907f Disable unused import warning 2023-01-22 12:59:32 +08:00
Vic
b739bb49d3 Fix CI test failure 2023-01-20 15:36:14 +08:00
Vic
4d267fe71e Fix incorrect %homepath% parsing
Parse environment variables before checking path existence
2023-01-20 14:31:01 +08:00
Vic
03f062ca34 Fix build error 2023-01-19 23:26:10 +08:00
Vic
beb144956c Rename method and add option to allow equality 2023-01-19 21:33:09 +08:00
Vic
ac92b93f66 Move IsSubPathOf to SharedCommands 2023-01-19 20:29:25 +08:00
Hongtao Zhang
db354a23a5
Update to .Net 7 2022-12-30 19:12:11 -05:00
VictoriousRaptor
dc5c78f025
Merge branch 'dev' into t2 2022-12-31 01:52:29 +08:00
Vic
44438de7df Fix typo 2022-12-31 01:49:30 +08:00
dependabot[bot]
be27ef08cf
Bump JetBrains.Annotations from 2021.2.0 to 2022.3.1 (#1740)
Bumps [JetBrains.Annotations](https://github.com/JetBrains/JetBrains.Annotations) from 2021.2.0 to 2022.3.1.
- [Release notes](https://github.com/JetBrains/JetBrains.Annotations/releases)
- [Commits](https://github.com/JetBrains/JetBrains.Annotations/commits/v2022.3.1)

---
updated-dependencies:
- dependency-name: JetBrains.Annotations
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-30 19:14:47 +02:00
Jeremy Wu
e23ec178fc
Merge pull request #1723 from Flow-Launcher/version_bumps
Release 1.11.0 version bumps
2022-12-30 12:31:54 +09:30
Jeremy Wu
779a7e59eb
version bump plugin project 2022-12-30 13:41:36 +11:00
VictoriousRaptor
f42f87c766
Merge pull request #1709 from VictoriousRaptor/LazyLoadPreview
Lazy load preview image
2022-12-29 21:17:20 +08:00
Vic
95aaa9f085 Add preview delegate 2022-12-28 20:41:54 +08:00
Jeremy Wu
5af272ad0b Merge branch 'dev' into add_nodejs_env 2022-12-20 20:56:46 +11:00
Vic
6c54ad8589 refactor preview info 2022-12-05 16:01:20 +08:00
Vic
53b17816c7 Renaming method and property 2022-12-05 14:07:35 +08:00
VictoriousRaptor
e2a46ed8e3
Merge branch 'dev' into ImagePreview 2022-12-05 13:20:35 +08:00
Jeremy
caf200b644 move System.Linq.Async to Explorer project 2022-12-05 08:45:44 +11:00
Vic
19d29e82fe update description 2022-11-29 19:32:55 +08:00
Vic
5a7eb621ab Let result provider determine should use big thumbnail 2022-11-29 12:59:13 +08:00
Kevin Zhang
718ed33321
Merge branch 'dev' into explorerMerge 2022-11-28 16:24:11 -06:00
Jeremy Wu
2dba51861f Merge remote-tracking branch 'origin/dev' into add_nodejs_env 2022-11-27 12:48:07 +11:00
DB p
14bb856639 Merge Dev 2022-11-25 21:30:17 +09:00