Skip to content

Commit

Permalink
bump version to v1.93.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gdh1995 committed Oct 11, 2021
1 parent bebd67f commit 331357d
Showing 8 changed files with 45 additions and 21 deletions.
20 changes: 7 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -114,19 +114,13 @@ __Other extensions supporting Vimium C:__

#### latest version

improved key mappings
* `Vomnibar`: fix URLs with space characters would break
* `map`: fix bugs of `$then` and `$else`, and apply them to much more commands
* for example, `enterFindMode` supports `$then="enterVisualMode"`, and `scroll*` runs `$then` when something is scrolled
* most commands operating tabs support `$then` and `$else`
* `runKey` command: change syntax of `.keys`, to **support command trees**
* see https://github.com/gdh1995/vimium-c/wiki/Auto-run-a-tree-of-commands
* `env`: now `host` only considers about top frame URL; add `iframe: boolean | string` to match iframes
* `mapKey`: support `<...:n>` and they will only take effect in normal mode
* Firefox: some commands operating tabs will run faster when repeating count is 1
* fix `w` and `e` in `VisualMode` on Chrome 90+ on Windows
* add a new command of `dispatchEvent` to simulate dispatching events
* some other improvements and bug fixes
full-featured `runKey`
* key mappings: `runKey` supports inline options which look like `#a=b&c=d%20e` (wiki added)
* add `openBookmark` and `vimium://run/<key-tree>` to run long command sequences with complicated options
* fix some compatibility bugs
* URL matching: support new `URLPattern` in W3C spec.
* Vomnibar: support `mapKey` from keys to `<v-*>` (trigger commands) or `<enter>`
* `dispatchEvent`: add a new mode: `key=Key,keyCode[,Code=Key]`

Refer to [RELEASE-NOTES.md](RELEASE-NOTES.md).

19 changes: 19 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -4,6 +4,25 @@ Release Notes of Vimium C
ReadMe: https://github.com/gdh1995/vimium-c/#readme .<br/>
说明文档: https://gitee.com/gdh1995/vimium-c#readme , https://github.com/gdh1995/vimium-c/blob/master/README-zh.md .

