Commit graph

748 commits

Author SHA1 Message Date
Colin Caine
d4c1fa087c Fix typo and other minor changes 2018-04-11 17:15:09 +01:00
Oliver Blanthorn
f10a3a02de
Add small script for generation of AMO text 2018-04-11 17:12:06 +01:00
Oliver Blanthorn
d84968e54c
Merge pull request #356 from glacambre/explain_permissions
amo.md: Explain why Tridactyl needs the permissions it needs
2018-04-11 16:57:00 +01:00
Oliver Blanthorn
70cfeb4872
Merge pull request #373 from glacambre/update_readme
readme.md: Update answers, fix indentation
2018-04-11 16:56:10 +01:00
glacambre
46b8e191da
readme.md: Update answers, fix indentation 2018-04-11 06:43:18 +02:00
glacambre
ddc83c7c37
{excmds,hinting}.ts: use DOM.focus() instead of elem.focus() 2018-04-02 14:53:13 +02:00
glacambre
ce7be35e73
{config,dom}.ts: Implement focus() which moves to end of focused inputs 2018-04-02 14:53:09 +02:00
Oliver Blanthorn
442e99c16e
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-impl_viewsource 2018-04-02 13:32:56 +01:00
Oliver Blanthorn
120f1951c5
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-hijack_listeners 2018-04-02 13:00:04 +01:00
Oliver Blanthorn
f0cedd149f
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-fix_#357 2018-04-02 12:46:06 +01:00
Oliver Blanthorn
1441682eff
Minor improvement to find mode - can only select drawn elements. 2018-03-30 19:08:28 +01:00
Oliver Blanthorn
2eda9b8fb2
Stop wanton verbiage from autocmds clogging up the console 2018-03-26 14:00:26 +01:00
Oliver Blanthorn
813302469f
Update beta information on readme 2018-03-26 13:10:08 +01:00
Colin Caine
db5dae64cd Update beta signing script
Script now leaves an xpi in web-ext-artifacts that some other script needs to work with.

We'll need to cp the xpi into public_html and update update.json.
2018-03-23 00:25:00 +00:00
glacambre
1eea9ea76f
hinting.ts: Prevent hint auto-selection on 'javascript:' hrefs 2018-03-18 17:57:42 +01:00
Oliver Blanthorn
682719cf97
Change ^ to be more like Ctrl-^ 2018-03-18 15:18:00 +00:00
Oliver Blanthorn
972e69ad9c
Find mode tidied up for intrepid explorers. 2018-03-18 15:08:09 +00:00
Oliver Blanthorn
50b4f183b0
Scroll only if element is not visible 2018-03-18 13:11:11 +00:00
Oliver Blanthorn
34e88b05fb
Add ability to switch between results after finding them
Unfinished - haven't bothered to wrap around array yet. Considering
moving this code out into ex mode.
2018-03-18 13:11:11 +00:00
Oliver Blanthorn
f274a49bee
Improve find performance
Still very slow on some pages such as
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object.
2018-03-18 13:11:11 +00:00
Oliver Blanthorn
6d8fe17069
Add nascent find mode 2018-03-18 13:11:11 +00:00
Oliver Blanthorn
f2244ee554
Sketch out find command using mark.js 2018-03-18 13:10:17 +00:00
glacambre
9a51f0d44d
amo.md: Explain why Tridactyl needs the permissions it needs 2018-03-18 10:28:57 +01:00
glacambre
a163eaa732
excmds.ts,viewsource.css: Make :viewsource respect color scheme 2018-03-17 12:42:13 +01:00
glacambre
f17385e42a
viewsource.css: Make bg white, fix bg not covering whole page 2018-03-17 12:42:10 +01:00
glacambre
b83fbfec5e
excmds.ts: Fix viewsource disregarding its argument 2018-03-17 12:42:06 +01:00
glacambre
5be209f100
Implement tridactyl-viewsource
The problem with the current :viewsource is that it loads a page in
which Tridactyl is not loaded. This commit fixes this by enabling a new
setting, "viewsource" which can be set to either "default" or
"tridactyl". If "tridactyl" is selected, then :viewsource will load the
source code of the HTML page in the current page instead of redirecting
the user to the view-source:// version of the page.
2018-03-17 12:42:03 +01:00
glacambre
7b2c1a0a6a
commandline_content.ts: Add executeWithoutCommandLine function
This function accepts a callback as argument that will be called once
the commandline has been removed from the page. After the callback has
been executed, the commandline is re-inserted in the page.
2018-03-17 12:40:54 +01:00
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