Commit graph

6860 commits

Author SHA1 Message Date
dependabot[bot]
9aed07afa1
Bump @typescript-eslint/eslint-plugin-tslint from 5.37.0 to 5.40.0
Bumps [@typescript-eslint/eslint-plugin-tslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin-tslint) from 5.37.0 to 5.40.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.40.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-10 22:03:29 +00:00
Oliver Blanthorn
2437fc1473
Merge pull request #4414 from richard96292/master
Reduce flickering when opening new about:blank tab
2022-10-10 22:50:55 +02:00
Igor
9f024cd972
Update the dark theme background color 2022-10-10 15:34:21 +03:00
Oliver Blanthorn
1aefda0bcc
Merge pull request #4412 from tridactyl/improve_ctrl_v_docs
Improve Ctrl-V docs: fix #4337
2022-10-09 00:50:54 +02:00
Oliver Blanthorn
23d344a299
Improve Ctrl-V docs: fix #4337 2022-10-09 00:47:57 +02:00
dependabot[bot]
f690c3223a
Bump selenium-webdriver from 4.4.0 to 4.5.0
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/compare/selenium-4.4.0...selenium-4.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-05 09:15:46 +00:00
Oliver Blanthorn
fa4a234718
Merge pull request #4408 from tridactyl/dependabot/npm_and_yarn/marked-4.1.1
Bump marked from 4.1.0 to 4.1.1
2022-10-05 11:13:52 +02:00
Raffaele Mancuso
19390c4e95
Improve doc to set search engine 2022-10-04 12:44:45 +02:00
Oliver Blanthorn
815222864b
Merge pull request #4409 from tridactyl/more_useful_empty_bind
Make empty bind return valid command (#4384)
2022-10-04 12:41:38 +02:00
Oliver Blanthorn
2d0c3e00fb
Merge pull request #4410 from tridactyl/get_no_equals
Remove equals sign from get (#4384)
2022-10-04 12:41:31 +02:00
Oliver Blanthorn
8a35150e1d
Remove equals sign from get (#4384)
This should allow users to more easily turn it into a :set
2022-10-04 11:15:01 +02:00
Oliver Blanthorn
04e5a6ffc1
Make empty bind return valid command (#4384) 2022-10-04 11:13:01 +02:00
dependabot[bot]
2fc141bcaf
Bump marked from 4.1.0 to 4.1.1
Bumps [marked](https://github.com/markedjs/marked) from 4.1.0 to 4.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/v4.1.0...v4.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-03 22:45:10 +00:00
Michael Joseph Rosenthal
42b5f1a5ee
Add more detailed docs on containerized firefox install support 2022-10-02 10:53:47 -07:00
Oliver Blanthorn
4ec0e5eb61
Merge pull request #4404 from tridactyl/fix_hint-b
Fix hint -b (#4403)
2022-10-01 18:56:41 +02:00
Oliver Blanthorn
3fe9575a33
Cheer up prettier 2022-10-01 18:01:41 +02:00
Oliver Blanthorn
cff50597bf
Fix #4403: ensure bypassFocusHack is not left undefined 2022-10-01 18:01:32 +02:00
Oliver Blanthorn
22b2e9cb42
Fix #4384: remove excmd from bind completions 2022-09-30 16:03:10 +02:00
Oliver Blanthorn
83933db227
Fix filenames in beta updater (#4399) 2022-09-30 11:12:31 +02:00
gholk
788180fdc9 Find node which can be focused in range the right way
Implement a method to query node in range, so the anchor node will always be
found even if it is not a ancestor of the range.startContainer.
2022-09-18 23:27:54 +08:00
gholk
785b593bc4 Reposition all match text before find from view
If user scrolled and the match text position change, the `.top` property will
not update automatically. Then the search from view will return the wrong
match text because it make use of the old top properties.

This commit reposition (and the top properties get updated) all match text
before find the next match from the viewport.
2022-09-17 22:38:54 +08:00
gholk
cbafb8077e Fix wrong scrolling when the match not in root scroll element
If the match text is inside a scrollable element which is not root,
the highlight rectangle will be in a wrong position, because
the position is relative the root element but not the scrolling element,
and scroll to the hightlight rectangle will not make the matched text visible.

This commit make focus method scroll to the match text range instead of the
highlight rectangle by a scrollIntoView polyfill library, which does not
check the input strictly, and the highlight rectangle position will update
after the scroll is performed.
2022-09-17 22:38:31 +08:00
Oliver Blanthorn
239ea5925c
Merge pull request #4385 from tridactyl/dependabot/npm_and_yarn/selenium-webdriver-and-types/selenium-webdriver-4.4.0
Bump selenium-webdriver and @types/selenium-webdriver
2022-09-14 14:40:33 +01:00
Oliver Blanthorn
f914987841
Merge pull request #2917 from fluem/pretty_tab_status_symbols
Add more status symbols to tab list
2022-09-14 09:49:39 +01:00
Oliver Blanthorn
a86a942f52
Merge branch 'master' into pretty_tab_status_symbols 2022-09-14 10:15:57 +02:00
dependabot[bot]
bcc4fc7bca
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.2.0 to 4.4.0
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/compare/selenium-4.2.0...selenium-4.4.0)

Updates `@types/selenium-webdriver` from 4.1.1 to 4.1.5
- [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-09-14 07:54:27 +00:00
Oliver Blanthorn
a62ec5c135
Merge pull request #4380 from tridactyl/dependabot/npm_and_yarn/esbuild-0.15.7
Bump esbuild from 0.14.47 to 0.15.7
2022-09-14 08:53:58 +01:00
Oliver Blanthorn
648eb71fa6
Merge pull request #4382 from tridactyl/dependabot/npm_and_yarn/moment-2.29.4
Bump moment from 2.29.2 to 2.29.4
2022-09-14 08:53:23 +01:00
Oliver Blanthorn
e381178387
Merge pull request #4338 from tridactyl/dependabot/npm_and_yarn/selenium-webdriver-and-types/selenium-webdriver-4.4.0
Bump selenium-webdriver and @types/selenium-webdriver
2022-09-14 08:53:06 +01:00
Oliver Blanthorn
25f0ade042
Merge pull request #4300 from tridactyl/dependabot/npm_and_yarn/geckodriver-3.0.2
Bump geckodriver from 3.0.1 to 3.0.2
2022-09-14 08:52:46 +01:00
Oliver Blanthorn
accc7c6f2c
Merge pull request #4383 from tridactyl/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-tslint-5.37.0
Bump @typescript-eslint/eslint-plugin-tslint from 5.29.0 to 5.37.0
2022-09-14 08:52:36 +01:00
Oliver Blanthorn
67988b9a22
Merge pull request #4374 from tridactyl/dependabot/npm_and_yarn/marked-4.1.0
Bump marked from 4.0.17 to 4.1.0
2022-09-14 08:52:19 +01:00
dependabot[bot]
589b1087bc
Bump @typescript-eslint/eslint-plugin-tslint from 5.29.0 to 5.37.0
Bumps [@typescript-eslint/eslint-plugin-tslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin-tslint) from 5.29.0 to 5.37.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.37.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-09-12 22:23:42 +00:00
dependabot[bot]
931a8b7e25
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.2.0 to 4.4.0
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/compare/selenium-4.2.0...selenium-4.4.0)

Updates `@types/selenium-webdriver` from 4.1.1 to 4.1.2
- [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-09-10 17:36:40 +00:00
dependabot[bot]
2b027a0f28
Bump geckodriver from 3.0.1 to 3.0.2
Bumps [geckodriver](https://github.com/vladikoff/node-geckodriver) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/vladikoff/node-geckodriver/releases)
- [Commits](https://github.com/vladikoff/node-geckodriver/compare/v3.0.1...v3.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-10 17:33:37 +00:00
dependabot[bot]
32fd2fb4e9
Bump moment from 2.29.2 to 2.29.4
Bumps [moment](https://github.com/moment/moment) from 2.29.2 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.2...2.29.4)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-10 17:30:28 +00:00
Oliver Blanthorn
0177c1b246
Merge pull request #4334 from tridactyl/dependabot/npm_and_yarn/eslint-plugin-sonarjs-0.15.0
Bump eslint-plugin-sonarjs from 0.13.0 to 0.15.0
2022-09-10 18:30:14 +01:00
Oliver Blanthorn
7d5cd3f832
Merge pull request #4335 from tridactyl/dependabot/npm_and_yarn/eslint-plugin-jsdoc-39.3.6
Bump eslint-plugin-jsdoc from 39.3.3 to 39.3.6
2022-09-10 18:30:03 +01:00
Oliver Blanthorn
3e6386838c
Merge pull request #4348 from tridactyl/dependabot/npm_and_yarn/web-ext-7.2.0
Bump web-ext from 7.1.0 to 7.2.0
2022-09-10 18:29:43 +01:00
Gold Holk
b218014913 Try to make the highlight's position always correct
This will reposition the highlight whenever user focus other match,
but the scroll behavior may work bad sometimes.
2022-09-09 23:53:24 +08:00
Gold Holk
725dcf92f1 Overwrite get*ClientRect methods directly
So the DOM.isVisible should work on findhightlight directly.
2022-09-09 23:44:14 +08:00
gholk
03a8a4cf39 Fix firefox html custom element not work in WebExtension content-script
It seem that the custom element will not have right prototype,
and the user defined properties and method will be undefined.

This is cause by a firefox bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=1716685

This commit monkey patchs the element manually in constructor
to fix this problem.
2022-09-09 18:57:16 +08:00
Oliver Blanthorn
355b47cc33
Merge pull request #4381 from mark2185/master
Update docs
2022-09-06 13:20:59 +02:00
Oliver Blanthorn
d9e2e29877
Fix links in :tutor 2022-09-06 12:53:07 +02:00
Luka Markušić
4ede950ee1 Update docs
All the clippy files are markdown files, not html
2022-09-06 10:01:54 +02:00
dependabot[bot]
850e8b96ac
Bump esbuild from 0.14.47 to 0.15.7
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.14.47 to 0.15.7.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.14.47...v0.15.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 22:03:38 +00:00
gholk
696510a50f Support focus anchor button input details in find
The dom.ts is fixed a little to improve type check.
2022-09-04 15:08:56 +08:00
gholk
d76ad67fe1 Make DOM.isVisible support Range objects
The Range objects have getBoundingClientRect method too,
so it should be acceptable for the DOM.isVisible function.
2022-09-04 00:24:42 +08:00
gholk
b723a7dfba Move FindHighlight focus and unfocus to public method
There is no reason to define them as a new function in constructor
2022-09-04 00:15:36 +08:00
gholk
3ee801de14 Support getting ranges from the find results
New excmd `findselect` to select the current match result of the `find`
command.

The FindHighlight `content/finding.ts` is also rewrite to store the exact
matched range.
2022-09-03 20:02:04 +08:00