]> git.gir.st - VimFx.git/log
VimFx.git
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 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 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 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

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

10 years agoMerge branch 'master' of github.com:akhodakivskiy/VimFx
Anton Khodakivskiy [Fri, 3 Jan 2014 14:49:40 +0000 (16:49 +0200)]
Merge branch 'master' of github.com:akhodakivskiy/VimFx

Conflicts:
extension/packages/events.coffee

10 years agoMerge branch 'release-0.5.4' 0.5.4
Anton Khodakivskiy [Fri, 3 Jan 2014 14:26:31 +0000 (16:26 +0200)]
Merge branch 'release-0.5.4'

10 years agoVersion bump to 0.5.4 and update changelog
Anton Khodakivskiy [Fri, 3 Jan 2014 14:26:14 +0000 (16:26 +0200)]
Version bump to 0.5.4 and update changelog

10 years agoFix for popup passthrough mode stucking
Anton Khodakivskiy [Fri, 3 Jan 2014 14:12:13 +0000 (16:12 +0200)]
Fix for popup passthrough mode stucking

10 years agoMerge branch 'hints-z-index' of git://github.com/lydell/VimFx into lydell-hints-z...
Anton Khodakivskiy [Fri, 3 Jan 2014 13:26:35 +0000 (15:26 +0200)]
Merge branch 'hints-z-index' of git://github.com/lydell/VimFx into lydell-hints-z-index

10 years agomerge upstream develop
Wang Zhuochun [Thu, 2 Jan 2014 07:41:19 +0000 (15:41 +0800)]
merge upstream develop

10 years agominor updates
Wang Zhuochun [Thu, 2 Jan 2014 07:15:43 +0000 (15:15 +0800)]
minor updates

10 years agoMerge pull request #238 from lydell/develop
Anton Khodakivskiy [Thu, 2 Jan 2014 00:25:40 +0000 (16:25 -0800)]
Merge pull request #238 from lydell/develop

Bump minimum Firefox version to 25

10 years agoMerge pull request #244 from lydell/button-mode-click
Anton Khodakivskiy [Thu, 2 Jan 2014 00:15:13 +0000 (16:15 -0800)]
Merge pull request #244 from lydell/button-mode-click

Make button click depend on current mode. Fix #243

10 years agoMerge pull request #239 from lydell/find-fixes
Anton Khodakivskiy [Thu, 2 Jan 2014 00:05:33 +0000 (16:05 -0800)]
Merge pull request #239 from lydell/find-fixes

Find fixes

10 years agoMerge pull request #240 from lydell/minor-fixes
Anton Khodakivskiy [Thu, 2 Jan 2014 00:01:48 +0000 (16:01 -0800)]
Merge pull request #240 from lydell/minor-fixes

Minor fixes

10 years agoMake button click depend on current mode. Fix #243
Simon Lydell [Mon, 30 Dec 2013 11:02:45 +0000 (12:02 +0100)]
Make button click depend on current mode. Fix #243

