Commit graph

2343 commits

Author SHA1 Message Date
Oliver Blanthorn
60b896f57c
Wait for focus on iframe
This actually worsens the UX as you have to click
outside of the iframe to run the command a second
time to show the cli successfully.
2019-02-06 16:31:12 +00:00
Oliver Blanthorn
8ee8f1d1ec
Attempt to lazy-load iframe
Needs to be activated twice before it works.
2019-02-06 16:29:13 +00:00
Oliver Blanthorn
799f2d3233
Merge branch 'fix_1295' 2019-02-06 15:30:51 +00:00
Oliver Blanthorn
469159d862
Merge branch 'add_searchengine_support' 2019-02-06 15:26:09 +00:00
Oliver Blanthorn
26701e4069
Merge branch 'pinusc-master' 2019-02-06 15:22:45 +00:00
Oliver Blanthorn
883f951e8c
Improve shadow-bind error message 2019-02-06 15:21:58 +00:00
Oliver Blanthorn
397b9f84be
Merge pull request #1328 from glacambre/better_D
config.ts: Remove sleep from 'D' bind
2019-02-06 07:48:30 +00:00
glacambre
431a7ec5dd
config.ts: Remove sleep from 'D' bind
The `sleep` command was added a long time ago to avoid race conditions
because tabprev didn't return a promise. Since tabprev now always
returns a promise which is resolved once a new tab is selected, it is
safe to remove the `sleep` call. This makes `D` feel smoother.

