Commit graph

714 commits

Author SHA1 Message Date
glacambre
942ecfc054
excmds.ts: Implement basic :viewsource command 2018-03-17 12:40:49 +01:00
Oliver Blanthorn
b7a833fcf5
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-fix_#325 2018-03-13 12:46:43 +00:00
Oliver Blanthorn
ddbc505ca5
Rename gistyle to gimode, default to firefox, version to configversion 2018-03-13 12:46:31 +00:00
Colin Caine
9a9ba48d51 Improve context detection 2018-03-12 22:42:51 +00:00
Colin Caine
6afda3b632 Rewrite tabopen and openInNewTab
Fixes #342 and a bug where I used id rather than index.
2018-03-12 22:42:51 +00:00
Colin Caine
88f7183bc0 excmds: Re-order content and bg setup 2018-03-12 22:42:51 +00:00
Oliver Blanthorn
5d758850aa
Merge branch 'master' of github.com:cmcaine/tridactyl into hintprivate 2018-03-12 17:08:06 +00:00
Oliver Blanthorn
c042fd14b3
Add winopen equivalent to webext.ts, add and document private and window hints 2018-03-12 17:07:42 +00:00
Isaac Khor
31824d8127 Remove link_hinting.coffee 2018-03-12 14:25:07 +00:00
Oliver Blanthorn
b8e1131281
Add hint window/private (untested) 2018-03-11 12:53:02 +00:00
glacambre
9247aeec84
Merge branch 'master' into fix_#325 2018-03-10 15:50:11 +01:00
glacambre
234e422960
{config,excmd}.ts: Rename vimium-gi->gistyle, change vals to nextinput/default 2018-03-10 15:42:09 +01:00
glacambre
77cf277ab0
config.ts: Add config updater from version 0.0 to 1.0 2018-03-10 14:40:23 +01:00
glacambre
d26e44d06b
config.ts: Implement config-updating mechanism. 2018-03-10 14:18:09 +01:00
Colin Caine
e43f4fae41 Document dark theme 2018-03-08 22:34:22 +00:00
Colin Caine
f6a8b0b8bc Merge #255: Offer a dark theme. 2018-03-08 22:25:06 +00:00
Colin Caine
f07ccd3402 Fix CSS 2018-03-08 22:19:22 +00:00
Fabian Furger
9a19d872b1 WIP: Attempt to apply theme to hints
CSS adapted from here:
https://gist.github.com/KrazyCavin/a2fcda9d0e2980ab9a3caf5576081397
2018-03-08 21:57:21 +00:00
Fabian Furger
7ceaf84358 Apply theme to command line
Use dark theme from
https://gist.github.com/KrazyCavin/cebb807e961a4a32bb04aa0c1757bab8
Relates to #230.
2018-03-08 21:57:21 +00:00
Oliver Blanthorn
bc20f8d4ef
Merge branch 'master' of github.com:cmcaine/tridactyl 2018-03-07 14:55:36 +00:00
Oliver Blanthorn
f1dcea1ed1
Release 1.8.1
Changes summarised in doc/changelog.md. Additionally, change version
excmd to stop copying to clipboard as it was causing the command line to
be hidden, and add version number to the new tab page.
2018-03-07 14:50:50 +00:00
Colin Caine
96e32f57e5 Fix #311 - Don't write to browser.storage so often
Turns out writing to browser.storage is expensive because state.ts and
config.ts both listen for it in every tab. I'd vaguely assumed that
Firefox would run other tabs as low priority tasks and that this would
not be an issue, but it doesn't.

I also wrote the code in a rush, and while I mused that this potential
risk exists I didn't document it or explore it.

Retrospective: Content switches are expensive - think before you do
anything that may wake many processes and don't make wild assumptions
about how Firefox handles multiprocessing.
2018-03-07 02:17:50 +00:00
Colin Caine
40434455ec release 1.8.0
Betas don't update from 1.8.0 -> newer 1.7.3, so we need to bump the
version number.
2018-03-06 01:12:14 +00:00
Colin Caine
7ea938f74f Revert "src: Simplify HintState constructor"
This reverts commit 092e501db4.

This was causing a bug identified by @glacambre and @Lexi where
sometimes the html function isn't defined when returning to a page with
history back.

Personally, I think it's probably webpack or Firefox's fault: content.ts
clearly imports html-tagged-template as it's first action.

If it's not their fault then it's html-tagged-template's fault: it must
be refusing to set window.html.
2018-03-05 23:06:18 +00:00
Colin Caine
8d6a79ca50 Add cleanslate.css version to package-lock 2018-03-05 23:01:03 +00:00
Oliver Blanthorn
7f9ca21ec7
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-fix_#235 2018-03-05 18:46:35 +00:00
Oliver Blanthorn
a0e465c7b0
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-impl_#309 2018-03-05 13:23:26 +00:00
Oliver Blanthorn
f8a534860a
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-apply_cleanslate 2018-03-05 12:03:49 +00:00
Colin Caine
75ad1aedaf Revert "release 1.8.0"
This reverts commit fdbf132f4e.
2018-03-05 09:34:27 +00:00
glacambre
7750609e6a
build.sh: Fix script copying cleanslate.css to potentially non-existing dir 2018-03-04 14:42:35 +01:00
glacambre
119758454f
Add cleanslate.css 2018-03-04 14:15:26 +01:00
glacambre
c1d399e396
excmds.ts: Make open() open newtab page when given no argument 2018-03-03 12:40:52 +01:00
glacambre
1701b7e7fe
content.ts: Make newtab.html load page from newtab setting 2018-03-03 12:40:30 +01:00
glacambre
67e95a87d7
excmds.ts: export forceURI function 2018-03-03 09:56:05 +01:00
Colin Caine
fdbf132f4e release 1.8.0 2018-03-02 17:28:23 +00:00
Colin Caine
1bf859bb01 Fix #321 2018-03-02 17:26:40 +00:00
glacambre
3cd0125783
hinting.ts: Make hintPage follow link if there's only 1 option 2018-02-28 22:01:36 +01:00
Colin Caine
e122caa326 Be more careful with truthy values 2018-02-19 16:17:57 +00:00
Colin Caine
7e7528746b Fix unbind 2018-02-19 15:59:56 +00:00
Colin Caine
188ea0b39b followpage now falls back to urlincrement 2018-02-19 01:34:15 +00:00
Colin Caine
55e2d463ac Don't try to show bind for empty key 2018-02-19 01:23:21 +00:00
Colin Caine
3218b9157e Improve feedback on bind, get
Now these commands populate the commandline. It's pretty rubbish that we
don't have a messaging system yet, but this is better than nothing.
2018-02-19 01:18:48 +00:00
Colin Caine
ce480c6de6 Fix unset for new config system
Thanks Lexi for bugreport.
2018-02-19 00:37:42 +00:00
Colin Caine
8a500bbf92 Blur iframe after clipboard actions 2018-02-19 00:15:44 +00:00
Colin Caine
ff7eccdc54 Move commandline iframe out of body as well 2018-02-18 22:55:17 +00:00
Colin Caine
5937ee284b Fix #288 2018-02-18 22:22:47 +00:00
Colin Caine
58d38a9f70 Support changing followpage pattern 2018-02-18 18:23:40 +00:00
Colin Caine
3ba21592cc Simplify findRelLink 2018-02-18 18:21:59 +00:00
Colin Caine
259e4f182f Make tab opening behaviour more consistent 2018-02-18 16:08:19 +00:00
Colin Caine
b9292cd25e Typo: fix #310
Testing is hard.
2018-02-14 17:38:09 +00:00