Commit graph

2603 commits

Author SHA1 Message Date
Oliver Blanthorn
6e5528b26a
Merge pull request #1418 from glacambre/fix_wine_pyinstaller
wine-pyinstaller.sh: Fix checkPrerequisite()
2019-03-27 12:11:20 +00:00
glacambre
fdd278f8f2
wine-pyinstaller.sh: Fix checkPrerequisite()
The problem was the `[ ! -f "${bin_loc}" ]` check. `command -v` does not
necessarily return an absolute path (it can just return the name of the
command for builtins) and this is what happened for 'printf'. Thus, the
`[ ! -f` check failed.
This check doesn't really make sense. If `command -v $binary` doesn't
fail you're good to go, it doesn't really matter where $binary is
located.
2019-03-27 12:47:20 +01:00
Oliver Blanthorn
95259033c6
Merge branch 'add_shellcheck' 2019-03-26 14:49:32 +00:00
Oliver Blanthorn
9956c3b0f5 Document allowautofocus gotchas 2019-03-26 14:14:20 +00:00
Oliver Blanthorn
c1d514e098
Merge pull request #1417 from glacambre/fix_winopen_native
Fix `:winopen -private about:addons` not working
2019-03-26 12:25:59 +00:00
glacambre
b2e88f8a02
Fix :winopen -private about:addons not working 2019-03-26 08:27:38 +01:00
Oliver Blanthorn
1f12c31615
Merge pull request #1414 from glacambre/fix_editor_doc
Fix editor documentation
2019-03-25 13:30:19 +00:00
glacambre
018c247dae
Fix editor documentation
You shouldn't single-quote values you give to editorcmd.

Closes #1413.
2019-03-25 05:21:00 +01:00
glacambre
78e662efef
Add shellcheck to travis 2019-03-24 18:28:41 +01:00
Oliver Blanthorn
8539840eb3
release 1.14.9 2019-03-21 15:22:46 +00:00
Oliver Blanthorn
83b0613be1
Update min version to 65 2019-03-21 15:21:55 +00:00
Oliver Blanthorn
be54db96be
Update changelog for 1.14.9 2019-03-21 15:20:41 +00:00
Oliver Blanthorn
fd9d34bbe2
Start updating changelog for 1.14.9 2019-03-17 16:48:50 +00:00
Colin Caine
618f7f6446 excmds: document composite 2019-03-12 23:45:08 +00:00
Oliver Blanthorn
4d3b86f5ee
Merge branch 'remove_commandline_background' 2019-03-12 15:15:58 +00:00
Oliver Blanthorn
64230c8f3c
Merge pull request #1405 from glacambre/fix_1399
controller_content.ts: Fix typo in variable name
2019-03-09 17:38:33 +00:00
glacambre
03bfb3f825
controller_content.ts: Fix typo in variable name 2019-03-09 18:07:57 +01:00
Oliver Blanthorn
59a2147172
Merge pull request #1404 from max-sixty/patch-1
Fix readme link
2019-03-09 09:28:33 +00:00
Maximilian Roos
efca5e3f66
Fix readme link 2019-03-08 16:49:37 -05:00
Oliver Blanthorn
31e4777296
Merge pull request #1402 from glacambre/fix_windows_nativeopen_escaping
excmds.ts: Fix nativeopen using wrong escaping scheme on windows
2019-03-06 07:58:00 +00:00
glacambre
6a4e2e3c41
excmds.ts: Fix nativeopen using wrong escaping scheme on windows
See comment in patch for explanations.
2019-03-06 06:49:47 +01:00
Oliver Blanthorn
e3ae6f8a8c
Merge pull request #1401 from glacambre/improve_build_script
scripts/build.sh: Generate .bracketexpr.generated.ts before metadata
2019-03-05 17:41:41 +00:00
glacambre
1e104e4d76
scripts/build.sh: Generate .bracketexpr.generated.ts before metadata
Typescript will complain about it missing on clean builds otherwise.
2019-03-05 12:59:44 +01:00
Oliver Blanthorn
ca43aadafb
Merge pull request #1400 from glacambre/fix_completions
completions: Make sure completion computation has ended before resizeArea
2019-03-05 09:04:03 +00:00
glacambre
5dd1ec3a74
completions: Make sure completion computation has ended before resizeArea
Before this commit, Tridactyl had a bug where resizeArea could be called
before completion computation had ended, which resulted in completions
pushing the input field out of the viewport (easy way to reproduce this:
open a lot of tabs and press `b` to open buffer completions).
This happened because for some of the completion sources, `filter`
returned before completion computation had actually ended. This is fixed
by making sure that filter() (and all underlying calls to updateOptions,
onInput, updateChain...) return a promise that will only be resolved
once completion computation has actually ended.
2019-03-05 07:45:07 +01:00
Oliver Blanthorn
5e13b87ebd
Merge branch 'request_review' 2019-03-04 20:02:59 +00:00
Oliver Blanthorn
d34af73746
Update packages and fix build errors 2019-03-03 13:13:01 +00:00
Oliver Blanthorn
fb46d63b4a
Merge pull request #1396 from glacambre/fix_profile_not_auto_windows
native.ts: Fix profiledir != "auto" not working on windows
2019-03-01 12:09:44 +00:00
glacambre
689994eda5
native.ts: Fix profiledir != "auto" not working on windows
Somehow () => profiledir works on linux but doesn't on windows. () =>
profiledir doesn't make sense anyway.
2019-03-01 12:59:12 +01:00
glacambre
4e6e9aadac
Resize command line only once per available completion source
One of the problems of the command line was that it made a resizeArea()
call for each enabled completion, no matter whether its status was
"hidden" or "normal". This was a problem because a resizeArea call
results in 2 cross-script messages: a "show" and a "focus" message. This
means that for each keystroke, we sent 28 messages. This commit fixes
that thanks to modifications in multiple files:

