Commit graph

1571 commits

Author SHA1 Message Date
Oliver Blanthorn
1cf13b6863
Merge pull request #688 from glacambre/fix_sanitize_breaking_config
config.ts: Fix :sanitise tridacyl{local,sync} breaking config.get()
2018-06-17 18:48:24 +01:00
Oliver Blanthorn
98b7f75ddd
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-changelog_indicator 2018-06-17 18:35:56 +01:00
Oliver Blanthorn
9818f8d0cb
Change changelog notification to small nag bar 2018-06-17 18:35:48 +01:00
Oliver Blanthorn
53b2e6670b
Add missing ;w hint winopen bind 2018-06-17 18:18:23 +01:00
glacambre
575693a65e
Implement :bufferall 2018-06-17 06:21:10 +02:00
glacambre
125759b483
Keep newtab's changelog button grey once changelog has been read 2018-06-16 15:55:33 +02:00
glacambre
8ccc9e3bb5
config.ts: Fix :sanitise tridacyl{local,sync} breaking config.get() 2018-06-16 14:39:42 +02:00
Anton Vilhelm Ásgeirsson
f43986f829 Merge branch 'containers' of github.com:antonva/tridactyl into containers 2018-06-16 09:26:49 +00:00
Anton Vilhelm Ásgeirsson
01307ddc2c Added container color to the mode indicator. This functionality is hidden behind a config setting "containerindicator".
Related function 'activeTabContainer' was added to 'src/lib/webext.ts'.
Minor changes to getFromId error handling in 'src/lib/containers.ts'.
2018-06-16 09:22:52 +00:00
Oliver Blanthorn
cd3580ee86
Merge pull request #687 from glacambre/actually_fix_#586
styling.ts: Avoir errors when calling capitalise on 0-length strings
2018-06-15 07:43:54 +02:00
glacambre
96ebe82149
styling.ts: Avoir errors when calling capitalise on 0-length strings 2018-06-15 07:15:39 +02:00
Jeff King
a9dd3ca25f hinting: add "numeric" name mode
This is similar to setting "hintchars" to "1234567890", but
ends up with more predictable and stable hints (see the
included documentation).

Setting "hintfiltermode" to "vimperator-reflow" and
"hintnames" to "numeric" provides more or less the same
experience that pentadactyl did.
2018-06-14 16:23:26 -04:00
Jeff King
87529877b9 hinting: add "hintnames" config
We always generate hints using the "short" mechanism added
by 34aa42061e. In preparation
for adding a new mode, let's add a config option to select
this.

I've made "uniform" a separate mode. I don't actually care
about this mode myself, but it looks like there's no other
way to trigger the pre-34aa4206 behavior, even though we're
still carrying the code. It's possible that nobody cares and
it should simply be removed.
2018-06-14 16:22:37 -04:00
Jeff King
da267dadc7 hinting: factor out default hint char selection
Right now this just comes from a single config variable. In
preparation for more complex logic, let's pull it out into
its own function.
2018-06-14 16:21:37 -04:00
Jeff King
3bf95e648e excmds: use bullet list for "related settings"
When these comments get formatted into ":help open", etc,
the line breaks are eaten and we get a big jumble of text.
Let's space things out so that they get formatted in a sane
way.

