Commit graph

1022 commits

Author SHA1 Message Date
Timo Kaufmann
a312948f1e
Alias h to help 2018-04-23 11:56:05 +02:00
Oliver Blanthorn
f5d98c5085
Improve profile finding code; allow users to set their own 2018-04-22 19:59:41 +01: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
60ce31f44c
Move CSS editing to JS 2018-04-21 23:43:12 +01:00
Oliver Blanthorn
7b04fc455b
Initial attempt at userChrome editing 2018-04-21 18:17:39 +01:00
Oliver Blanthorn
f640526585
Fix exclaim output 2018-04-20 23:12:07 +01:00
Oliver Blanthorn
c858a7d4e8
Add native version checker and nativeopen
Adds semver-compare runtime dependency: might be worth statically
linking it since it's so simple.
2018-04-20 22:58:02 +01:00
Oliver Blanthorn
98734fb3a8
Merge branch 'master' of github.com:cmcaine/tridactyl into nativemessenger
Merge in version 1.9.4: I wanted the about:newtab code.
2018-04-20 21:41:15 +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
64cb7ac953
Add exemplar exclaim binding and improve docs 2018-04-20 19:47:18 +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
6088ebff6c
Add hint -W [exstr] to execute exstr on hint's href 2018-04-20 19:32:09 +01:00
Oliver Blanthorn
73ab23152f
Fix trailing space in editor command
Why commit code when you can fix it twice?
2018-04-20 18:52:23 +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
50f7f3ed07 Native messenger code review 2018-04-18 22:02:31 +01:00
Oliver Blanthorn
713a9176db Install native messenger on build; edit text in external editor
Currently we only support gVim and Linux, but `winword.exe` support is
theoretically possible.
2018-04-18 21:51:40 +01:00
John Beard
962dd62c0b Merge johnnbeard's and IsaacKhor's native messenger
(Credited to John, merge by Olie)
2018-04-18 21:51:05 +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