Susexe
56c1f1a159
Add <A-p> keybind to toggle tab pinning
2018-07-16 15:25:30 +02:00
Oliver Blanthorn
07da708223
Merge pull request #813 from antonva/feature-mute
...
Add `mute` excmd.
2018-07-16 11:04:33 +01:00
Anton Vilhelm Ásgeirsson
95e411ab7b
Add <A-m> keybind to toggle mute on tabs.
2018-07-16 09:50:18 +00:00
Anton Vilhelm Ásgeirsson
171bed6eac
Rename '-u' to 'unmute', reflect that in documentation and config.ts
2018-07-16 09:28:50 +00:00
Anton Vilhelm Ásgeirsson
4e8d3f707b
Add mute
excmd.
...
Mute takes a couple of arguments that are a bit loosely defined. `-u`
unmutes, as seen by the `unmute` exalias. `toggle` toggles between the
states. `all` applies `mute/unmute/toggle` on all the tabs in the current window.
2018-07-15 23:46:13 +00:00
Anton Vilhelm Ásgeirsson
ac323d8b91
Refactor stuff.
2018-07-15 23:01:54 +00:00
Oliver Blanthorn
7e8c159a97
Merge pull request #767 from WorldCodeCentral/master
...
Add condition for the -b open in background argument for completions
2018-07-14 21:15:59 +01:00
WorldCodeCentral
5d7e8aba78
Update History.ts
...
Correct mistake that tabopen -b took two arguments when it should take only one
2018-07-14 20:38:48 +02:00
Anton Vilhelm Ásgeirsson
12a6824625
Refactor autocontain into it's own class.
...
Use fatarrow notation for consistent `this` references. All requests
should be properly caught by this time. Needs verification though.
2018-07-14 18:06:22 +00:00
Oliver Blanthorn
c6d055b994
Merge pull request #806 from glacambre/implement_guiset_quiet
...
excmds.ts: Implement guiset_quiet.
2018-07-14 15:49:46 +01:00
glacambre
77595f7e4d
excmds.ts: Implement guiset_quiet.
...
This fixes https://github.com/cmcaine/tridactyl/issues/802 .
2018-07-14 15:18:09 +02:00
Anton Vilhelm Ásgeirsson
1c2e236712
Move Autocontain logic to it's own file.
...
Remove autocontain logic from background.ts, AutoContain is now an
object that keeps the state of the requests made and makes sure that
they get cancelled.
2018-07-14 00:10:47 +00:00
Oliver Blanthorn
4beccba119
Merge pull request #798 from gsbabil/gsbabil/enforce-powershell-minimum-version
...
Add support to enforce minimum version for PowerShell
2018-07-13 09:05:51 +01:00
Oliver Blanthorn
6367fbfa68
Merge pull request #799 from glacambre/fix_clipboard_selection_adding_newline
...
native_background.ts: Fix clipboard() adding newlines to copied strings
2018-07-13 09:03:02 +01:00
glacambre
4a5dcd7557
native_background.ts: Fix clipboard() adding newlines to copied strings
...
Here-documents require a newline at the end of their content and there's
no way around it. In order to prevent the newline to be sent to the
clipboard command, we can do two things: not use here-documents or pipe
the content to sed first to remove the newline.
Not using here-documents means doing a lot of string manipulations to
escape the string properly. Using here-documents is conceptually
simpler.
Hence, we keep using here-documents and pipe the string to sed in order
to remove the newline.
2018-07-13 06:35:13 +02:00
Babil Golam Sarwar
92e99aabbb
Add support to enforce minimum version for PowerShell
2018-07-13 08:46:09 +10:00
Oliver Blanthorn
2a43d0b910
Merge branch 'x_selection' of https://github.com/glacambre/tridactyl into glacambre-x_selection
2018-07-12 18:13:49 +01:00
Oliver Blanthorn
a3dd4ed119
Merge branch 'url2args' of https://github.com/glacambre/tridactyl
2018-07-12 18:12:20 +01:00
Oliver Blanthorn
93c5fc3176
Merge pull request #771 from glacambre/fix_buggy_scoredOptions
...
completions.ts: Remove unused and buggy code
2018-07-12 18:05:17 +01:00
Oliver Blanthorn
047c9d2918
Rename rmautocmd to autocmddelete to be more like Vim
...
Also remove au! as I would expect these to merely allow overwriting the autocommand, not just wipe it clean
2018-07-12 16:51:25 +01:00
Oliver Blanthorn
e548d03b96
Merge branch 'remove-autocmds' of https://github.com/friedm/tridactyl into friedm-remove-autocmds
2018-07-12 16:40:20 +01:00
Oliver Blanthorn
e1bee5e8c4
Merge branch 'dismiss_fillcmdline_tmp' of https://github.com/glacambre/tridactyl into glacambre-dismiss_fillcmdline_tmp
2018-07-12 16:38:11 +01:00
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
deef62cfbd
Merge branch 'fix_shydactyl' of https://github.com/glacambre/tridactyl into glacambre-fix_shydactyl
2018-07-12 16:31:16 +01:00
Oliver Blanthorn
6fc87d9121
Fix #782 : document editor bind more thoroughly
2018-07-11 11:56:31 +01:00
Oliver Blanthorn
39c9dbf63a
Merge pull request #786 from gsbabil/gsbabil/fix-native-messenger-exe-download
...
Fix native_main.exe download failure, PowerShell auto-close etc.
2018-07-11 11:38:10 +01:00
Babil Golam Sarwar
02c76e0f00
Fix PowerShell auto-close when native-messenger installation fails
2018-07-11 17:08:44 +10:00
Babil Golam Sarwar
be245d5dfa
Add TLS 1.1/1.2 support to Invoke-WebRequest
2018-07-11 11:37:34 +10:00
Oliver Blanthorn
eb118c9fbd
Merge pull request #785 from glacambre/make_tabprev_synchronous
...
excmds.ts: Make tabprev synchronous
2018-07-10 18:45:40 +01: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
Oliver Blanthorn
64a494adb8
Fix #778 : add warning to RC about requirement for beta
2018-07-09 15:29:13 +01:00
Anton Vilhelm Ásgeirsson
79701139fb
Remove reopenincontainer excmd.
2018-07-08 17:09:32 +00:00
Anton Vilhelm Ásgeirsson
bc085af46a
Refactor Container.getId to be case-insensitive.
...
Fix bogus browser.tabs.get on an invalid tabId in Request.autoContain.
2018-07-08 09:54:14 +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
glacambre
c0c83fb320
completions.ts: Remove unused and buggy code
...
This commit removes an if statement that is always true and a caching
optimization that can go wrong.
The caching optimization is the `if (!this.fuse)` statement. This
optimization can be buggy because it relies on this.options not
changing between two calls to scoredOptions but as far as I can tell,
this.options always changes between two scoredOptions calls.
If this.options changes, the array indexes used in searchThis do not
point to the right elements anymore and everything can break
(completions that should be matched disappear, completions with a lower
score get higher priority etc).
As far as I can tell, removing this optimization does not make
completions slower, but I couldn't test this with a large history.
2018-07-07 20:10:42 +02:00
Anton Vilhelm Ásgeirsson
1f45ded116
Make autoContain dismiss non-http(s) requests.
...
Limit autoContain matching to domain names only.
Simplify autocontainer logic.
2018-07-07 17:02:20 +00:00
Anton Vilhelm Ásgeirsson
897688a0dd
Make Container.fuzzyMatch use Fuse.js.
...
Return cancel: true from autoContain to cancel extra requests.
2018-07-07 14:50:11 +00:00
Oliver Blanthorn
e00900c128
Merge pull request #770 from glacambre/fix_focus_hijacking
...
dom.ts: Fix focus hijacking again
2018-07-07 12:41:36 +01:00
Anton Vilhelm Ásgeirsson
4077a7a2a9
Create autocontain excmd.
2018-07-07 11:18:02 +00:00
Anton Vilhelm Ásgeirsson
b42b651524
Create config entry for creating containers on the fly with autocontain directives.
...
Refactor autocontain code into more logical segments.
2018-07-07 10:57:02 +00:00
glacambre
729035ff2e
dom.ts: Fix focus hijacking again
...
The previous code called realFocus unconditionally. This fixed
https://github.com/cmcaine/tridactyl/issues/768 but broke
allowautofocus.
The new code makes sure to check the user's allowautofocus setting
before calling realFocus. I am not sure why it fixes #768 but I believe
it might be because bandcamp relies on synchronicity and that the
previous code used await.
2018-07-07 12:17:59 +02:00
Oliver Blanthorn
283166e464
Merge pull request #769 from glacambre/fix_focus_hijacking
...
dom.ts: Fix focus hijacking
2018-07-07 10:39:39 +01:00
glacambre
e9c636f5c6
dom.ts: Fix focus hijacking
2018-07-06 22:07:25 +02:00
WorldCodeCentral
34ac1240ca
Merge pull request #1 from WorldCodeCentral/WorldCodeCentral-patch-completion-openbackground
...
Update History.ts
2018-07-06 14:58:33 +02:00
WorldCodeCentral
f1bfc853e6
Update History.ts
...
Add condition for the -b open in background argument for completions
2018-07-06 14:55:15 +02:00
Oliver Blanthorn
581fda074e
Merge branch 'enhance_tabopen_container_completion' of https://github.com/glacambre/tridactyl into glacambre-enhance_tabopen_container_completion
2018-07-06 12:43:20 +01: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
034d561da8
History.ts: Make winopen completion ignore -private arg
2018-07-05 19:07:00 +02:00