Commit graph

3947 commits

Author SHA1 Message Date
Oliver Blanthorn
fd713e8696
Merge pull request #2177 from tridactyl/dependabot/npm_and_yarn/types/node-13.7.4
Bump @types/node from 13.7.1 to 13.7.4
2020-02-25 17:45:50 +00:00
Oliver Blanthorn
45b2bd2895
Cheer up tslint 2020-02-25 17:15:31 +00:00
mozbug
9933755466 Silence lint 2020-02-25 20:17:48 +08:00
mozbug
8850b00a20 Allow js/jsb to load local javascript file.
Add a flag `-s` to source js files from user's config directory:

    :js -s test.js

With the ability to load js files, `tridactylrc` can have its javascript
code into seperate files.

Since the js code was run by calling `eval()` in local score of calling
function, the variables and functions decleared in the js file will lost
after eval().

To make the content of javascript file reusable, user could export
functions into some globals like `window.` or `tri.`.
2020-02-25 19:52:18 +08:00
josh
45cac09392 Feature: new vmap '=' to expand selection to encompass parent nodes contents 2020-02-24 17:35:35 -06:00
Oliver Blanthorn
27572a5914
Revert "Merge branch 'config_no_onchanged'"
This reverts commit fe39c3e43a, reversing
changes made to 9ceb56595c.
2020-02-20 10:23:56 +00:00
dependabot-preview[bot]
a172ef72ae
Bump ts-jest from 25.2.0 to 25.2.1
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 25.2.0 to 25.2.1.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-20 05:31:01 +00:00
dependabot-preview[bot]
26e9f3a296
Bump @types/jest from 25.1.2 to 25.1.3
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 25.1.2 to 25.1.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-20 05:30:34 +00:00
dependabot-preview[bot]
264a571f77
Bump @types/node from 13.7.1 to 13.7.4
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 13.7.1 to 13.7.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-20 05:30:04 +00:00
Oliver Blanthorn
fe39c3e43a
Merge branch 'config_no_onchanged' 2020-02-19 17:04:28 +00:00
Oliver Blanthorn
051c1085f2
Hic erant errata 2020-02-19 11:55:22 +00:00
Oliver Blanthorn
9ceb56595c
Merge pull request #2176 from tridactyl/lint_addon
Make CI run AMO linter
2020-02-19 11:51:02 +00:00
Oliver Blanthorn
732907c0fd
Fix typo in CI config 2020-02-19 11:46:44 +00:00
Oliver Blanthorn
df242153dc
Make CI run AMO linter 2020-02-19 11:46:44 +00:00
Oliver Blanthorn
c6a3a01d40
Merge pull request #2175 from mozbugbox/fix-hinting-position
Fix hinting tag position for multiline links
2020-02-19 11:46:19 +00:00
Oliver Blanthorn
a1648e18e8
Fix #2172: reduce size of Tridactyl scripts by 90% 2020-02-19 11:18:48 +00:00
mozbug
1b32f65056 Give rect a default value 2020-02-19 18:30:28 +08:00
mozbug
cdc86640bc Fix hinting tag position for multiline links
Sometime a link spans multilines. The bounding rect of the link is
larger than the first line. In that case, using boundinig rect could
misplace the hinting tag.

