Oliver Blanthorn
0cc08acd8e
Improve guiset documentation
2018-05-05 13:06:49 +01:00
Oliver Blanthorn
81613c9c42
Merge branch 'master' of github.com:cmcaine/tridactyl into nativeuserchrome
2018-05-05 12:49:45 +01:00
Oliver Blanthorn
60e1a3d748
Mark some old commands for deletion. Remove after version 1.10.2.
2018-05-04 23:45:05 +01:00
Oliver Blanthorn
78cec3dd41
Fix #474 : ability to open a handful of about:* pages without native
2018-05-04 23:05:40 +01:00
Erik Johnson
316e16c846
Update tab page and other documentation to reflect new ignore mode binding
2018-05-04 10:14:35 -05:00
Oliver Blanthorn
24d4563241
Add binds for tabcloseallto{right,left} and make lowercase
2018-05-04 11:41:22 +01:00
Bruno Oliveira
b1365e134e
Implements #461
...
Include commands tabcloseAllToRight and tabcloseAllToLeft closing
all tabs to the left/right of the active one. No default binding
included.
2018-05-04 11:41:22 +01:00
Oliver Blanthorn
fa6d91b564
Improve feedback on nativegate
2018-05-04 11:08:39 +01:00
Oliver Blanthorn
9a94449900
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-fix_scrolling_again_again
2018-05-03 17:52:22 +01:00
Oliver Blanthorn
4a8870c363
Ameliorate #454 : allow historyresults to be configured
2018-05-03 17:48:03 +01:00
glacambre
73b9f47377
excmds.ts: Fix scrollto(0/100,y) not working on some websites
...
According to
https://drafts.csswg.org/cssom-view/#dom-document-scrollingelement
scrollingElement can be null. This happened on
http://www.angelfire.com/super/badwebs/ . This caused `elem` to be null
and resulted in an error when pressing G/gg.
2018-05-02 19:34:13 +02:00
Oliver Blanthorn
7e55762940
Update help to reflect lack of return values
2018-05-02 12:48:23 +01:00
Oliver Blanthorn
9b5307262f
:help no longer needs to scroll down
2018-05-01 14:02:53 +01:00
Oliver Blanthorn
95635fca91
Improve documentation.
2018-04-30 15:57:23 +01:00
Oliver Blanthorn
8951cd0219
Warn if profile is not found.
2018-04-30 15:36:34 +01:00
Oliver Blanthorn
45a3020481
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-fix_viewsource
2018-04-30 11:57:35 +01:00
glacambre
f5b6672ac4
excmds.ts: Go back to normal mode when unfocus() is called
2018-04-29 07:15:54 +02:00
Oliver Blanthorn
2bde932986
Add 0.1.1 version gate to guiset
2018-04-28 18:12:42 +01:00
Oliver Blanthorn
88e429ae92
Previous commit didn't fix it, so give up gracefully.
2018-04-28 18:06:18 +01:00
Oliver Blanthorn
5f7b411a4d
Change insert mode bind for editor to <C-i>, like Vimperator
2018-04-28 14:19:07 +01:00
glacambre
3fa8ac4322
excmds.ts: Remove viewsource elem on spa history changes
2018-04-28 07:54:22 +02:00
Oliver Blanthorn
2f31ade76a
Support modifying userChrome even if user hasn't done it themselves first
2018-04-28 00:08:39 +01:00
Oliver Blanthorn
cef230182f
Improve open
documentation.
2018-04-27 21:43:58 +01:00
Oliver Blanthorn
38c78a276e
Add OSX support for getProfileDir
2018-04-27 21:24:20 +01:00
Oliver Blanthorn
f1b67b4279
Merge branch 'master' of github.com:cmcaine/tridactyl into nativeuserchrome
2018-04-27 15:30:50 +01:00
Oliver Blanthorn
15ca28fb3e
Add exclaim_quiet
to suppress output and rebind ;v
so that mpv doesn't steal focus after playing
2018-04-26 20:54:32 +01:00
Oliver Blanthorn
d8af755e83
Suppress some errors when checking if native version is installed so that helpful ones can be displayed
2018-04-26 19:35:41 +01:00
Oliver Blanthorn
2f87e338b0
Fix #437 : Improve native messenger documentation.
2018-04-26 18:24:34 +01:00
Oliver Blanthorn
a687ac95d8
Stop native messenger being updated from the internet on web-ext reload
2018-04-26 12:32:10 +01:00
Colin Caine
e2b8b95b23
Fix :open <empty string>. Fixes #421
2018-04-26 09:10:25 +01:00
Oliver Blanthorn
dca9039883
Give up on Windows support for now
2018-04-25 20:43:43 +01:00
Oliver Blanthorn
16cce26daa
Update native messenger with Tridactyl
2018-04-25 20:43:43 +01:00
Oliver Blanthorn
2dcf9dabaa
Add interactive arugments to some native commands
2018-04-25 20:43:43 +01:00
Oliver Blanthorn
26475f5565
Make native update script user configurable, give feedback
2018-04-25 20:43:43 +01:00
Oliver Blanthorn
528c931971
Implement pipe support.
2018-04-25 20:43:42 +01:00
Oliver Blanthorn
3bbf2767f1
Generate the temporary file for $EDITOR in python
...
This should make multi-platform support easier and aid security (only
the user wot made the file can read it).
2018-04-25 20:43:42 +01:00
Oliver Blanthorn
a8cc9d454d
Add native version checker and nativeopen
...
Adds semver-compare runtime dependency: might be worth statically
linking it since it's so simple.
2018-04-25 20:43:42 +01:00
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
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
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
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
Oliver Blanthorn
47409e4fd2
Make Logging.Logger.error print an error to the command line
2018-04-23 15:09:20 +01:00
Oliver Blanthorn
f5d98c5085
Improve profile finding code; allow users to set their own
2018-04-22 19:59:41 +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
60ce31f44c
Move CSS editing to JS
2018-04-21 23:43:12 +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