Commit graph

6391 commits

Author SHA1 Message Date
gholk
fb2173871f Allow finding.jumpToNextMatch find from the current viewport
Add option to find from the current viewport,
and add isVisible method to FindHighlight.
The reverse finding is not cover now.
2022-08-23 21:42:33 +08:00
gholk
a403999cdc Fix the DOM.isVisible for finding highlight element
The highlight element's position is set to `top: 0; left: 0;`,
so it will never be visible. We should test its child nodes instead.
2022-08-18 20:33:55 +08:00
gholk
c90482042e Fix timestamp in completion of back command for shydactyl
The completion for back/forward can show the history list.
The item contain title, url and timestamp,
but timestamp does not show up in shydactyl theme,
because the `.url` and `.title` both takes `width: 50%;`,
so no space is left for the timestamp.

This commit remove the `.title`'s width contrain,
so the title will adjust its width automatically.
Also style `.time` to appropriate width and align right.
2022-08-03 19:43:53 +08:00
Oliver Blanthorn
36f05bdb96
Merge pull request #4319 from xeruf/patch-1
Fix typos in .tridactylrc
2022-07-27 21:55:30 +01:00
Janek
e4cafb71c1
Clarify .tridactylrc 2022-07-27 22:42:49 +02:00
Oliver Blanthorn
257e0b30a0
Merge pull request #4320 from GHolk/master
Add documentation for most autocmd events
2022-07-27 16:14:53 +01:00
Janek
69e57485b9
Update .tridactylrc 2022-07-26 23:25:34 +02:00
Janek
227203269e
Fix typos in .tridactylrc 2022-07-26 08:28:31 +02:00
gholk
649d2009e8 Add documentation for most autocmd events
Add details for DocStart, DocLoad, DocEnd, TabEnter, TabLeft,
HistoryState, HistoryPushState and HistoryReplace in
autocmd's JSDoc, and correct HistoryPopState to HistoryPushState.
2022-07-25 22:29:52 +08:00
Oliver Blanthorn
92e143cfb8
Merge pull request #4284 from davidscotson/forced-color-mode
Fix #4283 to improve forced-color support
2022-06-30 22:11:21 +02:00
Oliver Blanthorn
fdbee09b0f
Merge pull request #4293 from eunikolsky/fix/ddg_hints
Fix the hints on DuckDuckGo in the sample `.tridactylrc`
2022-06-30 20:15:47 +02:00
Eugene
36f6605fa5 Fix the hints on DuckDuckGo in the sample .tridactylrc
The webpage was updated and that broke the `f` and `F` hints in the
sample rc file (since commit 3bf7e4ab). This change updates the hints so
that they match the search result links again.
2022-06-30 20:49:46 +03:00
Oliver Blanthorn
0ce20acd30
Merge pull request #4278 from tridactyl/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-tslint-5.29.0
Bump @typescript-eslint/eslint-plugin-tslint from 5.28.0 to 5.29.0
2022-06-26 11:25:40 +02:00
Oliver Blanthorn
86305be41d
Merge pull request #4279 from tridactyl/dependabot/npm_and_yarn/eslint-plugin-jsdoc-39.3.3
Bump eslint-plugin-jsdoc from 39.3.2 to 39.3.3
2022-06-26 11:25:00 +02:00
Oliver Blanthorn
a964206849
Merge pull request #4281 from tridactyl/dependabot/npm_and_yarn/esbuild-0.14.47
Bump esbuild from 0.14.45 to 0.14.47
2022-06-26 11:24:42 +02:00
Oliver Blanthorn
9d0fb117fd
Merge pull request #4282 from tridactyl/dependabot/npm_and_yarn/web-ext-7.1.0
Bump web-ext from 7.0.0 to 7.1.0
2022-06-26 11:21:58 +02:00
Oliver Blanthorn
57c4d4c6f1
Merge pull request #4289 from GHolk/mktridactyl-subconfig-bug
Fix #4285: mktridactyl output wrong seturl command
2022-06-26 11:18:18 +02:00
gholk
63b239cb36 Fix previous commit subconfig prefix bug
without shift, mktridactyl will generate
seturl with subconfig keypath.
this commit removes it.
2022-06-26 14:45:52 +08:00
gholk
82ed8447b1 Fix #4285: mktridactyl output wrong seturl command
If there are more than one seturl/bindurl config
in one url, `mktridactylrc` will outputs wrong
seturl/bindurl commands, which become global settings.

