]> git.gir.st - VimFx.git/log
VimFx.git
4 years agoCleanups
Simon Lydell [Mon, 13 May 2019 06:32:28 +0000 (08:32 +0200)]
Cleanups

4 years agonew version (0.21.0)
girst [Sun, 12 May 2019 13:32:18 +0000 (15:32 +0200)]
new version (0.21.0)

4 years agoMerge remote-tracking branch 'upstream/master'
girst [Sun, 12 May 2019 13:25:02 +0000 (15:25 +0200)]
Merge remote-tracking branch 'upstream/master'

4 years agofix hintsmode clicking in ff56, squash some exceptions
girst [Sun, 12 May 2019 13:15:30 +0000 (15:15 +0200)]
fix hintsmode clicking in ff56, squash some exceptions

Some uses of the deprecated Array.func() syntax are, despite the browser
console telling us, not replacable by Array.prototype.func(). Also
silenced some exceptions that are expected.

4 years agoexplicitly import Services
girst [Sun, 12 May 2019 12:47:01 +0000 (14:47 +0200)]
explicitly import Services

This isn't loaded by default in Waterfox 68.0a1. Loading it in Firefox
56/64 does not interfere with anything.

4 years agoremove further remnants of devtools-integration
girst [Sun, 12 May 2019 12:40:21 +0000 (14:40 +0200)]
remove further remnants of devtools-integration

continued from 183cd23c3b65fb27873663c7e3cb97ef02f791b5
see also: http://bugzil.la/1461970

4 years agopartial fix for `eb'
girst [Sun, 12 May 2019 12:35:27 +0000 (14:35 +0200)]
partial fix for `eb'

