]> git.gir.st - VimFx.git/log
VimFx.git
10 years agoVersion bump and changelog update
Simon Lydell [Sun, 1 Jun 2014 11:34:59 +0000 (13:34 +0200)]
Version bump and changelog update

10 years agoMerge pull request #322 from lydell/fix-autofocus
Simon Lydell [Sun, 1 Jun 2014 10:53:51 +0000 (12:53 +0200)]
Merge pull request #322 from lydell/fix-autofocus

Fix autofocus

10 years agoRemove stray `console.log`s
Simon Lydell [Tue, 27 May 2014 19:40:24 +0000 (21:40 +0200)]
Remove stray `console.log`s

10 years agoRaise the z-indexes used to trump youtube
Simon Lydell [Sun, 25 May 2014 20:15:41 +0000 (22:15 +0200)]
Raise the z-indexes used to trump youtube

Youtube uses 1999999999 as z-index for its top bar, which is a lot
higher than VimFx used for the help dialog and markers. This caused the
top bar to overlap the help dialog, and, more importantly, the markers,
making it impossible to see the marker for the search box, for example.

This commit raises VimFx’s z-indexes to trump Youtube.

10 years agoCleanup CSS a bit
Simon Lydell [Sun, 25 May 2014 20:02:22 +0000 (22:02 +0200)]
Cleanup CSS a bit

10 years agoRemove old VimFxFindInput CSS
Simon Lydell [Sun, 25 May 2014 19:58:01 +0000 (21:58 +0200)]
Remove old VimFxFindInput CSS

10 years agoFix #309: Autofocus prevention is broken
Simon Lydell [Sun, 25 May 2014 19:20:56 +0000 (21:20 +0200)]
Fix #309: Autofocus prevention is broken

Autofocus was broken by some Firefox update, possibly version 29. This
commit fixes it again. It also fixes a bug where autofocus was prevented
even on blacklisted sites, and cleans the code a bit.

10 years agoImprove contenteditable detection
Simon Lydell [Sun, 25 May 2014 17:00:46 +0000 (19:00 +0200)]
Improve contenteditable detection

