Commit graph

176 commits

Author SHA1 Message Date
Kevin Zhang
8d9501b496
Merge branch 'dev' into net7.0 2023-01-07 13:27:31 -06:00
dependabot[bot]
b338494468
Bump NUnit3TestAdapter from 4.2.1 to 4.3.1 (#1758) 2023-01-03 18:32:00 +00:00
Hongtao Zhang
db354a23a5
Update to .Net 7 2022-12-30 19:12:11 -05:00
Jeremy Wu
7da7e608b1
Merge branch 'dev' into add_nodejs_env 2022-12-27 15:43:49 +09:30
Jeremy
3f2b741dcc add unit tests for get autocomplete result 2022-12-25 04:58:37 +11:00
Jeremy
fac24285e0 add folder and file get path unit tests 2022-12-24 22:50:50 +11:00
Jeremy Wu
5af272ad0b Merge branch 'dev' into add_nodejs_env 2022-12-20 20:56:46 +11:00
dependabot[bot]
9564092e41
Bump nunit from 3.13.2 to 3.13.3
Bumps [nunit](https://github.com/nunit/nunit) from 3.13.2 to 3.13.3.
- [Release notes](https://github.com/nunit/nunit/releases)
- [Changelog](https://github.com/nunit/nunit/blob/v3.13.3/CHANGES.md)
- [Commits](https://github.com/nunit/nunit/compare/v3.13.2...v3.13.3)

---
updated-dependencies:
- dependency-name: nunit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 22:06:11 +00:00
Jeremy Wu
00c229d82c add exception handling when Windows Search service not available 2022-12-15 22:03:54 +11:00
Kevin Zhang
435144b440
Merge branch 'dev' into explorerMerge 2022-12-03 13:53:48 -06:00
Jeremy
d297779e4b remove unused SupportedLanguage property 2022-11-30 21:10:30 +11:00
Vic
8dffdfc61d Delete ProgramTest.cs 2022-11-30 16:42:12 +08:00
Vic
54f408aead comment unused 2022-11-28 22:09:55 +08:00
Hongtao Zhang
5f9703ee88
Merge remote-tracking branch 'origin' into explorerMerge 2022-11-24 14:54:36 -06:00
DB P
e011b718e2
Merge branch 'dev' into explorerMerge 2022-11-18 14:02:28 +09:00
Vic
f17571e835 Fix alphabet translation logic 2022-11-16 23:32:27 +08:00
VictoriousRaptor
76cf5f0af9
Merge branch 'dev' into FixProgramUID 2022-11-05 14:54:59 +08:00
Hongtao Zhang
c7743236c3
Merge branch 'dev' of github.com:Flow-Launcher/Flow.Launcher into explorerMerge 2022-11-04 13:17:31 -05:00
Jeremy Wu
92a9662671 add testing for tail end string match 2022-11-04 22:38:38 +11:00
Jeremy Wu
7d87292e24 add score adjust for a match that is closer to the start of string 2022-11-04 22:03:41 +11:00
Hongtao Zhang
970fcd8f14
Fix testing and remove obsolete method 2022-11-03 23:57:47 -05:00
Jeremy Wu
fbc3110fbe fix test output display 2022-11-03 22:33:36 +11:00
Vic
d92ea580b2 CA1822 2022-10-21 18:39:03 +08:00
dependabot[bot]
e656d84042
Bump NUnit3TestAdapter from 4.0.0 to 4.2.1
Bumps [NUnit3TestAdapter](https://github.com/nunit/nunit3-vs-adapter) from 4.0.0 to 4.2.1.
- [Release notes](https://github.com/nunit/nunit3-vs-adapter/releases)
- [Commits](https://github.com/nunit/nunit3-vs-adapter/compare/V4.0.0...V4.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-17 22:37:26 +00:00
Hongtao Zhang
000c45bfa8
Refactor Explorer Code to fit the new architecture
1. Rename some method in QueryConstructor.cs by removing prefix and suffix
2. Split the logic of checking '>' to outer SearchManager.cs
3. Use IAsyncEnumerable for potential future improvement.
2022-09-10 10:45:41 -05:00
Hongtao Zhang
094da0ef0a
Rollback rename 2022-08-31 21:37:29 -05:00
Hongtao Zhang
67d1b896b1
Implement JSONRPC V2 Draft 2022-08-31 21:34:47 -05:00
Hongtao Zhang
193ea552dd
Merge remote-tracking branch 'origin/dev' into explorerMerge
# Conflicts:
#	Flow.Launcher.Test/Plugins/ExplorerTest.cs
#	Plugins/Flow.Launcher.Plugin.Explorer/Search/SearchManager.cs
2022-08-16 21:38:15 -04:00
Hongtao Zhang
a3622d472e
Code Refactor with IAsyncEnumerable instead of Task<IEnumerable> 2022-08-16 18:45:36 -04:00
Oren Nachman
30669e8c25 Further cleanups 2022-08-09 20:18:37 -07:00
Jeremy Wu
dae0a5a812
Merge pull request #1121 from Garulf/Remove-trim-from-query
Pass query without trimming whitespace
2022-07-21 20:41:15 +10:00
Jeremy Wu
9bd9b94264
Merge pull request #1123 from Flow-Launcher/AsyncResultCallback
Implement Async Result Execution
2022-07-21 20:34:56 +10:00
Hongtao Zhang
de1b0a23c6 Rename from ActionAsync to AsyncAction 2022-04-15 18:32:05 -05:00
Hongtao Zhang
3f08dfca9a Update test 2022-04-15 18:11:38 -05:00
Garulf
e8fba288b9 Update test 2022-04-10 08:44:14 -04:00
Garulf
807ff70f50 Update tests 2022-04-10 05:59:18 -04:00
Kevin Zhang
06993cf0bc Add net5.0-windows as targetframework for plugin 2021-12-28 11:36:28 -06:00
Kevin Zhang
f9d608840d Upgrade to .net 6 2021-12-28 11:36:28 -06:00
Jeremy
7868d62974 update test 2021-11-21 17:16:46 +11:00
Jeremy
c7e77e3912 add tests for loading unique metadata method 2021-11-21 16:54:30 +11:00
Jeremy Wu
03166ecd55
Merge pull request #654 from Flow-Launcher/DependencyBump
Bump applicable nuget packages to latest versions
2021-09-23 12:24:22 +10:00
Kevin Zhang
fd794b8e77 Bump Dependency 2021-08-14 07:12:22 +08:00
Kevin Zhang
7ab86ca1f2 Refactor JsonRPC structure 2021-08-13 13:55:07 +08:00
Jeremy Wu
7d8a148c73
add comment to explain locale swap 2021-07-18 22:40:53 +10:00
pc223
2c296a3faf Change hard-coded 1033 LCID (en-US) to system's LCID 2021-07-18 17:34:17 +07:00
Kevin Zhang
11ce7cb830 rename test 2021-07-07 12:40:17 +08:00
Kevin Zhang
c35232ae68 Revert two unexpected change 2021-07-05 22:40:52 +08:00
Kevin Zhang
a3a6e0ef23 Additional Test Cases 2021-07-05 22:29:56 +08:00
Kevin Zhang
d34ad660c1 initial JsonRPCPlugin Unit Test 2021-07-03 20:31:34 +08:00
Jeremy Wu
f4c77fb67b Merge branch 'dev' into DotNet5Upgrade 2021-02-23 21:01:39 +11:00
Jeremy Wu
991bebde6f
Merge pull request #362 from taooceros/portablePDB
Use PortablePDB instead of Full pdb for debugging
2021-02-23 06:58:53 +11:00
Jeremy Wu
77efbffa93 update test name 2021-02-22 21:27:36 +11:00
弘韬 张
d41f47ddcf Migrate UrlPluginTest to Plugins folder 2021-02-22 13:45:40 +08:00
弘韬 张
f940e695a1 add Unit test for Http.cs setting 2021-02-22 13:45:28 +08:00
弘韬 张
0981be499f Use PortablePDB instead of Full pdb for debugging 2021-02-22 13:16:48 +08:00
弘韬 张
a37f1918ae Update all profile to dotnet 5 2021-02-12 03:17:13 +08:00
Jeremy Wu
1ec5023fc4
Merge pull request #318 from taooceros/ResultManagerSingleton
Make most class in Explorer plugin become static class
2021-02-03 09:06:35 +11:00
Jeremy Wu
2bdf69b431 separate acronym count and check 2021-02-02 07:41:36 +11:00
Jeremy Wu
8fb2dad65c add tests 2021-02-01 22:22:48 +11:00
Jeremy Wu
99da6f207a move acronym check to method and update scoring to percentage based 2021-02-01 21:34:35 +11:00
弘韬 张
c875ad5277 Make most class in Explorer plugin become static class 2021-01-29 18:40:51 +08:00
Jeremy Wu
d81db91b72 fix formatting 2021-01-28 21:48:44 +11:00
Jeremy Wu
4993edae2d fix formatting 2021-01-28 21:41:20 +11:00
弘韬 张
f3479f6137 fix testing due to API expand 2021-01-26 16:31:35 +08:00
弘韬 张
67b0bfd73a Merge dev 2021-01-26 16:26:45 +08:00
弘韬 张
900f009893 Revert DotNet 5 update 2021-01-26 16:19:06 +08:00
弘韬 张
a918e7d9c9 Merge Dev 2021-01-26 15:49:30 +08:00
Jeremy Wu
e31bef7d3c fix formatting + naming 2021-01-26 18:01:39 +11:00
Jeremy Wu
7b999c53ff Merge branch 'dev' into PluginAPIExpand 2021-01-26 16:11:54 +11:00
Jeremy Wu
ce525b3fa0 Merge branch 'dev' into AcronymFuzzy 2021-01-26 15:41:58 +11:00
张弘韬
1cd21c0ccb Fix testing 2021-01-25 06:04:05 +08:00
张弘韬
a721bd7de0 Merge remote-tracking branch 'upstream/dev' into PluginAPIExpand
# Conflicts:
#	Flow.Launcher.Plugin/IPublicAPI.cs
2021-01-25 05:36:40 +08:00
Jeremy Wu
647156ce6f Merge branch 'dev' into ExplorerPathAsync 2021-01-24 21:27:21 +11:00
Jeremy Wu
288baa5538 Merge branch 'dev' into ExplorerDirectorySearchWithIndexFix 2021-01-24 20:52:10 +11:00
Jeremy Wu
19d23afbfc add test for when using wildcard directory search 2021-01-24 20:51:56 +11:00
弘韬 张
0fe92d35cb fix testing and a potential error coding 2021-01-23 11:32:41 +08:00
弘韬 张
5285c46bc1 fix testing 2021-01-23 10:59:37 +08:00
弘韬 张
4f12b80603 fix testing 2021-01-19 22:46:18 +08:00
张弘韬
8bd6820088 Merge branch 'PluginAsyncModel' into dev
# Conflicts:
#	Flow.Launcher/ViewModel/MainViewModel.cs
2021-01-09 12:59:59 +08:00
弘韬 张
a8e4c504d0 Move MatchResult to Flow.Launcher.Plugin so that plugins can utilize main method 2021-01-08 15:52:45 +08:00
弘韬 张
63e32f1097 fix testing 2021-01-03 10:52:59 +08:00
弘韬 张
d7805d7a8c Make Explorer plugin completely async 2021-01-03 10:33:59 +08:00
弘韬 张
1ddf83fc86 Update to DotNet5 2020-11-30 11:34:45 +08:00
Jeremy Wu
d64d51cc57 fix localized path when using Explorer plugin 2020-08-24 08:21:16 +10:00
Jeremy Wu
4226b74fc4 update test for file content search action keyword 2020-07-19 22:24:02 +10:00
Jeremy Wu
08bfa8da9c add unit test for determining file content search 2020-07-12 22:41:01 +10:00
Jeremy Wu
3111271a16 add file content search unit tests 2020-07-12 21:51:30 +10:00
Jeremy Wu
c142a50272 update unit test naming, no logic changes 2020-06-23 19:02:04 +10:00
Jeremy Wu
c363b9a5c0 update tests for string matcher
we expect the score to change since we updated the logic for calculating the distance from the first match
2020-06-23 18:54:39 +10:00
Jeremy Wu
b0ec1375e7 add test to safe guard exact matches 2020-06-23 18:50:47 +10:00
Jeremy Wu
11c4aeae67 fix testing to be more reflective of testing intent 2020-06-22 22:36:16 +10:00
Jeremy Wu
d35b5169b5 Add unit test more weight to start of new word 2020-06-22 21:09:08 +10:00
Jeremy Wu
d29b23b53c fix failing test due to Windows Search service not running 2020-06-12 21:19:55 +10:00
Jeremy Wu
eefe2b9ea9 Merge remote-tracking branch 'origin/dev' into explorer_plugin 2020-06-08 20:53:13 +10:00
Jeremy Wu
5d696bd3ab explorer general touch ups- no logic change 2020-06-08 14:20:22 +10:00
Jeremy Wu
2225cbff92 rename method to reflect behaviour 2020-06-02 20:21:28 +10:00
Jeremy Wu
7629778610 rename top level directory search method and tests to reflect intent 2020-06-02 20:04:22 +10:00
Jeremy Wu
f2690ebfe2 fix scenario windows index
still returned indexed subfolder results despite top level is not indexed when searching for top level. eg. searching for c:\
2020-06-01 08:03:04 +10:00
Jeremy Wu
0c53d76fec fix TopLevelDirectory search activation 2020-05-28 21:33:33 +10:00
Jeremy Wu
c7642b73c0 update tests 2020-05-28 18:23:00 +10:00