Commit graph

867 commits

Author SHA1 Message Date
Colin Caine
603af8b4ed Simplify keyseq/completions() 2018-04-23 22:56:19 +01:00
Colin Caine
1b2b2168e5 Add tests for -ve keyseq issues 2018-04-23 22:56:19 +01:00
Colin Caine
c4845840f9 Prettier 2018-04-23 22:56:19 +01:00
Colin Caine
96768f81f4 Fix #418 2018-04-23 22:56:19 +01:00
Oliver Blanthorn
e9f6afeb9c
Add toggle for mode indicator with set modeindicator true|false 2018-04-23 21:28:46 +01:00
Oliver Blanthorn
47409e4fd2
Make Logging.Logger.error print an error to the command line 2018-04-23 15:09:20 +01:00
Oliver Blanthorn
c678c37f89
Merge pull request #416 from timokau/patch-1
Alias h to help
2018-04-23 11:00:50 +01:00
Timo Kaufmann
a312948f1e
Alias h to help 2018-04-23 11:56:05 +02:00
Colin Caine
745181d758 release 1.9.5 2018-04-22 18:56:27 +01:00
Colin Caine
4540713462 Fix status indicator height on :tutor 2018-04-22 18:56:27 +01:00
Colin Caine
04ae5b58a8 Catch CSP exception when hijacking 2018-04-22 18:31:57 +01:00
Oliver Blanthorn
786261d019
Fix #337: Make composite and ex-parser more sequential
Allows one to bind `composite tabprev | sleep 100 | tabclose #` and have
the command work; `composite tabclose | tabprev` also works but looks a
little janky. The sleep is required in the first command so that the
value of `#` has time to update.
2018-04-22 17:40:55 +01:00
Oliver Blanthorn
fad7851829
Fix #394: rename generated source .name.generated.ext 2018-04-22 17:15:40 +01:00
Oliver Blanthorn
f8dfb7addb
Fix annoying inputmode bug, mark II 2018-04-22 15:52:39 +01:00
Oliver Blanthorn
c67adc44e3
Add mode indicator 2018-04-22 15:34:00 +01:00
Bodo Graumann
528f3bc76f Update method for adding search engine in readme
According to the help the previous method is deprecated in favour of this new one.
2018-04-22 11:13:31 +01:00
Oliver Blanthorn
7b1000f9d3
Improve build process
Source is now automatically zipped up and put on the webserver's beta/
directory. Protip: don't remove AMOKEYS from .gitignore.
2018-04-20 21:21:37 +01:00
Oliver Blanthorn
8edc9205dc
release 1.9.4 2018-04-20 20:59:24 +01:00
Oliver Blanthorn
0ee2b40853
Add hint -W [exstr] to execute exstr on hint's href 2018-04-20 19:37:45 +01:00
Oliver Blanthorn
027371029c
Fix annoying inputmode bug 2018-04-20 17:25:10 +01:00
Oliver Blanthorn
bcbbbe6607
Remove errant log. 2018-04-20 17:15:55 +01:00
Oliver Blanthorn
4e77b65123
Add jumplist for inputs bound to g;
Currently repeated use of `g;` will only take you to the most recently
used input. Cycling through recently used inputs is a WIP.
2018-04-20 17:05:15 +01:00
Colin Caine
8ee9db1360 Fix exportFunction detection 2018-04-20 13:59:52 +01:00
Colin Caine
4c7efaaef5 Stop treating "std::map" or "Error: foo" as URIs.
Forbid unusual URIs in :open, etc. Fix #352.

```
If the uri looks like it might contain a schema and a domain, try url()
test for a non-whitespace, non-colon character after the colon to avoid
false positives like "error: can't reticulate spline" and "std::map".

These heuristics mean that very unusual URIs will be coerced to
something else by this function.
if (/^[a-zA-Z0-9+.-]+:[^\s:]/.test(maybeURI)) {
```
2018-04-19 17:35:05 +01:00
Colin Caine
07b0a20923 Simplify newtab redirect code 2018-04-19 16:39:01 +01:00
Colin Caine
a11d7704a8 Special case 'about:blank' and '' in :open 2018-04-19 16:35:10 +01:00
Colin Caine
ec51fbba88 Fix newtab redirection
Broken by hijack code. I've just assumed any page we load content.ts on
manually doesn't need hijacking. Other solutions are available.
2018-04-19 15:34:35 +01:00
Oliver Blanthorn
3dee8a453b
Warn users about native messenger update
This commit should be reverted once the native messenger has been
released.
2018-04-19 12:27:20 +01:00
Oliver Blanthorn
bd7b5f0bdc
Remove welcome to new users as we have tutor for that now 2018-04-19 12:19:10 +01:00
Oliver Blanthorn
5ef46f194e
Add changelogs to new tab page. 2018-04-19 12:16:34 +01:00
Colin Caine
e721f625c8 release 1.9.3 2018-04-19 11:22:55 +01:00
Colin Caine
2626d292f0 Fix :unbind better
Remove all unbound keys before passing to keyseq.parse(). Resolves #402.
2018-04-18 11:07:57 +01:00
Colin Caine
89e3d05d1b Fix issue with binds that are prefixes of other binds
If one bind is a prefix of another bind, allow it to be selected.
Previously the parser would never discard the keyevents after the valid
prefix breaking the whole system.

Fixes #401 #399.
2018-04-18 10:49:35 +01:00
Colin Caine
1ef49cb6e8 Fix :unbind
Unbinding actually sets the property to `""`, but the keyseq code
rightly doesn't know about that convention.

For now I'm putting some special casing in the normalmode parser.

Fixes #398.
2018-04-17 01:09:59 +01:00
Oliver Blanthorn
4edd8f640b
Add support to bmark for placing bookmarks in folders 2018-04-16 23:13:12 +01:00
Oliver Blanthorn
ee5c78c7b4
Add generated grammars to gitignore 2018-04-16 16:36:50 +01:00
Oliver Blanthorn
b923cb1567
Ask people to review us on the AMO 2018-04-16 16:36:15 +01:00
Oliver Blanthorn
be7abde328
Add contributing.md 2018-04-16 16:30:51 +01:00
Oliver Blanthorn
af06c9ee91
Improve bind documentation 2018-04-16 12:45:40 +01:00
Oliver Blanthorn
622fd5886d
Merge branch 'master' of github.com:cmcaine/tridactyl 2018-04-16 11:45:54 +01:00
Oliver Blanthorn
2c564f2b34
Add a handful of binds from Vimperator 2018-04-16 11:45:29 +01:00
Colin Caine
c27d6d86ff Add background flag to tabopen
Fix #396
2018-04-16 11:26:16 +01:00
Colin Caine
1afc2e1ce5 Update FAQ 2018-04-16 09:06:52 +01:00
Colin Caine
06326acbd7 release 1.9.2 2018-04-16 08:47:18 +01:00
Colin Caine
da00523e85 Fix #392 2018-04-16 08:47:01 +01:00
Colin Caine
794849c548 release 1.9.1 2018-04-16 00:57:54 +01:00
Colin Caine
f2fad1cc04 Fix buffer switch bind 2018-04-16 00:55:38 +01:00
Oliver Blanthorn
025c83c346 Changelog for version 1.9 2018-04-16 00:31:15 +01:00
Colin Caine
7d22865625 release 1.9.0 2018-04-16 00:20:17 +01:00
Colin Caine
4858432401 Add some binds with modifiers 2018-04-16 00:17:41 +01:00