Commit graph

551 commits

Author SHA1 Message Date
Oliver Blanthorn
f38e75c62a
Merge pull request #199 from Skillmon/extended_amo
Improve the appearance on AMO
2017-12-06 12:47:20 +00:00
Oliver Blanthorn
469e8a6228
Merge pull request #211 from peff/quit-command
excmds: add `q`, `qa`, and `quit` synonyms
2017-12-06 10:58:51 +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
Jonathan Spratte
521d04c07e shift-esc and :help added 2017-12-05 14:17:57 +01:00
Jonathan Spratte
148f71eb85 better buffers-screenshots 2017-12-05 01:20:08 +01:00
Jonathan Spratte
f51ce53ac0 attractive(?) AMO text; new hintmode screenshot 2017-12-04 23:40:54 +01: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
Oliver Blanthorn
7c4b2261d9
Merge pull request #202 from johnbeard/summaryhint
Add <summary> tags to standard hinting
2017-12-04 08:37:36 +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
Jonathan Spratte
769194493f added highlighted features to amo.md; new screenshots of buffers, hintmode and history 2017-12-03 20:02:36 +01: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
Oliver Blanthorn
f29cacbd46
Merge pull request #190 from glacambre/fix_gh_homepage
src/excmds.ts: Fix gh failing to open the homepage.
2017-12-02 12:01:49 +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
Oliver Blanthorn
4cb772a7cf
Add link to changelog in the readme 2017-12-01 21:41:01 +00:00
Oliver Blanthorn
467457a782
Add title and order in approximate order of excitement 2017-12-01 20:39:51 +00:00
Oliver Blanthorn
242c0839a0
Remove duplicate 2017-12-01 19:52:25 +00:00
Oliver Blanthorn
bcf5815b59
Make start on changelog for #186 2017-12-01 19:50:57 +00: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
Oliver Blanthorn
1747ad45e8
Merge pull request #177 from rscircus/patch-1
Fix reference to keybindings in readme.md
2017-12-01 08:47:42 +00:00
ʇɹǝqƃǝᴉs puɐloɹ
c95646a8b4
Fix reference to keybindings in readme.md
The normal mode parser parses `config.ts` which contains `DEFAULTS` containing all default keybindings. Hence, a reference to `config.ts`.
2017-12-01 06:43:57 +01:00
Oliver Blanthorn
7574146e65
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-fix_completions_not_looping 2017-11-30 19:15:42 +00:00
Oliver Blanthorn
4ad4291b7f
Fix initial shift-tab skipping an item 2017-11-30 19:15:34 +00:00
Oliver Blanthorn
a13cb900a7
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-fix_bugzilla_yankshort 2017-11-30 18:20:33 +00:00
glacambre
d6bf2f4c69 src/completions.ts: Fix shift-tab not looping backwards. 2017-11-30 19:03:12 +01:00
glacambre
469bc551ee src/excmds.ts: Fix yankshort not always yanking short urls.
Problem: Yankshort didn't yank short urls on bugzilla.mozilla.org. This
was due to bugzilla.mozilla.org using an old, non-standard, non-html5
compliant way of advertising its short urls.

Solution: Make yankshort check if a rev="canonical" link exists if it
cannot find a rel="shortlink" url.

Fixes issue https://github.com/cmcaine/tridactyl/issues/172 .
2017-11-30 18:04:16 +01:00
Oliver Blanthorn
9fc0e9c0cf
Fix #167: Add bmarks command for searching through bookmarks 2017-11-30 17:02:31 +00:00
Oliver Blanthorn
8695552fe6
Fix #168: some pages didn't like the htmlblah strings. 2017-11-30 15:35:37 +00:00
Oliver Blanthorn
2595ed4d14
Allow bmark to accept titles with spaces 2017-11-30 14:34:10 +00:00
Oliver Blanthorn
fdcaea0849
Fix #96: Allow set to set arrays and add homepages setting 2017-11-30 13:53:53 +00:00
Oliver Blanthorn
3a957a1e5a
Fix #59: newtab can be configured with set newtab [url] 2017-11-30 11:47:37 +00:00
Oliver Blanthorn
b07180a37e
Merge branch 'master' of github.com:cmcaine/tridactyl into johnbeard-hintread 2017-11-30 11:06:26 +00:00
Oliver Blanthorn
d9fc24dc62
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-fix_pcgamer_hints 2017-11-30 08:58:45 +00:00