Commit graph

2892 commits

Author SHA1 Message Date
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
4d7138abb5
Quickfix revert native write 2019-06-02 14:02:03 +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
Oliver Blanthorn
3921de48df
Increase jest timeout to make e2e tests less fragile 2019-06-01 14:07:37 +01:00
Oliver Blanthorn
01b1597b92
Fix circle-ci for yarn, but this time for real 2019-06-01 14:03:17 +01:00
Oliver Blanthorn
037a3053bd
Fix circle-ci for yarn 2019-06-01 13:42:00 +01:00
Oliver Blanthorn
495142f61f
Update dev diary 2019-06-01 13:08:48 +01:00
Oliver Blanthorn
afb1b10ad3
Update changelog 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
Oliver Blanthorn
1da17bf427
Fix building on windows 2019-05-31 18:44:40 +01:00
Oliver Blanthorn
bc7e3ea21c
Remove package-lock.json - we've switched to yarn 2019-05-31 17:16:33 +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
Colin Caine
3c618ac7a4 s/npm/yarn 2019-05-31 16:48:53 +01:00
Colin Caine
09904e2724 Add a yarn.lock 2019-05-31 16:30:06 +01:00
Colin Caine
36065cbe36 chore: pretty package.json 2019-05-31 16:24:41 +01:00
Oliver Blanthorn
26d52e15d8
Fix #1634: updatecheck for new version strings 2019-05-31 16:02:36 +01:00
Colin Caine
d4f6ec84e1 Ignore esModuleInterop diagnostic message from ts-jest 2019-05-31 15:46:03 +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
a84b4de2f4
Merge pull request #1640 from antonva/install-mithril
Add mithril deps.
2019-05-31 15:37:57 +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
39c5677ccb Don't tslint test files 2019-05-31 15:24:31 +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
Anton Vilhelm Ásgeirsson
aa0e2ef428 Add mithril deps. 2019-05-31 14:04:40 +00: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
glacambre
03953315a8
compiler: add info about optional/rest arguments 2019-05-31 13:58:27 +02:00
Oliver Blanthorn
9e6f5f3637
Merge pull request #1635 from tridactyl/dependabot/npm_and_yarn/@types/node-12.0.4
Bump @types/node from 12.0.3 to 12.0.4
2019-05-31 12:47:24 +01:00
Oliver Blanthorn
9a2832b88d
Merge pull request #1636 from tridactyl/dependabot/npm_and_yarn/tslint-5.17.0
Bump tslint from 5.16.0 to 5.17.0
2019-05-31 12:41:47 +01:00
dependabot-preview[bot]
db72fd4bb4
Bump tslint from 5.16.0 to 5.17.0
Bumps [tslint](https://github.com/palantir/tslint) from 5.16.0 to 5.17.0.
- [Release notes](https://github.com/palantir/tslint/releases)
- [Changelog](https://github.com/palantir/tslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/palantir/tslint/compare/5.16.0...5.17.0)
2019-05-31 08:54:48 +00:00
dependabot-preview[bot]
2090a53daf
Bump @types/node from 12.0.3 to 12.0.4
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.0.3 to 12.0.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
2019-05-31 08:54:04 +00: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
Oliver Blanthorn
6034d6def3
Update changelog 2019-05-30 23:56:31 +01:00
glacambre
1e18b571fb
finding.ts: focus found links, let people click through highlights 2019-05-31 00:04:29 +02:00
Oliver Blanthorn
206d0bcc97
Add funding.yml 2019-05-30 22:25:01 +01:00