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
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
Oliver Blanthorn
9d1694a4de
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-fix_#632
2018-06-14 12:45:23 +01:00
Oliver Blanthorn
71961aebb2
Fix #667 : broken link in source help
2018-06-08 21:26:18 +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
glacambre
63f7881ba0
excmds.ts: Fix composite
2018-06-08 09:04:02 +02:00
glacambre
31805b7c7f
Update documentation, mention ':help key' everywhere
2018-06-07 12:52:11 +02:00
glacambre
a805f254c9
excmds.ts: Update comments for fillinput/editor
2018-06-04 18:51:56 +02:00
glacambre
d0df64ad15
{excmds,dom}.ts: Fix external editor updating the wrong field
2018-06-04 07:10:23 +02:00
glacambre
8435155d86
excmds.ts: Make searching for key bindings work
2018-06-03 17:37:17 +02:00
glacambre
fd7701c21d
excmds.ts: Make :help jump to aliases of aliases if needed
2018-06-03 17:32:04 +02:00
glacambre
99b2b6922a
excmds.ts: Document a few functions, hide a few others
2018-06-03 11:08:45 +02:00
glacambre
06f27cf243
excmds.ts: Make :help jump to aliased command if needed
2018-06-03 10:21:05 +02:00
glacambre
06215846fe
excmds.ts: Fix jumplist breaking help
...
Before this patch, navigating to a new page made Tridactyl scroll to its
very top. This broke jumping to the definition of a command using `:help
commandname`.
2018-06-03 10:06:51 +02:00
Oliver Blanthorn
a9bb149bfa
Try to let multiple autocommands run per event
2018-06-01 09:57:40 +01:00
Oliver Blanthorn
80607484d0
Add blacklistadd helper command
2018-06-01 09:50:24 +01:00
glacambre
cd5078e9b6
Add TabEnter and TabLeft autocommands
2018-06-01 08:39:43 +02:00
Oliver Blanthorn
0567c55e53
Merge branch 'master' of github.com:cmcaine/tridactyl into gsbabil-gsbabil/fix-restart-command-on-windows
2018-05-30 11:25:17 +01:00
Oliver Blanthorn
e745a17b52
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-make_scrolling_faster
2018-05-29 20:34:40 +01:00
glacambre
8137cd5418
scrolling.ts: Cache various scrolling-related properties
2018-05-29 20:43:31 +02:00
glacambre
e249ce8fe9
excmds.ts: Cache lineHeight
2018-05-29 19:02:46 +02:00
Oliver Blanthorn
75e4f98d38
Stop newtab redirect from adding a page to history
2018-05-29 11:27:45 +01:00
Oliver Blanthorn
9e28583bbc
Prevent urlmodify from adding page to history
2018-05-29 11:14:50 +01:00
Babil Golam Sarwar
1f7c042d64
Merge branch 'master' into gsbabil/fix-restart-command-on-windows
2018-05-29 12:38:03 +10:00
Oliver Blanthorn
61a01efeab
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-js_pipes
2018-05-28 21:45:38 +01:00
glacambre
4f110f683d
excmds.ts: Fix composite giving additional argument to first piped cmd
2018-05-28 19:48:35 +02:00
Oliver Blanthorn
5322577e0f
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-smoothscroll
2018-05-28 16:31:28 +01:00
Babil Golam Sarwar
47d247aff7
Fix restart on Windows without needing Firefox on %PATH%
2018-05-28 00:32:30 +10:00
glacambre
30c8c82214
excmds.ts: Store jumplist in tab storage
2018-05-27 15:59:20 +02:00
glacambre
21a717648f
excmds.ts: Make jumpnext/prev able to go back/forward in tab history
2018-05-27 09:03:08 +02:00
glacambre
3a864c189d
{config,excmd}.ts: Implement :jumpback and :jumpforward
2018-05-27 09:03:04 +02:00
glacambre
c4d1d9dcd2
excmds.ts: Add -p flag to js() and jsb()
2018-05-27 06:29:40 +02:00
glacambre
06d79aeb82
excmds.ts: Add error handling to composite()
2018-05-26 21:14:30 +02:00
glacambre
afab52e5dd
excmds.ts: Make composite() stop casting returned values to string
2018-05-26 18:45:18 +02:00
glacambre
0e95ead1c3
Implement smooth scrolling
2018-05-26 17:33:10 +02:00
Oliver Blanthorn
cc7e3f3255
Improve home
docs
2018-05-25 16:24:24 +01:00
Oliver Blanthorn
04a3586fc4
Merge branch 'master' of github.com:cmcaine/tridactyl into sirn-mac-nativeopen
2018-05-25 09:32:34 +01:00
Oliver Blanthorn
801288bfc1
Improve nativeopen warnings
2018-05-25 09:32:20 +01:00