#### 1.93.0
* better compatibility
* keyboard: with some system-level shortcuts of composed keys
* with some extensions with card-style UI
* avoid reporting issues on latest Chromium browsers which recommends `userAgentData`
* URL matching: support new `URLPattern` in W3C spec.
* key mappings: `runKey` supports inline options which look like `#a=b&c=d%20e` (wiki added)
* key mappings: add a new syntax of `run key otherKeys` as an alias of `runKey key keys="otherKeys"`
* add `openBookmark` and `vimium://run/<key-tree>` to run long command sequences with complicated options
* now support nested calls (but still refuse to call itself directly)
* `LinkHints`/`focusInput`: always add elements matching `.clickable` even in other modes
* `LinkHints`: improve `autoUnhover` ([#325](https://github.com/gdh1995/vimium-c/issues/325#issuecomment-939656442))
and add a trick to copy image URLs ([#399](https://github.com/gdh1995/vimium-c/issues/399#issuecomment-927788170))
* Vomnibar: support `mapKey` from keys to `<v-*>` (trigger commands) or `<enter>`
* `dispatchEvent`: add a new mode: `key=Key,keyCode[,Code=Key]`
* text substitution: remove old `/[dDr]/` keywords in "flag" parts
* improve `.filter` in tab-related commands
* fix some other small bugs

#### 1.92.4
* fix a crash during importing settings when browser language is not Chinese
* small improvements on `runKey`
2 changes: 1 addition & 1 deletion _locales/en/messages.json
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@
"OpenC": { "message": "Open: " },
"Upgrade": { "message": "Upgrade" },
"upgradeMsg": { "message": "Vimium C has been upgraded to v$1.\n" },
"upgradeMsg2": { "message": "Now one single key can trigger a sequence of commands" },
"upgradeMsg2": { "message": "Now one single key can trigger a sequence of commands with inline options" },
"clickForMore": { "message": "Click here for more information." },
"noCopied": { "message": "No text copied!" },
"quoteA": { "message": "\"$1\"" },
2 changes: 1 addition & 1 deletion _locales/zh/messages.json
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
"OpenC": { "message": "访问:" },
"Upgrade": { "message": "已更新" },
"upgradeMsg": { "message": "您的 Vimium C 已经更新至 $1 版。\n" },
"upgradeMsg2": { "message": "现在可以绑定按键到一连串命令上" },
"upgradeMsg2": { "message": "现在可以绑定按键到 一连串带参数的命令 上" },
"clickForMore": { "message": "点击阅读详细信息。" },
"voptions": { "message": "设置" },
"vshow": { "message": "展示" },
7 changes: 6 additions & 1 deletion i18n/zh/options.json
Original file line number Diff line number Diff line change
@@ -16,7 +16,12 @@
"o6": "在指定网站完全或部分禁用 Vimium C。“",
"o7": " ”可以是以“",
"o8": "”开始的正则表达式,也可以是以“",
"o9": "”开始的网址前部。否则会自动转换成二者之一。",
"o9": "”开始的网址前部,",
"o9_2": "又或者以“",
"o9_3": "”标志的 URL 模式( W3C 规范中的 ",
"o9_4": " )",
"o9_5": "。",
"o9_6": "否则会自动转换成正则或前缀。",
"o10": "如果“",
"o11": " ”为空,在相应页面上 Vimium C 会完全停止工作,但可以点击右上角扩展图标来临时启用;",
"o12": "如果“",
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -147,7 +147,7 @@
],
"short_name": "Vimium C",
"update_url": "https://clients2.google.com/service/update2/crx",
"version": "1.92.4",
"version": "1.93.0",
"web_accessible_resources": [
"content/*",
"front/vomnibar.*",
2 changes: 1 addition & 1 deletion pages/options.css
Original file line number Diff line number Diff line change
@@ -467,7 +467,7 @@ label:active {
color: #444;
margin: -2px 0 3px 0;
max-height: 141px;
min-height: 81px;
min-height: 111px;
overflow-x: hidden;
overflow-y: auto;
width: 100%;
12 changes: 9 additions & 3 deletions pages/options.html
Original file line number Diff line number Diff line change
@@ -73,16 +73,22 @@
<span data-i="o6">Wholly or partially disable Vimium C.
A "</span><var data-i="Pattern">Pattern</var><span data-i="o7">" is a JS regular expression
if it starts with "</span><kbd class="wrap-space">^</kbd><span data-i="o8">",
or "</span><kbd class="wrap-space">:</kbd><span data-i="o9">" + the header of a URL.
Otherwise it will be converted.</span>
or "</span><kbd class="wrap-space">:</kbd><span data-i="o9">" + the header of a URL,
</span><span data-permission="C94"><span data-i="o9_2">or "</span><kbd class="wrap-space">`</kbd><span
data-i="o9_3">" + </span><a
title="URLPattern() - Web APIs | MDN" target="_blank" rel="noopener noreferrer"
href="https://developer.mozilla.org/en-US/docs/Web/API/URLPattern/URLPattern">URLPattern</a><span
data-i="o9_4"> (a way to match URLs in W3C spec.)</span></span><span data-i="o9_5">. </span><span
data-i="o9_6">Otherwise it will be converted.</span>
<br>
<div style="margin-top: 12px">
<span data-i="o10">If "</span><var data-i="Keys">Keys</var><span data-i="o11">" is empty,
Vimium C gets wholly disabled;</span><br>
<span data-i="o12">if "</span><var data-i="Keys">Keys</var><span data-i="o13">"
starts with "</span><kbd class="wrap-space">^</kbd><span data-i="o14">",
only listed keys are enabled,<br>
and all others are passed through;<br> </span><span
data-i="o15">otherwise, just the listed keys are passed through.</span>
data-i="o15">otherwise, just the listed keys are passed through.</span></div>
</div></td>
</tr>
<tr>

0 comments on commit 331357d

Please # to comment.