10 years agoBump minimum Firefox version (see #314)
Simon Lydell [Fri, 16 May 2014 19:16:56 +0000 (21:16 +0200)]
Bump minimum Firefox version (see #314)

10 years agoSlightly improve markable element matching
Simon Lydell [Fri, 16 May 2014 18:49:38 +0000 (20:49 +0200)]
Slightly improve markable element matching

- Only `<a>` elements with a `href` attribute should be matched, since
  HTML5 allows `<a>` elements to omit `href`:

  > If the a element has no href attribute, then the element represents
  > a placeholder for where a link might otherwise have been placed, if
  > it had been relevant, consisting of just the element's contents.

  Reference:
  <http://developers.whatwg.org/text-level-semantics.html#the-a-element>

- Elements with the `tabindex` attribute should be matched, but not
  `tabindex=-1`, which means explicitly saying that the element should
  _not_ be focusable.

10 years agoLet the Esc command close tab groups
Simon Lydell [Fri, 16 May 2014 18:42:31 +0000 (20:42 +0200)]
Let the Esc command close tab groups

Since commit 1fd30eca9 makes opening the tab groups view (ctrl-shift-e)
about the same as focusing a text input (passing all key strokes to the
browser), the Esc command must be able to exit from it.

10 years agoFix #280: Use `[rel]` for prev/next link matching
Simon Lydell [Fri, 16 May 2014 18:26:16 +0000 (20:26 +0200)]
Fix #280: Use `[rel]` for prev/next link matching

The standard way of marking up the previous or next page of a series is
to use a `<link>` or `<a>` element with a `rel` attribute.

We don’t bother with `<link>`s since the commands are substitutes for
clicking a visible element. (And at least in my experience, they’re not
commonly used.) Moreover, if there’s a `<link>` with a `rel` attribute,
there’s likely a corresponding `<a>`, too.

We first try to find a nicely marked up link, then we fall back on
pattern matching of the text contents of the links.

The spec on the `rel` attribute:
<http://www.w3.org/TR/html5/links.html#linkTypes>

How Google handles it:
<https://support.google.com/webmasters/answer/1663744?hl=en>

This commit is based on #313 by @zhuochun.

10 years agoExpose xpath utils
Simon Lydell [Tue, 13 May 2014 19:14:35 +0000 (21:14 +0200)]
Expose xpath utils

Previously xpath usage was closely tied to the `getMarkableElements`
function.

10 years agoFix #318: Support Tab Groups
Simon Lydell [Tue, 13 May 2014 19:40:54 +0000 (21:40 +0200)]
Fix #318: Support Tab Groups

Just like when a text input is focused, send all keys to the browser.
This allows you to type the name of a tab to select it. Moreover,
commands doesn’t make sense when Tab Groups is opened, since they affect
the current tab, which is hidden _behind_ Tab Groups, out of view!

10 years agoFix #310: Broken focus search bar command
Simon Lydell [Thu, 8 May 2014 19:14:58 +0000 (21:14 +0200)]
Fix #310: Broken focus search bar command

10 years agoAdd missing parenthesis
Simon Lydell [Thu, 8 May 2014 17:37:19 +0000 (19:37 +0200)]
Add missing parenthesis

10 years agoMerge pull request #312 from zhuochun/bug-263-can-add-blank-hotkey
Simon Lydell [Thu, 8 May 2014 16:38:53 +0000 (18:38 +0200)]
Merge pull request #312 from zhuochun/bug-263-can-add-blank-hotkey

Fix #263 can add blank hotkey

10 years agoclean up code around conflict_cmd
Wang Zhuochun [Wed, 7 May 2014 19:13:55 +0000 (03:13 +0800)]
clean up code around conflict_cmd

10 years agoignore empty cmd value
Wang Zhuochun [Wed, 7 May 2014 19:13:28 +0000 (03:13 +0800)]
ignore empty cmd value

10 years ago0.5.10 vesion bump and changelog update v0.5.10
Anton Khodakivskiy [Wed, 7 May 2014 17:20:18 +0000 (10:20 -0700)]
0.5.10 vesion bump and changelog update

10 years agoFix bug when loading default preferences
Anton Khodakivskiy [Wed, 7 May 2014 17:18:55 +0000 (10:18 -0700)]
Fix bug when loading default preferences

10 years agoUpdate 0.5.9 changelog to mention gg/G speedup fix
Simon Lydell [Mon, 5 May 2014 18:54:43 +0000 (20:54 +0200)]
Update 0.5.9 changelog to mention gg/G speedup fix

10 years agoAdded all historic builds
Anton Khodakivskiy [Mon, 5 May 2014 06:05:56 +0000 (23:05 -0700)]
Added all historic builds

10 years agoMerge branch 'develop' 0.5.9
Anton Khodakivskiy [Mon, 5 May 2014 05:59:14 +0000 (22:59 -0700)]
Merge branch 'develop'

10 years agoMerge branch 'develop' of github.com:akhodakivskiy/VimFx into develop
Anton Khodakivskiy [Mon, 5 May 2014 05:56:26 +0000 (22:56 -0700)]
Merge branch 'develop' of github.com:akhodakivskiy/VimFx into develop

10 years agoMerge branch 'release-0.5.9'
Anton Khodakivskiy [Mon, 5 May 2014 05:54:10 +0000 (22:54 -0700)]
Merge branch 'release-0.5.9'

10 years agoversion bump and changelog update
Anton Khodakivskiy [Mon, 5 May 2014 05:53:22 +0000 (22:53 -0700)]
version bump and changelog update

10 years agoFixed default properties
Anton Khodakivskiy [Mon, 5 May 2014 05:51:32 +0000 (22:51 -0700)]
Fixed default properties

10 years agoPut commands in the same order as the `commands` array
Simon Lydell [Wed, 30 Apr 2014 18:24:42 +0000 (20:24 +0200)]
Put commands in the same order as the `commands` array

10 years agoUpdate `command_insert_mode`
Simon Lydell [Wed, 30 Apr 2014 18:14:54 +0000 (20:14 +0200)]
Update `command_insert_mode`

10 years agoUpdate move tab commands
Simon Lydell [Wed, 30 Apr 2014 18:13:04 +0000 (20:13 +0200)]
Update move tab commands

10 years agoUpdate `command_restore_tab`
Simon Lydell [Wed, 30 Apr 2014 16:23:29 +0000 (18:23 +0200)]
Update `command_restore_tab`

10 years agoUpdate `command_back` and `command_forward`
Simon Lydell [Wed, 30 Apr 2014 16:11:59 +0000 (18:11 +0200)]
Update `command_back` and `command_forward`

10 years agoUpdate `command_tab_first` and `command_tab_last`
Simon Lydell [Wed, 30 Apr 2014 16:08:14 +0000 (18:08 +0200)]
Update `command_tab_first` and `command_tab_last`

10 years agoUpdate `command_home`
Simon Lydell [Wed, 30 Apr 2014 16:02:29 +0000 (18:02 +0200)]
Update `command_home`

10 years agoUpdate `command_tab_prev` and `command_tab_next`
Simon Lydell [Wed, 30 Apr 2014 15:56:43 +0000 (17:56 +0200)]
Update `command_tab_prev` and `command_tab_next`

10 years agoFix #189: Speed up scoll to top/bottom commands
Simon Lydell [Tue, 29 Apr 2014 18:33:26 +0000 (20:33 +0200)]
Fix #189: Speed up scoll to top/bottom commands

10 years agoUpdate stop commands
Simon Lydell [Tue, 29 Apr 2014 18:25:30 +0000 (20:25 +0200)]
Update stop commands

10 years agoUpdate reload commands
Simon Lydell [Tue, 29 Apr 2014 18:20:04 +0000 (20:20 +0200)]
Update reload commands

10 years agoUpdate `command_marker_yank` and `command_yank`
Simon Lydell [Tue, 29 Apr 2014 19:29:57 +0000 (21:29 +0200)]
Update `command_marker_yank` and `command_yank`

Conflicts:

extension/packages/utils.coffee

10 years agoUpdate `command_open_tab`
Simon Lydell [Tue, 29 Apr 2014 17:39:07 +0000 (19:39 +0200)]
Update `command_open_tab`

10 years agoUpdate `command_paste` and `command_paste_tab`
Simon Lydell [Tue, 29 Apr 2014 17:37:51 +0000 (19:37 +0200)]
Update `command_paste` and `command_paste_tab`

10 years agoUpdate `command_focus_search`
Simon Lydell [Tue, 29 Apr 2014 15:57:03 +0000 (17:57 +0200)]
Update `command_focus_search`

10 years agoUpdate `command_focus`
Simon Lydell [Tue, 29 Apr 2014 15:54:09 +0000 (17:54 +0200)]
Update `command_focus`

10 years agoUpdate `command_dev`
Simon Lydell [Tue, 29 Apr 2014 15:49:49 +0000 (17:49 +0200)]
Update `command_dev`

10 years agoAdd `Vim::rootWindow` for convenience
Simon Lydell [Mon, 28 Apr 2014 19:14:44 +0000 (21:14 +0200)]
Add `Vim::rootWindow` for convenience

10 years agoRemove the `storage` parameter for commands
Simon Lydell [Mon, 28 Apr 2014 18:40:22 +0000 (20:40 +0200)]
Remove the `storage` parameter for commands

None used it.

10 years ago0.5.8 version bump 0.5.8
Anton Khodakivskiy [Sat, 19 Apr 2014 00:20:26 +0000 (17:20 -0700)]
0.5.8 version bump

10 years agoMerge pull request #290 from cbertoldi/master
Anton Khodakivskiy [Wed, 5 Mar 2014 19:58:44 +0000 (11:58 -0800)]
Merge pull request #290 from cbertoldi/master

Added italian translation.

10 years agoAdded localization.
Carlo Bertoldi [Wed, 5 Mar 2014 19:55:24 +0000 (20:55 +0100)]
Added localization.

10 years agoAdded italian translation.
Carlo Bertoldi [Wed, 5 Mar 2014 19:20:55 +0000 (20:20 +0100)]
Added italian translation.

10 years agoMerge branch 'release-0.5.7' 0.5.7
Anton Khodakivskiy [Mon, 3 Mar 2014 18:40:35 +0000 (10:40 -0800)]
Merge branch 'release-0.5.7'

10 years agohotfix release. version bump and changelog update
Anton Khodakivskiy [Mon, 3 Mar 2014 18:40:18 +0000 (10:40 -0800)]
hotfix release. version bump and changelog update

10 years agoMerge branch 'master' into develop
Anton Khodakivskiy [Mon, 3 Mar 2014 18:34:55 +0000 (10:34 -0800)]
Merge branch 'master' into develop

10 years agoBug fixes
Anton Khodakivskiy [Mon, 3 Mar 2014 18:34:23 +0000 (10:34 -0800)]
Bug fixes

10 years agoMerge pull request #287 from mozillazg/zh-CN
Anton Khodakivskiy [Mon, 3 Mar 2014 05:16:07 +0000 (21:16 -0800)]
Merge pull request #287 from mozillazg/zh-CN

Update zh-CN localization

10 years agoUpdate zh-CN localization
Mozillazg [Sun, 2 Mar 2014 06:59:29 +0000 (14:59 +0800)]
Update zh-CN localization

10 years agoMerge branch 'develop'
Anton Khodakivskiy [Wed, 26 Feb 2014 21:55:11 +0000 (13:55 -0800)]
Merge branch 'develop'

10 years agoMerge branch 'release-0.5.6' into develop
Anton Khodakivskiy [Wed, 26 Feb 2014 21:52:47 +0000 (13:52 -0800)]
Merge branch 'release-0.5.6' into develop

10 years agoMerge branch 'release-0.5.6' 0.5.6
Anton Khodakivskiy [Wed, 26 Feb 2014 21:51:50 +0000 (13:51 -0800)]
Merge branch 'release-0.5.6'

10 years agoVersion bump, changelog update, bump max version to 29
Anton Khodakivskiy [Wed, 26 Feb 2014 21:51:07 +0000 (13:51 -0800)]
Version bump, changelog update, bump max version to 29

10 years agoFixed mistake in next/prev patterns
Anton Khodakivskiy [Wed, 26 Feb 2014 21:45:37 +0000 (13:45 -0800)]
Fixed mistake in next/prev patterns

10 years agoMerge branch 'develop' of github.com:akhodakivskiy/VimFx into develop
Anton Khodakivskiy [Wed, 26 Feb 2014 21:39:56 +0000 (13:39 -0800)]
Merge branch 'develop' of github.com:akhodakivskiy/VimFx into develop

10 years agoMerge pull request #273 from akhodakivskiy/prevent-autofocus
Anton Khodakivskiy [Wed, 26 Feb 2014 21:39:43 +0000 (13:39 -0800)]
Merge pull request #273 from akhodakivskiy/prevent-autofocus

Prevent autofocus

10 years agoPrevent autofocus by blurring the input if it's been focused in the first second...
Anton Khodakivskiy [Mon, 3 Feb 2014 17:14:51 +0000 (09:14 -0800)]
Prevent autofocus by blurring the input if it's been focused in the first second after loading is finished

10 years agoWorkaround for command shortcuts that start with letter c
Anton Khodakivskiy [Wed, 26 Feb 2014 21:36:32 +0000 (13:36 -0800)]
Workaround for command shortcuts that start with letter c

10 years agoMerge pull request #285 from sirodoht/develop
Anton Khodakivskiy [Wed, 26 Feb 2014 20:13:05 +0000 (12:13 -0800)]
Merge pull request #285 from sirodoht/develop

Update Greek localization

10 years agoUpdate Greek localization
Theodore Keloglou [Sun, 23 Feb 2014 16:17:47 +0000 (18:17 +0200)]
Update Greek localization

10 years agoMerge pull request #264 from lydell/zhuochun-enhance-follow-link
Simon Lydell [Tue, 18 Feb 2014 20:14:26 +0000 (21:14 +0100)]
Merge pull request #264 from lydell/zhuochun-enhance-follow-link

Refactor follow prev/next links (supersedes #260)

10 years agoRefactor follow prev/next links
Simon Lydell [Sun, 26 Jan 2014 14:21:07 +0000 (15:21 +0100)]
Refactor follow prev/next links

- Simplified everything.
- Made it more DRY.
- Patterns can include the * and ! wildcards, just like the black list.
- Patterns must match either at the beginning or at the end of the link
  text.
- Patterns don’t match in the middle of words. Works with non-English
  characters too.

10 years agoMerge pull request #279 from cyberrob/develop
Anton Khodakivskiy [Tue, 11 Feb 2014 07:05:24 +0000 (23:05 -0800)]
Merge pull request #279 from cyberrob/develop

Develop

10 years agoFix a translation error in zh-CN
robertwang [Mon, 10 Feb 2014 05:10:52 +0000 (13:10 +0800)]
Fix a translation error in zh-CN

10 years agoAdd zh-TW locale for vimFx. Also modify some zh-CN translations.
robertwang [Mon, 10 Feb 2014 05:08:58 +0000 (13:08 +0800)]
Add zh-TW locale for vimFx. Also modify some zh-CN translations.

10 years agoMerge pull request #265 from lydell/better-passthrough
Anton Khodakivskiy [Tue, 28 Jan 2014 19:13:41 +0000 (11:13 -0800)]
Merge pull request #265 from lydell/better-passthrough

Re-implement popup passthrough more robustly

10 years agoImprove popup passthrough check performance
Simon Lydell [Tue, 28 Jan 2014 18:52:29 +0000 (19:52 +0100)]
Improve popup passthrough check performance

Commit 468ed83 sure made the popup passthrough check more robust.
However, querying for all popups (hundreds) and looping them through on
each keypress is not optimal for performance. The solution? Use the best
of both of the old and new passthrough check.

Looking back, the issue with the old event-based passthrough check was
not that passthrough sometimes wasn’t triggered. It was that passthrough
sometimes got stuck, effectively disabling the extension. So it is not
the 'popupshowing' event that is unreliable, it is the 'popuphidden'
event. So we now use the events for toggling passthrough mode, just like
before. But when `popupPassthrough == true`, we don’t trust it. Then we
loop through all popups to see if any of them actually is open. This
means that it is only when a popup (might) be open that we use the more
expensive check, which is a good tradeoff. Even then, you probably won’t
even notice a lag or anything.

10 years agoRe-implement popup passthrough more robustly
Simon Lydell [Sun, 26 Jan 2014 15:58:55 +0000 (16:58 +0100)]
Re-implement popup passthrough more robustly

Commit 35f48d24bf5c broke popup passthrough a bit, unfortunately. It
works for the context menu, but not for the menu bar.

It is time to ditch the unreliable onpopupshowing/onpopuphiding and
checking properties on root windows for determining if popups are open.

Now we simply just loop through all menupopups and panels and check if
any of them are open. If so, don’t do anything. Otherwise, proceed as
normal.

10 years agoMerge branch 'enhance-follow-link' of https://github.com/zhuochun/VimFx into zhuochun...
Simon Lydell [Sun, 26 Jan 2014 10:39:55 +0000 (11:39 +0100)]
Merge branch 'enhance-follow-link' of https://github.com/zhuochun/VimFx into zhuochun-enhance-follow-link

10 years agoMerge pull request #219 from lydell/simpler-dom
Simon Lydell [Sat, 25 Jan 2014 15:58:29 +0000 (07:58 -0800)]
Merge pull request #219 from lydell/simpler-dom

Simplify DOM manipulations

10 years agoUse `.classList.toggle()`
Simon Lydell [Sat, 25 Jan 2014 15:53:33 +0000 (16:53 +0100)]
Use `.classList.toggle()`

Instead of `.classList[method]()`. Much nicer.

10 years agoupdate comments and shorten code
Wang Zhuochun [Wed, 22 Jan 2014 08:26:03 +0000 (16:26 +0800)]
update comments and shorten code

10 years agoupdate default prev/next pref
Wang Zhuochun [Tue, 21 Jan 2014 08:59:36 +0000 (16:59 +0800)]
update default prev/next pref

10 years agouse regexp and pattern order
Wang Zhuochun [Tue, 21 Jan 2014 08:46:31 +0000 (16:46 +0800)]
use regexp and pattern order

10 years agoenhance next/prev follow link
Wang Zhuochun [Tue, 21 Jan 2014 07:05:04 +0000 (15:05 +0800)]
enhance next/prev follow link

10 years agoAnother character for next/prev navigation
Anton Khodakivskiy [Wed, 15 Jan 2014 17:56:01 +0000 (09:56 -0800)]
Another character for next/prev navigation

10 years agoPrevent matching wrong next/prev links (containing random `next`, `more` words)
Anton Khodakivskiy [Sun, 12 Jan 2014 02:32:09 +0000 (18:32 -0800)]
Prevent matching wrong next/prev links (containing random `next`, `more` words)

10 years agoCloses #252. Fixed cases where VimFx steals keys from focused XUL menulist
Anton Khodakivskiy [Sun, 12 Jan 2014 01:10:47 +0000 (17:10 -0800)]
Closes #252. Fixed cases where VimFx steals keys from focused XUL menulist

10 years agoAdded a few mode arrows to the pagination patterns. Closes #254
Anton Khodakivskiy [Sun, 12 Jan 2014 00:44:12 +0000 (16:44 -0800)]
Added a few mode arrows to the pagination patterns. Closes #254

10 years agoMerge pull request #250 from akhodakivskiy/prefs-refactor
Anton Khodakivskiy [Sun, 12 Jan 2014 00:33:36 +0000 (16:33 -0800)]
Merge pull request #250 from akhodakivskiy/prefs-refactor

Refactor preferences

10 years agodefaults.js
Anton Khodakivskiy [Mon, 6 Jan 2014 14:23:22 +0000 (16:23 +0200)]
defaults.js

10 years agoRefactor preferences defaults, prepare for enabling preferences sync
Anton Khodakivskiy [Mon, 6 Jan 2014 14:22:06 +0000 (16:22 +0200)]
Refactor preferences defaults, prepare for enabling preferences sync

10 years agoMerge branch 'master' into develop
Anton Khodakivskiy [Fri, 3 Jan 2014 17:40:30 +0000 (19:40 +0200)]
Merge branch 'master' into develop

10 years agoRemoved docs as unnecessary and outdated
Anton Khodakivskiy [Fri, 3 Jan 2014 17:40:21 +0000 (19:40 +0200)]
Removed docs as unnecessary and outdated

10 years agoMerge branch 'master' into develop
Anton Khodakivskiy [Fri, 3 Jan 2014 17:09:46 +0000 (19:09 +0200)]
Merge branch 'master' into develop

10 years agoREADME.md update
Anton Khodakivskiy [Fri, 3 Jan 2014 17:09:36 +0000 (19:09 +0200)]
README.md update

10 years agoMerge branch 'develop' into simpler-dom
Simon Lydell [Fri, 3 Jan 2014 17:03:13 +0000 (18:03 +0100)]
Merge branch 'develop' into simpler-dom

Conflicts:
extension/packages/button.coffee
extension/packages/find.coffee

10 years agoMerge branch 'release-0.5.5' into develop
Anton Khodakivskiy [Fri, 3 Jan 2014 16:47:25 +0000 (18:47 +0200)]
Merge branch 'release-0.5.5' into develop

10 years agoMerge branch 'release-0.5.5' 0.5.5
Anton Khodakivskiy [Fri, 3 Jan 2014 16:46:56 +0000 (18:46 +0200)]
Merge branch 'release-0.5.5'

10 years agoVersion bump
Anton Khodakivskiy [Fri, 3 Jan 2014 16:45:33 +0000 (18:45 +0200)]
Version bump

10 years agoMerge pull request #246 from lydell/issue-213
Anton Khodakivskiy [Fri, 3 Jan 2014 16:41:34 +0000 (08:41 -0800)]
Merge pull request #246 from lydell/issue-213

Merge branch 'develop' into issue-213

10 years agoMerge branch 'develop' into issue-213
Simon Lydell [Fri, 3 Jan 2014 16:36:19 +0000 (17:36 +0100)]
Merge branch 'develop' into issue-213

Conflicts:
extension/packages/events.coffee

Imprint / Impressum