Commit graph

1489 commits

Author SHA1 Message Date
glacambre
8fe7d039bc
Change bufferall argument to WINDOW_INDEX.TAB_INDEX 2018-06-19 19:42:35 +02:00
Oliver Blanthorn
6ffdc59c1f
Merge pull request #704 from antonva/case-insensitive-containers
Container commands exists and fuzzyMatch are now case insensitive.
2018-06-19 15:26:03 +01:00
Anton Vilhelm Ásgeirsson
2a243db97f Documented that container related commands are now case insensitive. 2018-06-19 13:41:29 +00:00
Anton Vilhelm Ásgeirsson
3f8ffdf379 Container commands exists and fuzzyMatch are now case insensitive. 2018-06-19 11:22:32 +00:00
Oliver Blanthorn
35bc7f9ea1
Merge branch 'master' of github.com:cmcaine/tridactyl into Snaipe-feature/hide-navbar 2018-06-19 11:49:20 +01:00
Oliver Blanthorn
384c56ccce
Merge branch 'master' of github.com:cmcaine/tridactyl into antonva-viewcontainers 2018-06-19 11:41:54 +01:00
Oliver Blanthorn
f96310e4ef
Merge pull request #702 from antonva/fix-invalid-contextual-identity
Fix invalid contextualIdentity when not using a container.
2018-06-19 11:40:00 +01:00
Anton Vilhelm Ásgeirsson
b572e6fb64 Add error handling for the firefox-default cookieStoreId in activeTabContainer. 2018-06-19 10:06:41 +00:00
glacambre
4bd8216a41
Fix race condition in BufferAll 2018-06-19 08:29:24 +02:00
glacambre
9e225db2d4
Split completions in multiple files, move them to src/completions 2018-06-19 07:59:39 +02:00
Franklin "Snaipe" Mathieu
9bb77779ea guiset: added none option to navbar
This guiset navbar option completely removes the bar (except during
customization), rather than auto-hiding it when not in focus.

Since add-on panels are appended as children of #nav-bar, care has been
taken not to hide them to keep functionality.

Signed-off-by: Franklin "Snaipe" Mathieu <me@snai.pe>
2018-06-18 18:30:43 +01:00
glacambre
e27f93c913
Improve :bufferall, bind it to 'B' 2018-06-18 07:55:46 +02:00
Anton Vilhelm Ásgeirsson
656e4cc13f viewcontainers shows a list of the current containers in FF's JSON viewer. 2018-06-17 21:27:11 +00:00
Oliver Blanthorn
af61d8a42e
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-add_docend_event 2018-06-17 22:16:49 +01:00
Oliver Blanthorn
501639d395
Update changelog for 1.13.1 2018-06-17 22:08:09 +01:00
Oliver Blanthorn
16e29a5ee7
Merge branch 'master' of github.com:cmcaine/tridactyl into peff-numeric-hints 2018-06-17 20:56:31 +01:00
Oliver Blanthorn
db5e98a77c
Merge branch 'master' of github.com:cmcaine/tridactyl into antonva-containers 2018-06-17 20:29:14 +01:00
Oliver Blanthorn
c2da27f82d
Merge pull request #638 from glacambre/fix_#433
excmds.ts: Make nativeopen behave like tabopen
2018-06-17 18:50:14 +01:00
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