Commit graph

2039 commits

Author SHA1 Message Date
Oliver Blanthorn
050bc66364
Fix tenses and update new tab 2019-06-03 19:19:54 +01:00
Oliver Blanthorn
e0c0723cc5
Mitigate #1651: revert to old win_install command 2019-06-02 21:26:26 +01:00
Oliver Blanthorn
8cdb7fc6d2
Update dev diary 2019-06-02 19:13:58 +01:00
Oliver Blanthorn
f9c6fe2637
Fix #98: add viewconfig --{default,user} 2019-06-02 16:10:51 +01:00
Oliver Blanthorn
ff1e374bd6
Merge branch 'fix-smartcase' 2019-06-02 15:22:47 +01:00
Anton Vilhelm Ásgeirsson
d893b6a6b1
Fix findcase smart 2019-06-02 15:22:26 +01:00
Oliver Blanthorn
49ea33dfbf
Merge branch 'mktridactylrc' 2019-06-02 15:21:15 +01:00
Oliver Blanthorn
f2850441f1
Improve mkt docs 2019-06-02 15:21:02 +01:00
Anton Vilhelm Ásgeirsson
496e53bd6c
Add documentation for the excmd 2019-06-02 14:02:37 +01:00
Anton Vilhelm Ásgeirsson
b88de63829
Run prettier on config.ts 2019-06-02 14:02:24 +01:00
Anton Vilhelm Ásgeirsson
752375569b
Future proof config objects that haven't been parsed 2019-06-02 14:02:20 +01:00
Anton Vilhelm Ásgeirsson
4aac98ef65
Fix logging output being mangled 2019-06-02 14:02:16 +01:00
Anton Vilhelm Ásgeirsson
a12bb30d60
Quickfix more config.ts indentation 2019-06-02 14:02:08 +01:00
Anton Vilhelm Ásgeirsson
5ddce6763b
Implement writerc native messenger call
This allows us to write the rc to OS. The only way to overwrite your current
rc file is to use mkt!, mktridactylrc! or mktridactylrc -f. mkt* commands
issued without the force/exclamation mark will not overwrite existing files.

Native messenger was updated to 0.1.11 and the mktridactylrc command is
unavailable in prior versions.

Fixed some random indentation errors that occurred in earlier commit.
2019-06-02 14:02:00 +01:00
Anton Vilhelm Ásgeirsson
9f80bc5561
Remove console logs 2019-06-02 14:01:52 +01:00
Anton Vilhelm Ásgeirsson
bdc6a39180
Hook mktridactylrc up to native messenger
Still need to doublecheck subconfigs and fallbacks.
Also need to make sure that ! overwrites and error out if it isn't
supplied.
2019-06-02 14:01:45 +01:00
Anton Vilhelm Ásgeirsson
66de3e815d
Refactor getconfig function 2019-06-02 14:01:37 +01:00
Anton Vilhelm Ásgeirsson
07d1ed6586
Revive mktridactylrc and add autocontainer parsing
Partially written write function in the config_rc.
2019-06-02 14:01:21 +01:00
Colin Caine
3754f7a099 hinting: use simplekeys[0] 2019-06-01 19:04:57 +01:00
Oliver Blanthorn
495142f61f
Update dev diary 2019-06-01 13:08:48 +01:00
Colin Caine
49f9263bac keyseq: fix tests 2019-05-31 22:48:46 +01:00
Colin Caine
b7a857e018 hinting: correctly handle keys.length === 0 2019-05-31 19:09:42 +01:00
Colin Caine
a1f6ca9602 Revert "keyseq: numeric prefixes should also match"
This reverts commit 93786627e9.

