mozbug
4c24063e3e
Allow multi-key matching for vimperator filter
...
When user unbind <space> in hint mode or bind hint.pushSpace and enter
spaces in vimperator hinting mode, the user input will be split by
space. Each part of the key sequence are matched to filter hintings.
For input 'pe l', 'personal' matches while 'person' don't.
2020-03-01 21:02:23 +08:00
Oliver Blanthorn
fae68a0df6
Switch state.ts to using lock with timeout
2020-02-29 19:44:00 +00:00
Oliver Blanthorn
84d258c293
Add withlock function with timeout
2020-02-29 19:43:38 +00:00
Oliver Blanthorn
6f6c9e0cd0
Fix daft bug - promises weren't racing
2020-02-29 19:04:02 +00:00
Oliver Blanthorn
e4926ad17a
Merge pull request #2201 from mozbugbox/call-user-defined-excmd-through-controller
...
Call user defined excmds function through controller
2020-02-29 19:00:40 +00:00
mozbug
fa50f8d159
Call user defined excmds function through controller
...
If user defined functions are added into tri.excmds, the functions can
be called throught `controller_background/content` message.
The arguments are not converted so the args will all be passed as
strings.
2020-03-01 00:47:53 +08:00
Oliver Blanthorn
3b38f093b7
Merge pull request #2194 from mozbugbox/bind-completion
...
Binding completion
2020-02-28 21:10:04 +00:00
mozbug
a96b6d902f
Do deselect() on binding completion
2020-02-29 02:48:49 +08:00
Oliver Blanthorn
63d2b4ab9e
Add timeout to locks by default
2020-02-28 16:50:47 +00:00
Oliver Blanthorn
8fc8e6d4f8
Merge pull request #2195 from mozbugbox/editor
...
Editor
2020-02-28 16:32:10 +00:00
mozbug
a6f9072874
Use generic variables in binding.ts
2020-02-28 22:01:52 +08:00
mozbug
30f89a6187
Move binding related function into lib/binding.ts
2020-02-28 21:18:35 +08:00
mozbug
5e73ca9a78
Update keybinding to exmaps
2020-02-28 20:45:29 +08:00
Oliver Blanthorn
7705ebf5d8
Fix #1538 : synchronise repeat between tabs and bg
2020-02-28 09:40:01 +00:00
Oliver Blanthorn
c6985a9561
Merge pull request #2198 from tridactyl/dependabot/npm_and_yarn/typedoc-0.16.11
...
Bump typedoc from 0.16.10 to 0.16.11
2020-02-28 07:24:07 +00:00
dependabot-preview[bot]
f8730e2c44
Bump typedoc from 0.16.10 to 0.16.11
...
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc ) from 0.16.10 to 0.16.11.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases )
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.16.10...v0.16.11 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-28 06:21:19 +00:00
mozbug
b7afb3b9a1
Add some bindings for ex mode
2020-02-28 00:05:10 +08:00
mozbug
7c25e32d98
Editor "before" of getWordBoundaries should start from char before the caret
2020-02-27 23:50:42 +08:00
mozbug
c2e162613f
forward_word in editor should move to the end of line
2020-02-27 23:47:04 +08:00
mozbug
a1717e740f
Excmds completion allow partial match at the middle
2020-02-27 22:37:43 +08:00
mozbug
32500c86ae
Completion popup scrolls only on necessary
2020-02-27 22:27:15 +08:00
Oliver Blanthorn
c6e1ed8c5c
Add completions to composite
2020-02-27 13:53:06 +00:00
mozbug
37b8b99999
Add completions for key bindings
2020-02-27 21:31:41 +08:00
Oliver Blanthorn
e1f99759e5
Fix #2184 : add urlmodify_js
2020-02-27 12:46:30 +00:00
Oliver Blanthorn
290cf5d0a7
Merge branch 'dependabot/npm_and_yarn/uuid-7.0.1'
2020-02-27 12:29:45 +00:00
Oliver Blanthorn
ae257ae3f1
Update UUID for v7
2020-02-27 12:29:26 +00:00
Oliver Blanthorn
cd990a9256
Merge branch 'the_asynquening'
2020-02-27 12:11:57 +00:00
Oliver Blanthorn
0a15d202f2
Merge branch 'js-source-file'
2020-02-27 12:08:12 +00:00
Oliver Blanthorn
df3ed4f903
Make js help follow Tridactyl style guide
...
i.e. line formatting is done on the reader's machine, not the writer's
2020-02-27 12:07:37 +00:00
Oliver Blanthorn
4477f3e37d
Fix a few typos and improve help a little
2020-02-27 12:05:26 +00:00
Oliver Blanthorn
fa9d3228c9
Add filesystem completion to js{,b} -s
2020-02-27 11:55:17 +00:00
mozbug
d6086f73f2
Silence tsdoc
2020-02-26 21:29:38 +08:00
mozbug
2a302aba62
Add doc for new options to js
2020-02-26 21:28:59 +08:00
mozbug
53e368edcd
excmds.js remove check for '../' in path
2020-02-26 19:20:38 +08:00
mozbug
fc03d64113
excmds.js add option -r to load from config dir
2020-02-26 19:17:42 +08:00
Oliver Blanthorn
539997449f
Merge pull request #2192 from tridactyl/dependabot/npm_and_yarn/types/node-13.7.6
...
Bump @types/node from 13.7.4 to 13.7.6
2020-02-26 09:19:04 +00:00
dependabot-preview[bot]
efbd85661a
Bump uuid from 3.4.0 to 7.0.1
...
Bumps [uuid](https://github.com/uuidjs/uuid ) from 3.4.0 to 7.0.1.
- [Release notes](https://github.com/uuidjs/uuid/releases )
- [Changelog](https://github.com/uuidjs/uuid/blob/master/CHANGELOG.md )
- [Commits](https://github.com/uuidjs/uuid/compare/v3.4.0...v7.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-26 06:20:03 +00:00
dependabot-preview[bot]
9d85eb27fc
Bump @types/node from 13.7.4 to 13.7.6
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 13.7.4 to 13.7.6.
- [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-26 06:19:34 +00:00
glacambre
e2464e552a
excmds.ts: make a lot of functions return promises
...
It's important to have async functions return promises as this ensures
that composite commands run in a deterministic and unsurprising order.
Also, making `:sanitize` synchronous might fix all issues we have with
Tridactyl not sourcing tridactylrcs entirely.
2020-02-25 19:56:03 +01:00
Oliver Blanthorn
35e4dd5af1
Merge pull request #2178 from tridactyl/dependabot/npm_and_yarn/types/jest-25.1.3
...
Bump @types/jest from 25.1.2 to 25.1.3
2020-02-25 17:46:57 +00:00
Oliver Blanthorn
641f80a59a
Merge pull request #2179 from tridactyl/dependabot/npm_and_yarn/ts-jest-25.2.1
...
Bump ts-jest from 25.2.0 to 25.2.1
2020-02-25 17:46:22 +00:00
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