]> git.gir.st - VimFx.git/log
VimFx.git
9 years agoEnter automatic insert mode when an element is fullscreen
Simon Lydell [Mon, 26 Jan 2015 18:49:49 +0000 (19:49 +0100)]
Enter automatic insert mode when an element is fullscreen

Such as `<video>` tags being in fullscreen.

9 years agoMerge pull request #451 from lydell/hints
Simon Lydell [Mon, 26 Jan 2015 16:38:13 +0000 (17:38 +0100)]
Merge pull request #451 from lydell/hints

WIP: Hints improvements

9 years agoDo not consider links without href as proper links
Simon Lydell [Mon, 26 Jan 2015 16:29:51 +0000 (17:29 +0100)]
Do not consider links without href as proper links

Links ending with a `#` (`<a href="#">`) as well as `javascript:` links are
already excluded, because they're used as buttons, not links. Links without href
at all (`<a>`) should be excluded too, since they are also used as buttons (for
example, the voting buttons on stackoverflow.com). If they're not excluded, all
such links get the same hint, even though all of them do different things
through JavaScript. Moreover, the 'F' and 'gF' commands would try to open them
in new tabs, which of course wouldn't work.

9 years agoMake upgrade to 0.6.0 notice more visible
Simon Lydell [Mon, 26 Jan 2015 16:04:30 +0000 (17:04 +0100)]
Make upgrade to 0.6.0 notice more visible

9 years agoMerge branch 'master' into develop
Simon Lydell [Mon, 26 Jan 2015 16:03:52 +0000 (17:03 +0100)]
Merge branch 'master' into develop

Conflicts:
README.md

9 years agoAdd missing issue reporting instruction
Simon Lydell [Mon, 26 Jan 2015 16:01:14 +0000 (17:01 +0100)]
Add missing issue reporting instruction

9 years agoUpdate readme
Simon Lydell [Tue, 20 Jan 2015 20:44:12 +0000 (21:44 +0100)]
Update readme

9 years agoLet simulated clicks bubble
Simon Lydell [Sun, 25 Jan 2015 20:19:40 +0000 (21:19 +0100)]
Let simulated clicks bubble

They used to, but it was lost in commit 1ee0208. This commit brings it back,
since many buttons are wired up using event delegation, which requires bubbling.

9 years agoAdd Tree Style Tab support for opening new tabs
Simon Lydell [Sun, 25 Jan 2015 19:39:52 +0000 (20:39 +0100)]
Add Tree Style Tab support for opening new tabs

Since commit 05d60dba5 we no longer open links in new tabs by simulating
ctrl-clicks on them, but instead use Firefox APIs. Before, the new tabs were
detected by the Tree Style Tab extension and opened as new children of the
current tab. After that commit new tabs opened as new _siblings_ after the
current tab instead. This commit opens new tabs as children again, by using the
public [Tree Style Tab API][tst-api].

[tst-api]: http://piro.sakura.ne.jp/xul/_treestyletab.html.en#api.

9 years agoMake scrollable elements markable
Simon Lydell [Sun, 25 Jan 2015 19:02:01 +0000 (20:02 +0100)]
Make scrollable elements markable

This is the first step at fixing #11. You can now focus scrollable elements and
use the arrow keys to scroll it (which is how Firefox works by default). The
next step is to make VimFx's scrolling commands able to scroll them.

9 years agoProvide `vim.state`
Simon Lydell [Sun, 25 Jan 2015 18:09:49 +0000 (19:09 +0100)]
Provide `vim.state`

Instead of just assigning random properties on `vim` objects (such as
`.blacklisted` and `.lastInteraction`) we now assign them to `vim.state`. This
way we can properly initialize those values when new `vim` objects are made, and
easily reset all of them when the URL changes (which means that the state
changes).

9 years agoFix #60: Give the same hint to links with the same URL
Simon Lydell [Sun, 25 Jan 2015 17:23:35 +0000 (18:23 +0100)]
Fix #60: Give the same hint to links with the same URL

This results in fewer hints, which results in shorter hints overall.

'vf' is excluded so that everything still is focusable.

`<a href="#">` links, which are commonly used as buttons, are excluded since
clicking them likely does different things via JavaScript.

`<a href="javascript:">` links are also excluded, mainly because
`<a href="javascript:void(0)">` is a commonly used as buttons as well.

