Vincent Tavernier
d1e43996d4
Remove unused hinting helpers
2021-04-11 18:36:12 +02:00
Vincent Tavernier
6c478503ed
Fix single-valued yanks for :hint refactor
2021-04-11 18:36:12 +02:00
Vincent Tavernier
f8ee389631
Fix #1374 in :hint refactor
2021-04-11 18:36:12 +02:00
Vincent Tavernier
03e2f9f470
Fix -pipe should combine with other flags
2021-04-11 18:36:12 +02:00
Vincent Tavernier
1be771e6c1
Reorder cases in argument parsing
2021-04-11 18:36:12 +02:00
Vincent Tavernier
b78ad0eed5
Support -cF selector callback
2021-04-11 18:36:12 +02:00
Vincent Tavernier
9cdd325240
Rename Semicolon to ScrollFocus
2021-04-11 18:36:11 +02:00
Vincent Tavernier
eee50d1ac5
Move :hint refactored argument parser to hint_util, add tests
2021-04-11 18:36:09 +02:00
Vincent Tavernier
b11630c5de
Add missing break, fixes #afe920f
2021-04-11 18:35:38 +02:00
Vincent Tavernier
93a75f192a
Propagate selectors to non-default hintables
2021-04-11 18:35:38 +02:00
Vincent Tavernier
4c19f4557c
Restore -pipe
option
2021-04-11 18:35:38 +02:00
Vincent Tavernier
dd5adb56c1
Warn about options without a matching value
2021-04-11 18:35:38 +02:00
Vincent Tavernier
3aa0c26bfc
Restore -c
option
2021-04-11 18:35:38 +02:00
Vincent Tavernier
689a649624
Refactor :hint
...
This commit refactors the `hint` ex command with the following:
* Introduce an argument parser based on a state machine. We can now
properly handle flags, combined short flags, and flags with optional
arguments.
* Keeps backwards compatibility (except for the deprecated `-br` flag):
all current flags are supported, but the ability to parse multiple
options may introduce new behaviors (which would fail before silently).
* Add a `-!` flag: perform the default action on every hint
* Add a `-V` flag: consider elements out of the viewport for hinting
* Changes `-f/-fr` to refine results from the default selectors
Rationale: the hinting command already goes well beyond simply showing
hints for clickable links. It makes sense that 'common' operations
should have easier shortcuts than defaulting to JavaScript callbacks.
This does make the code for `hint` slightly longer, but with the
refactored control flow this doesn't seem significant.
2021-04-11 18:35:38 +02:00
Oliver Blanthorn
43b70c16dd
Make fuzziness less arbitrary
...
Long URLs are no longer penalised
2021-04-11 17:49:09 +02:00
Oliver Blanthorn
5db0337349
Merge pull request #3554 from tridactyl/esbuild
...
Switch to esbuild-loader
2021-04-10 22:34:57 +01:00
Oliver Blanthorn
f75f81f49e
Add sourcemaps
2021-04-10 22:58:02 +02:00
dependabot-preview[bot]
88da1e3b4a
Merge pull request #3563 from tridactyl/dependabot/npm_and_yarn/marked-2.0.2
2021-04-10 20:54:12 +00:00
Oliver Blanthorn
f84fe6f91e
Skip grammar generation on quick builds
2021-04-10 22:52:22 +02:00
Oliver Blanthorn
f6e52656e3
Fix another missed moduleInterop
2021-04-10 22:47:00 +02:00
Oliver Blanthorn
3c35f54c5e
Switch to pure esbuild from esbuild-loader
2021-04-10 22:44:34 +02:00
dependabot-preview[bot]
810a394dca
Bump marked from 2.0.1 to 2.0.2
...
Bumps [marked](https://github.com/markedjs/marked ) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/markedjs/marked/releases )
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js )
- [Commits](https://github.com/markedjs/marked/compare/v2.0.1...v2.0.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-10 20:28:21 +00:00
Oliver Blanthorn
1501ea4513
Fix some more module interop stuff
2021-04-10 22:22:14 +02:00
Oliver Blanthorn
f5359f3370
Enable esModuleInterop rule
2021-04-10 21:44:59 +02:00
Oliver Blanthorn
8079d124e6
Re-enable typechecking on proper builds
2021-04-10 21:43:23 +02:00
Oliver Blanthorn
9c300ecc62
Add warning to rebuild
2021-04-10 21:28:44 +02:00
Rummskartoffel
de2d17f8b1
Mention rebuild
in help
2021-04-10 21:27:23 +02:00
Oliver Blanthorn
9d6fb1a0ae
Swap d bind to one I actually use
2021-04-10 21:26:01 +02:00
dependabot-preview[bot]
d7d466de41
Merge pull request #3560 from tridactyl/dependabot/npm_and_yarn/eslint-7.24.0
2021-04-09 22:46:40 +00:00
dependabot-preview[bot]
8cad0342f2
Bump eslint from 7.23.0 to 7.24.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.23.0 to 7.24.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.23.0...v7.24.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-09 22:24:36 +00:00
dependabot-preview[bot]
b9c635e940
Merge pull request #3559 from tridactyl/dependabot/npm_and_yarn/webpack-5.31.2
2021-04-09 18:45:48 +00:00
dependabot-preview[bot]
1ac88e6dac
Bump webpack from 5.31.1 to 5.31.2
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.31.1 to 5.31.2.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.31.1...v5.31.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-09 18:28:01 +00:00
dependabot-preview[bot]
cb916ffde1
Merge pull request #3558 from tridactyl/dependabot/npm_and_yarn/webpack-5.31.1
2021-04-09 17:43:27 +00:00
dependabot-preview[bot]
e797493fd9
Bump webpack from 5.31.0 to 5.31.1
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.31.0 to 5.31.1.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.31.0...v5.31.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-09 17:25:25 +00:00
Oliver Blanthorn
a0f8ae8ed8
Merge pull request #3556 from tridactyl/less_fuzzy
...
WIP: Make fuzzy matching less fuzzy
2021-04-09 12:09:46 +01:00
Oliver Blanthorn
17b346de13
Add yarn run rebuild
for dirty rebuilds
2021-04-09 13:08:47 +02:00
Oliver Blanthorn
8115c0dd8d
Improve help and rename option
2021-04-09 12:40:35 +02:00
Oliver Blanthorn
017bc6fdf0
Fix silly typo I introduced
2021-04-08 15:39:54 +02:00
meep
20dc1918e5
WIP: Make fuzzy matching less fuzzy
...
Known issues: single characters often no longer produce any results
2021-04-08 14:35:16 +02:00
dependabot-preview[bot]
f40a210bed
Merge pull request #3525 from tridactyl/dependabot/npm_and_yarn/webpack-cli-4.6.0
2021-04-07 17:44:51 +00:00
dependabot-preview[bot]
85ea30db83
Bump webpack-cli from 4.5.0 to 4.6.0
...
Bumps [webpack-cli](https://github.com/webpack/webpack-cli ) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases )
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.5.0...webpack-cli@4.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-07 17:23:35 +00:00
dependabot-preview[bot]
206be9b6b2
Merge pull request #3555 from tridactyl/dependabot/npm_and_yarn/webpack-5.31.0
2021-04-07 17:21:10 +00:00
dependabot-preview[bot]
68cc3c38b0
Bump webpack from 5.30.0 to 5.31.0
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.30.0 to 5.31.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.30.0...v5.31.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-07 16:57:03 +00:00
Oliver Blanthorn
7e0565947f
Remove unused package
2021-04-07 14:28:32 +02:00
Oliver Blanthorn
e2db6478ea
Add recommended ts settings
2021-04-07 14:00:23 +02:00
Oliver Blanthorn
5b3f14cc97
Switch to esbuild-loader
...
NB: this turns off type checking
2021-04-07 11:39:01 +02:00
dependabot-preview[bot]
b5ac45ae00
Merge pull request #3544 from tridactyl/dependabot/npm_and_yarn/geckodriver-1.22.3
2021-04-06 20:02:59 +00:00
dependabot-preview[bot]
445c7d80e0
Bump geckodriver from 1.22.2 to 1.22.3
...
Bumps [geckodriver](https://github.com/vladikoff/node-geckodriver ) from 1.22.2 to 1.22.3.
- [Release notes](https://github.com/vladikoff/node-geckodriver/releases )
- [Commits](https://github.com/vladikoff/node-geckodriver/compare/v1.22.2...v1.22.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-06 19:46:30 +00:00
dependabot-preview[bot]
853ea1d7e0
Merge pull request #3553 from tridactyl/dependabot/npm_and_yarn/jest-webextension-mock-3.7.9
2021-04-06 19:44:34 +00:00
dependabot-preview[bot]
83547163a8
Bump jest-webextension-mock from 3.7.8 to 3.7.9
...
Bumps jest-webextension-mock from 3.7.8 to 3.7.9.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-06 19:28:53 +00:00