Commit graph

1657 commits

Author SHA1 Message Date
Oliver Blanthorn
35c027b695
Merge pull request #763 from bodograumann/statuspanel
Make guiset hoverlink compatible with firefox 61
2018-07-05 17:02:30 +01:00
Bodo Graumann
f017f74973
Make guiset hoverlink compatible with firefox 61
In firefox 61 there has been a medium change to how the status panel
(that shows the link the user hovers over) is created. Compare firefox
changeset 18bbbdc02213:
https://hg.mozilla.org/releases/mozilla-release/rev/18bbbdc02213

In particular there is no more statuspanel tag. Instead there is an hbox
with id="statuspanel".
2018-07-05 17:51:46 +02:00
Oliver Blanthorn
409f27069e
Merge pull request #759 from glacambre/fix_sanitize_race_condition
Fix race condition in :sanitise
2018-07-05 09:26:19 +01: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
b6792a9ec3
History.ts: Make tabopen completion ignore -c arg 2018-07-05 06:04:05 +02:00
glacambre
b3e5aa6238
Fix shydactyl
As mentionned in https://github.com/cmcaine/tridactyl/issues/748,
https://github.com/cmcaine/tridactyl/pull/736 and
https://github.com/cmcaine/tridactyl/pull/728 broke shydactyl by
changing the number of cells in the completion buffer, which resulted in
the wrong cells being displayed and hidden.

This is fixed by using classes.
2018-07-04 08:14:38 +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
c0c0abbcab
Add binds for yankmd and yanktitle 2018-07-03 19:12:04 +01:00
Oliver Blanthorn
cf39a9a05d
Add quiet version of fixamo 2018-07-03 19:05:20 +01:00
Oliver Blanthorn
b4fbdaf2ad
Merge pull request #755 from antonva/fix-containercreate
Fix containercreate.
2018-07-03 15:58:54 +01:00
Anton Vilhelm Ásgeirsson
41f3cbc563 Fix containercreate by deleting the cookieStoreId property after calling fromString. 2018-07-03 14:43:11 +00: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
Oliver Blanthorn
3f445de847
Add script for finding number of weekly users on buildbot 2018-07-02 13:24:53 +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
Oliver Blanthorn
8c8ce82615
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-private_bufferall 2018-07-01 19:33:01 +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
bcc13786dc
Make fillcmdline replace cmdline content on empty string 2018-07-01 17:30:10 +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
6dd9c412dc
Add private window indicator to bufferall 2018-06-26 22:37:33 +02:00
Oliver Blanthorn
c704c51ebe
Merge pull request #734 from vlamacko/fix-non-ascii
Fix bug introduced in #733
2018-06-25 15:19:29 +01:00
Vladimir Macko
2fc9eb0c54 Fix bug introduced in #733 2018-06-25 15:43:14 +02:00
Oliver Blanthorn
77dbf4f2a9
Merge pull request #733 from gsbabil/master
Fix Non-ASCII username issue reported in #731
2018-06-24 23:29:12 +01:00
Babil Golam Sarwar
54aca0fcf7
Merge branch 'master' of https://github.com/cmcaine/tridactyl 2018-06-25 07:42:31 +10:00
Babil Golam Sarwar
e0c61d53c5
Fixes Non-ASCII username issue reported in #731 2018-06-25 07:41:58 +10:00
Oliver Blanthorn
acd33c9a05
Merge pull request #729 from vlamacko/fix-get-python-version
Improve robustness of Get-PythonVersionStatus
2018-06-24 21:20:23 +01:00
Oliver Blanthorn
984d8f0501
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-completion_container_icons 2018-06-24 21:18:24 +01:00
glacambre
7127106a25
excmds.ts: Fix jumplist not being correctly restored on reloads 2018-06-24 05:49:52 +02:00
Vladimir Macko
310f7b5900 Improve robustness of Get-PythonVersionStatus 2018-06-24 01:14:01 +02:00
glacambre
29427d94a6
Display container icon in Buffer/BufferAll completions 2018-06-22 21:55:44 +02:00
Oliver Blanthorn
db780f2d69
Improve fixamo docs 2018-06-22 10:14:03 +01:00