Commit graph

6973 commits

Author SHA1 Message Date
Oliver Blanthorn
2414aba406
Merge pull request #4805 from tridactyl/dependabot/npm_and_yarn/fuse.js-7.0.0
Bump fuse.js from 6.6.2 to 7.0.0
2024-01-29 16:57:12 +00:00
Oliver Blanthorn
bb4119c56a
Merge pull request #4899 from tridactyl/webext_7.10
Bump web-ext to 7.10.0
2024-01-29 11:45:41 +00:00
Oliver Blanthorn
9c17c99842
Bump web-ext to 7.10.0 2024-01-29 12:34:27 +01:00
dependabot[bot]
365664a402
Bump fuse.js from 6.6.2 to 7.0.0
Bumps [fuse.js](https://github.com/krisk/Fuse) from 6.6.2 to 7.0.0.
- [Release notes](https://github.com/krisk/Fuse/releases)
- [Changelog](https://github.com/krisk/Fuse/blob/main/CHANGELOG.md)
- [Commits](https://github.com/krisk/Fuse/compare/v6.6.2...v7.0.0)

---
updated-dependencies:
- dependency-name: fuse.js
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 11:33:24 +00:00
Oliver Blanthorn
dae964fbd1
Merge pull request #4853 from tridactyl/dependabot/npm_and_yarn/types/css-0.0.37
Bump @types/css from 0.0.35 to 0.0.37
2024-01-27 11:00:40 +00:00
Oliver Blanthorn
04da9bdc96
Merge pull request #4894 from tridactyl/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-tslint-6.19.1
Bump @typescript-eslint/eslint-plugin-tslint from 6.9.1 to 6.19.1
2024-01-27 11:00:28 +00:00
Oliver Blanthorn
19ad9620fd
Merge pull request #4872 from tridactyl/dependabot/npm_and_yarn/eslint-config-prettier-9.1.0
Bump eslint-config-prettier from 9.0.0 to 9.1.0
2024-01-27 10:03:59 +00:00
Oliver Blanthorn
470e6bb306
Merge pull request #4881 from tridactyl/dependabot/npm_and_yarn/marked-11.1.1
Bump marked from 10.0.0 to 11.1.1
2024-01-27 10:03:07 +00:00
dependabot[bot]
172012be88
Bump @typescript-eslint/eslint-plugin-tslint from 6.9.1 to 6.19.1
Bumps [@typescript-eslint/eslint-plugin-tslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin-tslint) from 6.9.1 to 6.19.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin-tslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.19.1/packages/eslint-plugin-tslint)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin-tslint"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-27 10:02:06 +00:00
Oliver Blanthorn
6b2263b29b
Merge pull request #4835 from tridactyl/dependabot/npm_and_yarn/types/nearley-2.11.5
Bump @types/nearley from 2.11.4 to 2.11.5
2024-01-27 10:00:32 +00:00
Oliver Blanthorn
4164f7d8d7
Merge pull request #4891 from tridactyl/ez-bg-acS-2-fg
Enable easy access to content process from background script
2024-01-26 19:32:30 +00:00
glacambre
ee540db193 Enable accessing background window from content script with tri.bg 2024-01-26 20:31:51 +01:00
glacambre
1522b0e2dc lib/tabs.ts: enable accessing all tabs through tri.tabs 2024-01-26 18:56:17 +01:00
glacambre
a0e4060a94 excmds.ts: document new tri.tabs object enabling access to tab windows 2024-01-24 08:04:53 +01:00
glacambre
37d841df2c Enable accessorless access to tab processes
This commit enables accessing content script values directly, like this:

(await tri.tabs[3].document.location.href)
tri.tabs[6].document.title = "New title!"
tri.tabs[9].tri.excmds.js("document.getElementById('blah').textContent").then(console.log)

Note that setting values, as shown in the above document.title example
above, cannot be synchronously, i.e. there is no way to wait for the
value to have been written is the content process before the background
process moves on to the next instruction. This is considered okay as
writing to the content process synchronously can be done with
(await tri.excmds.js("document.title = 'New title!'")) instead.

At the moment, accessing all tabs by not specifying an index in tri.tabs
is still not supported.
2024-01-24 07:49:57 +01:00
glacambre
3806445d85 Implement basic proxy providing easy access to tabs from background
This commit implements a basic proxy enabling access to arbitrary
values/functions in tabs from the background script, like this:

tri.tabs[3].document.title.get().then(console.log)
tri.tabs[3].document.title.set("New title!").then(console.log)
tri.tabs[9].alert.apply("Hello world!")
tri.tabs[12].tri.excmds.js.apply("alert('Hello world!')")

Ease of implementation was chosen above ease of use. Enabling reading,
writing and calling directly through property accesses instead of
forcing the use of .get()/.set()/.apply() will be attempted in another
commit.
2024-01-24 07:49:57 +01:00
Oliver Blanthorn
d59a9d96bb
Merge pull request #4892 from chrishollandaise/sed-portable-lint
Add additional sh lint check for incompatible sed -i cases
2024-01-23 19:00:17 +00:00
Oliver Blanthorn
61c302e0c0
Fix lint issues 2024-01-23 19:57:53 +01:00
Chris Holland
2990bd0538 add sed -i lint check to ensure portability 2024-01-20 14:35:10 -08:00
dependabot[bot]
94c1deea28
Bump marked from 10.0.0 to 11.1.1
Bumps [marked](https://github.com/markedjs/marked) from 10.0.0 to 11.1.1.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v10.0.0...v11.1.1)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 22:54:08 +00:00
Oliver Blanthorn
dd535a4e32
Merge pull request #4791 from petoncle/fix-wrong-behavior-of-tabopen-with-containers
Fix wrong behavior of :tabopen with containers
2023-12-16 19:20:30 +00:00
Oliver Blanthorn
159d1ec0c0
Merge pull request #4844 from jumper047/feature/next-prev-line
Add functions to move cursor up and down in text areas
2023-12-16 19:18:18 +00:00
Oliver Blanthorn
ec342c4839
Merge pull request #4809 from petoncle/attempt-to-buffer-keyboard-events-until-commandline-opened
Reduce likelihood of losing characters while command line is opening
2023-12-16 19:01:00 +00:00
petoncle
ac7d7e577b Buffer page keys only for commands that open and focus the cmdline 2023-12-16 18:41:15 +01:00
Oliver Blanthorn
2c0798ffe5
Fix changelog typo 2023-12-16 14:28:24 +01:00
Oliver Blanthorn
a067100752
Merge pull request #4871 from tridactyl/dependabot/npm_and_yarn/mozilla/readability-0.5.0
Bump @mozilla/readability from 0.4.4 to 0.5.0
2023-12-16 13:18:53 +00:00
dependabot[bot]
55186d837e
Bump eslint-config-prettier from 9.0.0 to 9.1.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 9.0.0 to 9.1.0.
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v9.0.0...v9.1.0)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-15 22:57:58 +00:00
dependabot[bot]
f26668d738
Bump @mozilla/readability from 0.4.4 to 0.5.0
Bumps [@mozilla/readability](https://github.com/mozilla/readability) from 0.4.4 to 0.5.0.
- [Changelog](https://github.com/mozilla/readability/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mozilla/readability/compare/0.4.4...0.5.0)

---
updated-dependencies:
- dependency-name: "@mozilla/readability"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-15 22:57:49 +00:00
Oliver Blanthorn
38c78b05b7
Merge pull request #4819 from tridactyl/dependabot/npm_and_yarn/eslint-plugin-sonarjs-0.23.0
Bump eslint-plugin-sonarjs from 0.21.0 to 0.23.0
2023-12-15 13:29:25 +00:00
Oliver Blanthorn
c0ef2e59aa
Merge pull request #4869 from tridactyl/dependabot/npm_and_yarn/web-ext-7.9.0
Bump web-ext from 7.8.0 to 7.9.0
2023-12-15 13:29:14 +00:00
dependabot[bot]
a3bb7579f3
Bump web-ext from 7.8.0 to 7.9.0
Bumps [web-ext](https://github.com/mozilla/web-ext) from 7.8.0 to 7.9.0.
- [Release notes](https://github.com/mozilla/web-ext/releases)
- [Commits](https://github.com/mozilla/web-ext/compare/7.8.0...7.9.0)

---
updated-dependencies:
- dependency-name: web-ext
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-12 22:38:17 +00:00
Oliver Blanthorn
304e5941bb
Cheer up linter 2023-12-12 19:32:07 +01:00
Oliver Blanthorn
72dfbddf3f
release 1.24.0 2023-12-12 19:17:17 +01:00
Oliver Blanthorn
e14e474aca
Update changelog for 1.24.0 2023-12-12 19:17:17 +01:00
Oliver Blanthorn
916bd01e73
Rejig donations text on new tab 2023-12-12 19:17:17 +01:00
Oliver Blanthorn
e68589f2a5
Merge pull request #4865 from tridactyl/dependabot/npm_and_yarn/esbuild-0.19.9
Bump esbuild from 0.17.19 to 0.19.9
2023-12-12 17:02:25 +00:00
Oliver Blanthorn
5727425ecf
Merge pull request #4867 from dcaixinha/make-tabgrab-and-tabpush-move-to-next-tab
Make `tabgrab` and `tabpush` move to next tabgrab
2023-12-12 17:01:47 +00:00
Daniel Caixinha
1e0fdf43a3
Make tabgrab and tabpush move to next tabgrab
Now `tabgrab` and `tabpush` will move the tab next to the current tab, except if
the `tabopenpos` setting is set to `"last"`.

In order to make `tabpush` work, I had to create an additional function to get
the active tab for a given window ID.
2023-12-12 11:09:13 +00:00
dependabot[bot]
d0cf34497b
Bump esbuild from 0.17.19 to 0.19.9
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.17.19 to 0.19.9.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.17.19...v0.19.9)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 22:59:34 +00:00
Oliver Blanthorn
b5507f3b80
Stop text2qr overflowing past window dimensions 2023-12-04 13:02:46 +01:00
Dmitrii Pshonko
a2f4d942dc Add functions to move cursor up and down in text areas
Functions were extracted from @GHolk config, many cudos for him!
2023-12-04 01:12:16 +03:00
dependabot[bot]
27cf48ac0d
Bump @types/css from 0.0.35 to 0.0.37
Bumps [@types/css](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/css) from 0.0.35 to 0.0.37.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/css)

---
updated-dependencies:
- dependency-name: "@types/css"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-21 22:13:27 +00:00
Oliver Blanthorn
f13f16cc5d
Amend Memrise links (#4231) 2023-11-20 15:25:56 +01:00
Oliver Blanthorn
c956c3fcf4
Revert "Remove references to broken Memrise course #4231"
This reverts commit 36b02d5a29.
2023-11-20 15:23:07 +01:00
Oliver Blanthorn
36b02d5a29
Remove references to broken Memrise course #4231 2023-11-20 13:32:49 +01:00
Oliver Blanthorn
ca566af246
Bump native version to 0.4.1 2023-11-20 13:30:22 +01:00
Oliver Blanthorn
122ae80d46
Merge pull request #4821 from GHolk/source-clipboard
allow source tridactylrc from clipboard or string arguments
2023-11-20 11:40:48 +00:00
Oliver Blanthorn
a143c09442
Merge pull request #4839 from tridactyl/dependabot/npm_and_yarn/marked-10.0.0
Bump marked from 9.1.6 to 10.0.0
2023-11-19 15:04:12 +00:00
Oliver Blanthorn
f968dad4bf
Merge pull request #4842 from petoncle/keep-default-hints
Exclude default hints from hint -pipe
2023-11-19 15:03:11 +00:00
Oliver Blanthorn
95b2869294
Add GitHub gi bind to RC 2023-11-19 14:23:55 +01:00