Because `prefix.shift()` will mutate the array.
Then in the next iteration, the subconfig and url in prefix
will miss.
2022-06-25 22:05:54 +08:00
David Scotson
483d57b9e9 Fix #4283 to improve forced-color support 2022-06-22 21:03:43 +01:00
dependabot[bot]
52ba789c77
Bump web-ext from 7.0.0 to 7.1.0
Bumps [web-ext](https://github.com/mozilla/web-ext) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/mozilla/web-ext/releases)
- [Commits](https://github.com/mozilla/web-ext/compare/7.0.0...7.1.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>
2022-06-21 22:57:52 +00:00
dependabot[bot]
ffcd0b430a
Bump esbuild from 0.14.45 to 0.14.47
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.14.45 to 0.14.47.
- [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.45...v0.14.47)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-21 22:54:50 +00:00
dependabot[bot]
9677dc54d7
Bump eslint-plugin-jsdoc from 39.3.2 to 39.3.3
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 39.3.2 to 39.3.3.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v39.3.2...v39.3.3)

---
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-06-20 22:04:40 +00:00
dependabot[bot]
d83113eb63
Bump @typescript-eslint/eslint-plugin-tslint from 5.28.0 to 5.29.0
Bumps [@typescript-eslint/eslint-plugin-tslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin-tslint) from 5.28.0 to 5.29.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.29.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-06-20 22:03:40 +00:00
Oliver Blanthorn
338046fae9
Merge pull request #4276 from tridactyl/dependabot/npm_and_yarn/esbuild-0.14.45
Bump esbuild from 0.14.43 to 0.14.45
2022-06-19 15:28:41 +02:00
Oliver Blanthorn
5f3f921902
Merge pull request #4273 from tridactyl/dependabot/npm_and_yarn/prettier-2.7.1
Bump prettier from 2.6.2 to 2.7.1
2022-06-19 15:28:23 +02:00
Oliver Blanthorn
01a5cbfba7
Fix #4275: add 12 more browser bind slots 2022-06-19 15:26:49 +02:00
dependabot[bot]
fbca0af651
Bump esbuild from 0.14.43 to 0.14.45
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.14.43 to 0.14.45.
- [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.43...v0.14.45)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-17 22:06:38 +00:00
dependabot[bot]
db1607c9f2
Bump prettier from 2.6.2 to 2.7.1
Bumps [prettier](https://github.com/prettier/prettier) from 2.6.2 to 2.7.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.6.2...2.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-16 22:04:54 +00:00
Oliver Blanthorn
fd1674a000
Fix #4259: add --focus-address-bar flag to tabopen 2022-06-14 13:37:00 +02:00
Oliver Blanthorn
26f146545b
Merge pull request #4268 from tridactyl/dependabot/npm_and_yarn/marked-4.0.17
Bump marked from 4.0.16 to 4.0.17
2022-06-14 13:13:59 +02:00
Oliver Blanthorn
b9cd06dd9c
Merge pull request #4267 from tridactyl/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-tslint-5.28.0
Bump @typescript-eslint/eslint-plugin-tslint from 5.27.1 to 5.28.0
2022-06-14 13:13:44 +02:00
dependabot[bot]
5e25b5e195
Bump marked from 4.0.16 to 4.0.17
Bumps [marked](https://github.com/markedjs/marked) from 4.0.16 to 4.0.17.
- [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.0.16...v4.0.17)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 22:08:43 +00:00
dependabot[bot]
f31cea54cb
Bump @typescript-eslint/eslint-plugin-tslint from 5.27.1 to 5.28.0
Bumps [@typescript-eslint/eslint-plugin-tslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin-tslint) from 5.27.1 to 5.28.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.28.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-06-13 22:06:56 +00:00
Oliver Blanthorn
4ab994f14a
Merge pull request #4266 from tridactyl/dependabot/npm_and_yarn/async-3.2.4
Bump async from 3.2.0 to 3.2.4
2022-06-10 21:43:04 +02:00
Oliver Blanthorn
a141f08d78
Merge pull request #4250 from tridactyl/dependabot/npm_and_yarn/selenium-webdriver-and-types/selenium-webdriver-4.2.0
Bump selenium-webdriver and @types/selenium-webdriver
2022-06-10 21:36:04 +02:00
dependabot[bot]
0de8120014
Bump async from 3.2.0 to 3.2.4
Bumps [async](https://github.com/caolan/async) from 3.2.0 to 3.2.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/master/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v3.2.0...v3.2.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-10 19:35:27 +00:00
Oliver Blanthorn
84b1ab8ff0
Merge pull request #4258 from tridactyl/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-tslint-5.27.1
Bump @typescript-eslint/eslint-plugin-tslint from 5.26.0 to 5.27.1
2022-06-10 21:34:59 +02:00
Oliver Blanthorn
d46d51f5e0
Merge pull request #4262 from tridactyl/dependabot/npm_and_yarn/web-ext-7.0.0
Bump web-ext from 6.8.0 to 7.0.0
2022-06-10 21:34:02 +02:00
dependabot[bot]
bd2207448a
Bump web-ext from 6.8.0 to 7.0.0
Bumps [web-ext](https://github.com/mozilla/web-ext) from 6.8.0 to 7.0.0.
- [Release notes](https://github.com/mozilla/web-ext/releases)
- [Commits](https://github.com/mozilla/web-ext/compare/6.8.0...7.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-09 22:02:24 +00:00
Oliver Blanthorn
3b758ce3c4
Merge pull request #4260 from tridactyl/dependabot/npm_and_yarn/esbuild-0.14.43
Bump esbuild from 0.14.39 to 0.14.43
2022-06-09 17:02:24 +02:00
dependabot[bot]
5aa9c6efe4
Bump esbuild from 0.14.39 to 0.14.43
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.14.39 to 0.14.43.
- [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.39...v0.14.43)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-08 22:01:44 +00:00
dependabot[bot]
53909c1721
Bump @typescript-eslint/eslint-plugin-tslint from 5.26.0 to 5.27.1
Bumps [@typescript-eslint/eslint-plugin-tslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin-tslint) from 5.26.0 to 5.27.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/v5.27.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>
2022-06-06 22:06:24 +00:00
Oliver Blanthorn
0834fa1744
Expose completion providers for gholk 2022-06-02 15:37:34 +02:00
Oliver Blanthorn
799d3d231c
Merge pull request #4176 from tridactyl/force_space
Make ctrl-space insert a space in command line
2022-05-29 11:15:34 +01:00
dependabot[bot]
0a1343f05d
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.1.2 to 4.2.0
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/commits/selenium-4.2.0)

Updates `@types/selenium-webdriver` from 4.1.0 to 4.1.1
- [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-05-27 22:03:09 +00:00
Oliver Blanthorn
a8b30e8068
Rebind insert a space to ctrl+space
This means we're no longer blocked by #4175
2022-05-26 13:44:40 +02:00
Oliver Blanthorn
fbfbe403c2
WIP: bind ex.insert_space to S-Space
Bug: this is currently shadowed by the <Space> bind
2022-05-26 13:43:16 +02:00
Oliver Blanthorn
806698bd05
Add ex.insert_space to simulate spacebar 2022-05-26 13:43:15 +02:00
Oliver Blanthorn
f52bfb0ce4
Cheer up prettier 2022-05-26 13:42:10 +02:00