Tested on both a fast and a slow computer with high load.
2019-02-06 08:45:08 +01:00
Oliver Blanthorn
fcc9488169
Merge pull request #1325 from glacambre/fix_viewsource
Fix viewsource
2019-02-05 23:36:46 +00:00
Oliver Blanthorn
29ae8458cc
Merge pull request #1327 from glacambre/uncomment_run_exstr
excmds.ts: uncomment run_exstr
2019-02-05 23:36:12 +00:00
glacambre
65db93caf3
viewsource.css: Make viewsource actually respect colorscheme 2019-02-05 18:29:57 +01:00
glacambre
a4ad43cf77
tutor.template.html: Fix viewsource not being visible 2019-02-05 18:29:54 +01:00
glacambre
f5cfc0a3a3
static/typedoc/layouts/default.hbs: Fix viewsource not working correctly 2019-02-05 18:29:50 +01:00
pinusc
4070aa0167 Warn when adding a binding that is shadowed by other bind (#1309) 2019-02-05 16:41:53 +01:00
glacambre
5743f0ce7d
excmds.ts: uncomment run_exstr
Closes https://github.com/tridactyl/tridactyl/issues/1275
2019-02-05 08:27:59 +01:00
glacambre
e098e48e44
commandline_frame.ts: Simplify completion-updating mechanism
https://github.com/tridactyl/tridactyl/issues/1295 reports that
sometimes, completions won't be offered for excmds even though they
should. This happened because of the following steps:

- A letter is pressed, triggering an "input" event which schedules
  completion computation
- <Space> is pressed, which doesn't trigger an "input" event since it's
  bound to an excmd. However, the excmd itself refreshes completions.
- The computation scheduled by the "input" event is run with the
  previous exstr, even though it isn't up to date anymore.

This is fixed by replacing all the complicated timeoutId checking with
exstr checking, which makes a lot more sense, is simpler and all around
better.

Closes #1295.
2019-02-05 05:22:48 +01:00
glacambre
e9945e49b6
excmds.ts: Use loadReplace where possible
Loadreplace will make openInTab() replace the current url in history if
possible. This is useful for winopen and tabopen as this will remove
Tridactyl's newtab page from history.
2019-02-04 18:43:16 +01:00
glacambre
d05b7ef039
excmds.ts: Add :searchsetkeyword back with an error message 2019-02-04 18:39:43 +01:00
glacambre
186c1a9904
excmds.ts: Remove setsearchkeyword and forceURI functions
setsearchkeyword has been deprecated for a while now and it was the last
place where forceURI was used.
It doesn't make sense to keep forceURI because using it for its intended
purpose (opening new tabs/windows) would make Tridactyl inconsistent:
while openInTab() is able to use Firefox's search engines, forceURI
isn't and search engine usage can't be added to forceURI due to API
mismatches.
2019-02-04 08:22:48 +01:00
glacambre
db5461e513
excmds.ts: Make open_quiet use openInNewTab() 2019-02-04 08:18:01 +01:00
glacambre
7c26cf8f9c
excmds.ts: Remove nativeopen checks from winopen
These checks are performed in nativeopen anyway.
2019-02-04 08:00:51 +01:00
glacambre
c0bbdcb536
excmds.ts: Make winopen use openInTab 2019-02-04 07:58:10 +01:00
glacambre
5217227eb9
webext.ts: Fix openInTab() not trying to treat search queries as domains 2019-02-04 07:47:33 +01:00
glacambre
509885cb1d
webext.ts: Fix "search" not performing a literal search in openInTab()
https://github.com/tridactyl/tridactyl/pull/1305#discussion_r251495428
2019-02-04 07:31:21 +01:00
Oliver Blanthorn
880a75914d
Add some crazy binds to tridactylrc 2019-02-03 16:53:43 +00:00
Oliver Blanthorn
de954ddc9c
Merge branch 'guiset_statuspanel' 2019-02-03 15:45:23 +00:00
Oliver Blanthorn
fb4b78cbe4
Add missing backtick 2019-02-03 15:45:11 +00:00
Oliver Blanthorn
b2494a236c
Merge branch 'add_doc' 2019-02-03 15:44:14 +00:00
Oliver Blanthorn
9fc0799701
Fix minor typos 2019-02-03 15:43:56 +00:00
Oliver Blanthorn
69a1c1a88d
Merge pull request #1310 from glacambre/mention_disable
excmds.ts: use word "disable" in mode/blacklistadd doc
2019-02-03 10:48:49 +00:00
glacambre
536dcb3abc
css_utils.ts: Add statuspanel rule
Related issue: https://github.com/tridactyl/tridactyl/issues/1284#issuecomment-459488419
2019-02-03 08:55:40 +01:00
glacambre
a7336900e3
contributing.md: Fix typos/missing links 2019-02-03 07:52:05 +01:00
glacambre
e108cbce7d
excmds.ts: use word "disable" in mode/blacklistadd
As mentionned in https://github.com/tridactyl/tridactyl/issues/339, this
could be useful for users looking for the word 'disable' in the help
pages.
2019-02-03 06:22:53 +01:00
Oliver Blanthorn
a1186fbd79
Merge pull request #1301 from Rahlir/jshinting
Option to disable javascript hinting
2019-02-02 17:38:17 +00:00
glacambre
4b77ff90c2
contributing.md: Explain build process 2019-02-02 14:54:25 +01:00
glacambre
d5ac90a809
contributing.md: Add architecture and macro explanation 2019-02-02 11:31:17 +01:00
Oliver Blanthorn
bdaa65d216
release 1.14.8 2019-01-31 12:25:37 +00:00
Oliver Blanthorn
518a3323ea
Update changelog for 1.14.8 2019-01-31 12:24:11 +00:00
Oliver Blanthorn
710eb9333b
Explain issue #1313 2019-01-31 12:21:00 +00:00
Oliver Blanthorn
707551d135
Merge pull request #1314 from glacambre/update_urls
sed -i s@github.com/cmcaine/tridactyl@github.com/tridactyl/tridactyl@
2019-01-31 11:57:22 +00:00
Oliver Blanthorn
a37a719a9d
Merge pull request #1315 from glacambre/winclose
Implement winclose and winclose completions
2019-01-31 11:56:06 +00:00
glacambre
3e78e2bcf9
Implement winclose and winclose completions
Winclose was already there but was much less useful (could only close
the current window). This commit enables closing other windows and
provides completions for it.

Related issue: https://github.com/tridactyl/tridactyl/issues/794.
2019-01-31 08:13:05 +01:00
glacambre
f14d3a1930
sed -i s@github.com/cmcaine/tridactyl@github.com/tridactyl/tridactyl@
Closes https://github.com/tridactyl/tridactyl/issues/228
2019-01-31 07:16:43 +01:00
Oliver Blanthorn
3e0e1e840f
release 1.14.7 2019-01-30 17:14:44 +00:00
Oliver Blanthorn
3884006911
Update bits and bobs for 1.14.7 2019-01-30 17:14:12 +00:00
Oliver Blanthorn
1b29ad5751
Fix #1229: don't change titlebar with guiset 2019-01-30 17:02:02 +00:00
Oliver Blanthorn
f7593a93b0
Fix ctrl-6 in abnormal modes 2019-01-30 13:36:35 +00:00
Oliver Blanthorn
80a9d700ec
Merge pull request #1311 from glacambre/mention_troubleshooting_guide
Mention troubleshooting guide in newtab/help page
2019-01-30 08:52:33 +00:00
glacambre
46236eab3c
Mention troubleshooting guide in newtab/help page
Closes https://github.com/tridactyl/tridactyl/issues/824.
2019-01-30 06:10:32 +01:00
Tadeas Uhlir
24f2156963 Update doc example for -Jc option 2019-01-29 15:03:58 -05:00