9 years agoAdd hint marker support for XUL documents
Simon Lydell [Sun, 25 Jan 2015 15:29:06 +0000 (16:29 +0100)]
Add hint marker support for XUL documents

For example, hint markers may now be used in the Add-ons Manager or in
about:newtab (fixes #51).

9 years agoMake sure hint markers cannot be line-wrapped
Simon Lydell [Sun, 25 Jan 2015 12:52:30 +0000 (13:52 +0100)]
Make sure hint markers cannot be line-wrapped

9 years agoImprove automatic insert mode
Simon Lydell [Sat, 24 Jan 2015 17:05:46 +0000 (18:05 +0100)]
Improve automatic insert mode

- You can now use `<enter>` as a shortcut and still be able to press `<enter>`
  on a focused link or button to activate it (without running the command).
- You can now run commands when for example a radio button is focused, but still
  move the selection with the arrow keys.

9 years agoMove `rotateOverlappingMarkers()` into marker.coffee
Simon Lydell [Sat, 24 Jan 2015 16:05:36 +0000 (17:05 +0100)]
Move `rotateOverlappingMarkers()` into marker.coffee

It has nothing to do with hints, but much to do with markers.

9 years agoImprove markable elements matching
Simon Lydell [Sat, 24 Jan 2015 15:41:38 +0000 (16:41 +0100)]
Improve markable elements matching

- Each 'f' command now gets its own set of markable elements. For example, it
  does not make sense to open a button in a new tab.
- The above made it really easy to fix #227: Add 'gf' to follow link in new
  foreground/focused tab.
- Links are now opened in new tabs using Firefox APIs instead of simulating
  ctrl-clicks on the links. This is more reliable (and required in order to
  implement the above point).
- XPath is no longer used. Instead, every element in every frame of the page is
  checked with code. This might sound expensive, but it isn't since that's what
  the XPath matcher needs to do behind the scenes anyway. The benefit of doing
  it with code is that we can do more advanced checks (see below), and no
  information is lost along the way: For example, whether or not an element is
  considered "semantic" is saved, instead of needing to be re-calculated
  afterwards.
- The above fixes #320 in a better way than what was already done in commit
  016574212: Elements that have "button" in their class now must not contain an
  `<a>` or `<button>` element, so a marker for a "button-wrapper" is likely not
  even made and therefore cannot cover the real button inside.
- The above also significantly reduced the number of hints on reddit.com, which
  made the all hints shorter.
- While at it, I implemented #450: 'vf' now selects the contents of text inputs.

9 years agoCorrectly determine viewport size
Simon Lydell [Sat, 24 Jan 2015 13:40:35 +0000 (14:40 +0100)]
Correctly determine viewport size

The old method was wrong and caused no hint to show up when viewing an image
directly to toggle zoom on it.

Moreover, if a page would have a very small height and a link absolutely
positioned below that height (but still inside the viewport) that link would not
get a hint either.

These two have been fixed.

9 years agoSimplify hint matching
Simon Lydell [Sat, 24 Jan 2015 00:20:38 +0000 (01:20 +0100)]
Simplify hint matching

Just like normal mode keeps track of the entered keys, hints mode now also keeps
track of the entered keys (chars), instead of letting each marker do it. The
markers now only keep track of themselves; how much they are matched.

9 years agoPut markers in the browser chrome
Simon Lydell [Fri, 23 Jan 2015 22:36:35 +0000 (23:36 +0100)]
Put markers in the browser chrome

Instead of inside the current page. Specifically, the markers are now inserted
at the same place as `alert()` dialogs are. This has a number of advantages:

- We don't need to fight the `z-index`es of the page. The markers will now
  always be on top.
- We don't need to fight any other styling of the page. No reset rules needed.
  The markers will look the same regardless of what page you view.
- The above point means that we can drop `!important` from all declarations.
  This makes it easier to change the styling of the markers using userChrome.css
  or Stylish.
- Just like you cannot interact with the page (such as scrolling) while an
  `alert()` dialog is visible, you cannot interact with the page when hints are
  visible. For example you can no longer scroll, making the hints out of place.

9 years agoMove lib/mode-hints/* directly into lib/
Simon Lydell [Fri, 23 Jan 2015 20:33:12 +0000 (21:33 +0100)]
Move lib/mode-hints/* directly into lib/

lib/mode-hints/mode-hints.coffee was very short and fit really well into
lib/modes.coffee. Then there were only two files left in the lib/mode-hints
directory: hints.coffee and marker.coffee, which made that directory not feeling
warranted anymore. Besides, marker.coffee could be refactored into a more
general marker abstraction that could be used for other things than hints as
well.

9 years agoRemove bloomfilter
Simon Lydell [Fri, 23 Jan 2015 20:21:52 +0000 (21:21 +0100)]
Remove bloomfilter

The bloomfilter can run out of space, and actually does so pretty quickly:
See #176. When it is full it is not of any help anymore. All it does then is
unconditionally giving better hints to `<a>` elements. But since commit 01657421
that is done in a better way.

In summary, the bloomfilter is not useful anymore.

9 years agoGive better hints to semantic elements than unsemantic ones
Simon Lydell [Fri, 23 Jan 2015 20:01:57 +0000 (21:01 +0100)]
Give better hints to semantic elements than unsemantic ones

On reddit, each post wrapper has an `onclick` attribute, which makes it
markable. Of course the wrapper has larger area than anything inside of it. This
causes it to get a larger weight than the post title link. The title link is
what the user reads and wants to click, not the entire wrapper. Therefore it
should get a better hint.

There are other similar examples as well. Unsemantic elements (such as those
with `on*` properties, or those whose class contains "button") need to be able
to be clicked, but semantic ones (such as anchors, buttons and form elements)
should be favored.

This commit also fixes #320: Sometimes button elements are wrapped in a div with
a class such as "button-wrapper". Because that contains "button" the wrapper
element gets a marker as well, even though it cannot be clicked. Since it wraps
the actual button it naturally gets a larger weight and therefore a higher
z-index, which makes it overlap the marker for the clickable button. Now,
semantic elements get their z-indexes assigned _after_ the unsemantic ones
instead, which makes them go on top.

9 years agoAdd missing null check for computed style in hints.coffee
Simon Lydell [Fri, 23 Jan 2015 18:08:37 +0000 (19:08 +0100)]
Add missing null check for computed style in hints.coffee

Just like commit a0c72d1:

> Fix #447: Regression: Hints generation crashes
>
> Commit e1497ee accidentally removed the null check for `.getComputedStyle()` in
> isElementVisible. This commit adds it back.

9 years agoUpgrade n-ary-huffman to 2.1
Simon Lydell [Fri, 23 Jan 2015 18:04:10 +0000 (19:04 +0100)]
Upgrade n-ary-huffman to 2.1

This brings performance improvements.

9 years agoMerge branch 'develop' of github.com:akhodakivskiy/VimFx into develop
Simon Lydell [Fri, 23 Jan 2015 16:44:22 +0000 (17:44 +0100)]
Merge branch 'develop' of github.com:akhodakivskiy/VimFx into develop

9 years agoMerge branch 'master' into develop
Simon Lydell [Fri, 23 Jan 2015 16:43:56 +0000 (17:43 +0100)]
Merge branch 'master' into develop

Conflicts:
CHANGELOG.md
extension/install.rdf

9 years agoTL;DR-ize the Reporting issues section in CONTRIBUTING.md
Simon Lydell [Fri, 23 Jan 2015 16:11:06 +0000 (17:11 +0100)]
TL;DR-ize the Reporting issues section in CONTRIBUTING.md

So people actually read it.

9 years agoVimFx v0.5.17 v0.5.17
Simon Lydell [Fri, 23 Jan 2015 15:56:53 +0000 (16:56 +0100)]
VimFx v0.5.17

9 years agoFix #447: Regression: Hints generation crashes
Simon Lydell [Fri, 23 Jan 2015 15:53:09 +0000 (16:53 +0100)]
Fix #447: Regression: Hints generation crashes

Commit e1497ee accidentally removed the null check for `.getComputedStyle()` in
isElementVisible. This commit adds it back.

9 years agoMerge pull request #449 from TheGreenHabi/patch-1
Simon Lydell [Fri, 23 Jan 2015 11:44:54 +0000 (12:44 +0100)]
Merge pull request #449 from TheGreenHabi/patch-1

Changed c-escape to s-escape

9 years agoChanged c-escape to s-escape
TheGreenHabi [Fri, 23 Jan 2015 10:30:32 +0000 (12:30 +0200)]
Changed c-escape to s-escape

Changed keyboard shortcut of __Insert Mode - Return to Normal__ mode from old _c-escape_ to _s-escape_

9 years agoMerge branch 'master' into develop
Simon Lydell [Thu, 22 Jan 2015 16:12:00 +0000 (17:12 +0100)]
Merge branch 'master' into develop

Conflicts:
CHANGELOG.md
extension/install.rdf

9 years agoVimFx v0.5.16 v0.5.16
Simon Lydell [Thu, 22 Jan 2015 16:03:26 +0000 (17:03 +0100)]
VimFx v0.5.16

9 years agoFix #392: Get vim instance properly onlocationchange
Simon Lydell [Tue, 20 Jan 2015 21:34:31 +0000 (22:34 +0100)]
Fix #392: Get vim instance properly onlocationchange

9 years agoFix #441: Change default exit insert mode shortcut
Simon Lydell [Wed, 21 Jan 2015 20:08:13 +0000 (21:08 +0100)]
Fix #441: Change default exit insert mode shortcut

We used to have `<c-escape>`, but that conflicts with a standard Windows
keyboard shorcut. Now we use `<s-escape>` instead.

9 years agoShow actual exit shortcuts in button insert mode tooltip
Simon Lydell [Wed, 21 Jan 2015 20:04:46 +0000 (21:04 +0100)]
Show actual exit shortcuts in button insert mode tooltip

9 years agoMerge branch 'master' into develop
Simon Lydell [Wed, 21 Jan 2015 19:51:46 +0000 (20:51 +0100)]
Merge branch 'master' into develop

Conflicts:
CHANGELOG.md
extension/install.rdf
extension/lib/commands.coffee

9 years agoVimFx v0.5.15 v0.5.15
Simon Lydell [Wed, 21 Jan 2015 19:28:57 +0000 (20:28 +0100)]
VimFx v0.5.15

9 years agoMake 0.5.x forwards-compatible with 0.6.0
Simon Lydell [Wed, 21 Jan 2015 19:10:03 +0000 (20:10 +0100)]
Make 0.5.x forwards-compatible with 0.6.0

With this commit it will be safe to downgrade from 0.6.0. The new shortcut
format in 0.6.0 will no longer cause VimFx to crash.

9 years agoFix broken Customize button in options page
Simon Lydell [Tue, 20 Jan 2015 21:36:19 +0000 (22:36 +0100)]
Fix broken Customize button in options page

9 years agoFix #392: Get vim instance properly onlocationchange
Simon Lydell [Tue, 20 Jan 2015 21:34:31 +0000 (22:34 +0100)]
Fix #392: Get vim instance properly onlocationchange

9 years agoFix broken Keyboard Shortcuts button menu item
Simon Lydell [Tue, 20 Jan 2015 21:10:59 +0000 (22:10 +0100)]
Fix broken Keyboard Shortcuts button menu item

9 years agoUpdate localization instructions
Simon Lydell [Tue, 20 Jan 2015 20:55:46 +0000 (21:55 +0100)]
Update localization instructions

9 years agoLink to the changelog from readme and contributions guide
Simon Lydell [Tue, 20 Jan 2015 20:53:09 +0000 (21:53 +0100)]
Link to the changelog from readme and contributions guide

This is to prevent people from opening issues about backwards-incompatible
changes in the upcoming release.

9 years agoUpdate readme
Simon Lydell [Tue, 20 Jan 2015 20:44:12 +0000 (21:44 +0100)]
Update readme

9 years agoSync command descriptions in readme with en-US locale
Simon Lydell [Tue, 20 Jan 2015 20:29:01 +0000 (21:29 +0100)]
Sync command descriptions in readme with en-US locale

9 years agoUpdate commands in readme
Simon Lydell [Tue, 20 Jan 2015 20:18:57 +0000 (21:18 +0100)]
Update commands in readme

9 years agoAdd quote command
Simon Lydell [Tue, 20 Jan 2015 20:17:54 +0000 (21:17 +0100)]
Add quote command

9 years agoClean up sv-SE locale
Simon Lydell [Tue, 20 Jan 2015 19:57:38 +0000 (20:57 +0100)]
Clean up sv-SE locale

9 years agoClean up en-US locale
Simon Lydell [Tue, 20 Jan 2015 19:47:43 +0000 (20:47 +0100)]
Clean up en-US locale

9 years agoFix awkward wording for an error message
Simon Lydell [Tue, 20 Jan 2015 19:30:18 +0000 (20:30 +0100)]
Fix awkward wording for an error message

9 years agoMerge branch 'lindhe-swedish' into develop
Simon Lydell [Tue, 20 Jan 2015 19:27:15 +0000 (20:27 +0100)]
Merge branch 'lindhe-swedish' into develop

9 years agoUpdate sv-SE locale
Simon Lydell [Tue, 20 Jan 2015 19:26:27 +0000 (20:26 +0100)]
Update sv-SE locale

9 years agoCreated a Swedish translation
Andreas Lindhé [Sat, 17 Jan 2015 01:13:33 +0000 (02:13 +0100)]
Created a Swedish translation

Most of it is correct, some minor details are a bit awkward but that's
mostly because not all technical terms ("web terms") has a proper
Swedish translation.

9 years agoUpdate commands in readme
Simon Lydell [Mon, 19 Jan 2015 16:27:24 +0000 (17:27 +0100)]
Update commands in readme

9 years agoRemove alt-shift-v shortcut to toggle VimFx
Simon Lydell [Mon, 19 Jan 2015 16:12:03 +0000 (17:12 +0100)]
Remove alt-shift-v shortcut to toggle VimFx

It has always worked inreliably and cannot be customized. It is better to use
insert mode.

Closes #64. Closes #432.

9 years agoDon't prevent autofocus in insert mode
Simon Lydell [Mon, 19 Jan 2015 16:02:07 +0000 (17:02 +0100)]
Don't prevent autofocus in insert mode

This makes insert mode mostly equivalent to disabling VimFx.

9 years agoFix #389: Make sure autofocus prevention does not cause infinite loops
Simon Lydell [Sun, 18 Jan 2015 20:59:02 +0000 (21:59 +0100)]
Fix #389: Make sure autofocus prevention does not cause infinite loops

9 years agoMerge branch 'master' into develop
Simon Lydell [Sun, 18 Jan 2015 20:44:08 +0000 (21:44 +0100)]
Merge branch 'master' into develop

Conflicts:
extension/locale/pl/options.dtd
extension/locale/pl/vimfx.properties

9 years agoRemove '(needs translation)' from translations
Simon Lydell [Sun, 18 Jan 2015 20:38:22 +0000 (21:38 +0100)]
Remove '(needs translation)' from translations

9 years agoAllow shortcuts in other modes to be customized
Simon Lydell [Sun, 18 Jan 2015 20:29:42 +0000 (21:29 +0100)]
Allow shortcuts in other modes to be customized

Fixes #390.

This also changes the default shortcut for exiting insert mode to <c-escape>,
which fixes #375 and fixes #222.

9 years agoFix #396: Use `<link rel=prev/next>` for [ and ] commands
Simon Lydell [Sun, 18 Jan 2015 17:11:35 +0000 (18:11 +0100)]
Fix #396: Use `<link rel=prev/next>` for [ and ] commands

Commit 52974ef says:

> 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.

But that's wrong. `<link rel=prev/next>` is actually a _better_ candidate for
the previous or next page than looking for a link to them.

9 years agoAdd unicode support to allow string prefs
Simon Lydell [Sun, 18 Jan 2015 16:53:49 +0000 (17:53 +0100)]
Add unicode support to allow string prefs

Fixes #433 and potential similar issues for other prefs in the future.

9 years agoAdd new commands to readme
Simon Lydell [Sun, 18 Jan 2015 16:25:48 +0000 (17:25 +0100)]
Add new commands to readme

9 years agoAllow to customize the autofocus limit
Simon Lydell [Sun, 18 Jan 2015 16:23:15 +0000 (17:23 +0100)]
Allow to customize the autofocus limit

9 years agoMake shortcut prefs reading more robust
Simon Lydell [Sun, 18 Jan 2015 16:11:16 +0000 (17:11 +0100)]
Make shortcut prefs reading more robust

Now VimFx doesn't crash if one of them is invalid JSON.

9 years agoMerge pull request #438 from lydell/vim-like-keys
Simon Lydell [Sun, 18 Jan 2015 15:03:30 +0000 (16:03 +0100)]
Merge pull request #438 from lydell/vim-like-keys

Fix #249: Support other keyboard layouts than en-US

9 years agoFix #249: Support other keyboard layouts than en-US
Simon Lydell [Sat, 17 Jan 2015 23:22:53 +0000 (00:22 +0100)]
Fix #249: Support other keyboard layouts than en-US

This uses lydell/vim-like-key-notation. The old notation is supported too, for
backwards compatibility: Old customizations still work, and continue to work if
the user downgrades.

This also fixes #266.

9 years agoMerge pull request #439 from mozillazg/patch-1
Simon Lydell [Sun, 18 Jan 2015 07:23:10 +0000 (08:23 +0100)]
Merge pull request #439 from mozillazg/patch-1

Update zh-CN localization

9 years agoUpdate zh-CN localization
mozillazg [Sun, 18 Jan 2015 03:21:41 +0000 (11:21 +0800)]
Update zh-CN localization

9 years agoMerge pull request #437 from morethanoneanimal/polishTranslationUpdate
Simon Lydell [Sat, 17 Jan 2015 22:18:56 +0000 (23:18 +0100)]
Merge pull request #437 from morethanoneanimal/polishTranslationUpdate

Polish translation update

9 years agounnecessary comment removed
MoreThanOneAnimal [Sat, 17 Jan 2015 21:37:43 +0000 (22:37 +0100)]
unnecessary comment removed

9 years agoPolish translation update
MoreThanOneAnimal [Sat, 17 Jan 2015 21:27:56 +0000 (22:27 +0100)]
Polish translation update

9 years agoMerge branch 'zhuochun-more-tab-related-commands' into develop
Simon Lydell [Sat, 17 Jan 2015 16:41:19 +0000 (17:41 +0100)]
Merge branch 'zhuochun-more-tab-related-commands' into develop

9 years agoAdd default shortcuts to new commands
Simon Lydell [Sat, 17 Jan 2015 16:38:06 +0000 (17:38 +0100)]
Add default shortcuts to new commands

- Toggle pin tab: gp (go pin)
- Duplicate tab: yt (yank tab, same as Vimium)
- Close tabs to the right: gx$ (like g$ (go to last tab), but with an x in it as
  in "remove it!")
- Close other tabs: gxa (similar to gx$, go close tabs around the current)

9 years agoMerge branch 'more-tab-related-commands' of https://github.com/zhuochun/VimFx into...
Simon Lydell [Sat, 17 Jan 2015 16:35:24 +0000 (17:35 +0100)]
Merge branch 'more-tab-related-commands' of https://github.com/zhuochun/VimFx into zhuochun-more-tab-related-commands

9 years agoFix #382: Support 'selection' clipboard
Simon Lydell [Sat, 17 Jan 2015 16:19:25 +0000 (17:19 +0100)]
Fix #382: Support 'selection' clipboard

Supersedes #397. The p and P commands now use either the selection clipboard or
the global clipboard, whichever was used last or is supported by the OS. This is
a slightly breaking change since we used to only use the global clipboard, but
I've used this new behavior and it doesn't bother me. Morever, it is how
Pentadactyl works, and how the built-in `readFromClipboard()` function works.

9 years agoRemove specific key blacklist help text
Simon Lydell [Sat, 17 Jan 2015 16:01:15 +0000 (17:01 +0100)]
Remove specific key blacklist help text

It will be an advanced feature for advanced users, added temporarily until the
configuration file is done.

9 years agoMerge branch 'blacklist-keys' of https://github.com/harsh1618/VimFx into harsh1618...
Simon Lydell [Sat, 17 Jan 2015 15:57:08 +0000 (16:57 +0100)]
Merge branch 'blacklist-keys' of https://github.com/harsh1618/VimFx into harsh1618-blacklist-keys

9 years agoMerge branch 'master' into develop
Simon Lydell [Sun, 14 Dec 2014 20:21:04 +0000 (21:21 +0100)]
Merge branch 'master' into develop

Conflicts:
extension/locale/de/vimfx.properties

9 years agoMerge branch 'develop' of github.com:akhodakivskiy/VimFx into develop
Simon Lydell [Sun, 14 Dec 2014 16:33:32 +0000 (17:33 +0100)]
Merge branch 'develop' of github.com:akhodakivskiy/VimFx into develop

9 years agoRemove legacy tests dir
Simon Lydell [Tue, 9 Dec 2014 18:45:17 +0000 (19:45 +0100)]
Remove legacy tests dir

9 years agoAdd unit tests infrastructure
Simon Lydell [Tue, 9 Dec 2014 18:44:26 +0000 (19:44 +0100)]
Add unit tests infrastructure

9 years agoAlways remove build/ and build from scratch
Simon Lydell [Sun, 7 Dec 2014 10:20:49 +0000 (11:20 +0100)]
Always remove build/ and build from scratch

This is way simpler. The only reason not to do it is speed. But for this project
there was no difference!

9 years agoConfigure coffeelint and fix lint errors
Simon Lydell [Sun, 7 Dec 2014 00:00:32 +0000 (01:00 +0100)]
Configure coffeelint and fix lint errors

9 years agoMake `require` more like Node.js
Simon Lydell [Sat, 6 Dec 2014 22:42:32 +0000 (23:42 +0100)]
Make `require` more like Node.js

- Add support for `module.exports`.
- Add support for npm modules in `require()`. Note the following differences
  with Node’s `require()` though:
  - Only `require(path)` is supported, not `require.resolve()` or related
    `module` properties etc.
  - Absolute paths (`/foo/bar.js`) are not supported.
  - Only JavaScript files may be required (not JSON files, for example). Paths
    must not end with `.js`.

Moreover:

- `module.onShutdown(handler)` is used instead of
  `require('unloader').unloader.add(handler)`.
- bootstrap.coffee has been cleaned up. I had a lot of help from looking at
  <https://github.com/adblockplus/buildtools/blob/7a305df14bf3d26ff559f06082b87ff7cff4b3b8/bootstrap.js.tmpl>
- `extension/packages/` has been renamed to the more Node-style
  `extension/lib/`.
- The huffman module has become its own repository, and is now `npm install`ed.

9 years agoAdd gulp release task
Simon Lydell [Thu, 4 Dec 2014 20:43:02 +0000 (21:43 +0100)]
Add gulp release task

9 years agoReformat changelog
Simon Lydell [Thu, 4 Dec 2014 19:13:29 +0000 (20:13 +0100)]
Reformat changelog

9 years agoCleanup .gitignore
Simon Lydell [Thu, 4 Dec 2014 17:43:11 +0000 (18:43 +0100)]
Cleanup .gitignore

9 years agoGenerate install.rdf and chrome.manifest
Simon Lydell [Wed, 3 Dec 2014 21:33:08 +0000 (22:33 +0100)]
Generate install.rdf and chrome.manifest

9 years agoReplace Makefile with gulp
Simon Lydell [Tue, 2 Dec 2014 17:39:31 +0000 (18:39 +0100)]
Replace Makefile with gulp

9 years agoMerge branch 'master' of github.com:akhodakivskiy/VimFx
Simon Lydell [Thu, 4 Dec 2014 17:39:53 +0000 (18:39 +0100)]
Merge branch 'master' of github.com:akhodakivskiy/VimFx

9 years agoRemove builds/ dir
Simon Lydell [Thu, 4 Dec 2014 17:38:43 +0000 (18:38 +0100)]
Remove builds/ dir

Github releases are used instead. All the XPIs are available at
<https://github.com/akhodakivskiy/VimFx/releases>.

9 years agoMerge pull request #426 from mineo/patch-1
Anton Khodakivskiy [Thu, 4 Dec 2014 00:34:35 +0000 (16:34 -0800)]
Merge pull request #426 from mineo/patch-1

Fix a typo

9 years agoFix a typo
Wieland Hoffmann [Wed, 3 Dec 2014 23:25:11 +0000 (00:25 +0100)]
Fix a typo

9 years agofix: make sure vim.blacklistedKeys is defined
Harshvardhan Sharma [Sun, 30 Nov 2014 02:23:52 +0000 (07:53 +0530)]
fix: make sure vim.blacklistedKeys is defined

9 years agoUpdated locale with blacklisting help
Harshvardhan Sharma [Sat, 29 Nov 2014 18:26:44 +0000 (23:56 +0530)]
Updated locale with blacklisting help

9 years agosupport for blacklisting specific keys
Harshvardhan Sharma [Sat, 29 Nov 2014 18:09:05 +0000 (23:39 +0530)]
support for blacklisting specific keys

This change allows users to blacklist only some keys on a website.
These keys are not suppressed and the corresponding VimFx command is not executed.
Blacklist rules can now be of the form `<pattern>##<keyString1>#<keyString2>`.
Existing rules not using this syntax will continue to work.

9 years agoMerge pull request #415 from mozillazg/zh-CN
Simon Lydell [Thu, 13 Nov 2014 17:02:13 +0000 (18:02 +0100)]
Merge pull request #415 from mozillazg/zh-CN

Update zh-CN localization

Imprint / Impressum