Commit graph

6738 commits

Author SHA1 Message Date
Denis Revunov
ec549df4c4 Fix defaults, add missing keycodes, add comment 2022-11-17 02:00:02 +03:00
treapster
103e6c626b
Clarify doc more
Co-authored-by: Oliver Blanthorn <freedom4cows@gmail.com>
2022-11-16 23:53:32 +03:00
treapster
84be5a36f5
Clarify doc
Co-authored-by: Oliver Blanthorn <freedom4cows@gmail.com>
2022-11-15 23:42:37 +03:00
Denis Revunov
e38b9e8bb5 Translate every key once in all modes 2022-11-13 22:02:02 +03:00
Oliver Blanthorn
923e5e9411
Merge pull request #4460 from ericliou/master
[Tutor] Fix keybinding on hint mode
2022-11-13 12:30:59 +00:00
Eric
4cef2b1849
Update tutor hint mode
https://github.com/tridactyl/tridactyl/blob/master/src/lib/config.ts#L412
2022-11-11 16:46:06 +00:00
Denis Revunov
5d9c5bec15 Return ThenableWebDriver back 2022-11-10 00:58:06 +03:00
Denis Revunov
0b29a79131 Fix tests 2022-11-10 00:44:34 +03:00
Denis Revunov
80aad263df Prettify doc 2022-11-09 22:35:44 +03:00
Denis Revunov
ded80d2fa9 Add bindkey command 2022-11-09 22:35:44 +03:00
Denis Revunov
d6c17a9673 Add option to use key codes instead of characters 2022-11-09 22:35:44 +03:00
Oliver Blanthorn
44efcf38af
Merge pull request #4454 from tridactyl/dependabot/npm_and_yarn/marked-4.2.2
Bump marked from 4.2.0 to 4.2.2
2022-11-09 14:15:30 +00:00
Oliver Blanthorn
e2fe5b6dd8
Merge pull request #4456 from tridactyl/dependabot/npm_and_yarn/types/selenium-webdriver-4.1.9
Bump @types/selenium-webdriver from 4.1.8 to 4.1.9
2022-11-09 14:09:25 +00:00
Oliver Blanthorn
7d118d15cb
Merge pull request #4457 from badcold/bmark-title
Use tab title if bookmarking current page
2022-11-09 10:55:04 +00:00
badcold
8983388a1a Use tab title if bookmarking current page 2022-11-09 11:13:38 +01:00
dependabot[bot]
2c9b34a104
Bump @types/selenium-webdriver from 4.1.8 to 4.1.9
Bumps [@types/selenium-webdriver](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/selenium-webdriver) from 4.1.8 to 4.1.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/selenium-webdriver)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 22:06:38 +00:00
Oliver Blanthorn
b556c02a90
Cheer up eslint 2022-11-07 16:50:13 +01:00
dependabot[bot]
1207e94457
Bump marked from 4.2.0 to 4.2.2
Bumps [marked](https://github.com/markedjs/marked) from 4.2.0 to 4.2.2.
- [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/v4.2.0...v4.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-07 15:50:08 +00:00
Oliver Blanthorn
65586aa61c
Merge pull request #4452 from tridactyl/dependabot/npm_and_yarn/selenium-webdriver-and-types/selenium-webdriver-4.6.0
Bump selenium-webdriver and @types/selenium-webdriver
2022-11-07 15:47:28 +00:00
gholk
e6ada5f9d0 Add docs for hintElements and hint -x exclude option
Docs and fix callback name collision bugs for hintElements.
2022-11-06 19:13:13 +08:00
gholk
e0ff5823c6 Move some code out of async generator to prevent bug
The async generator will not execute until iteration start.
Moving hintPage function out of async generator make it execute
even if there is no iteration.
2022-11-06 18:22:46 +08:00
gholk
4713c73b98 Make hintElements support rapid and return async iterator
If hintElements run in rapid mode, every selected element is returned
in an async iterator.
2022-11-06 10:23:30 +08:00
gholk
f07e9c3aa2 Function to hint user specified elements: tri.hinting_content.hintElements
A simple wraper for function hintPage, make user easy to choose from
a elements list.
2022-11-05 19:41:19 +08:00
gholk
7f626ad4dd Option to exclude selectors from hint result
Pass `-x selector` will exclude elements from the hint result.
2022-11-05 16:39:57 +08:00
dependabot[bot]
3ab2cb6305
Bump selenium-webdriver and @types/selenium-webdriver
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium) and [@types/selenium-webdriver](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/selenium-webdriver). These dependencies needed to be updated together.

Updates `selenium-webdriver` from 4.5.0 to 4.6.0
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/compare/selenium-4.5.0...selenium-4.6.0)

