Commit graph

1754 commits

Author SHA1 Message Date
Roman Bogorodskiy
d80ac1a32b FreeBSD support for native install
Handle FreeBSD's OSTYPE (which has "freebsdX.Y" format). While here,
convert OSTYPE check to use 'case' instead of if's/elif's.

For unknown OSTYPE fallback to the default Linux location.
2018-08-25 20:33:31 +04:00
Oliver Blanthorn
4f779c7df2
Merge pull request #947 from willghatch/env
use /usr/bin/env to find bash
2018-08-24 21:44:12 +01:00
William G Hatch
e77e2a07fb use /usr/bin/env to find bash 2018-08-24 13:38:49 -06:00
Oliver Blanthorn
a5d1686901
Merge pull request #942 from nbirnel/native-install-opensuse-941
fix native install on opensuse - issue 941
2018-08-23 23:04:42 +01:00
Noah Birnel
50fd234da2 fix native install on opensuse - issue 941
check $OSTYPE against "linux" as well as "linux-gnu"
2018-08-23 14:05:07 -07:00
Oliver Blanthorn
9c68598b06
release 1.13.3 2018-08-21 21:35:12 +01:00
Oliver Blanthorn
8b590b2635
Update changelog for 1.13.3 2018-08-21 21:34:48 +01:00
Oliver Blanthorn
3b6cddf971
Improve setting completion styling 2018-08-21 21:28:36 +01:00
Oliver Blanthorn
683bb1b2f1
Update changelog for 1.13.3 2018-08-21 20:12:02 +01:00
Oliver Blanthorn
ede3936b82
Add rudimentary settings completion
Obvious enhancements: allow for setting.key.subkey completion; add docstrings; add all options for settings.
2018-08-21 20:06:13 +01:00
Oliver Blanthorn
dda64e567d
Update changelog for 1.13.3 2018-08-21 19:15:10 +01:00
Oliver Blanthorn
2877cf139b
Merge branch 'make_excmd_completion_types_simpler' 2018-08-20 19:17:25 +01:00
Oliver Blanthorn
ed0f1ed20e
Remove excmd arguments on completion 2018-08-20 19:17:03 +01:00
glacambre
16165f9935
Make Excmd completion type simpler
This commit makes type information generated by our compiler pass more
precise. This lets us choose what information we want to display in the
command line.
2018-08-20 18:12:46 +02:00
Oliver Blanthorn
14500f3dd0
Merge pull request #931 from henrebotha/patch-2
Fix property spelling
2018-08-20 10:28:18 +01:00
Henré Botha
bcddd127c4
Fix property spelling 2018-08-20 11:06:44 +02:00
Oliver Blanthorn
e126622fea
Reduce friction to getting Tridactyl 2018-08-19 22:30:54 +01:00
Oliver Blanthorn
d5d3f113e4
Fix #921: Use Escape rather than Esc in hard-coded config 2018-08-19 22:24:55 +01:00
Oliver Blanthorn
84001143c3
Merge branch 'update_typescript' 2018-08-19 14:10:15 +01:00
Anton Vilhelm Ásgeirsson
7c1f0cecfb Fix undo current_window_id check. 2018-08-19 12:32:04 +00:00
glacambre
cc94f7f790
Fix #926: rebind all rapid binds from g; to ;g 2018-08-19 13:13:11 +01:00
Anton Vilhelm Ásgeirsson
4c856621c5 Assert type of node object. 2018-08-19 12:08:49 +00:00
Anton Vilhelm Ásgeirsson
0908af9100 Refactor undo excmd to comply with ts 3.0.1. 2018-08-19 11:56:51 +00:00
Anton Vilhelm Ásgeirsson
0192fecfe2 Fix code bugs introduced by the 3.0.1 upgrade.
- Use a different object notation in newtab.ts to stop nagging.
- Remove unused function from src/keyseq.ts.
2018-08-19 11:31:54 +00:00
Anton Vilhelm Ásgeirsson
77f6008259 Update typescript to 3.0.1 and typedoc to 0.12.0. 2018-08-19 11:12:25 +00:00
Oliver Blanthorn
99cb56d4ad
Add tab alias for buffer 2018-08-18 20:55:57 +01:00
glacambre
2fe2742333
Add exaliases to Excmd completion source 2018-08-18 21:40:12 +02:00
glacambre
740397ed79
aliases.ts: Simplify getCmdAliasMapping() a lot 2018-08-18 21:38:47 +02:00
Oliver Blanthorn
4f1d96767b
Merge branch 'port_hints_to_new_fangled_way' 2018-08-18 18:28:47 +01:00
Oliver Blanthorn
85030eb7d9
Add binds for rapid and some old Pentadactyl binds 2018-08-18 18:28:11 +01:00
Oliver Blanthorn
f5a941dba4
Sort excmd completions alphabetically 2018-08-18 14:45:07 +01:00
Oliver Blanthorn
76c6bfb4dd
Fix error if config is at latest version 2018-08-18 14:26:53 +01:00
Oliver Blanthorn
d9a13dac9e
Merge branch 'fix_aliases_breaking_excmd_completion' 2018-08-18 11:24:50 +01:00
Oliver Blanthorn
115995c0ba
Add I, Shift-Escape ignore binds back 2018-08-18 11:15:46 +01:00
glacambre
e19b3ce49d
Fix excmd completion not working with nested aliases 2018-08-18 07:15:14 +02:00
glacambre
e6639ceb85
Fix aliases breaking excmd completion
As mentioned in https://github.com/cmcaine/tridactyl/issues/912, there
was a problem with aliases preventing some excmd completion options from
being displayed. For example, `b` would be expanded to `buffer` in the
command line completion mechanism and thus prevent `back` from being
displayed.

