Commit graph

1628 commits

Author SHA1 Message Date
Oliver Blanthorn
59da8d417f
Fix #867: deprecate !js{,b}. 2018-07-30 14:37:52 +01:00
Oliver Blanthorn
27100b0872
Merge branch 'master' of github.com:cmcaine/tridactyl into modespecific_suppression 2018-07-30 14:32:21 +01:00
Oliver Blanthorn
49bcd06592
Improve symmetry 2018-07-30 14:27:20 +01:00
Oliver Blanthorn
c86b472b2f
Merge pull request #873 from MoSal/fix
Fix another tuple unpacking on the wrong side of brackets
2018-07-29 23:11:58 +01:00
Mohammad AlSaleh
50d1ddae8d Fix another tuple unpacking on the wrong side of brackets
Missed in 66af0b8be4

Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
2018-07-29 23:12:56 +03:00
Anton Vilhelm Ásgeirsson
27a543e21c Refactor modeSpecificSuppression.
Normal, input, insert and ignore modes all use the new genericResponse
function to map their specific keys.
2018-07-29 13:21:13 +00:00
Anton Vilhelm Ásgeirsson
1a89a85bd1 Add <C-[> binds to all relevant modes. 2018-07-29 13:20:19 +00:00
Oliver Blanthorn
86c135996d
Merge pull request #870 from glacambre/help_i_cant_stop_breaking_tridactyl
logging.ts: Fix bug introduced in previous commit
2018-07-29 11:32:26 +01:00
glacambre
25eb07193a
logging.ts: Fix bug introduced in previous commit 2018-07-29 12:10:59 +02:00
Oliver Blanthorn
bf671cfaba
Merge pull request #868 from glacambre/make_logger_log_stacktraces
logging.ts: Make logger log stack traces on errors
2018-07-29 10:56:28 +01:00
glacambre
e705297915
logging.ts: Make logger log stack traces on errors 2018-07-29 11:31:09 +02:00
Oliver Blanthorn
d64fadbcd5
Fix #859 and #374: stop GitHub from stealing / from Firefox
Most of this code came from https://superuser.com/questions/168087/how-to-forbid-keyboard-shortcut-stealing-by-websites-in-firefox#answer-670040.

If anyone really wants to use GitHub's / search, just `set leavegithubalone true` and reload the page.

This commit should be reverted once #623 is done.
2018-07-26 20:47:51 +01:00
Oliver Blanthorn
48dc51bd60
Merge branch 'master' of github.com:cmcaine/tridactyl into rapidhint_fix 2018-07-26 20:31:14 +01:00
Anton Vilhelm Ásgeirsson
66af0b8be4 Fix tuple unpacking on the wrong side of brackets. 2018-07-26 17:02:09 +00:00
Oliver Blanthorn
b8b896dabd
Merge pull request #861 from antonva/docload-config
Add DocLoad object to config.ts.
2018-07-26 17:29:11 +01:00
Anton Vilhelm Ásgeirsson
093300d053 Add DocLoad object to config.ts.
This fixes that annoying TypeError in the browser console.
2018-07-26 16:23:26 +00:00
Anton Vilhelm Ásgeirsson
524bce91c5 Remove traces of old rapid hint fix and address the correct element of
hinting.pipe.
2018-07-26 13:21:38 +00:00
Anton Vilhelm Ásgeirsson
4b8576646a Refactor hinting.pipe to return a tuple.
Now returns a tuple of the element and the number of hints available
when the function was run. This mainly fixes the rapid hint bug
encountered when the user enters rapid hint mode with only one link
available.

Another application idea would be modeline info or something in that
vein.
2018-07-26 12:05:49 +00:00
Oliver Blanthorn
041d8f6388
Hide some internal functions from help 2018-07-26 10:45:11 +01:00
Oliver Blanthorn
e0f9fa4e45
Add abnormal binds to help page
That was about 1000x easier than I was expecting. Thanks @glacambre!
2018-07-26 10:38:54 +01:00
Oliver Blanthorn
756c29673a
Fix #850: Dodgy yy
I don't quite understand how it worked at all without focusing the commandline first.

Peppered code with some more awaits as part of debugging and couldn't be bothered to test which were necessary.
2018-07-26 10:17:46 +01:00
Oliver Blanthorn
c3d0ef60c8
Add C-f,b to scroll up/down
Apparently C-b being forcibly bound to bookmarks doesn't happen any more.
2018-07-25 17:26:00 +01:00
Oliver Blanthorn
5e7b1dbc51
Add link to tutor to help 2018-07-25 17:18:39 +01:00
Oliver Blanthorn
47f90395eb
Rerename Windows native install script 2018-07-25 14:39:59 +01:00
Oliver Blanthorn
198c2b155d
Wow 2018-07-25 12:57:15 +01:00
Oliver Blanthorn
9eb8a12792
Remove more code I can't see the point of 2018-07-25 12:25:56 +01:00
Oliver Blanthorn
d26402929d
Remove obsolete code >:D 2018-07-25 12:08:04 +01:00
Oliver Blanthorn
99f6dc4e8e
Hack keyseq into working with ignore 2018-07-25 11:44:34 +01:00
Oliver Blanthorn
c799c9a39d
Start thinking about generic parser 2018-07-24 18:52:32 +01:00
Oliver Blanthorn
70e1e35228
Merge branch 'master' of github.com:cmcaine/tridactyl 2018-07-24 13:07:41 +01:00
Oliver Blanthorn
f67584fed5
Hack around #727 2018-07-24 13:06:16 +01:00
Oliver Blanthorn
5afdaa0564
Merge pull request #851 from glacambre/fix_bufferall_selecting_wrong_window
Fix bufferall selecting the wrong window.
2018-07-24 08:57:56 +01:00
glacambre
96d0b20cc5
Fix bufferall selecting the wrong window.
The problem was that when calling sort on an array of numbers without
specifying the sort function that should be used, the array will be
sorted according to the lexicographic order of the elements.

This is fixed by specifying what function should be used to sort the
array.

This fixes https://github.com/cmcaine/tridactyl/issues/819.
2018-07-24 08:03:02 +02:00
Oliver Blanthorn
02bb39a1cb
Fix weekly beta users 2018-07-23 15:35:16 +01:00
Oliver Blanthorn
ff5719ada9
Start work on changelog for 1.13.2 2018-07-23 13:56:14 +01:00
Oliver Blanthorn
6aef512fce
Dedupe people with dodgy email addresses 2018-07-23 12:31:44 +01:00
Oliver Blanthorn
93e895e446
Make source ignore visually empty lines 2018-07-23 12:00:15 +01:00
Oliver Blanthorn
7c9e2b3759
Make rapid hinting less rapid if there's only one link 2018-07-23 11:34:42 +01:00
Oliver Blanthorn
2c39676679
Mention web console in troubleshooting; simplify 2018-07-23 11:27:17 +01:00
Oliver Blanthorn
f36b012af4
Merge pull request #847 from glacambre/reset_selected_completion_option_on_options_change
completions: Make selected completion option undefined on change
2018-07-23 11:18:30 +01:00
glacambre
5b30812361
completions: Make selected completion option undefined on change
Before this patch, selected completion options weren't properly
deselected when available options changed. This commit fixes this.

This does not break completion option autoselect because the reset
happens before autoselection.

This fixes https://github.com/cmcaine/tridactyl/issues/833.
2018-07-23 08:27:27 +02:00
Oliver Blanthorn
58dafc685a
Merge pull request #846 from glacambre/make_guiset_error_message_easier_to_understand
excmds.ts: Actually make guiset error message easier to understand
2018-07-22 17:59:06 +01:00
glacambre
9d45675720
excmds.ts: Actually make guiset error message easier to understand
The previous version correctly displayed an error on `:guiset_quiet` but
hid error messages for `guiset`.
2018-07-22 18:35:14 +02:00
Oliver Blanthorn
8c5c07af4b
Merge pull request #845 from glacambre/make_guiset_error_message_easier_to_understand
excmds.ts: Make guiset error message easier to understand
2018-07-22 17:26:36 +01:00
glacambre
c2e736170b
excmds.ts: Make guiset error message easier to understand 2018-07-22 17:57:36 +02:00
Oliver Blanthorn
6a684f5780
Merge pull request #843 from glacambre/fix_history_arguments
History.ts: Add missing space when inserting completion options
2018-07-21 22:32:23 +01:00
glacambre
7025c9e2fc
History.ts: Add missing space when inserting completion options
e5d2be7 introduced a bug while trying to fix
https://github.com/cmcaine/tridactyl/issues/838: when the command line
contains `tabopen -flag ` and the user tries to insert the selected
completion option in the command line by pressing <Space>, the resulting
command line will be `tabopen -flagurl` instead of `tabopen -flag url`.

This is fixed by appending a trailing space to the `options` variable if
it isn't an empty string.
2018-07-21 21:30:46 +02:00
Oliver Blanthorn
def998a5a5
Fix help again 2018-07-21 18:29:19 +01:00
Oliver Blanthorn
181fca56bd
Fix #841: add installnative docs to readme 2018-07-21 17:55:44 +01:00
Oliver Blanthorn
e5d2be73eb
Fix #838: remove errant space 2018-07-21 17:52:58 +01:00