Commit graph

61 commits

Author SHA1 Message Date
Jack251970
baef9ddacd Expose ISaveable interface in derived class to make sure we are calling the new version of Save method 2025-06-06 18:37:17 +08:00
Jack251970
4ecef470e8 Code quality 2025-05-01 13:33:24 +08:00
Jack251970
af087fb85b Support multiple topmost records storage 2025-05-01 12:49:20 +08:00
Jack251970
0d61908575 Support multiple topmost records 2025-05-01 11:41:53 +08:00
Jack251970
e31f14e60d Use local reference instead 2025-04-13 17:11:36 +08:00
Jack251970
58c3b73ff7 Fix directory path issue 2025-04-11 22:13:58 +08:00
Jack251970
e6377d0463 Fix old Program plugin constructor issue 2025-04-11 18:40:03 +08:00
Jack251970
5c43dd45b2 Code quality 2025-04-11 16:48:02 +08:00
Jack251970
c189336698 Fix possible directory not found issue when saving storage 2025-04-11 16:46:45 +08:00
Jack251970
653b833570 Fix typos 2025-04-08 19:42:59 +08:00
Jack251970
c11ee2f9e7 Improve code quality & comments & Fix lock issue 2025-04-08 17:20:57 +08:00
Jack251970
6e5c7ad190 Use ISavable interface instead of reflection 2025-04-05 11:19:01 +08:00
Jack251970
e6d3d0fa9e Improve code quality 2025-04-05 11:11:14 +08:00
Jack251970
56536d0188 Add log for plugin binary storage 2025-04-04 16:45:58 +08:00
Jack Ye
8cd81b74f9
Merge branch 'dev' into binary_storage_api 2025-04-04 16:41:08 +08:00
Jack251970
28ab71f11a Fix build issue 2025-04-04 11:46:07 +08:00
Jack Ye
9b0d3f2fa4
Merge branch 'dev' into environment_exit 2025-04-04 11:43:01 +08:00
Jack251970
c2f8480c04 Revert "Test save error"
This reverts commit 2d6667bb53.
2025-04-04 11:15:13 +08:00
Jack251970
2d6667bb53 Test save error 2025-04-04 10:42:55 +08:00
Jack251970
95a3fd36de Do not crash when caught exception on saving settings 2025-04-04 10:34:59 +08:00
Jack251970
44ba60cdfc Move ValidateDirectory functions to FileFolders for plugin usage 2025-04-02 20:17:32 +08:00
Jack251970
24327533c6 Add plugin json storage 2025-04-01 14:16:32 +08:00
Jack Ye
7975ab5882
Merge branch 'dev' into plugin_settings_cache_path 2025-03-01 08:51:06 +08:00
Jack251970
47adfd1286 Improve code quality 2025-02-24 15:15:02 +08:00
Jack251970
3efe550b7f Use context plugin settings path 2025-02-24 13:28:58 +08:00
VictoriousRaptor
3573580e6f
Merge pull request #3177 from Flow-Launcher/symlink
resolve link before using File.Replace
2025-02-24 09:21:55 +08:00
Jack251970
1aaba46b8f Use constants & data location for code quality 2025-02-23 21:06:21 +08:00
Jack251970
f0e74a2aa5 Fix issue that plugin manager will save settings for the uninstalled and settings-removed plugins 2025-02-08 19:12:53 +08:00
Hongtao Zhang
4b38e0e714 properly dispose the filestream 2025-01-10 13:11:35 -06:00
Hongtao Zhang
a62b222e6b resolve link before using File.Replace 2025-01-09 12:48:43 -06:00
Hongtao Zhang
90fb2051c9 suppress BinaryStorage.cs exception when loading 2024-05-30 14:21:07 -05:00
Hongtao Zhang
83553244d7 use memorypack instead of binaryformatter 2023-11-11 18:10:06 -06: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
Ioannis G
ea4286b7d3
clear backwards compat code 2023-06-26 14:08:23 +03:00
Hongtao Zhang
f6912597b4 Merge branch 'dev' into jsonrpc_v2
# Conflicts:
#	Flow.Launcher.Plugin/Query.cs
2023-06-23 11:24:27 +08:00
Vic
00e6e5b30d Remove unused using 2023-04-25 21:02:34 +08:00
Hongtao Zhang
a3367abd7a
fix some bug (v1 still broken) 2023-03-26 14:04:06 -05:00
Hongtao Zhang
683f6ebce4
refactor jsonrpc structure (extract setting to a standalone file PortableSettings.cs) 2023-03-26 02:24:31 -05:00
Kevin Zhang
4e1d59bde3
fix the missing parathesis 2023-01-27 09:38:39 -06:00
Kevin Zhang
52fcc68448
Move over Copy
Move might be better since Replace delete the original file
2023-01-27 00:01:47 -06:00
Kevin Zhang
7e350b64ba
Fix Error of loading backup when original file doesn't exists 2023-01-26 23:59:19 -06:00
Hongtao Zhang
51fac77097
Use File.Move when the setting file does not exists 2023-01-24 20:42:53 -06:00
Jeremy Wu
f517343c11
update error message 2023-01-23 09:17:09 +11:00
Hongtao Zhang
8b517954ef
Try Atomic Save for Setting 2023-01-07 13:11:43 -06:00
Oren Nachman
b38ffef23c Remove spuriously added discard (_=) for void call
Intellisense for the non-win
2022-08-08 17:48:17 -07: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
Jeremy Wu
644be7977c use ISavable and add obsolete message 2021-06-21 21:56:20 +10:00
Jeremy Wu
0387bfbb64 update class name 2021-06-21 21:31:07 +10:00
Jeremy Wu
6ec151a8ab use inheritance for ISavable and JsonStrorage 2021-06-21 21:04:19 +10:00
Jeremy Wu
7319133ae8 add backwards compatibility with Everything plugin 2021-06-21 12:34:07 +10:00