Commit graph

2339 commits

Author SHA1 Message Date
Oliver Blanthorn
4276cd68e9
Stop TS breaking everything
This is very annoying - I built this, it worked, but `tslint`
changed ['readOnly'] to .readOnly and broke Tridactyl
2020-05-27 12:56:48 +01:00
Oliver Blanthorn
cf1c136f35
Fix #2389: don't enter insert mode on readonly elements 2020-05-27 12:38:52 +01:00
Oliver Blanthorn
0ab9bd2b73
Change while loop to switch statement
This should fix #2349
2020-05-27 12:32:35 +01:00
Oliver Blanthorn
876882de6e
Fix #2415: mkt now stores setnulls 2020-05-27 11:21:48 +01:00
Oliver Blanthorn
bf91666c5f
Add unbind handling for mkt - issue #2415 2020-05-27 11:00:54 +01:00
Oliver Blanthorn
1b63ea2a71
Update state.ts docs 2020-05-26 23:54:16 +01:00
Oliver Blanthorn
5faf458092
Fix #2407: do not directly access prevInputs in content 2020-05-26 23:48:45 +01:00
Oliver Blanthorn
4806747b17
Grammar: son, pas c'est 2020-05-26 23:37:03 +01:00
Oliver Blanthorn
9e750f66d1
Fix #2236, hopefully: never access state in content directly
I'm quite amazed that the previous code worked at all in my previous testing:
we were accidentally using per-tab state still
2020-05-26 18:33:05 +01:00
Oliver Blanthorn
524629ddf8
Fix #2422: reduce duplication with lib/state 2020-05-26 17:16:58 +01:00
Oliver Blanthorn
70f70f1095
Fix #2423 - prevent from storing in incognito windows
This does mean that `repeat` is not updated in private windows
2020-05-26 17:12:25 +01:00
Oliver Blanthorn
b5d7fb00fe
Fix #2424 - never store winopen -private for repeat 2020-05-26 16:07:16 +01:00
Oliver Blanthorn
347cb7d07f
Merge pull request #2417 from tridactyl/scroll_focused_element
Fix #1805: preferentially scroll focused elements
2020-05-25 21:30:13 +01:00
Oliver Blanthorn
e935477c03
Merge branch 'recontain' 2020-05-25 11:25:03 +01:00
Oliver Blanthorn
12091e85f3
Fix container fuzzy matching 2020-05-25 11:23:15 +01:00
Oliver Blanthorn
ef0f6aefcd
Merge branch 'display_hint_fix' 2020-05-25 11:07:32 +01:00
Oliver Blanthorn
e842810010
Make ;; hint more objects by default 2020-05-25 10:22:00 +01:00
Oliver Blanthorn
e0ed570a99
Make ;; hint mode change scrolling element 2020-05-25 10:16:17 +01:00
Oliver Blanthorn
df73304b1d
Update scrollable element on click 2020-05-25 10:11:38 +01:00
Oliver Blanthorn
780e8a77c3
Move focus cache out of loop 2020-05-25 09:25:56 +01:00
Oliver Blanthorn
807c998bea
Ensure while loop will always exit
Even if HTML doesn't quite work like we think it does
2020-05-25 09:24:30 +01:00
MatiasStorm
c7ea4855fb Change how hintable child elements are compared - Issue #487 2020-05-25 09:40:04 +02:00
MatiasStorm
6cf9dd9e95 Make hints attach to child divs or spans - Issue #487 2020-05-25 09:35:16 +02:00
Tanath
ced64e8fb6
Explain that RC files are optional 2020-05-24 16:34:03 +01:00
Oliver Blanthorn
c9259673a7
Preferentially scroll focused elements 2020-05-24 16:10:01 +01:00
Oliver Blanthorn
3e0ee8322a
Make else implicit
This is just a stylistic choice. I prefer "guards" over if/else in
general as it makes it very clear that the following code is only
relevant if the input passes the guard.
2020-05-24 14:28:49 +01:00
Dranaxel
1be6897200 fixing indents 2020-05-24 14:41:37 +02:00
Dranaxel
3c73886b3f using bovine3dom suggestion / adding aliases 2020-05-24 12:24:01 +02:00
Dranaxel
2d8def8b81
Update src/excmds.ts
typed tabcloseallto function argument

Co-authored-by: Oliver Blanthorn <oliver.blanthorn@manchester.ac.uk>
2020-05-22 20:59:29 +02:00
Alexandre
e75eca6f08 refactoring close all tabs functions 2020-05-22 19:52:05 +02:00
Oliver Blanthorn
5412e6ebc7
Fix #2401: update completions for new fuse 2020-05-21 12:24:16 +01:00
Oliver Blanthorn
37ea90f584
Ensure mergeDeep always returns a copy 2020-05-18 18:03:55 +01:00
Oliver Blanthorn
caf38436b6
Merge branch 'dependabot/npm_and_yarn/fuse.js-6.0.0' 2020-05-18 14:15:59 +01:00
Oliver Blanthorn
fa8b6e87c2
Update completions and container match for fuse v6 2020-05-18 14:15:09 +01:00
Oliver Blanthorn
5fca8b0f70
Merge pull request #2384 from MatiasStorm/scrolling.ts_refactor
Scrolling.ts refactor
2020-05-17 23:13:48 +01:00
Oliver Blanthorn
93054bf0f7
Fix linting errors 2020-05-17 23:04:57 +01:00
Matias Ammentorp Storm
68db8e3bde
Update src/content/scrolling.ts
Co-authored-by: Ghjuvan Lacambre <code@lacamb.re>
2020-05-17 20:04:00 +02:00
Matias Ammentorp Storm
d496a90b70
Update src/content/scrolling.ts
Co-authored-by: Ghjuvan Lacambre <code@lacamb.re>
2020-05-17 20:03:51 +02:00
Matias Ammentorp Storm
be403c387c
Update src/content/scrolling.ts
Co-authored-by: Ghjuvan Lacambre <code@lacamb.re>
2020-05-17 20:03:45 +02:00
Matias Ammentorp Storm
b81f831757
Update src/content/scrolling.ts
Co-authored-by: Ghjuvan Lacambre <code@lacamb.re>
2020-05-17 20:03:37 +02:00
Matias Ammentorp Storm
a74fa8d7e3
Update src/content/scrolling.ts
Co-authored-by: Oliver Blanthorn <oliver.blanthorn@manchester.ac.uk>
2020-05-17 19:46:48 +02:00
MatiasStorm
41881b6a09 Add minor corresctions 2020-05-17 17:21:41 +02:00
MatiasStorm
5f72ce6561 Refactored scrolling.ts 2020-05-17 16:59:15 +02:00
Oliver Blanthorn
d35c1f79b2 Fix #2382: typo in winclose help 2020-05-16 08:15:55 +01:00
Oliver Blanthorn
f4fa5b840a
release 1.19.0 2020-05-10 16:39:48 +01:00
glacambre
aa09f136b1 Excmds.ts: pass exaliases to expandExstr 2020-05-09 14:25:36 +02:00
Oliver Blanthorn
dd482087ed
Remove now unused locks 2020-05-09 12:36:03 +01:00
Oliver Blanthorn
3d99cb6025
Merge branch 'nmode' 2020-05-09 12:15:00 +01:00
Oliver Blanthorn
7d28e98bed
Fix missing whitespace 2020-05-09 12:11:11 +01:00
Oliver Blanthorn
2eb046affb
Don't count unfinished key-sequences towards n in nmode 2020-05-09 11:56:33 +01:00