Commit graph

528 commits

Author SHA1 Message Date
Oliver Blanthorn
b754c9e619
Merge branch 'fix_buggy_fillcmdline_tmp' of https://github.com/glacambre/tridactyl into glacambre-fix_buggy_fillcmdline_tmp 2018-07-12 16:35:54 +01:00
Oliver Blanthorn
6fc87d9121
Fix #782: document editor bind more thoroughly 2018-07-11 11:56:31 +01:00
Babil Golam Sarwar
02c76e0f00
Fix PowerShell auto-close when native-messenger installation fails 2018-07-11 17:08:44 +10:00
glacambre
c2d5f27394
excmds.ts: Make tabprev synchronous
This fixes https://github.com/cmcaine/tridactyl/issues/783.
2018-07-10 19:35:21 +02:00
Anton Vilhelm Ásgeirsson
79701139fb Remove reopenincontainer excmd. 2018-07-08 17:09:32 +00:00
Anton Vilhelm Ásgeirsson
ca5df7813a Create auconpreservetab config setting.
Improve excmd documentation of autocontain.
Alias 'autocontain' to 'aucon' in config.ts.
Make autoContain preserve tabs if originUrl is defined.
2018-07-07 18:38:06 +00:00
Anton Vilhelm Ásgeirsson
4077a7a2a9 Create autocontain excmd. 2018-07-07 11:18:02 +00:00
Anton Vilhelm Ásgeirsson
efb8d63254 Add autocontain examples in config.ts for testing purposes.
Create logic for handling autocontainers before a tab is created.
2018-07-06 10:44:08 +00:00
glacambre
6e8332fe7c
Fix scrolling on bugzilla.mozilla.org
The problem was caused by elements having their scroll-behavior set to
"smooth". This meant that offsetTop was updated with a delay. The delay
made Tridactyl that the element couldn't be scrolled at all and thus
scrolling failed.

This commit has the nice side-effect of disabling smooth scrolling ig
"smoothscroll" isn't set to "true" in the config.

This fixes https://github.com/cmcaine/tridactyl/issues/762.
2018-07-06 07:06:05 +02:00
glacambre
cb06d3b9d5
Fix fillcmdline_tmp not closing the cmdline when changing tabs 2018-07-05 19:50:32 +02:00
glacambre
2fed33c115
Fix race condition in :sanitise
This fixes https://github.com/cmcaine/tridactyl/issues/724.
What happened was that sanitise was executed,
browser.storage.{local,sync}.clear() was called, the rest of the
settings were modified and only after this was the onChange event
listener in config.ts called, which then cleared the config.

Awaiting the result of .clear() makes sure that the onChange event
listener is triggered before executing any other command that might
make modifications to the browser storage. This can (and has) been
verified by surrounding the .clear() calls with console.logs and adding
a console.log to the onChange event listener.
2018-07-05 08:05:30 +02:00
glacambre
2eea72e429
Make external clipboard settings simpler, document them 2018-07-04 06:09:09 +02:00
glacambre
587c598b18
Improve code quality in getclip()/setclip()/clipboard() 2018-07-04 06:08:20 +02:00
glacambre
a88d56e396
excmds.ts: Fix small bugs in setclip/getclip 2018-07-04 05:45:35 +02:00
glacambre
39cecd91dd
native_background.ts: Use here-documents to send data to clipcmd's stdin 2018-07-04 05:45:33 +02:00
glacambre
afd4c613c8
Implement native messenger interaction with the X selection buffer 2018-07-04 05:45:29 +02:00
Jeff King
de62321495
Fix yank canonical, short link feedback message 2018-07-03 23:40:06 +01:00
Oliver Blanthorn
cf39a9a05d
Add quiet version of fixamo 2018-07-03 19:05:20 +01:00
Oliver Blanthorn
e20a224fb8
Add message to rest of clipboard yank* 2018-07-03 14:56:18 +01:00
Oliver Blanthorn
2a3814abb6
Fix #752: yy and others broken 2018-07-03 14:41:55 +01:00
Oliver Blanthorn
e2986ecc4d
Fix yanktitle 2018-07-03 12:49:16 +01:00
Anton Vilhelm Ásgeirsson
1195521441 Add reopenincontainer excmd.
Add autocmd usage example to src/config.ts.
2018-07-03 11:32:16 +00:00
Matt Friedman
06a8e1db53 add autocmd! to remove specific autocmds 2018-07-02 22:53:04 -07:00
Oliver Blanthorn
b026462dd4
Fix #726: fixamo and guiset now inform the user that they must restart the browser. 2018-07-02 19:36:34 +01:00
glacambre
496d1cb0f8
Make <Esc> dismiss fillcmdline_tmp messages 2018-07-02 07:06:26 +02:00
glacambre
d72986eea1
excmds.ts: Fix url2args failing when url doesn't contain an '&' 2018-07-02 06:07:37 +02:00
Oliver Blanthorn
1cb2584a57
Make yank use fillcmdline with timeout.
`clipboard yank` does not use this as it would break commands such as `installnative`.
2018-07-01 20:43:44 +01:00
Oliver Blanthorn
1d38c8a3e1
Merge branch 'master' of github.com:cmcaine/tridactyl into jcrowgey-add_feedback_to_yank 2018-07-01 20:25:49 +01:00
Oliver Blanthorn
d716b48c85
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-notification_mechanism 2018-07-01 20:24:09 +01:00
Oliver Blanthorn
92d170c22f
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-remove_l 2018-07-01 20:15:57 +01:00
Oliver Blanthorn
b46d85d259
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-fix_#613 2018-07-01 20:10:38 +01:00
glacambre
95a1ae29b6
Make sure bind/unbind use the same binding format 2018-07-01 18:24:37 +02:00
glacambre
8211a435e4
fillcmdline_tmp: Don't close the cmdline if its content changed 2018-07-01 18:17:35 +02:00
glacambre
52f8cd7060
Implement notification mechanism that does not steal focus 2018-06-30 16:59:10 +02:00
glacambre
f041dbd25b
{excmds,webext,messaging}.ts: Remove l() promise logger
When a promise throws an error in l(), the error is automatically logged
in the console. This is a problem because it happens even when the error
is catched by the code that called l(), which might not want to log
errors at all.

l() was necessary when errors thrown in promises didn't reach the
toplevel. Now that they do, it is safe to remove l().

This will enable better error handling.
2018-06-30 13:35:35 +02:00
glacambre
63401907a5
excmds.ts: Make url2args work with search engines that rewrite urls 2018-06-28 06:48:54 +02:00
glacambre
ad148d1add
Implement url2args excmd 2018-06-27 07:16:06 +02:00
glacambre
7127106a25
excmds.ts: Fix jumplist not being correctly restored on reloads 2018-06-24 05:49:52 +02:00
Oliver Blanthorn
db780f2d69
Improve fixamo docs 2018-06-22 10:14:03 +01:00
Anton Vilhelm Ásgeirsson
5e920f0ae6 viewcontainers bugfix. fixes #717 2018-06-20 20:26:47 +00:00
Oliver Blanthorn
be5c4e2d75
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-impl_bufferall 2018-06-20 12:34:50 +01:00
glacambre
e335968de8
excmds.ts: Catch errors on urlincrement 2018-06-20 08:30:42 +02:00
glacambre
8fe7d039bc
Change bufferall argument to WINDOW_INDEX.TAB_INDEX 2018-06-19 19:42:35 +02:00
Anton Vilhelm Ásgeirsson
2a243db97f Documented that container related commands are now case insensitive. 2018-06-19 13:41:29 +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
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