Commit graph

3268 commits

Author SHA1 Message Date
Jakub Okoński
a8b740b1bd Add strong typing to background messages 2019-10-26 21:55:59 +02:00
Oliver Blanthorn
fbb3c9e50a
Merge pull request #1949 from farnoy/fix-browserBg-type
Fix type of browserBg and adjust other code for it
2019-10-26 19:31:35 +01:00
Jakub Okoński
5e029c780b Fix type of browserBg and adjust other code for it 2019-10-26 20:07:30 +02:00
Oliver Blanthorn
0985e61be5
Merge pull request #1945 from tridactyl/update_faq
Fix #1519: Update FAQ
2019-10-25 16:49:37 +01:00
Oliver Blanthorn
53b93b28bb
Merge pull request #1941 from tridactyl/dependabot/npm_and_yarn/types/node-12.11.7
Bump @types/node from 12.11.6 to 12.11.7
2019-10-25 16:47:17 +01:00
Oliver Blanthorn
838dc22b13
Merge pull request #1944 from tridactyl/rapid_yanking
Fix #1374: hint -qy now merges its arguments
2019-10-25 16:45:19 +01:00
Oliver Blanthorn
970f1f2abe
Fix #1519: Update FAQ 2019-10-25 16:44:15 +01:00
Oliver Blanthorn
73b43ee56d
Fix #1374: hint -qy now merges its arguments 2019-10-25 16:19:51 +01:00
Oliver Blanthorn
70a96fd160
Merge pull request #1942 from tridactyl/add_wiki_links
Fix #1852: mention wiki on various pages
2019-10-25 16:00:45 +01:00
Oliver Blanthorn
89394e2a0a
Merge pull request #1943 from tridactyl/improve_yank_docs
Fix #1892: make yank functionality clearer
2019-10-25 16:00:22 +01:00
Oliver Blanthorn
e987bb88ec
Fix #1892: make yank functionality clearer 2019-10-25 15:00:32 +01:00
Oliver Blanthorn
9d5432e61f
Fix #1852: mention wiki on various pages 2019-10-25 14:56:41 +01:00
Oliver Blanthorn
62b3f8c018
Merge pull request #1940 from majuscule/last-active-tab-docs
!975 update readme to include C-^ (last active tab)
2019-10-25 14:53:34 +01:00
dependabot-preview[bot]
8691fb9afe
Bump @types/node from 12.11.6 to 12.11.7
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.11.6 to 12.11.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>
2019-10-25 05:30:06 +00:00
Dylan Lloyd
3742974b76 !975 update readme to include C-^ (last active tab 2019-10-24 22:18:07 -04:00
Oliver Blanthorn
4b8660d3eb
Merge pull request #1936 from tridactyl/dependabot/npm_and_yarn/types/node-12.11.6
Bump @types/node from 12.11.5 to 12.11.6
2019-10-24 11:52:07 +01:00
dependabot-preview[bot]
2fe63a5025
Bump @types/node from 12.11.5 to 12.11.6
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.11.5 to 12.11.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>
2019-10-24 10:51:05 +00:00
Oliver Blanthorn
e9970d350e
Merge pull request #1937 from tridactyl/dependabot/npm_and_yarn/ts-loader-6.2.1
Bump ts-loader from 6.2.0 to 6.2.1
2019-10-24 11:49:39 +01:00
Oliver Blanthorn
937c2b10d2
Merge pull request #1935 from tridactyl/dependabot/npm_and_yarn/types/mithril-2.0.2
Bump @types/mithril from 2.0.1 to 2.0.2
2019-10-24 11:49:21 +01:00
dependabot-preview[bot]
62374e5eeb
Bump ts-loader from 6.2.0 to 6.2.1
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v6.2.0...v6.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-24 05:31:09 +00:00
dependabot-preview[bot]
64fdc42e78
Bump @types/mithril from 2.0.1 to 2.0.2
Bumps [@types/mithril](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mithril) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mithril)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-24 05:30:14 +00:00
Oliver Blanthorn
9866eb5be7
Merge pull request #1930 from tridactyl/dependabot/npm_and_yarn/types/mithril-2.0.1
Bump @types/mithril from 2.0.0 to 2.0.1
2019-10-23 08:45:32 +01:00
dependabot-preview[bot]
473c2a56e4
Bump @types/mithril from 2.0.0 to 2.0.1
Bumps [@types/mithril](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mithril) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mithril)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-23 07:07:12 +00:00
Oliver Blanthorn
709d0fe4dd
Merge pull request #1931 from tridactyl/dependabot/npm_and_yarn/immer-4.0.2
Bump immer from 4.0.1 to 4.0.2
2019-10-23 08:05:46 +01:00
Oliver Blanthorn
4cfbeef851
Merge pull request #1929 from tridactyl/dependabot/npm_and_yarn/types/node-12.11.5
Bump @types/node from 12.11.2 to 12.11.5
2019-10-23 08:05:22 +01:00
dependabot-preview[bot]
46326b2e12
Bump immer from 4.0.1 to 4.0.2
Bumps [immer](https://github.com/immerjs/immer) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/immerjs/immer/releases)
- [Commits](https://github.com/immerjs/immer/compare/v4.0.1...v4.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-23 05:31:48 +00:00
dependabot-preview[bot]
5f338ca9d7
Bump @types/node from 12.11.2 to 12.11.5
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.11.2 to 12.11.5.
- [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>
2019-10-23 05:31:00 +00:00
Oliver Blanthorn
b175ab5c68
Merge pull request #1926 from tridactyl/dependabot/npm_and_yarn/types/node-12.11.2
Bump @types/node from 12.11.1 to 12.11.2
2019-10-22 09:38:56 +01:00
dependabot-preview[bot]
5dbc4f012c
Bump @types/node from 12.11.1 to 12.11.2
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.11.1 to 12.11.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>
2019-10-22 05:28:48 +00:00
Oliver Blanthorn
6da1e02442
Merge pull request #1919 from arcnmx/empty-config-fix
Treat missing config as an empty object
2019-10-21 11:05:48 +01:00
Oliver Blanthorn
bff8498171
Merge pull request #1923 from notJerl/master
Fix error in default config
2019-10-21 10:59:21 +01:00
notJerl
f754234ea3
Update config.ts 2019-10-20 23:28:17 -06:00
notJerl
558b87dad9
Fix default config bug
Prevents a bug where these bindings cannot be changed by the end user.
2019-10-20 23:10:44 -06:00
notJerl
e7a945cf9d
Merge pull request #2 from tridactyl/master
Update to current Tridactyl repo
2019-10-20 23:09:23 -06:00
arcnmx
7c86998342 Treat missing config as an empty object 2019-10-20 14:39:30 -07:00
Oliver Blanthorn
5c5116db97
Merge pull request #1914 from farnoy/use-ts-loader
Replace awesome-typescript-loader with ts-loader
2019-10-20 12:58:12 +01:00
Oliver Blanthorn
66613937fa
Merge pull request #1915 from farnoy/stricter-ts
Enable some low-hanging TypeScript strictness options
2019-10-20 12:57:55 +01:00
Jakub Okoński
dd422cd136 Enable some low-hanging TypeScript strictness options 2019-10-20 13:09:21 +02:00
Jakub Okoński
d22d1c9d52 Replace awesome-typescript-loader with ts-loader
awesome-typescript-loader seems to be unsupported, it hasn't been
updated in a year. Performance and features of ts-loader look to be
on par with the previous solution.
2019-10-20 12:49:06 +02:00
Oliver Blanthorn
9ae0116744
Merge pull request #1913 from farnoy/split-tsconfigs
Add a separate tsconfig for tests
2019-10-18 15:13:28 +01:00
Jakub Okoński
8030143ace Share the same tsconfig by adding overrides in new jest config 2019-10-18 16:02:53 +02:00
Jakub Okoński
ecd3a218aa Clean up toLowerCase unused declaration 2019-10-18 14:57:20 +02:00
Jakub Okoński
9b4d52dbd2 Try another fix 2019-10-18 14:39:47 +02:00
Jakub Okoński
0ebc44741b Try a fix for selenium export under the wrong name 2019-10-18 14:11:19 +02:00
Jakub Okoński
67fa18b4ec Add a separate tsconfig for tests
Tests run with nodejs + jest types, while the web extension code
runs with browser + web-ext type roots.
2019-10-18 13:07:38 +02:00
Jakub Okoński
bd2b988338
Fix and optimize addJump scroll handler
It was reading properties that a scroll event does not have.

It was messaging the background page with an expensive call on every
scroll event. This slowed down the page unnecessarily.

Also extracted jumps.timeoutid to the content script scope.
This variable is not useful to others outside of the current content
script. Storing it locally means we can avoid expensive communication
with the background page and only do it once we're sure we need to add
a new entry to the jump list.
2019-10-18 11:49:13 +01:00
arcnmx
7e1888a683
Don't merge local and remote configs
The entire config gets written to one storage or the other and there's
no support for partially setting values locally or remotely; so it's
meaningless to try and merge them on initialization.
2019-10-18 11:16:10 +01:00
arcnmx
e78ed69fa3
Fix storageloc setting
The storageloc setting is inherently unsyncable; since it is used to
decide which storage to use, it is always set to "local" in local
storage and "sync" in sync storage. Any updates from sync storage will
cause mayhem and override local settings with "sync".

So instead, ensure that it is always saved to local storage with the
intended value, and that remote updates cannot change it.
2019-10-18 11:16:10 +01:00
Oliver Blanthorn
71ae77a432
Merge branch 'autocontain-urlpattern' 2019-10-18 10:55:54 +01:00
Oliver Blanthorn
7a7b017c3c
Merge pull request #1764 from arcnmx/source-race-conditions
:source race conditions
2019-10-18 10:52:04 +01:00