Use the first visible clientRect to position the hinting tag.
2020-02-19 17:48:34 +08:00
Oliver Blanthorn
dc6c1b4c40
Remove delay between RC lines
Hopefully it isn't needed any more.
2020-02-18 21:12:08 +00:00
Oliver Blanthorn
f5439931d6
Restore config changelisteners 2020-02-18 21:04:35 +00:00
Oliver Blanthorn
4f498f986a
Doc fix 2020-02-18 19:06:18 +00:00
Oliver Blanthorn
6031001dcb
Unbreak Tridactyl by importing locks earlier
This is the most mad bug I've had in a while. O_o
2020-02-18 19:06:10 +00:00
Oliver Blanthorn
9b933a8c7a
Fix linter error 2020-02-18 18:54:35 +00:00
Oliver Blanthorn
998c106036
Remove onchanged listener from config 2020-02-18 18:27:59 +00:00
Oliver Blanthorn
d291277748
Merge pull request #2137 from tridactyl/state_no_onchanged
Remove onchanged listener from state
2020-02-18 18:19:28 +00:00
Oliver Blanthorn
bca999e852
Ignore errors about pages not listening 2020-02-18 17:52:28 +00:00
Oliver Blanthorn
22fa2c0354
Ignore some messageAllTab errors 2020-02-18 17:19:53 +00:00
Oliver Blanthorn
4f2bc3db03
Break most of Tridactyl by adding locks to config 2020-02-18 16:38:10 +00:00
Oliver Blanthorn
14a9630f94
Merge pull request #2169 from mozbugbox/sort-completion-filter
Sort completion result based on Fuse.js score
2020-02-18 15:11:31 +00:00
Oliver Blanthorn
d9484112e4
Fix linter errors 2020-02-18 14:51:24 +00:00
mozbug
1684cd83da Fix jump to nth tab directly with tab command 2020-02-18 22:39:15 +08:00
Oliver Blanthorn
7a092a513b
Minor perf optimisation 2020-02-18 13:00:02 +00:00
Oliver Blanthorn
525841d599
Doc fix 2020-02-18 12:46:28 +00:00
Oliver Blanthorn
b19205aa81
Make tslint happy 2020-02-18 12:45:00 +00:00
Oliver Blanthorn
3b495a209d
Fix g; by fixing background state 2020-02-18 12:39:16 +00:00
mozbug
75777d0788 Force scroll to focus in completion updateDisplay 2020-02-18 12:55:10 +08:00
mozbug
c46bd5aa59 Sort completions by score on demand 2020-02-18 09:22:41 +08:00
mozbug
4fcf8a7a44 Sort completion result based on Fuse.js score
The completion uses Fuse.js to match user filter. The matching is fuzzy,
therefore sometime looks weird. The results are much easier to follow by
putting better matched results at the top.
2020-02-18 00:12:06 +08:00
Oliver Blanthorn
d66db550c6
Merge pull request #2168 from mozbugbox/faster-tab-completion
Faster tab completion
2020-02-17 13:59:18 +00:00
mozbug
5590160510 Don't reload options of tabs on completion update 2020-02-17 20:17:39 +08:00
mozbug
ba9cce3e37 Speedup tab completion 2020-02-17 19:22:28 +08:00
Oliver Blanthorn
c8438178d1
Merge pull request #2165 from tridactyl/dependabot/npm_and_yarn/typedoc-0.16.10
Bump typedoc from 0.16.9 to 0.16.10
2020-02-17 06:53:53 +00:00
Oliver Blanthorn
0a24bfe31a
Merge pull request #2166 from tridactyl/dependabot/npm_and_yarn/types/selenium-webdriver-4.0.8
Bump @types/selenium-webdriver from 4.0.7 to 4.0.8
2020-02-17 06:53:11 +00:00
dependabot-preview[bot]
519ac8c663
Bump @types/selenium-webdriver from 4.0.7 to 4.0.8
Bumps [@types/selenium-webdriver](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/selenium-webdriver) from 4.0.7 to 4.0.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/selenium-webdriver)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-17 05:42:26 +00:00
dependabot-preview[bot]
b5cde75757
Bump typedoc from 0.16.9 to 0.16.10
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.16.9 to 0.16.10.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.16.9...v0.16.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-17 05:41:46 +00:00
Oliver Blanthorn
e3ca8e3f80
Use named locks 2020-02-16 20:40:50 +00:00
Oliver Blanthorn
a54ec6bbbd
Fix typo
One day I will rebase something without mangling it.

Today was not that day.
2020-02-16 20:34:20 +00:00
Oliver Blanthorn
731f56d113
Remove onchanged listener from state 2020-02-16 20:26:12 +00:00
Oliver Blanthorn
647c9b2a77
Merge pull request #2152 from tridactyl/dependabot/npm_and_yarn/types/selenium-webdriver-4.0.7
Bump @types/selenium-webdriver from 4.0.6 to 4.0.7
2020-02-16 20:24:59 +00:00
Oliver Blanthorn
7d9e7d5ab4
Switch to Ricard-Agrawala locks 2020-02-16 20:19:30 +00:00