- commandline_frame.ts: Stop accumulating event listeners on resizeArea
  calls. Make sure completion sources actually need a refresh before
  calling resizeArea().
- completions.ts: Add logic to know whether a completion source needs a
  refresh or not.
- {Rss,Sessions,Tab,TabAll,Window}.ts: Make sure that completions are
  actually needed before computing them.

This seems to make opening the command line slightly faster for me,
although I can't tell if this is placebo or not.
2019-03-01 06:18:07 +01:00
Oliver Blanthorn
11329c770a
Merge pull request #1393 from glacambre/deselect_completion
Implement deselect_completion ex command
2019-02-28 22:01:51 +00:00
glacambre
bdd3e04199
Implement deselect_completion ex command
Left unbound by default.
2019-02-28 18:27:21 +01:00
Oliver Blanthorn
24228b8937
Merge pull request #1391 from glacambre/fix_hint_j
excmds.ts: Fix hint -J
2019-02-27 08:08:20 +00:00
glacambre
4ff992f49e
excmds.ts: Fix hint -j
https://github.com/tridactyl/tridactyl/pull/1381 inverted the behavior
of -J. This commit fixes that.
2019-02-27 06:17:15 +01:00
Oliver Blanthorn
0f0ab74391
Merge pull request #1388 from glacambre/fix_hint_pipe
excmds.ts: Fix `hint -pipe` not working
2019-02-26 08:38:54 +00:00
glacambre
85b3e33719
Remove commandline_background
This commit removes commandline_background.ts. I believe this is useful
because the only thing it did was provide recvExStr, which just
triggered a synthetic "onLine" event the only consumer of which was the
parser. Since we already used controller_background + acceptExCmd in
some places, it made sense to me to directly use controller_background +
acceptExCmd everywhere.
2019-02-26 08:41:19 +01:00
glacambre
295471d592
excmds.ts: Fix hint -pipe not working
https://github.com/tridactyl/tridactyl/pull/1381 broke `hint -pipe`
(just try `:composite hint -pipe a href | tabopen` for example).
This commit makes `-pipe` work again.
2019-02-26 06:24:18 +01:00
Oliver Blanthorn
3208b75a64
Merge pull request #1387 from nfvs/fix_travis
Fix travis build
2019-02-25 17:56:22 +00:00
Nuno Santos
4c1f400401 Update to latest web-ext-types, which contains all the types we need.
Fixes travis build.
2019-02-25 14:50:01 +01:00
Oliver Blanthorn
60057e7a8d
Merge pull request #1386 from nfvs/build_errors
Fix build.sh to return proper exit code.
2019-02-25 13:10:31 +00:00
Nuno Santos
2e3263c544 Fix build.sh to return proper exit code.
Remove background scripts/wait from building script to allow proper return
codes to propagate.

Fixes #1088
2019-02-25 13:52:12 +01:00
Oliver Blanthorn
6555d2d9c0
Merge pull request #1385 from glacambre/fix_getprofile
native.ts: Fix buggy profile detection
2019-02-25 12:15:24 +00:00
glacambre
1d12fb614c
native.ts: Fix buggy profile detection
This happened because of a refactoring gone wrong.
2019-02-25 13:08:19 +01:00
Oliver Blanthorn
1e152a1aa4
Merge pull request #1383 from nfvs/bodgecss_sh
MacOS build fixes.
2019-02-24 14:09:43 +00:00
Nuno Santos
b0bf0f1bb7
Shorten Google exemplar in RC file 2019-02-24 14:04:53 +00:00
Oliver Blanthorn
026f409add
Merge pull request #1381 from nfvs/hint_t
Added `hint -t`, `hint -tc` and `hint -Jtc`, to open links in a new tab.
2019-02-24 14:03:11 +00:00
Nuno Santos
31c1d52641 Added hint -t, hint -tc and hint -Jtc, to open links in a new tab.
Using `-w newtab` wouldn't allow us to use selectors with `-c`, and
using composite would always open a new empty tab on cancel (esc).

Other changes:
- Better flag handling in hint().
- `-c` is now a flag (can be combined with others like `-t`), and is
handled in the `default` case
- support flags `-c`, `-J` and `-t` in any position
2019-02-23 23:08:26 +01:00
Oliver Blanthorn
ba2b47c1f3
Merge pull request #1384 from glacambre/guiset_completions
Implement guiset completions
2019-02-23 15:24:17 +00:00
glacambre
f9fa447a24
Implement guiset completions 2019-02-23 16:17:05 +01:00
Oliver Blanthorn
1f5d44e8bd
Merge pull request #1382 from glacambre/fix_1355
native.ts: implement proper profile-checking
2019-02-23 14:59:51 +00:00