This commit fixes that by treating aliases as "real" excmds when
building completion sources. Basically, we check for aliases to the
prefixes given as CompletionSource parameter and add them to the list of
prefixes that can trigger the completion source.

We use this opportunity to remove the constraint of having to add a
space to each prefix, they're instead automatically added by the
CompletionSource constructor.
2018-08-17 23:09:17 +02:00
glacambre
495c9302a7
Fix #909: allow commandline to be pushed to side by scrollbar 2018-08-17 18:51:24 +01:00
Oliver Blanthorn
c51bdc87c7
Mitigate #917 until we get our heads around async 2018-08-17 18:38:51 +01:00
glacambre
f43adc9467
Make rapid hinting return an array
Rapid hinting now returns an array. When no hints have been selected, an
empty array is returned. When no hints have been selected in regular
hinting mode, an empty string is returned.
2018-08-17 07:59:00 +02:00
Henré Botha
263b4d3fa6
Update guiset to pad maximised windows 2018-08-16 21:18:04 +01:00
Oliver Blanthorn
0cee731d4b
Merge pull request #914 from glacambre/generate_theme_list
Generate theme list
2018-08-16 21:09:43 +01:00
Oliver Blanthorn
32a1fd25d4
Merge pull request #900 from henrebotha/patch-1
Prevent cutting off a few pixels at the top
2018-08-16 21:08:46 +01:00
glacambre
d77a3fa127
Use generated list of themes instead of hardcoded array 2018-08-16 21:03:56 +02:00
glacambre
b13956010c
Add list of static themes to generated metadata 2018-08-16 20:56:19 +02:00
glacambre
b6e32e975e
Normalize theme directory structure 2018-08-16 20:56:11 +02:00
Oliver Blanthorn
b54e4d9b41
Merge pull request #913 from glacambre/remove_completion_try_catch
Remove try/catch in excmd completion
2018-08-16 16:33:32 +01:00
glacambre
0d8957b536
Fix hint breaking when no option is given 2018-08-16 17:22:30 +02:00
glacambre
5eae45d0a0
Remove try/catch in excmd completion
This commit removes the try/catch in the excmd completion source and
instead makes the ExcmdCompletionOption constructor default to a string
for missing values.

This is useful for three reasons:
- The try/catch discarded excmds that didn't have a type/documentation,
  but being able to autocomplete the name of these functions could still
  be useful
- Try/catch are usually expensive
- TypeScript wrongly complained about a missing parenthesis when the
  try/catch was there
2018-08-16 17:09:13 +02:00
Oliver Blanthorn
e1bb76600e
Merge branch 'master' of github.com:cmcaine/tridactyl into add_excmd_completion_source 2018-08-16 14:57:09 +01:00
Oliver Blanthorn
d2ae8cb92b
Rename Excmds -> ex commands 2018-08-16 14:57:03 +01:00