Commit graph

5595 commits

Author SHA1 Message Date
dependabot-preview[bot]
03169d1bb8
Merge pull request #3570 from tridactyl/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-tslint-4.22.0 2021-04-12 18:26:29 +00:00
dependabot-preview[bot]
7d33da1c48
Bump @typescript-eslint/eslint-plugin-tslint from 4.21.0 to 4.22.0
Bumps [@typescript-eslint/eslint-plugin-tslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin-tslint) from 4.21.0 to 4.22.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin-tslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.22.0/packages/eslint-plugin-tslint)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-12 17:52:37 +00:00
dependabot-preview[bot]
8e5578feb1
Merge pull request #3572 from tridactyl/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.22.0 2021-04-12 17:50:45 +00:00
dependabot-preview[bot]
3ce47ab373
Bump @typescript-eslint/eslint-plugin from 4.21.0 to 4.22.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.21.0 to 4.22.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.22.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-12 17:32:44 +00:00
dependabot-preview[bot]
de8019230f
Merge pull request #3571 from tridactyl/dependabot/npm_and_yarn/typescript-eslint/parser-4.22.0 2021-04-12 17:30:40 +00:00
dependabot-preview[bot]
bf272345bf
Bump @typescript-eslint/parser from 4.21.0 to 4.22.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.21.0 to 4.22.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.22.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-12 17:11:55 +00:00
Oliver Blanthorn
3dba2f777a
Merge pull request #3564 from tridactyl/nicer_hot_reload
Make Tridactyl reload pages on dev rebuilds
2021-04-12 14:25:19 +01:00
Oliver Blanthorn
2dc24ce1f0
Preserve console between updates 2021-04-12 13:56:31 +02:00
Oliver Blanthorn
a9fdde0a2a
Move files all at once once finished 2021-04-12 13:53:59 +02:00
Oliver Blanthorn
5cad7ebfab
Make Tridactyl reload pages on dev rebuilds 2021-04-12 13:51:50 +02:00
Oliver Blanthorn
654a62958d
Merge pull request #3534 from vtavernier/feature/hint-refactor
Refactor :hint
2021-04-12 12:49:48 +01:00
dependabot-preview[bot]
aebbf32412
Merge pull request #3567 from tridactyl/dependabot/npm_and_yarn/marked-2.0.3 2021-04-11 19:55:02 +00:00
dependabot-preview[bot]
5cf67e2eff
Bump marked from 2.0.2 to 2.0.3
Bumps [marked](https://github.com/markedjs/marked) from 2.0.2 to 2.0.3.
- [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.2...v2.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-11 19:18:10 +00:00
Vincent Tavernier
8a059aff9f Fix miscompile with esbuild 2021-04-11 20:14:23 +02:00
Vincent Tavernier
fa2a1af5ff
Try fixing -V issue in :hint refactor 2021-04-11 18:36:13 +02:00
Vincent Tavernier
ba724967db
Document compatible options for :hint better 2021-04-11 18:36:13 +02:00
Vincent Tavernier
81b96651e2
Update documentation for :hint
Co-authored-by: Oliver Blanthorn <freedom4cows@gmail.com>
2021-04-11 18:36:12 +02:00
Vincent Tavernier
da364230ee
Add ';V' binding for 'hint -V' 2021-04-11 18:36:12 +02:00
Vincent Tavernier
d0b5e74021
Remove unnecessary type assertion in src/content/hinting.ts
Co-authored-by: Rummskartoffel <20257197+Rummskartoffel@users.noreply.github.com>
2021-04-11 18:36:12 +02:00
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