Oliver Blanthorn
b7fd6880ec
Merge pull request #2239 from tridactyl/dependabot/npm_and_yarn/marked-0.8.1
...
Bump marked from 0.8.0 to 0.8.1
2020-03-20 10:53:21 +00:00
Oliver Blanthorn
ead0d0b914
Merge pull request #2234 from saulrh/parser_keys_on_exstr
...
Return keys=[] from parser so things don't blow up if exstr is ""
2020-03-20 10:33:51 +00:00
Oliver Blanthorn
7802c9a83c
Fix unbindurl: set unbound key to null
2020-03-20 10:33:34 +00:00
Oliver Blanthorn
59fe08c1a4
Merge pull request #2231 from mozbugbox/fix-hook-pre-commit
...
If yarn bin not in $PATH, pre-commit hook always fails
2020-03-20 10:25:13 +00:00
Oliver Blanthorn
a12dd78fe8
Merge pull request #2230 from mozbugbox/buffer-completion-number-prefix
...
Buffer completion with number prefix. close #2010 .
2020-03-20 10:14:19 +00:00
Oliver Blanthorn
add7a0ed22
Merge pull request #2237 from inkarkat/doc-editorcmd
...
Improve the documented editorcmd for Vim
2020-03-20 10:10:40 +00:00
dependabot-preview[bot]
b63c0f2b86
Bump marked from 0.8.0 to 0.8.1
...
Bumps [marked](https://github.com/markedjs/marked ) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/markedjs/marked/releases )
- [Commits](https://github.com/markedjs/marked/compare/v0.8.0...v0.8.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-19 06:21:12 +00:00
dependabot-preview[bot]
573a76cf05
Bump @types/node from 13.7.7 to 13.9.2
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 13.7.7 to 13.9.2.
- [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-03-19 06:20:32 +00:00
Ingo Karkat
692ba1e338
Apply vim_positioning_arg to all Vim variants
...
This basic (though a bit complex) Vim argument should be supported by
all variants.
Additionally, drop the superfluous %f argument in the tui_editors Vim
definitions; the gui candidates (mvim, gvim) didn't have this, and it's
not necessary; appending the filename (the default) works just fine.
2020-03-18 21:05:19 +01:00
Ingo Karkat
9aa96fb22b
getBestEditor(): Extract os constant, define arg_quote and vim_positioning_arg
...
In order to apply the cursor positioning for the Vim editor as
documented for 'editorcmd', define a constant to avoid duplicating the
(rather complex) argument for all of the mvim / nvim / vim / gvim
variants. The argument needs to be quoted (at least on Unix, and there
single quotes have to be used to avoid history expansion (e.g. in Bash)
triggered by the "!" character), so another platform-specific constant
(arg_quote) is needed (as Windows only supports double quotes).
2020-03-18 21:05:19 +01:00
Ingo Karkat
b755391aed
Improve the documented editorcmd for Vim
...
Problems with the original:
- Addressing the column with "l" assumes that "G" positions the cursor on the first column. But the default behavior already skips leading indent (so is wrong when there's leading whitespace), and with ":set nostartofline", the current column actually is kept (which completely and randomly messes up the column addressing).
- ":normal" without ! is affected by mappings; users may have tweaked the "G" and "l" (or in the worst case completely changed the behavior, e.g. for use with a different keyboard layout).
This change makes the mapping immune to mappings (with ":normal!") and uses the "|" command (which uses virtual column addressing independent of the current column or "G" behavior) instead of "c".
Additionally, "zv" makes the current line visible should it be obscured by folding. (Vim may detect a filetype and automatically enable folding.)
Instead of -c <cmd>, the shorter +<cmd> form is used. This is just a cosmetic change. Using just a single argument and avoiding any whitespace within it may prevent command-line argument parsing issues.
2020-03-17 20:18:54 +01:00
dependabot-preview[bot]
dfdd741498
Bump immer from 6.0.0 to 6.0.2
...
Bumps [immer](https://github.com/immerjs/immer ) from 6.0.0 to 6.0.2.
- [Release notes](https://github.com/immerjs/immer/releases )
- [Commits](https://github.com/immerjs/immer/compare/v6.0.0...v6.0.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-17 06:24:12 +00:00
Saul Reynolds-Haertle
07ea9f3825
Return keys=[] from parser so things don't blow up if exstr is ""
2020-03-16 17:24:53 -07:00
Oliver Blanthorn
2f02f3e446
Merge pull request #2202 from tridactyl/blind_fix
...
config.ts: make sure mapobj[key] is defined
2020-03-16 07:14:21 +00:00
mozbug
eda70fd39c
Remove leftover comment
2020-03-16 09:09:46 +08:00
mozbug
6f9ecbbc77
Reset keyEvents on mode change. Fix #1769
2020-03-15 23:33:20 +08:00
mozbug
5f5fe2e671
Avoid unnecessary suffix
message.
...
In insert mode, each keypress will send a suffix message through Proxy
and the suffix == "". Which is useless and rather heavy. Avoid that.
2020-03-15 23:28:45 +08:00
glacambre
8278c66eed
config.ts: make sure mapobj[key] is defined
2020-03-15 14:33:53 +01:00
mozbug
84ae795f34
show insert mode indicator properly
2020-03-15 21:05:41 +08:00
Oliver Blanthorn
69f041c1d1
Update beta migration instructions
2020-03-15 10:47:05 +00:00
mozbug
05516d82e8
Use string.startswith to check tab prefix
2020-03-15 17:42:30 +08:00
mozbug
92bb93ae11
If yarn bin not in $PATH, pre-commit hook always fails
2020-03-15 16:07:30 +08:00
mozbug
5b13f6ca4e
Buffer completion with number prefix. close #2010 .
2020-03-15 12:56:33 +08:00
Oliver Blanthorn
ba00bd442d
Merge pull request #2225 from tridactyl/hint_pipe_parsing
...
excmds.ts: fix hint -pipe parsing
2020-03-12 07:41:42 +00:00
glacambre
57e41eaec0
excmds.ts: fix hint -pipe parsing
2020-03-12 06:49:40 +01:00
Oliver Blanthorn
e5f8c79250
Merge pull request #2222 from tridactyl/dependabot/npm_and_yarn/fuse.js-3.6.1
...
Bump fuse.js from 3.4.6 to 3.6.1
2020-03-09 14:05:17 +00:00
dependabot-preview[bot]
0abd5be391
Bump fuse.js from 3.4.6 to 3.6.1
...
Bumps [fuse.js](https://github.com/krisk/Fuse ) from 3.4.6 to 3.6.1.
- [Release notes](https://github.com/krisk/Fuse/releases )
- [Changelog](https://github.com/krisk/Fuse/blob/master/CHANGELOG.md )
- [Commits](https://github.com/krisk/Fuse/compare/v3.4.6...v3.6.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-09 06:49:03 +00:00
Oliver Blanthorn
4497ec3442
Revert "Merge pull request #2137 from tridactyl/state_no_onchanged"
...
This reverts commit d291277748
, reversing
changes made to 14a9630f94
.
Hopefully this will ameliorate #2213 .
2020-03-08 14:16:42 +00:00
Oliver Blanthorn
9f137c3c3c
Merge pull request #2215 from mozbugbox/speedup-hinting
...
Speedup hinting
2020-03-08 14:07:33 +00:00
Oliver Blanthorn
730529e3d1
Merge pull request #2212 from mozbugbox/hinting-customize
...
Hinting customize
2020-03-08 14:01:07 +00:00
Oliver Blanthorn
c797029110
Merge pull request #2211 from mozbugbox/config-fix
...
Config fix
2020-03-08 13:56:31 +00:00
mozbug
972f80b88e
Make sure elements are unqiue after concat
2020-03-04 22:40:57 +08:00
mozbug
08c6d475c6
Only call getComputedStyle when neccesary
2020-03-04 20:04:51 +08:00
mozbug
dd21770de1
Avoid unique()
on large array to speedup hint
2020-03-04 20:01:12 +08:00
Oliver Blanthorn
aa395d1f2d
Merge pull request #2214 from tridactyl/dependabot/npm_and_yarn/immer-6.0.0
...
Bump immer from 5.3.6 to 6.0.0
2020-03-04 07:43:17 +00:00
dependabot-preview[bot]
5ce546b9b0
Bump immer from 5.3.6 to 6.0.0
...
Bumps [immer](https://github.com/immerjs/immer ) from 5.3.6 to 6.0.0.
- [Release notes](https://github.com/immerjs/immer/releases )
- [Commits](https://github.com/immerjs/immer/compare/v5.3.6...v6.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-04 06:20:14 +00:00
Oliver Blanthorn
6cc1094a81
Merge pull request #2209 from user753/master
...
Use historyresults instead of hardcoded 10 in history completion
2020-03-03 14:46:12 +00:00
mozbug
6b8504035e
Make it possible to customize vimperator hinting
...
Move some actions of vimperator hinting into a global object so that
thirdparty can customize the vimperator hinting mode by overriding
methods of the global object.
2020-03-03 21:17:02 +08:00
mozbug
19246e64b4
Fix mktridactylrc on nested keys.
...
`config.parseConfigHelper()` creates cmds for set nested keys as setting
key to a dict with single value.
js tri.config.set("followpagepatterns", {"next", "onemore"})
js tri.config.set("followpagepatterns", {"prev", "oneless"})
The about lines in `tridactylrc` will have the 2nd line override the
1st.
The same happens to `subconfigs` too.
2020-03-03 21:02:37 +08:00
mozbug
769ad2087d
Fix config.get breaks on null values
...
The `unbind` cmd set config values to `null`. While `null[key]` will
throw Typeerror exception. Avoid doing that here.
2020-03-03 20:58:03 +08:00
user753
cdbd4dd706
replaced 10 with historyresults
2020-03-03 14:34:22 +03:00
Oliver Blanthorn
5706bdad80
Only set last_ex_str if it changes
...
This improves performance of continuous scrolling
2020-03-03 08:58:51 +00:00
Oliver Blanthorn
09f6831b0e
Merge pull request #2200 from tridactyl/fix_repeat
...
Fix #1538 : synchronise repeat between tabs and bg
2020-03-02 15:30:55 +00:00
Oliver Blanthorn
e2aaea0208
Add timeout to lock acquisition
...
Also log failures by default and tighten default timeout for
doing an operation with a lock
2020-03-02 13:25:00 +00:00
Oliver Blanthorn
6cf9307611
Get changelog above fold on new tab
2020-03-02 11:35:39 +00:00
Oliver Blanthorn
ca3b7b8dbf
Merge pull request #2205 from tridactyl/dependabot/npm_and_yarn/tslint-etc-1.10.1
...
Bump tslint-etc from 1.10.0 to 1.10.1
2020-03-02 07:42:40 +00:00
Oliver Blanthorn
dfeaaf5099
Merge pull request #2204 from tridactyl/dependabot/npm_and_yarn/types/node-13.7.7
...
Bump @types/node from 13.7.6 to 13.7.7
2020-03-02 07:42:22 +00:00
dependabot-preview[bot]
8351903d83
Bump tslint-etc from 1.10.0 to 1.10.1
...
Bumps [tslint-etc](https://github.com/cartant/tslint-etc ) from 1.10.0 to 1.10.1.
- [Release notes](https://github.com/cartant/tslint-etc/releases )
- [Changelog](https://github.com/cartant/tslint-etc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/cartant/tslint-etc/compare/v1.10.0...v1.10.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-02 06:52:41 +00:00
dependabot-preview[bot]
c19d51ff99
Bump @types/node from 13.7.6 to 13.7.7
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 13.7.6 to 13.7.7.
- [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-03-02 06:51:58 +00:00
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