Commit graph

6762 commits

Author SHA1 Message Date
Oliver Blanthorn eaa0554f09
WIP: initial experiment with per-mode settings
Currently totally replaces per-URL settings for ease of experimentation.

NB: mostly broken. Steps to reproduce:

1. :seturl normal keyboardlayoutforce true
2. change your layout somewhere, observe that keyboardlayoutforce works in
normal mode as expected
3. select text to enter visual mode
4. note that keyboardlayoutforce true is still applied, which is unexpected
2023-04-26 18:30:51 +02:00
Oliver Blanthorn b4bb596de8
Fix config reset on :help - #4670 2023-04-14 18:11:53 +02:00
Oliver Blanthorn a519675994
Update native version with PCRE fix 2023-04-08 16:40:20 +02:00
Oliver Blanthorn e5ed0d4c9e
Merge pull request #4344 from GHolk/undo-complete-url
Add fuse search in undo and fix undo session id is undefind
2023-04-08 13:19:35 +00:00
Oliver Blanthorn 58a6168a26
Merge branch 'raffaem/master' (#4411) 2023-04-08 15:15:07 +02:00
Oliver Blanthorn 1339e65499
Bikeshed search engine FAQ 2023-04-08 15:13:17 +02:00
Oliver Blanthorn 115952cfad
Update changelog for 1.24.0 2023-04-08 00:20:59 +02:00
Oliver Blanthorn 82ac6064cc
Merge pull request #4486 from GHolk/find-correct-scroll
Correct highlight position while scrolling
2023-04-07 13:22:06 +00:00
Oliver Blanthorn 6efbfccd63
Update compute-scroll-into-view 2023-04-07 14:59:50 +02:00
Oliver Blanthorn a388d60ce7
Merge pull request #3938 from tridactyl/easy_reader
Easy reader
2023-04-06 16:26:52 +00:00
Oliver Blanthorn 2016839df5
Fix prettier niggles 2023-04-06 17:54:44 +02:00
Oliver Blanthorn 1ecfc73a78
Add security notes to reader help 2023-04-06 17:44:49 +02:00
Oliver Blanthorn eef60d94fe
Remove default binds for new reader mode
I'm a bit nervous about the security of the new reader
page. Removing the default binds just adds an extra
layer of security
2023-04-06 17:11:42 +02:00
Oliver Blanthorn d815ad6b88
Move sanitation to insider reader mode
This protects us against someone opening a malicious reader
URL + anchor
2023-04-05 21:34:11 +02:00
Oliver Blanthorn cbcf6f4521
Add sanitisation for reader
NB: this breaks relative links, which I didn't
want to do :(
2023-04-05 21:20:26 +02:00
Oliver Blanthorn bbae94ea0b
Update help 2023-04-05 21:20:18 +02:00
Oliver Blanthorn fb5a0128e6
Add reader in new tab bind 2023-04-05 20:45:03 +02:00
Oliver Blanthorn e51136e50a
Fix disappearing page bug when opening in new tab 2023-04-05 20:44:38 +02:00
Oliver Blanthorn 93352f08b5
Migrate to new reader command
`:reader --old` retained for old behaviour
2023-04-05 20:44:04 +02:00
Oliver Blanthorn cc59b83bee
Switch to using dedicated reader page 2023-04-05 19:52:30 +02:00
Oliver Blanthorn 5bec833bb6
Add dedicated reader page 2023-04-05 19:19:05 +02:00
Oliver Blanthorn 569b01a607
WIP: make back button work
Command line is very broken. Generally thinking this might
be a bad idea because it feels like it would be fragile,
needing updating every time we add something to Tridactyl
2023-04-05 19:01:29 +02:00
Oliver Blanthorn 02e11b321e
Stop pollution of styles in reader 2023-04-05 18:46:23 +02:00
Oliver Blanthorn a06d6849c0
Add title and author to reader mode 2023-04-04 16:15:20 +02:00
Oliver Blanthorn 04df34d9c7
Justify text in reader2 mode 2023-04-04 16:02:04 +02:00
Oliver Blanthorn 51640eb22a
Make reader2 use simple.css 2023-04-04 16:01:45 +02:00
Oliver Blanthorn 2153c6c49c
Add simple.css for reader 2023-04-04 15:47:16 +02:00
Oliver Blanthorn 30ebc6e2be
Add some rambling on CSS 2023-04-04 14:40:53 +02:00
Oliver Blanthorn c0635bf3ab
WIP: silly first go at own reader mode 2023-04-04 14:40:49 +02:00
Tushar e1b0b7da75 Allow comments in multiline RC file commands. Fixes issue #4555
Signed-off-by: Tushar <tusharbarman123@gmail.com>
2023-04-02 11:22:40 +05:30
Oliver Blanthorn 2b6a27c678
Merge pull request #4643 from tridactyl/lastinput_shadowdom
Fix lastinput for shadowdoms
2023-03-25 00:05:30 +00:00
Oliver Blanthorn 790cee1f95
Fix lastinput for shadowdoms 2023-03-24 19:06:32 +01:00
Oliver Blanthorn d21b430a3c
Merge pull request #4641 from tridactyl/toggle_sidebar
Add (secret) sidebar toggle command for browser binds
2023-03-24 15:31:40 +00:00
Oliver Blanthorn 03f344a2e8
Add :sidebaropen and docs for jsua/sidebartoggle 2023-03-22 15:14:30 +01:00
Oliver Blanthorn 09172391a5
Add jsua for --mode=browser binds
Works like jsb but preserves the 'user action' so
it can be used to open/close the sidebar, open
downloaded files etc.

Example usage:

`:bind --mode=browser <C-.> jsua browser.sidebarAction.close()`
2023-03-22 14:43:17 +01:00
Oliver Blanthorn c77bf89d0c
Add sidebartoggle for --mode=browser binds #4640 2023-03-22 14:37:09 +01:00
Oliver Blanthorn 5157d9be5a
Merge pull request #4639 from frikdt/fix-window_completion_option-in-commandline_css
Updated WindowCompletionOption in commandline.css stylesheet
2023-03-22 13:21:40 +00:00
frikdt e6075a37b0 Updated WindowCompletionOption in commandline.css stylesheet
The Window Id column in the completion list for commands such as 'winmerge'
and 'tabpush' has a maximum width of 4 characters, which is not wide enough
(5-digit id's are often encountered).

Made the following updates:
    - Increased the 'id'  column from 4ch to 6ch
    - Increased the left-right padding to increase spacing between the Window
      Id and the Window Title columns for improved readability

On branch fix-window_completion_option-in-commandline_css
Changes to be committed:
    modified:   src/static/css/commandline.css
2023-03-21 23:28:43 +02:00
Oliver Blanthorn 12fcc25efe
Merge pull request #4616 from callmetushar123/master
urlincrement/decrement should operate on decodedURI Fix #3792
2023-03-10 16:32:08 +00:00
Tushar a72cbe2e1d urlincrement/decrement should operate on decodedURI Fix #3792
Signed-off-by: Tushar <tusharbarman123@gmail.com>
2023-03-06 17:01:33 +05:30
Oliver Blanthorn 6303c0244e
Merge pull request #4609 from treapster/fix-tabmove
Fix completions for tabmove (#4602)
2023-03-02 16:21:26 +00:00
Oliver Blanthorn 9c671aa6dc
Fix GitHub actions exclude syntax 2023-03-02 17:15:19 +01:00
Oliver Blanthorn 58283a1c3d
Stop testing Firefox ESR on Windows
It is failing so much that it is making the rest of the
tests a bit useless. Should re-enable at some point in
the future once a new ESR version is out.
2023-03-02 17:12:38 +01:00
Denis Revunov 8ab665e565 Fix completions for tabmove (#4602)
Force default tabsort for tabmove.
Also return trimmed prefix from splitOnPrefix for consistency.
2023-03-02 00:19:36 +03:00
treapster 9c8006107e
Fix #4603: tabgrab with one tab 2023-02-28 18:04:16 +01:00
Oliver Blanthorn 1c7eb0eebc
Merge pull request #4608 from lordgrenville/linkfix
fix broken link
2023-02-28 10:19:36 +00:00
josh 586fab9fd5 fix broken link 2023-02-28 11:46:36 +02:00
Oliver Blanthorn c645a435d5
Merge pull request #4604 from tridactyl/autocmd_completions
completions: add autocmd completions
2023-02-25 10:22:22 +00:00
glacambre b402662a66 completions: add autocmd completions
This should hopefully make deleting autocommands easier.
2023-02-25 09:39:32 +01:00
Oliver Blanthorn af1dbb3574
Remove Amazon Smile since they axed it 2023-02-24 23:28:15 +01:00