Updates `@types/selenium-webdriver` from 4.1.7 to 4.1.8
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/selenium-webdriver)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-04 22:03:26 +00:00
Oliver Blanthorn
ab67dea1c3
Merge pull request #4440 from treapster/gobble-accept-terminator
Use MinimalKey internally, add terminator key to gobble mode
2022-11-03 13:57:56 +01:00
Denis Revunov
3fcc80f055 Remove outdated comments 2022-11-03 15:25:51 +03:00
Denis Revunov
07fde5eaff Fix match, strip Shift from printable keys 2022-11-03 15:16:29 +03:00
Oliver Blanthorn
354bc56081
Merge pull request #4445 from tridactyl/dependabot/npm_and_yarn/types/selenium-webdriver-4.1.7
Bump @types/selenium-webdriver from 4.1.6 to 4.1.7
2022-11-02 13:16:18 +01:00
Oliver Blanthorn
c6bcbe1f14
Merge pull request #4446 from tridactyl/dependabot/npm_and_yarn/marked-4.2.0
Bump marked from 4.1.1 to 4.2.0
2022-11-02 13:16:10 +01:00
Denis Revunov
5a7e99bea2 Isolate key translation 2022-11-02 02:09:13 +03:00
Denis Revunov
59634e3e08 Revert "Bikeshed some types"
This reverts commit 74d357e1e2.
2022-11-02 01:51:08 +03:00
dependabot[bot]
604e44bd59
Bump marked from 4.1.1 to 4.2.0
Bumps [marked](https://github.com/markedjs/marked) from 4.1.1 to 4.2.0.
- [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/v4.1.1...v4.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-01 22:14:00 +00:00
dependabot[bot]
605674e83e
Bump @types/selenium-webdriver from 4.1.6 to 4.1.7
Bumps [@types/selenium-webdriver](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/selenium-webdriver) from 4.1.6 to 4.1.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/selenium-webdriver)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-01 22:13:43 +00:00
Oliver Blanthorn
0233be6e7d
Merge pull request #4430 from ThunderKey/feature/improve-open-tab-fallbacks
improve the fallbacks for opening tabs with hint
2022-11-01 17:11:15 +01:00
Oliver Blanthorn
edc57ebce5
Allow complex terminators for gobble mode 2022-11-01 16:40:24 +01:00
Oliver Blanthorn
88e8f9bb34
Add function to canonicalise map strings 2022-11-01 16:34:46 +01:00
Oliver Blanthorn
74d357e1e2
Bikeshed some types 2022-11-01 16:06:45 +01:00
Denis Revunov
fc29f2823f Use MinimalKey internally, add terminator key to gobble mode 2022-10-30 20:59:10 +03:00
Oliver Blanthorn
578fb23ba3
Merge pull request #4438 from GHolk/web-request-change-header
Include header in webRequest BeforeSendHeaders and HeaderReceived events
2022-10-29 10:26:04 +02:00
gholk
5af29e7246 Include header in webRequest BeforeSendHeaders and HeaderReceived events
Since we already have blocking and requestBody, adding requestHeaders and
responseHeaders should be okay too.
2022-10-29 15:17:57 +08:00
Oliver Blanthorn
621f014607
Merge pull request #4378 from GHolk/find-from-viewport
Find from the viewport
2022-10-28 17:42:58 +02:00
Oliver Blanthorn
979c6acb39
Suggest binds closer to Vim defaults 2022-10-28 17:41:18 +02:00
Oliver Blanthorn
0e46d3fe4c
Merge pull request #4436 from tridactyl/dependabot/npm_and_yarn/eslint-plugin-jsdoc-39.3.25
Bump eslint-plugin-jsdoc from 39.3.24 to 39.3.25
2022-10-26 14:33:52 +02:00
dependabot[bot]
1b98782967
Bump eslint-plugin-jsdoc from 39.3.24 to 39.3.25
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 39.3.24 to 39.3.25.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v39.3.24...v39.3.25)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25 22:02:15 +00:00
Oliver Blanthorn
42b08645e5
Merge pull request #4433 from tridactyl/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-tslint-5.41.0
Bump @typescript-eslint/eslint-plugin-tslint from 5.40.1 to 5.41.0
2022-10-25 23:52:17 +02:00
Oliver Blanthorn
1a00679b35
Merge pull request #4434 from tridactyl/dependabot/npm_and_yarn/eslint-plugin-jsdoc-39.3.24
Bump eslint-plugin-jsdoc from 39.3.14 to 39.3.24
2022-10-25 23:52:04 +02:00
dependabot[bot]
4476e9a263
Bump eslint-plugin-jsdoc from 39.3.14 to 39.3.24
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 39.3.14 to 39.3.24.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v39.3.14...v39.3.24)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 22:08:03 +00:00
dependabot[bot]
d08fab75e1
Bump @typescript-eslint/eslint-plugin-tslint from 5.40.1 to 5.41.0
Bumps [@typescript-eslint/eslint-plugin-tslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin-tslint) from 5.40.1 to 5.41.0.
- [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/v5.41.0/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>
2022-10-24 22:07:01 +00:00
Oliver Blanthorn
b71bb2f5e7
Merge pull request #4432 from tridactyl/dependabot/npm_and_yarn/editor-adapter-0.0.4
Bump editor-adapter from 0.0.3 to 0.0.4
2022-10-22 21:23:33 +02:00