Commit graph

1049 commits

Author SHA1 Message Date
Oliver Blanthorn
0afd9dfffe
Add exemplar exclaim binding and improve docs 2018-04-25 20:43:41 +01:00
Oliver Blanthorn
890371b402
Add hint -W [exstr] to execute exstr on hint's href 2018-04-25 20:43:41 +01:00
Oliver Blanthorn
0156fc233f
Fix trailing space in editor command
Why commit code when you can fix it twice?
2018-04-25 20:43:41 +01:00
Colin Caine
ec13fa5dec
Native messenger code review 2018-04-25 20:43:41 +01:00
Oliver Blanthorn
5f68f9428d
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-25 20:43:13 +01:00
John Beard
31958ed710
Merge johnnbeard's and IsaacKhor's native messenger
(Credited to John, merge by Olie)
2018-04-25 20:43:13 +01:00
Oliver Blanthorn
42c6a6d2dc
release 1.9.7 2018-04-25 20:38:27 +01:00
Colin Caine
1e1c1d9d6f
Empty object is not falsey 2018-04-25 20:30:05 +01:00
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
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