the vbox#browser-panel element was removed and its children
(#navigator-toolbox, #content-deck, ...) are now direct descendants of
the <window> element.

This fix allows selecting and clicking on an item in the toolbar, but
any drop down menus that then appear aren't clickable.

5 years agoRemove links to VimFx on AMO
Simon Lydell [Fri, 30 Nov 2018 14:05:25 +0000 (15:05 +0100)]
Remove links to VimFx on AMO

Mozilla has removed all legacy addons, making the link a 404.

Fixes #931.

Unfortunately I don’t have access to remove it from the repo description
as well.

5 years agoCommands Follow link(s) in a new tab now work.
matsuhav [Mon, 1 Oct 2018 00:48:52 +0000 (09:48 +0900)]
Commands Follow link(s) in a new tab now work.

5 years agogetInterface(Ci.nsIDOMWindowUtils) doesn't work.
matsuhav [Mon, 1 Oct 2018 00:46:12 +0000 (09:46 +0900)]
getInterface(Ci.nsIDOMWindowUtils) doesn't work.

5 years agoSince developer tool bar was removed, this prevented Esc from working at
matsuhav [Mon, 1 Oct 2018 00:42:48 +0000 (09:42 +0900)]
Since developer tool bar was removed, this prevented Esc from working at
help dialog screen.

5 years agoMerge remote-tracking branch 'upstream/master'
matsuhav [Mon, 1 Oct 2018 00:08:23 +0000 (09:08 +0900)]
Merge remote-tracking branch 'upstream/master'

5 years agoAdd content variable back to frame scope. (#929)
Kevin Cox [Fri, 21 Sep 2018 20:14:10 +0000 (21:14 +0100)]
Add content variable back to frame scope. (#929)

This used to exist but was removed in recent versions of firefox. This
adds it back.

5 years agoVimFx v0.20.15 v0.20.15
Simon Lydell [Mon, 6 Aug 2018 05:40:44 +0000 (07:40 +0200)]
VimFx v0.20.15

5 years agoFix lint error
Simon Lydell [Mon, 6 Aug 2018 05:39:35 +0000 (07:39 +0200)]
Fix lint error

5 years agoutils getFindBar() returns a promise (#926)
matsuhav [Sun, 5 Aug 2018 15:11:54 +0000 (00:11 +0900)]
utils getFindBar() returns a promise (#926)

5 years agoutils getFindBar() returns a promise
matsuhav [Tue, 31 Jul 2018 14:09:12 +0000 (23:09 +0900)]
utils getFindBar() returns a promise

5 years agoVimFx v0.20.14 v0.20.14
Simon Lydell [Tue, 15 May 2018 20:05:46 +0000 (22:05 +0200)]
VimFx v0.20.14

5 years agoFix lint errors
Simon Lydell [Wed, 9 May 2018 16:51:51 +0000 (18:51 +0200)]
Fix lint errors

5 years agoUse require instead of Cu.import for devtools (#924)
Kevin Cox [Tue, 15 May 2018 20:02:21 +0000 (21:02 +0100)]
Use require instead of Cu.import for devtools (#924)

5 years agoFix findBar and DeveloperToolbar. (#920)
Kevin Cox [Wed, 9 May 2018 09:03:27 +0000 (10:03 +0100)]
Fix findBar and DeveloperToolbar. (#920)

getFindBar() was changed to return a promise: https://bugzil.la/1358815

window.DeveloperToolbar was removed: https://bugzil.la/1382661

5 years agoExport isXULDocument from utils and fix Ci.nsIDOMElement gone (#919)
依云 [Wed, 9 May 2018 05:47:05 +0000 (13:47 +0800)]
Export isXULDocument from utils and fix Ci.nsIDOMElement gone (#919)

bmo bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1455674
solution inpired by: https://bug1455674.bmoattachments.org/attachment.cgi?id=8971133

5 years agoVimFx v0.20.13 v0.20.13
Simon Lydell [Sun, 6 May 2018 11:41:30 +0000 (13:41 +0200)]
VimFx v0.20.13

5 years agoFix `gulp lint`
Simon Lydell [Sun, 6 May 2018 11:37:52 +0000 (13:37 +0200)]
Fix `gulp lint`

5 years agoGet rid of "<anonymous>" gulp tasks
Simon Lydell [Sun, 6 May 2018 11:17:04 +0000 (13:17 +0200)]
Get rid of "<anonymous>" gulp tasks

5 years agoFix "tasks did not complete" warnings
Simon Lydell [Sun, 6 May 2018 11:13:33 +0000 (13:13 +0200)]
Fix "tasks did not complete" warnings

5 years agoUse three digits for the gulp version
Simon Lydell [Sun, 6 May 2018 11:01:46 +0000 (13:01 +0200)]
Use three digits for the gulp version

5 years agoFix CoffeeScript deprecation warning
Simon Lydell [Sun, 6 May 2018 11:00:58 +0000 (13:00 +0200)]
Fix CoffeeScript deprecation warning

5 years agoUpdate to gulp 4 (#915)
Kevin Cox [Sun, 6 May 2018 10:53:17 +0000 (11:53 +0100)]
Update to gulp 4 (#915)

This fixes the build for Node.js 10.

5 years agoReplace XULTextBoxElement for Firefox 61 compatibility (#916)
Kevin Cox [Sat, 5 May 2018 10:13:32 +0000 (11:13 +0100)]
Replace XULTextBoxElement for Firefox 61 compatibility (#916)

It was removed: https://bugzilla.mozilla.org/show_bug.cgi?id=1456703

I replaced it with the same logic used when replacing it in
mozilla-central.

This file might be interesting to watch if future interfaces get
removed: https://dxr.mozilla.org/mozilla-central/source/dom/interfaces/xul/moz.build

6 years agoWork around changes introduced in upstream bug 888600 (#912)
Jan Kokemüller [Sat, 31 Mar 2018 14:23:09 +0000 (14:23 +0000)]
Work around changes introduced in upstream bug 888600 (#912)

6 years agoReplace removed nsIDOMXULDocument (#913)
依云 [Wed, 28 Mar 2018 18:35:58 +0000 (02:35 +0800)]
Replace removed nsIDOMXULDocument (#913)

6 years agoVimFx v0.20.12 v0.20.12
Simon Lydell [Tue, 23 Jan 2018 21:32:18 +0000 (22:32 +0100)]
VimFx v0.20.12

6 years agoRestore accidentally removed changelog entry
Simon Lydell [Tue, 23 Jan 2018 21:31:49 +0000 (22:31 +0100)]
Restore accidentally removed changelog entry

6 years agoMake nsIDOMUtils try-catch nicer
Simon Lydell [Tue, 23 Jan 2018 21:21:18 +0000 (22:21 +0100)]
Make nsIDOMUtils try-catch nicer

6 years agoRemove usage of -moz-document (#905)
依云 [Tue, 23 Jan 2018 21:17:47 +0000 (05:17 +0800)]
Remove usage of -moz-document (#905)

See https://bugzilla.mozilla.org/show_bug.cgi?id=1035091

Since all selectors are prefixed with a VimFx id this shouldn't cause any problems.

Closes #904.

6 years agoIgnore dom-utils if not available. (#909)
Kevin Cox [Tue, 23 Jan 2018 21:16:19 +0000 (21:16 +0000)]
Ignore dom-utils if not available. (#909)

This interface was removed from Firefox without replacement. Use it if
present otherwise silently do nothing.

Fixes #907

6 years agoUpdated es translation, some fixes and improvements (#908)
strel [Mon, 22 Jan 2018 06:50:18 +0000 (07:50 +0100)]
Updated es translation, some fixes and improvements (#908)

6 years agoVimFx v0.20.11 v0.20.11
Simon Lydell [Sun, 19 Nov 2017 16:22:24 +0000 (17:22 +0100)]
VimFx v0.20.11

6 years agosupport for nsPrefBranch::{get,set}StringPref() (#901)
依云 [Sun, 19 Nov 2017 16:16:56 +0000 (00:16 +0800)]
support for nsPrefBranch::{get,set}StringPref() (#901)

Firefox commit:

--8<--

Bug 1414096 (attempt 2) - Remove support for nsISupportsString values in nsPrefBranch::{get,set}ComplexValue(). r=florian.

Bug 1345294 introduced nsPrefBranch::{get,set}StringPref(), which allowed the
getting of utf8 strings from prefs, which previously required using
nsISupportsString with {get,set}ComplexValue. That bug also converted most
uses.

This patch finishes the job.

- It removes the nsISupportsString support.
- It converts existing code that relied on the nsISupportsString.
- It removes the lint that was set up to detect such uses of nsISupportsString.

-->8--

6 years agoUpdate readme and issue template
Simon Lydell [Thu, 16 Nov 2017 17:34:57 +0000 (18:34 +0100)]
Update readme and issue template

6 years agoMention more VimFx alternatives in README.md
Simon Lydell [Tue, 14 Nov 2017 21:33:44 +0000 (22:33 +0100)]
Mention more VimFx alternatives in README.md

6 years agoVimFx is now officially dead
Simon Lydell [Fri, 25 Aug 2017 06:59:59 +0000 (08:59 +0200)]
VimFx is now officially dead

6 years agoChange license to MIT
Simon Lydell [Thu, 24 Aug 2017 15:37:08 +0000 (17:37 +0200)]
Change license to MIT

6 years agoAdd package-lock.json
Simon Lydell [Fri, 25 Aug 2017 12:26:57 +0000 (14:26 +0200)]
Add package-lock.json

6 years agoUpdate dependencies
Simon Lydell [Fri, 25 Aug 2017 12:26:36 +0000 (14:26 +0200)]
Update dependencies

7 years agoTry to avoid linking all new issues to issue #860
Simon Lydell [Sat, 1 Apr 2017 09:44:37 +0000 (11:44 +0200)]
Try to avoid linking all new issues to issue #860

7 years agoMention testing in a new Firefox profile in the issue template
Simon Lydell [Sat, 1 Apr 2017 09:43:30 +0000 (11:43 +0200)]
Mention testing in a new Firefox profile in the issue template

Closes #882.

7 years agoVimFx v0.20.10 v0.20.10
Simon Lydell [Sat, 25 Mar 2017 15:17:28 +0000 (16:17 +0100)]
VimFx v0.20.10

7 years agoFix lint error
Simon Lydell [Sat, 25 Mar 2017 15:13:24 +0000 (16:13 +0100)]
Fix lint error

7 years agoFix `selectAllSubstringMatches` test
Simon Lydell [Sat, 25 Mar 2017 15:12:51 +0000 (16:12 +0100)]
Fix `selectAllSubstringMatches` test

7 years agoFix `vimfx.send` test
Simon Lydell [Sat, 25 Mar 2017 14:58:13 +0000 (15:58 +0100)]
Fix `vimfx.send` test

7 years agoRun `gulp sync-locales`
Simon Lydell [Sat, 25 Mar 2017 14:57:22 +0000 (15:57 +0100)]
Run `gulp sync-locales`

7 years agoUpdate devDependencies
Simon Lydell [Sat, 25 Mar 2017 14:57:00 +0000 (15:57 +0100)]
Update devDependencies

7 years agoUse `vim.markPageInteraction()` instead of direct mutation
Simon Lydell [Tue, 21 Mar 2017 20:25:23 +0000 (21:25 +0100)]
Use `vim.markPageInteraction()` instead of direct mutation

... of `vim.state.hasInteraction`.

7 years agoPrevent autofocus after 'popstate' events
Simon Lydell [Tue, 21 Mar 2017 20:21:50 +0000 (21:21 +0100)]
Prevent autofocus after 'popstate' events

Fixes #875.

7 years agoUpdate ja locale (#873)
pluser [Sat, 11 Mar 2017 09:04:44 +0000 (18:04 +0900)]
Update ja locale (#873)

7 years agoImprove documentation referring to the issue tracker
Simon Lydell [Wed, 22 Feb 2017 17:30:55 +0000 (18:30 +0100)]
Improve documentation referring to the issue tracker

7 years agoVimFx v0.20.9 v0.20.9
Simon Lydell [Tue, 21 Feb 2017 20:33:20 +0000 (21:33 +0100)]
VimFx v0.20.9

7 years agoUpdate copyright year
Simon Lydell [Tue, 21 Feb 2017 17:49:35 +0000 (18:49 +0100)]
Update copyright year

7 years agoUpdate devDependencies
Simon Lydell [Tue, 21 Feb 2017 16:08:24 +0000 (17:08 +0100)]
Update devDependencies

7 years agoFix the `yy` command in Reader View
Simon Lydell [Tue, 21 Feb 2017 15:57:30 +0000 (16:57 +0100)]
Fix the `yy` command in Reader View

Fixes #865.

7 years agoVimFx v0.20.8 v0.20.8
Simon Lydell [Sat, 14 Jan 2017 16:30:56 +0000 (17:30 +0100)]
VimFx v0.20.8

7 years agoUpdate documentation for scrolling commands
Simon Lydell [Sat, 14 Jan 2017 16:26:49 +0000 (17:26 +0100)]
Update documentation for scrolling commands

7 years agoUpdate copyright years
Simon Lydell [Sat, 14 Jan 2017 16:22:34 +0000 (17:22 +0100)]
Update copyright years

7 years agoUpdate devDependencies
Simon Lydell [Sat, 14 Jan 2017 16:21:12 +0000 (17:21 +0100)]
Update devDependencies

7 years agoScroll closest scrollable parent
Simon Lydell [Tue, 10 Jan 2017 06:53:00 +0000 (07:53 +0100)]
Scroll closest scrollable parent

If you click a tweet on Twitter, a modal with the tweet as well as
responses to it pop up. That modal can be scrollable if there are enough
responses. The container for the main tweet is focused. It feels very
natural that the _modal_ should scroll when using VimFx commands, not
the page behind it. That used not to be the case, but now is. This was
implemented by not just checking if the active element _itself_ is
scrollable, but also whether one of its _parents_ are scrollable, and
using the closest scrollable parent (if any).

7 years agoProperly remove frame scripts on shutdown
Simon Lydell [Mon, 9 Jan 2017 07:17:17 +0000 (08:17 +0100)]
Properly remove frame scripts on shutdown

7 years agoVimFx v0.20.7 v0.20.7
Simon Lydell [Sat, 7 Jan 2017 10:24:13 +0000 (11:24 +0100)]
VimFx v0.20.7

7 years agoUpdate copyright years
Simon Lydell [Sat, 7 Jan 2017 10:21:29 +0000 (11:21 +0100)]
Update copyright years

7 years agoUpdate devDependencies
Simon Lydell [Sat, 7 Jan 2017 10:19:40 +0000 (11:19 +0100)]
Update devDependencies

7 years agoFeature requests are not accepted
Simon Lydell [Sat, 7 Jan 2017 10:15:42 +0000 (11:15 +0100)]
Feature requests are not accepted

See #860.

7 years agoAdd ugly special-case for Google prev/next page
Simon Lydell [Sat, 7 Jan 2017 08:49:16 +0000 (09:49 +0100)]
Add ugly special-case for Google prev/next page

Refs. #836.

7 years agoAdd ugly special-case for Facebook's "emoji picker"
Simon Lydell [Sat, 7 Jan 2017 08:34:32 +0000 (09:34 +0100)]
Add ugly special-case for Facebook's "emoji picker"

Fixes #859.

7 years agoFind more elements for the `ef` command
Simon Lydell [Sat, 7 Jan 2017 08:04:43 +0000 (09:04 +0100)]
Find more elements for the `ef` command

This is basically a continuation of commit a3b2501c3:

> Recognize explicit `tabindex="-1"` elements as focusable

This is useful on Facebook, for example. See #859.

7 years agoFix typo in issue template
Simon Lydell [Fri, 30 Dec 2016 10:23:22 +0000 (11:23 +0100)]
Fix typo in issue template

7 years agoUpdate de locale for "select most recent tab" (#852)
Interleaved [Sat, 17 Dec 2016 17:44:19 +0000 (18:44 +0100)]
Update de locale for "select most recent tab" (#852)

7 years agoVimFx v0.20.6 v0.20.6
Simon Lydell [Fri, 16 Dec 2016 09:24:06 +0000 (10:24 +0100)]
VimFx v0.20.6

7 years agoUpdate devDependencies
Simon Lydell [Fri, 16 Dec 2016 09:17:43 +0000 (10:17 +0100)]
Update devDependencies

7 years agoAdd new de translator to PEOPLE.md
Simon Lydell [Fri, 16 Dec 2016 09:16:16 +0000 (10:16 +0100)]
Add new de translator to PEOPLE.md

7 years agoUpdate de locale (#845)
Interleaved [Fri, 16 Dec 2016 09:14:43 +0000 (10:14 +0100)]
Update de locale (#845)

* Update de translation for blacklist settings

Use word "Ausnahmen" ("Exception") for the blacklist description instead of using "Schwarze Liste". It could be considered to use "Exeptions" also for the english locale.

* Update de translation for auto activation

* Add more de translations

Tabs is also used mostly in german. Sometimes the word "Registerkarten" is used for that.

7 years agoProperly clean up `addOptionOverrides` and `addKeyOverrides`
Simon Lydell [Fri, 16 Dec 2016 09:12:43 +0000 (10:12 +0100)]
Properly clean up `addOptionOverrides` and `addKeyOverrides`

Fixes #849.

7 years agoFix the `'`, `g[` and `g]` commands crashing
Simon Lydell [Wed, 14 Dec 2016 16:25:34 +0000 (17:25 +0100)]
Fix the `'`, `g[` and `g]` commands crashing

Regression since commit d0d04fc44.

Fixes #848.

7 years agoRemove mentions of 1.0.0 in the documentation
Simon Lydell [Mon, 12 Dec 2016 06:44:59 +0000 (07:44 +0100)]
Remove mentions of 1.0.0 in the documentation

7 years agoFix `ef` failing to focus elements in deeply nested frames
Simon Lydell [Sun, 11 Dec 2016 14:22:47 +0000 (15:22 +0100)]
Fix `ef` failing to focus elements in deeply nested frames

7 years agoImprove hint marker position for multiline text
Simon Lydell [Sun, 11 Dec 2016 14:14:04 +0000 (15:14 +0100)]
Improve hint marker position for multiline text

7 years agoVimFx v0.20.5 v0.20.5
Simon Lydell [Sun, 4 Dec 2016 15:06:56 +0000 (16:06 +0100)]
VimFx v0.20.5

7 years agoUpdate devDependencies
Simon Lydell [Sun, 4 Dec 2016 15:00:40 +0000 (16:00 +0100)]
Update devDependencies

7 years agoFix tests in Firefox Nightly
Simon Lydell [Sun, 4 Dec 2016 14:48:04 +0000 (15:48 +0100)]
Fix tests in Firefox Nightly

Firefox have either moved the Assert.jsm module, or stopped exposing it.
I'm tired of that happening (it's not the first time), so I decided to
implement the small part of Assert.jsm that was actually used in VimFx's
test on my own. On the upside, this resulted in nicer error messages
when tests fail.

7 years agoImprove holding keys for scrolling by page
Simon Lydell [Sat, 3 Dec 2016 21:56:01 +0000 (22:56 +0100)]
Improve holding keys for scrolling by page

Fixes #843.

7 years agoValidate all config file API method arguments
Simon Lydell [Thu, 17 Nov 2016 18:29:08 +0000 (19:29 +0100)]
Validate all config file API method arguments

This provides a better user experience and also prevents VimFx from
crashing due to invalid arguments.

Fixes #837.

7 years agoVimFx v0.20.4 v0.20.4
Simon Lydell [Wed, 16 Nov 2016 20:55:14 +0000 (21:55 +0100)]
VimFx v0.20.4

7 years agoUpdate devDependencies
Simon Lydell [Wed, 16 Nov 2016 20:52:31 +0000 (21:52 +0100)]
Update devDependencies

7 years agoAlways place markers next to text if appropriate
Simon Lydell [Sun, 13 Nov 2016 16:47:19 +0000 (17:47 +0100)]
Always place markers next to text if appropriate

For example, the hint marker for buttons with centered text are now
placed just to the left of the text rather than at the left edge of
button. This is nice because it means that hint markers usually end up
where you were just reading.

7 years agoAdd compatibility with the Tab Center add-on/experiment
Simon Lydell [Sun, 13 Nov 2016 13:00:54 +0000 (14:00 +0100)]
Add compatibility with the Tab Center add-on/experiment

Fixes #834.

7 years agoBlur the location bar consistently
Simon Lydell [Wed, 9 Nov 2016 07:07:17 +0000 (08:07 +0100)]
Blur the location bar consistently

Refs. #831: Let's say you added the custom command that focuses the
location bar, sets its text to '% ' and opens the autocomplete popup.
You set the shortcut to `q`. If you then press `q<escape>`, you'll end
up with '% ' being left in the location bar. Usually, the location bar
is cleared when blurring it. This is because of that the autocomplete
popup is open. This commit makes sure to close the location bar
autocomplete popup before blurring, fixing the problem.

7 years agoFind `<label>` elements in the first pass for `f`
Simon Lydell [Tue, 8 Nov 2016 18:43:32 +0000 (19:43 +0100)]
Find `<label>` elements in the first pass for `f`

It is common to implement custom styled checkboxes and radiobuttons by
hiding the actual `<input>` element and style its `<label>` instead.
Therefore it makes sense to find them in the first pass, so you don't
have to wait for their labels so long. This does not seem to degrade the
performance of the first pass.

7 years agoImprove hints for the `eb` command
Simon Lydell [Mon, 7 Nov 2016 07:07:25 +0000 (08:07 +0100)]
Improve hints for the `eb` command

Tweak the hints for tab close buttons and non-tab elements. Continuation
aof commit d0cbbfd7.

7 years agoDon't reset highlighted hint markers in the second pass
Simon Lydell [Sun, 6 Nov 2016 20:56:32 +0000 (21:56 +0100)]
Don't reset highlighted hint markers in the second pass

When injecting hint markers for the second pass, do reset which hint
markers are visually highlighted (in case they change), but _don't_
reset the actual data. Regression since commit e70ab849.

7 years agoUpdate devDependencies
Simon Lydell [Sun, 6 Nov 2016 10:43:42 +0000 (11:43 +0100)]
Update devDependencies

Imprint / Impressum