This broke keys going to the iframe.
2019-05-31 18:59:50 +01:00
glacambre
a1f349bb24 hinting.ts: fix numeric keys not working in hint mode 2019-05-31 18:54:03 +01:00
Colin Caine
93786627e9 keyseq: numeric prefixes should also match 2019-05-31 17:15:27 +01:00
Colin Caine
026862c18d keyseq: check number prefixes for modifiers 2019-05-31 17:11:03 +01:00
Oliver Blanthorn
26d52e15d8
Fix #1634: updatecheck for new version strings 2019-05-31 16:02:36 +01:00
Oliver Blanthorn
e9892524ed
Merge pull request #1638 from tridactyl/make_find_scroll_elements_to_the_center_of_the_screen
finding.ts: scroll elems to the center of the screen rather than the top
2019-05-31 15:43:25 +01:00
Oliver Blanthorn
cd466d98bf
Merge pull request #1639 from tridactyl/tagged_native
Make native{install,update} use corresponding tag for stable build
2019-05-31 15:41:26 +01:00
Colin Caine
d5d3c0b727 keyseq: abort early if keyseq becomes empty. 2019-05-31 15:38:20 +01:00
Oliver Blanthorn
3858fe3f8c
Merge pull request #1637 from tridactyl/add_optional_info_to_generated_metadata
compiler: add info about optional/rest arguments
2019-05-31 15:36:50 +01:00
Colin Caine
12754c03ca itertools: take -> takewhile; similar for drop() 2019-05-31 15:23:57 +01:00
Colin Caine
1da7d97db3 Fix #1606
Introduces tests for this too.
2019-05-31 15:22:25 +01:00
Oliver Blanthorn
ef9f02d0da
Make native{install,update} use corresponding tag for stable build
Beta builds will always use most recent messenger, which I think is probably fair;
old beta builds are unsupported.
2019-05-31 15:02:05 +01:00
glacambre
d5168358a8
finding.ts: scroll elems to the center of the screen rather than the top
This is a small workaround for websites that use navigation bars which
sometimes cover `:find` matches.
2019-05-31 15:41:03 +02:00
glacambre
9ef99b0ab4
parsers/exmode.ts: replace macro-generated info with ts-generated info
I tested nearly all ex commands and this didn't seem to break anything.
2019-05-31 15:20:46 +02:00
Oliver Blanthorn
208adb2dfa
Merge pull request #1632 from tridactyl/improve_find
finding.ts: focus found links, let people click through highlights
2019-05-31 00:14:28 +01:00
Oliver Blanthorn
74ee96e231
Update dev diary 2019-05-31 00:09:43 +01:00
glacambre
1e18b571fb
finding.ts: focus found links, let people click through highlights 2019-05-31 00:04:29 +02:00
Oliver Blanthorn
fdfe3447f4
Merge pull request #1629 from antonva/caesar
Nqq ebg13 shapgvbanyvgl.
2019-05-30 20:01:34 +01:00
Anton Vilhelm Ásgeirsson
78cd7ccf81 Nqq ebg13 shapgvbanyvgl.
Nqqrq gur ebg13 rkpzq naq rqvgbe pbzznaq. Gur rkpzq vf obhaq gb t? naq
genafsbezf nyy grkg abqrf ba n cntr. Lbh pna hfr `ovaq --zbqr=rk <P-l>
grkg.ebg13` gb sbe fbzr ernfba ebg gur pbagragf bs gur pbzznaqyvar vs
gung sybngf lbhe obng.
2019-05-30 19:45:46 +00:00
Oliver Blanthorn
773d661367
Add keyfeed command to feed fake keys to Tridactyl 2019-05-30 18:21:05 +01:00
Oliver Blanthorn
05f6fdc007
Fix #1600: try to massage bookmarks into proper URLs 2019-05-30 16:37:32 +01:00
Oliver Blanthorn
c73956b006
Add compile-time inheritance to inputmaps from imaps
Run-time inheritance probably needs a special case adding to mergeDeep
2019-05-30 15:58:23 +01:00
Oliver Blanthorn
30d3eb8f73
Add user-definable modes 2019-05-30 15:37:06 +01:00
glacambre
cdd031ff03
scrolling.ts: fix smooth scrolling
This commit fixes smooth scrolling. The issue with smooth scrolling was
that from time to time, pressing `j` would only scroll the page by a
pixel. This happened because the computed scrolling step was smaller
than a pixel. When writing to elem.scrollTop, this value would be
rounded to the nearest integer, which sometimes was equal to the
previous scrollTop value. This resulted in Tridactyl believing that the
element couldn't be further scrolled and stopping there.

This is fixed by using Math.ceil()/round() on the step in order to make
sure a round value is obtained. This value is then compared to the
current scrollTop value and incremented in case they're equal, in order
to make sure scrolling makes progress.

Fixes https://github.com/tridactyl/tridactyl/issues/627 and maybe
https://github.com/tridactyl/tridactyl/issues/54 ?
2019-05-30 14:33:33 +02:00
Oliver Blanthorn
175048e64b Add tabm, tabo aliases
https://magai.hateblo.jp/entry/2018/09/25/142348 pointed out
that they were missing
2019-05-30 00:12:22 +01:00
Oliver Blanthorn
da1e525822
Update dev diary 2019-05-29 23:06:30 +01:00
Oliver Blanthorn
6a0338d132
Fix #1479: Add management permission to enable autocontain co-existence (#953) 2019-05-29 19:01:33 +01:00
Oliver Blanthorn
8b2d311c05
Document keytranslatemodes 2019-05-29 18:11:02 +01:00