Colin Caine
5fe6068b4a
url_util: Keep trailing slashes
...
And don't remove repeated slashes until they're at the end.
2017-12-27 14:37:01 +00:00
Isaac Khor
baf078572f
Merge remote-tracking branch 'upstream/master' into i236-common-ex-aliases
2017-12-27 18:19:53 +08:00
Isaac Khor
e1106181ae
Add basic aliases (mostly copied from pentadactyl and vim) to config
2017-12-27 18:03:13 +08:00
Colin Caine
df9451e83e
url_util: Fix #256 .
2017-12-26 13:56:35 +00:00
Colin Caine
c4ffd2143c
excmd: document hintsave
2017-12-24 11:42:28 +00:00
John Beard
fde956df53
Add save link/img hint submode (;s, ;S, ;a, ;A)
...
This adds the ability to save link targets or images. The save location
can be default, or the save as dialog can be invoked.
Somewhat sensible default filenames are provided.
Data URLs are also supported (though they need quite a bit of massaging
to get past the WebExt security limitations). Specificially, they need
to be round-tripped though a Blob, and must be saved from the background
context.
2017-12-24 11:20:26 +00:00
Isaac Khor
d5b95c587f
Implement aliases for o,t,w,b (open, tabopen, winopen, buffer)
2017-12-23 13:09:42 +08:00
Oliver Blanthorn
fb74ad460f
Improve parent function comment
2017-12-22 12:30:00 +00:00
Oliver Blanthorn
0f6d96c0ad
Merge branch 'master' of github.com:cmcaine/tridactyl into antonva-master
2017-12-22 12:26:33 +00:00
Oliver Blanthorn
8bc4239138
Fix #228 : broken link to keybinds in help
2017-12-22 11:14:58 +00:00
Oliver Blanthorn
6de196a2c1
release 1.7.3
2017-12-21 22:06:04 +00:00
Oliver Blanthorn
f63c8a599d
release 1.7.2
2017-12-21 21:51:21 +00:00
Oliver Blanthorn
16816d1353
release 1.7.1
2017-12-20 11:39:36 +00:00
Anton
022f462396
addressing issue #231 , urlparent now accepts a count.
2017-12-19 18:47:34 +00:00
John Beard
080d6df9a3
Add hint kill submode (;k)
...
This submode deletes the selected hinted item. Useful for removing
overlay blockers or even unwanted/annoying content.
2017-12-17 17:39:54 +00:00
Colin Caine
c2c5d2b5ef
completions: passthrough # in buffercompletion
...
Fix @gsbabil's complaint in #189 .
2017-12-11 13:51:55 +00:00
Colin Caine
cdf53966c0
mode change: fix #176
...
Thanks @Koushien
2017-12-11 13:26:42 +00:00
Koushien
850104e0fe
Implement ^,$ navigating to 0%,100% in x-direction
...
This is made possible by also allowing the second
argument to be "x" or "y". We supply "y" as the
default to retain the current, more commonly
desired behavior.
2017-12-11 01:19:20 +00:00
Oliver Blanthorn
6e9bf93665
Merge branch 'master' of github.com:cmcaine/tridactyl into azuwis-master
2017-12-09 15:44:54 +00:00
Oliver Blanthorn
8c32dcb121
Use tab ID even if buffer has a trailing space ( #223 )
2017-12-09 15:34:12 +00:00
Oliver Blanthorn
baaa4cef61
Support multiple URLs for quickmarks
2017-12-08 11:56:21 +00:00
Zhong Jianxin
f4d4f8f74f
Blacklist default newtab url from history completions
2017-12-07 10:03:25 +08:00
glacambre
91d8bd1e39
src/controller.ts: Use func instead of ex_str to check if command is "repeat"
2017-12-06 16:36:18 +00:00
glacambre
dab97fea10
src/{controller,excmds}.ts: Fix endless repeat, implement more intuitive behavior.
2017-12-06 16:31:53 +00:00
glacambre
e61358b63f
src/{config,controller,excmds,state}.ts: Implement dot repeat.
2017-12-06 16:31:53 +00:00
Oliver Blanthorn
001fb17bd2
Fix set newtab
failing to set newtab
2017-12-06 14:59:00 +00:00
Jeff King
65ba4c03e4
excmds: add q
, qa
, and quit
synonyms
...
Other vim-likes map `q` and `quit` to `tabclose`, so let's
do the same to appease their muscle memory.
While we're at it, we can add `qa` as a shortcut for `qall`
(vim also supports this shorthand).
2017-12-06 05:37:18 -05:00
Colin Caine
dcc816ff86
Clean up inputmode
...
Code quality, introduce config option.
2017-12-05 22:13:08 +00:00
Zhong Jianxin
01221f3052
Add inputmode
...
- Add `focusinput -n` and `focusinput -N`
- Press `gi` to focus input and enter inputmode
- When in inputmode, `Tab` to focus input after last focussed one, `Shift+Tab`
to focus input before last focussed one
2017-12-05 22:12:34 +00:00
Colin Caine
79a2f5ce54
config: Make unset take effect on loaded pages
...
Previously required a page reload.
2017-12-05 22:09:49 +00:00
Colin Caine
4ed2031d69
Small readme updates
...
Change to ircs:// link
Mention channels on newtab
2017-12-04 15:41:48 +00:00
John Beard
0d6405f498
Help preface text: minor tweaks and add chat badges
...
- Reflowed text
- Added Matrix/Gitter chat badges
- Added Freenode badge and link
- Used static images for badges on help page to avoid external loads
- Inlined some links, rather than using [1] suffixes
2017-12-04 13:32:21 +00:00
Oliver Blanthorn
c8dc8387cf
Add relative zoom and z{i,z,o}
binds
2017-12-04 11:50:35 +00:00
John Beard
c80d610068
Add <summary> tags to standard hinting
...
Used at least for Github user menu (top right) and Github wiki
expandable sections.
2017-12-04 02:20:29 +00:00
John Beard
5cf8fc5313
Bail out with error (console.log) on no TTS voice
...
Reportedly, this can happen on some machines. Might as well try to warn
the user, though we don't have a good feedback mechanism yet
(statusline)?
2017-12-03 21:33:08 +00:00
Oliver Blanthorn
9dd2555984
Merge branch 'master' of github.com:cmcaine/tridactyl into orangenschalen-variable_hintname_length
2017-12-03 13:56:10 +00:00
Oliver Blanthorn
8fa42bc442
Remove now disused hintorder
setting
2017-12-03 13:55:56 +00:00
Oliver Blanthorn
aea3241c28
Fix #198 : add Qwant and update startpage URL
2017-12-03 13:01:23 +00:00
Oliver Blanthorn
ddb2004314
Add Google Scholar search engine
2017-12-03 12:10:25 +00:00
Oliver Blanthorn
11b208c2a2
Fix #194 : add searchsetkeyword [keyword] [url]
...
Also, add config to the `tri` namespace for debugging.
2017-12-03 11:30:44 +00:00
Orangenschalen
e06b98d220
fix 'if' scope and respect the javascript integer arithmetic
2017-12-02 16:34:06 +01:00
Orangenschalen
4991689dd7
use hint names of various lenghts
2017-12-02 14:49:19 +01:00
Orangenschalen
34aa42061e
generate hint names with variable length
...
If the longer hint names use a shorter one as prefix,
then the shorter hint name is dropped from the hint
name list.
2017-12-02 14:48:46 +01:00
Orangenschalen
444f11161a
rotate the last entries of the array first
...
e.g. for an input of ("abc", 2)
aa, ab, ac, ba, bb, bc, ca, cb, cc
This groups the permutations by common prefixes.
2017-12-02 14:47:36 +01:00
Oliver Blanthorn
e416c9afe4
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-impl_sanitize
2017-12-02 13:27:06 +00:00
Oliver Blanthorn
fccaa37087
Improve sanitize help
2017-12-02 13:27:02 +00:00
Oliver Blanthorn
fea04e4d3f
release 1.7.0
2017-12-02 12:47:02 +00:00
glacambre
379273396e
src/excmds.ts: Fix gh failing to open the homepage.
...
Problem: When using home() to open the homepage, tridactyl opens the
default search engine instead.
Solution: This was due to calling open(homepages[-1]). Open recieved
`undefined` as argument, gave it to forceURI which returned the default
search engine URL. Replacing `-1` with `homepages.length-1` fixes the
issue.
Fixes issue https://github.com/cmcaine/tridactyl/issues/188
2017-12-02 12:30:04 +01:00
glacambre
1a273d62d2
src/excmds.ts, src/manifest.json: Implement :sanitize.
2017-12-02 00:20:32 +01:00
Colin Caine
51f488463a
commandline: Fix #170
...
The whole commandline is a mess that needs to be rewritten :(
Should change size with a mutation observer on the body element,
probably.
2017-12-01 12:12:56 +00:00