Both insert mode and disabled mode use the same greyed out icon for the
toolbar button. If you're in insert mode and click the button, we used to
disable the extension as normal. However, it felt like clicking the button
did nothing, because the icon didn't change. Even if it _would_ change, it
feels more natural if the extension is _enabled_ again at that point. So
now, if you're in insert mode and click the button, we enter normal mode.
(#243)

If the current site is blacklisted, clicking the button used to disable
the extension. Well, it was already disabled, but the button icon changed
from the blacklisted icon (red) to the disabled icon (grey). Clicking
again went back to blacklisted mode. That's pretty weird. Now we open the
menu popup when clicked instead, which will show the trash can icon which
is used to un-blacklist the site. Un-blacklisting directly when clicking
the button would be to go too far, since that can potentially remove more
blacklisting rules than the user wants to. Using the popup you have a
chance to review what will be removed when un-blacklisting.

To sum up, the button clicking is more intuitive now:

- If enabled: Disable
- Otherwise: Enable (almost)

10 years agoadd go up url hierarchy
Wang Zhuochun [Mon, 23 Dec 2013 09:22:55 +0000 (17:22 +0800)]
add go up url hierarchy

10 years agominor code fixes
Wang Zhuochun [Sat, 21 Dec 2013 20:35:11 +0000 (04:35 +0800)]
minor code fixes

10 years agoHigher weight markers should not be overlapped
Simon Lydell [Thu, 19 Dec 2013 18:22:23 +0000 (19:22 +0100)]
Higher weight markers should not be overlapped

Higher weight, higher z-index.

10 years agoDRY getDomElements in utils
Wang Zhuochun [Thu, 19 Dec 2013 09:38:30 +0000 (17:38 +0800)]
DRY getDomElements in utils

10 years agocleanup find_link
Wang Zhuochun [Thu, 19 Dec 2013 08:55:08 +0000 (16:55 +0800)]
cleanup find_link

10 years agofix to consistent styles
Wang Zhuochun [Thu, 19 Dec 2013 08:23:38 +0000 (16:23 +0800)]
fix to consistent styles

10 years agoremove follow prev/next commands in new tab
Wang Zhuochun [Thu, 19 Dec 2013 07:46:44 +0000 (15:46 +0800)]
remove follow prev/next commands in new tab

10 years agoupdate option descriptions
Wang Zhuochun [Thu, 19 Dec 2013 07:44:04 +0000 (15:44 +0800)]
update option descriptions

10 years agoAlways open regular find bar, not last used
Simon Lydell [Sun, 15 Dec 2013 18:48:11 +0000 (19:48 +0100)]
Always open regular find bar, not last used

There are three find bars: The "regular" one, the "quick find" one and the
"quick find (link only)" one. Before, the VimFx `/` command opened the one
of those three that was used last. Now, the regular is always opened.

10 years agoMinor fixes
Simon Lydell [Sun, 15 Dec 2013 09:02:52 +0000 (10:02 +0100)]
Minor fixes

10 years agoCall `utils.createElement` consistently
Simon Lydell [Sat, 14 Dec 2013 13:31:00 +0000 (14:31 +0100)]
Call `utils.createElement` consistently

10 years agoSimplify `utils.createElement`
Simon Lydell [Sat, 14 Dec 2013 13:23:29 +0000 (14:23 +0100)]
Simplify `utils.createElement`

10 years agoMake mode entering consistent with find mode enter
Simon Lydell [Sat, 14 Dec 2013 12:07:05 +0000 (13:07 +0100)]
Make mode entering consistent with find mode enter

10 years agoAuto-focus findbar in find mode onInput
Simon Lydell [Sat, 14 Dec 2013 11:56:54 +0000 (12:56 +0100)]
Auto-focus findbar in find mode onInput

Now, if you unfocus the text input of the findbar, it will be
automatically focused again when you start typing. Before, nothing at all
happened (commands weren't run either), which felt really weird. This
reminds you that you're still in find mode, and need to press Enter or Esc
to exit from it.

10 years agoClean up find mode
Simon Lydell [Sat, 14 Dec 2013 12:17:50 +0000 (13:17 +0100)]
Clean up find mode

10 years agoSimplify command_esc findbar hiding
Simon Lydell [Sat, 14 Dec 2013 12:23:36 +0000 (13:23 +0100)]
Simplify command_esc findbar hiding

10 years agoRefix #115 after switching to built-in findbar
Simon Lydell [Sat, 14 Dec 2013 12:23:14 +0000 (13:23 +0100)]
Refix #115 after switching to built-in findbar

10 years agoCode Review comments per @lydell
Anton Khodakivskiy [Fri, 13 Dec 2013 12:00:59 +0000 (19:00 +0700)]
Code Review comments per @lydell

10 years agoBump minimum Firefox version to 25
Simon Lydell [Thu, 12 Dec 2013 19:15:41 +0000 (20:15 +0100)]
Bump minimum Firefox version to 25

Since we now use Firefox 25's built in find bar.

10 years agoThe previous two commits close #187, close #226
Anton Khodakivskiy [Tue, 10 Dec 2013 13:49:54 +0000 (20:49 +0700)]
The previous two commits close #187, close #226

10 years agoEnable highligh find mode with a/
Anton Khodakivskiy [Tue, 10 Dec 2013 09:29:57 +0000 (16:29 +0700)]
Enable highligh find mode with a/

10 years agoFind refactoring
Anton Khodakivskiy [Tue, 10 Dec 2013 05:17:15 +0000 (12:17 +0700)]
Find refactoring

10 years agoupdate new keys in README
Wang Zhuochun [Thu, 5 Dec 2013 15:10:53 +0000 (23:10 +0800)]
update new keys in README

10 years agoremove empty items in pattern
Wang Zhuochun [Thu, 5 Dec 2013 15:10:39 +0000 (23:10 +0800)]
remove empty items in pattern

10 years agoBump minimum requred Firefox version to 23. Closes #228
Anton Khodakivskiy [Thu, 5 Dec 2013 12:33:01 +0000 (19:33 +0700)]
Bump minimum requred Firefox version to 23. Closes #228

10 years agoMerge branch 'develop' of github.com:akhodakivskiy/VimFx into develop
Anton Khodakivskiy [Thu, 5 Dec 2013 12:31:41 +0000 (19:31 +0700)]
Merge branch 'develop' of github.com:akhodakivskiy/VimFx into develop

10 years agoget unicode preference
Wang Zhuochun [Tue, 3 Dec 2013 20:06:30 +0000 (04:06 +0800)]
get unicode preference

10 years agoadd pattern options in preferences
Wang Zhuochun [Tue, 3 Dec 2013 19:23:48 +0000 (03:23 +0800)]
add pattern options in preferences

10 years agoAdd command descriptions
Wang Zhuochun [Tue, 3 Dec 2013 18:48:19 +0000 (02:48 +0800)]
Add command descriptions

10 years agorefactoring code
Wang Zhuochun [Tue, 3 Dec 2013 18:47:24 +0000 (02:47 +0800)]
refactoring code

10 years agonavigate previous and next links
Wang Zhuochun [Tue, 3 Dec 2013 17:07:03 +0000 (01:07 +0800)]
navigate previous and next links

10 years agoMerge pull request #214 from mozillazg/zh-CN
Anton Khodakivskiy [Wed, 20 Nov 2013 17:12:12 +0000 (09:12 -0800)]
Merge pull request #214 from mozillazg/zh-CN

Update zh-CN localization

10 years agoMerge pull request #212 from sirodoht/develop
Anton Khodakivskiy [Wed, 20 Nov 2013 17:10:49 +0000 (09:10 -0800)]
Merge pull request #212 from sirodoht/develop

Update Greek locale

10 years agoMerge pull request #230 from aexaey/develop
Anton Khodakivskiy [Wed, 20 Nov 2013 17:10:05 +0000 (09:10 -0800)]
Merge pull request #230 from aexaey/develop

Add arrow keys to key-utils.coffee

10 years agoAdd arrow keys to key-utils.coffee
Aex Aey [Sat, 16 Nov 2013 00:38:29 +0000 (01:38 +0100)]
Add arrow keys to key-utils.coffee

10 years agoMerge branch 'zh-CN' of github.com:mozillazg/VimFx into zh-CN
Mozillazg [Sun, 10 Nov 2013 02:04:06 +0000 (10:04 +0800)]
Merge branch 'zh-CN' of github.com:mozillazg/VimFx into zh-CN

10 years agoUpdate zh-CN localization
Mozillazg [Mon, 7 Oct 2013 11:34:45 +0000 (19:34 +0800)]
Update zh-CN localization

10 years agoMerge pull request #215 from lydell/develop
Anton Khodakivskiy [Sun, 3 Nov 2013 07:52:38 +0000 (00:52 -0700)]
Merge pull request #215 from lydell/develop

Update shortcuts list in readme

10 years agoMerge pull request #218 from lydell/native-console
Anton Khodakivskiy [Sun, 3 Nov 2013 07:51:43 +0000 (00:51 -0700)]
Merge pull request #218 from lydell/native-console

Use Firefox 24+ native console API

10 years agoMerge pull request #216 from lydell/issue-213
Anton Khodakivskiy [Sun, 3 Nov 2013 07:46:24 +0000 (00:46 -0700)]
Merge pull request #216 from lydell/issue-213

Fix #213: Suppress logic bug

10 years agoRemove unnecessary code
Simon Lydell [Wed, 30 Oct 2013 16:05:38 +0000 (17:05 +0100)]
Remove unnecessary code

10 years agoAdd `.VimFxReset` class automatically
Simon Lydell [Sun, 27 Oct 2013 10:21:13 +0000 (11:21 +0100)]
Add `.VimFxReset` class automatically

10 years agoSimplify DOM manipulations
Simon Lydell [Sat, 26 Oct 2013 12:19:17 +0000 (14:19 +0200)]
Simplify DOM manipulations

10 years agoUse Firefox 24+ native console API
Simon Lydell [Sat, 26 Oct 2013 09:36:07 +0000 (11:36 +0200)]
Use Firefox 24+ native console API

10 years agoFix #213: Suppress logic bug
Simon Lydell [Fri, 25 Oct 2013 16:48:56 +0000 (18:48 +0200)]
Fix #213: Suppress logic bug

For example, if you press 'x' to close the current tab, it will close
before keyup fires. So keyup (and perhaps keypress) will fire in another
tab. Even if that particular tab is blacklisted, we must suppress the
event, so that 'x' isn't sent to the page. The rule is simple: If the
`suppress` flag is `true`, the event should be suppressed, no matter what.
It has the highest priority.

Previously, `vim.blacklisted` checks were performed even in keypress and
keyup, which caused the suppress to be ignored.

10 years agoUpdate shortcuts list in readme
Simon Lydell [Fri, 25 Oct 2013 15:12:23 +0000 (17:12 +0200)]
Update shortcuts list in readme

10 years agoUpdate zh-CN localization
Mozillazg [Mon, 7 Oct 2013 11:34:45 +0000 (19:34 +0800)]
Update zh-CN localization

10 years agochangelog update
Anton Khodakivskiy [Wed, 16 Oct 2013 18:42:27 +0000 (20:42 +0200)]
changelog update

10 years agoMerge branch 'release-0.5.3' into develop
Anton Khodakivskiy [Wed, 16 Oct 2013 15:50:44 +0000 (17:50 +0200)]
Merge branch 'release-0.5.3' into develop

10 years agoMerge branch 'release-0.5.3' 0.5.3
Anton Khodakivskiy [Wed, 16 Oct 2013 15:50:10 +0000 (17:50 +0200)]
Merge branch 'release-0.5.3'

10 years agoChangelog update
Anton Khodakivskiy [Wed, 16 Oct 2013 15:49:53 +0000 (17:49 +0200)]
Changelog update

10 years agoMerge branch 'release-0.5.3'
Anton Khodakivskiy [Mon, 14 Oct 2013 09:12:14 +0000 (11:12 +0200)]
Merge branch 'release-0.5.3'

10 years agoVersion bump, README update
Anton Khodakivskiy [Mon, 14 Oct 2013 09:08:35 +0000 (11:08 +0200)]
Version bump, README update

10 years agoAdded a note to the users about adding/removing shortcuts
Anton Khodakivskiy [Mon, 14 Oct 2013 09:05:31 +0000 (11:05 +0200)]
Added a note to the users about adding/removing shortcuts

10 years agoRemoved checkboxes from the Shortcuts dialog
Anton Khodakivskiy [Mon, 14 Oct 2013 07:43:15 +0000 (09:43 +0200)]
Removed checkboxes from the Shortcuts dialog

10 years agoMerge branch 'better-key-change-message' of git://github.com/zhuochun/VimFx into...
Anton Khodakivskiy [Sun, 13 Oct 2013 09:59:06 +0000 (11:59 +0200)]
Merge branch 'better-key-change-message' of git://github.com/zhuochun/VimFx into zhuochun-better-key-change-message

Conflicts:
extension/locale/ru/vimfx.properties

10 years agoRemoved obsulete strings, translated russian strings
Anton Khodakivskiy [Sun, 13 Oct 2013 09:56:42 +0000 (11:56 +0200)]
Removed obsulete strings, translated russian strings

10 years agoremove obsolete strings from localization files
Wang Zhuochun [Fri, 11 Oct 2013 17:51:06 +0000 (01:51 +0800)]
remove obsolete strings from localization files

10 years agoUpdate Greek locale
Theodore Keloglou [Wed, 9 Oct 2013 15:15:26 +0000 (18:15 +0300)]
Update Greek locale

10 years agolocal strings for other languages
Wang Zhuochun [Tue, 8 Oct 2013 09:08:54 +0000 (17:08 +0800)]
local strings for other languages

10 years agoAsk for overwriting existing shortcut
Wang Zhuochun [Tue, 8 Oct 2013 09:08:29 +0000 (17:08 +0800)]
Ask for overwriting existing shortcut

10 years agoremove unnecessary comma
Wang Zhuochun [Tue, 8 Oct 2013 09:05:15 +0000 (17:05 +0800)]
remove unnecessary comma

10 years agodisplay better shortcut conflict message
Wang Zhuochun [Tue, 8 Oct 2013 08:30:08 +0000 (16:30 +0800)]
display better shortcut conflict message

10 years agoMerge pull request #208 from lydell/proper-modes
Anton Khodakivskiy [Fri, 4 Oct 2013 16:42:46 +0000 (09:42 -0700)]
Merge pull request #208 from lydell/proper-modes

Proper modes last minute fixes

Imprint / Impressum