Colin Caine
fafb8f4017
Add setting noiframeon
for servicenow etc
2018-04-25 20:30:05 +01:00
Colin Caine
cd868ca04c
Load iframe more lazily
2018-04-25 20:29:47 +01:00
Oliver Blanthorn
f64dedbd8a
Remove errant log.
2018-04-25 19:12:25 +01:00
Oliver Blanthorn
46298bccf2
release 1.9.6
2018-04-25 15:40:11 +01:00
Oliver Blanthorn
e093874173
Run npm install
on checkout if package.json changes
2018-04-25 11:50:08 +01:00
Oliver Blanthorn
44ceb615dc
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-fix_#395
2018-04-25 10:35:13 +01:00
Oliver Blanthorn
9973be2212
Merge branch 'master' of github.com:cmcaine/tridactyl into arthurmillergitmybaby-indicator-text-selection-fix
2018-04-25 10:24:41 +01:00
Oliver Blanthorn
bed18f6fdf
Fix mode indicator not showing
...
On quick loading pages, we were missing the DOMContentLoaded event.
2018-04-25 10:22:52 +01:00
glacambre
aa81669cfb
excmds.ts: Make recursiveScroll faster
...
It turns out that getClientRects() calls can be very expensive.
Replacing them with checking node attribute seems to make scrolling
faster on all websites reported as slow in
https://github.com/cmcaine/tridactyl/issues/395
while also not breaking scrolling on any of the websites mentionned in
https://github.com/cmcaine/tridactyl/pull/378 .
This fixes https://github.com/cmcaine/tridactyl/issues/395 .
This also accidentally fixes
https://github.com/cmcaine/tridactyl/issues/122 (scrolling multiple
elements at the same time).
2018-04-25 07:57:17 +02:00
n
b9b914c728
Fix #423 disable indicator text selection
2018-04-24 19:56:44 -04:00
glacambre
4e2ca3a73b
excmds.ts: make scrollto() call recursiveScroll when failing to scroll
...
Scrollto can fail to scroll on some pages such as the ones created by
PDF.js. When this happens, and if the user is asking to go to the very
top or very bottom of the page, try using recursiveScroll instead.
It's tempting to skip the window.scrollTo call and just use
recursiveScroll no matter what but recursiveScroll doesn't always work
either. For example, window.scrollTo can take the user to the bottom of
the page on mozilla's doc while recursiveScroll cannot.
This fixes https://github.com/cmcaine/tridactyl/issues/382
2018-04-24 21:07:39 +01:00
Colin Caine
ed2cf8a381
Add some more keyseq tests
2018-04-23 22:56:19 +01:00
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