glacambre
5c31e031cf
config.ts: Add type information to default_config
...
This commit adds type information to multiple default_config attributes.
This enables removing the "permitted values" bit in some of the comments
as TypeDoc displays type information when available.
2018-09-01 19:33:53 +02:00
glacambre
6d5f07b345
config.ts: Turn default_config into a class
...
This commit turns default_config into a class. This is useful because
TypeDoc's layout for classes is better than the one for object literals.
On top of that, default_config being a class will help with adding type
information to settings, which will in turn let us generate config
metadata that we will then be able to use to typecheck `:set` and to
provide more information in completions.
2018-09-01 19:16:45 +02:00
Oliver Blanthorn
2ae20799f2
Merge pull request #963 from glacambre/ignore_bg_errors
...
background.ts: Ignore errors when TabLeft/TabEnter can't be triggered
2018-09-01 17:19:36 +01:00
glacambre
d9069d5a02
background.ts: Ignore errors when TabLeft/TabEnter can't be triggered
...
When switching to or from a tab, Tridactyl sends a message to the
previously and newly-active tabs in order to trigger the TabLeft and
TabEnter autocommands.
This didn't work with privileged tabs as these tabs do not have a
content script. Instead, an exception was thrown. This commit adds
exception handling for these exceptions.
2018-09-01 17:20:34 +02:00
Oliver Blanthorn
1e24424cb5
Fix shebang, mark II
2018-08-31 15:52:34 +01:00
Oliver Blanthorn
ffd82223de
Fix shebang
2018-08-30 22:03:35 +01:00
Oliver Blanthorn
c1a7dfbab1
Merge branch 'configdocs'
2018-08-30 21:40:38 +01:00
Oliver Blanthorn
1f831cde48
Update config help, reset to master's CSS
2018-08-30 21:39:01 +01:00
Colin Caine
7b8fada4d3
Fix doc typo for :help
2018-08-30 13:47:35 +01:00
Colin Caine
a58f8a3439
scripts/pretty warn when we modify working copy
2018-08-29 11:32:07 +01:00
Colin Caine
8387846cda
scripts/pretty prettify working tree copy if it matches staged version
2018-08-29 11:24:34 +01:00
Oliver Blanthorn
18c4c54b8a
Fix #937 : Unset completion
2018-08-29 11:20:22 +01:00
Oliver Blanthorn
7e40a538cd
Remove conflict markers
...
CSS needs to be sanity checked - I have not done so
2018-08-29 11:17:33 +01:00
Oliver Blanthorn
3d7dbe1c1a
Update config
2018-08-29 11:07:12 +01:00
Oliver Blanthorn
fd218e060b
Merge branch 'master' of github.com:cmcaine/tridactyl into configdocs
2018-08-29 10:58:34 +01:00
Oliver Blanthorn
1afa2d77f6
Use glacambre's typedoc theme fork
2018-08-29 10:54:24 +01:00
Colin Caine
093f065580
scripts/pretty no longer modify working tree
...
Trying to avoid race conditions with your editor both in reading the
working tree and modifying the index (git staging area).
2018-08-29 10:34:03 +01:00
Oliver Blanthorn
48dfc0f3e7
Merge pull request #958 from quinoa42/fix-wrong-invocation-of-urlmodify
...
Fix the incorrect invocation of urlmodify in the tridactylrc example
2018-08-29 09:57:25 +01:00
quinoa42
a2a328aff7
Fixed the wrong invocation of urlmodify in the tridactylrc example
2018-08-29 10:00:53 +08:00
Oliver Blanthorn
15140b1bea
Fix #948 : set newtab about:home kinda works subject to usual caveats
2018-08-28 15:44:04 +01:00
Oliver Blanthorn
3e41a5cb7d
Merge pull request #946 from willghatch/profiledir
...
Honor config.profiledir in getProfileDir
2018-08-28 13:04:40 +01:00
Oliver Blanthorn
4d37381253
Fix #954 : only prevent / from being stolen in normal mode
2018-08-28 11:39:16 +01:00
Oliver Blanthorn
f2be755729
Merge pull request #949 from novel/bsd-native-install-sh
...
FreeBSD support for native install
2018-08-25 17:55:00 +01:00
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
William G Hatch
d9a2fee6f1
Honor config.profiledir in getProfileDir
2018-08-24 13:35:53 -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