Possibly a definition list would be better than bullets, but
this is at least an improvement over the status quo.
2018-06-14 15:56:06 -04:00
Anton Vilhelm Ásgeirsson
6bf8a5a1a4 clarify tabopen -c documentation. small formatting fixes in container related excmd documentation. 2018-06-14 15:25:38 +00:00
Anton Vilhelm Ásgeirsson
dace4fb378 containerclose now uses names instead of containerId 2018-06-14 14:09:59 +00:00
Anton Vilhelm Ásgeirsson
048698855c add/adjust documentation on container related excmds. 2018-06-14 13:47:43 +00:00
Anton Vilhelm Ásgeirsson
d85aa7b8d8 - containerupdate now throws an error properly
- added some logging
2018-06-14 12:58:09 +00:00
Anton Vilhelm Ásgeirsson
d0ba76c6b9 - Mention where container color/icon is specified.
- containerremove now closes all tabs that were open in said container prior to deleting.
- helper commands in lib/container.ts are no longer exported.
2018-06-14 12:58:09 +00:00
Anton Vilhelm Ásgeirsson
75f7c4097e Refactoring. 2018-06-14 12:58:09 +00:00
Anton Vilhelm Ásgeirsson
408c33630a containerCreate documentation now lists exactly which colors and icons are allowed. 2018-06-14 12:58:09 +00:00
Anton Vilhelm Ásgeirsson
7939b0dc79 Sanity checking for tabopen -c while in an incognito window 2018-06-14 12:58:09 +00:00
Anton Vilhelm Ásgeirsson
aed20cc93a tabopen -c now has fuzzy matching on container names. Errors out if there are no matches or if the string partial is too ambiguous. 2018-06-14 12:58:08 +00:00
Anton Vilhelm Ásgeirsson
a700724de1 Refactored tabopen -c to take a container name
- it throws an error if no container with that name was found.
- chooses the first available container with that name (other addons don't force name uniqueness on containers)

Changed containerExists to take a name instead of an id for tabopen -c to work.

Various updates to src/lib/containers.ts
2018-06-14 12:58:08 +00:00
Anton Vilhelm Ásgeirsson
36cd9220c4 tidying up some lint 2018-06-14 12:58:08 +00:00
Anton
45b79cdf43 refactored containers 2018-06-14 12:58:08 +00:00
Anton
0d4dda786e Work on containerUpdate started
./lib/containers updates:
containerCreate: now treats (name, color, icon) as a unique constraint
containerUpdate: not working right now, really needs non positional arguments
containerGetAll: returns all containers (probably useful for completions later)
containerFromString: takes in string arguments and returns a pseudo ContextualIdentity object for validation purposes.
containerExists: returns a boolean, true if container exists or if the query fails.
2018-06-14 12:58:08 +00:00
Anton
8e15b7e411 more work on containers logic, specifically containerExists 2018-06-14 12:58:08 +00:00
Anton
9b91430c25 tabopen: takes an additional -c flag followed by a container id. 2018-06-14 12:58:08 +00:00
Anton
ebd415b289 added containerclose excmd 2018-06-14 12:58:08 +00:00
Anton
ca563720df Started work on implementing contextual identity api for tridactyl. 2018-06-14 12:58:08 +00:00
Oliver Blanthorn
3649f692d6
Nothing is more permanent than a temporary joke 2018-06-14 13:06:58 +01:00
Oliver Blanthorn
c7ef55aa72
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-fix_#586 2018-06-14 12:55:53 +01:00
Oliver Blanthorn
e4cca9318b
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-fix_#471 2018-06-14 12:48:34 +01:00
Oliver Blanthorn
9d1694a4de
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-fix_#632 2018-06-14 12:45:23 +01:00
Colin Caine
335e994349 Fix reload bug on :help when there's no hash
@glacambre, also note that you don't have to assign a promise to a
variable to await it.
2018-06-10 15:52:17 +01:00
glacambre
49a959e995
styling.ts: Fix theme classes being overwritten by the page 2018-06-09 11:35:33 +02:00
Oliver Blanthorn
71961aebb2
Fix #667: broken link in source help 2018-06-08 21:26:18 +01:00
Oliver Blanthorn
e7ad3b74e9
.tridactylrc: fix profiledir for real 2018-06-08 16:26:25 +01:00
Oliver Blanthorn
beb0b7d740
Fix gitignore for tar on buildbot 2018-06-08 15:26:57 +01:00
Oliver Blanthorn
1e06fd3ebb
release 1.13.0 2018-06-08 15:19:34 +01:00
Oliver Blanthorn
fdef447d1d
Update changelog for next release 2018-06-08 15:18:33 +01:00
Oliver Blanthorn
5777ba6c00
Make the pun in credits worse 2018-06-08 15:14:47 +01:00
Colin Caine
e710296d70 Fix authors not appearing when run non-interactively
git shortlog behaves differently when it's run non-interactively.
2018-06-08 13:34:41 +01:00
Colin Caine
5458f67a69 Add debugging to author script
Trying to find issue with buildbot
2018-06-08 13:19:03 +01:00
Oliver Blanthorn
d474197451
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-improve_documentation 2018-06-08 12:27:09 +01:00
Oliver Blanthorn
c63ff4b41a
Make nmaps harder to read on bad displays 2018-06-08 12:25:23 +01:00
Oliver Blanthorn
9f90deef5d
Merge pull request #659 from glacambre/fix_composite
excmds.ts: Fix composite
2018-06-08 08:35:35 +01:00
glacambre
63f7881ba0
excmds.ts: Fix composite 2018-06-08 09:04:02 +02:00