]> git.gir.st - VimFx.git/log
VimFx.git
4 years agoVimFx v0.23.2 v0.23.2
girst [Sun, 5 Jan 2020 21:07:58 +0000 (22:07 +0100)]
VimFx v0.23.2

4 years agoMake options section headings bold
girst [Thu, 2 Jan 2020 01:33:43 +0000 (02:33 +0100)]
Make options section headings bold

4 years agoFix race condition on options page
girst [Thu, 2 Jan 2020 00:17:51 +0000 (01:17 +0100)]
Fix race condition on options page

If the browser gets restarted with options.xhtml focused, vimfx.info
will be undefined (vimfx.info gets loaded asynchronically)

4 years agoIgnore error thrown by dispatchDOMEvent
girst [Tue, 31 Dec 2019 16:44:37 +0000 (17:44 +0100)]
Ignore error thrown by dispatchDOMEvent

Triggered e.g. by `f`-ing on an extension card's description/title. The
click still registers, so it's just noise in the log. This bug is
present in all supported versions (at least 68..73), but unlikely to be
fixed, as it is "only" a testing function (and we're not supposed to use
it).
NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIDOMWindowUtils.dispatchDOMEventViaPresShellForTesting]

4 years agoClean up some shims for <fx63
girst [Fri, 27 Dec 2019 05:09:54 +0000 (06:09 +0100)]
Clean up some shims for <fx63

nsIDomUtils was removed in fx59 (Bug 1427419 - Part 27). Others found
through
  grep -nrwE '\b(fx|waterfox|mozilla) ?(5[0-9]|6[0-7])' extension

4 years agoRemove last isXULDocument() references
girst [Fri, 27 Dec 2019 01:09:05 +0000 (02:09 +0100)]
Remove last isXULDocument() references

== commands.follow ==
On XUL pages/windows, <body> does not exist (hence the check was put
in), but is `null`, so can be safely compared against (and the check can
be omitted).

== helper_follow ==
Since the last war on isXULDocument, the namespace has in many cases
been moved from the document root to a descendant (e.g. to <body> on
about:preferences in fx73). This means that the isXULDocument call often
isn't triggered when it should.
Coincidentally, most XULElements are recognized, either due to them
being implemented as a custom element containing a recognized element or
by their tag name being identical to a recognized one. The only
exception is <xul:label is="text-link">, which needed special handling
in commands.follow_in_tab().

4 years agos/dispatchDOMEventViaPresShell/&ForTesting/
girst [Tue, 24 Dec 2019 14:25:39 +0000 (15:25 +0100)]
s/dispatchDOMEventViaPresShell/&ForTesting/

regressed by: fx73; Bug 1603074

the 3rd parameter was removed in fx62 (Bug 1455676), which we don't support
any more, so that was pruned as well.

4 years agoVimFx v0.23.1 v0.23.1
girst [Thu, 5 Dec 2019 20:31:22 +0000 (21:31 +0100)]
VimFx v0.23.1

4 years agoupdate "vulnerable" packages
girst [Thu, 5 Dec 2019 20:06:52 +0000 (21:06 +0100)]
update "vulnerable" packages

vi package.json && npm install && npm audit fix && git commit -A

to make this new github bot shut up, hopefully. none of these packages
are included in the final xpi, and the build doesn't change, so it
doesn't matter either way. the addon-linter package was fixed to 0.24.0,
which is the last version that supports install.rdf without throwing a
warning.

4 years agoreplace imported ContentClick module with stub
girst [Mon, 2 Dec 2019 14:36:43 +0000 (15:36 +0100)]
replace imported ContentClick module with stub

The module was replaced at the very end of the 72 cycle with
ClickHandlerParent.jsm, which made contentAreaClick non-static. It would
have been technically possible to just ship the old module with either
VimFx or LegacFox, but since it is so small and it was replaced to
support Fission, it seemed better to extract the relevant parts of the
method and just inline them. We'll need to keep it up-to-date either
way.
Note that despite this we are _not_ fission compatible; when a 3rd-party
iframe is present, hints mode breaks.

Regressed by: Bug 1595155

4 years agofix 'modifiers is null' TypeError
girst [Sun, 1 Dec 2019 20:23:28 +0000 (21:23 +0100)]
fix 'modifiers is null' TypeError

element.getAttribute() might return null, while
xulElement.getAttribute() returns the empty string. the latter is
expected by the implementation. Since fx71, the main window is now an
HTMLDocument instead of a XULDocument, causing the breakage.

See also: commitmsg of 1791f889

4 years agoRemove misuse of isXULDocument()
girst [Sun, 1 Dec 2019 17:57:09 +0000 (18:57 +0100)]
Remove misuse of isXULDocument()

A new isXULElement() has been introduced as a replacement for improper
use of isXULDocument() (where the latter was used to indirectly check
the former). isXULDocument() only works if the xul-xmlns is attached to
the document as its main namespace, which is not the case e.g. on fx72's
about:preferences#sync (the test for which now uses isXULElement).

The test in isProperLink() actually wants to know if an element belongs
to the XUL namespace, not if it is embedded in a document of that NS
(to treat <xul:label is="text-link"> element equivalent to <html:a>).

The blurring condition in events-frame.coffee was introduced in e881629
for about:config, but that does not work any more and is also annoying
on :prefs (and was again an indirect test for what was actually wanted).

In commands-frame.coffee's commands.follow(), two of the three uses of
isXULDocument have been replaced by the proper isXULElement, the third
one is likely to be correct (as there isn't a <body> on xul-<window>s).

This leaves us with 1 remaining unclean use, in commands-frame.coffee's
helper_follow(). It is used to catch all the xul elements that have html
equivalents with different tag names. Replacing that with something
proper will not be attempted in this change, as it would probably
require changing its callers to pass in different arguments when ran in
the XUL namespace.

4 years agoundo useless hint exclusion
girst [Sun, 1 Dec 2019 17:51:05 +0000 (18:51 +0100)]
undo useless hint exclusion

this was originally introduced to "remove unnecessary hints markers in
the addon manager"(@94f5252), but about:addons has since been rewritten
and this actually breaks the search box on about:preferences and
about:addons, as well as on the old xul-about:config.

4 years agomore release script work
girst [Sun, 1 Dec 2019 17:50:42 +0000 (18:50 +0100)]
more release script work

 * push to correct remote from release script
 * when aborting a push, also delete the tag, or it'll fail the next
   time round

4 years agoVimFx v0.23.0 v0.23.0
girst [Sun, 1 Dec 2019 15:48:06 +0000 (16:48 +0100)]
VimFx v0.23.0

4 years agoRequire Firefox 68 and Update Documentation
girst [Wed, 27 Nov 2019 21:10:58 +0000 (22:10 +0100)]
Require Firefox 68 and Update Documentation

since the removal of the XBL-aware getAllElements() code path, this
extension is less useful on .xul pages (i.e. some about: pages) in older
Firefoxen. Users of older versions of Firefox (or derivatives) should
stay on v0.22.2. While nobody is stopping you from downgrading or
ignoring the min-version requirement, you don't gain any new
functionality and might have a degraded experience with v0.23.x.

4 years agofix lint error for overlong line
girst [Thu, 21 Nov 2019 16:07:27 +0000 (17:07 +0100)]
fix lint error for overlong line

4 years agoremove getAnonymousNodes() code path from getAllElements()
girst [Thu, 21 Nov 2019 15:47:49 +0000 (16:47 +0100)]
remove getAnonymousNodes() code path from getAllElements()

in fx68 and newer, there are no in-content bindings (i.e. those in .xul
about:-pages) left, and hardly any that are reachable via VimFx hints.
The only element with anonymous nodes that was reachable that way is the
(non-megabar) URL bar, which is better focused using 'o'.

The other now removed function, getBindingParent(), will have to stay;
otherwise custom elements (e.g. on bugs.chromium.org or the <xul:tree>
element on XUL-about:config) won't be properly clickable through hints.

4 years agogetAnonymousNodes() and getBindingParent() removed from fx72
girst [Thu, 21 Nov 2019 13:10:44 +0000 (14:10 +0100)]
getAnonymousNodes() and getBindingParent() removed from fx72

see also: https://bugzil.la/1596800

the whole XULDocument code path in
markable-elements.coffee::getAllElements() is now obsolete, since
getAnonymousNodes() no longer exists, and before that, returned nothing
of importance, since most XBL bindings have been removed before Firefox
68. Removal of the code path will follow in a follow up to ease a
possible revert, since a very small amount of hints might get lost in
68esr without it (the only concrete example I've found is the urlbar in
'eb' mode, which can also be reached with 'o').

4 years agonew release script
girst [Sat, 16 Nov 2019 12:35:55 +0000 (13:35 +0100)]
new release script

inspired by
https://blog.danslimmon.com/2019/07/15/do-nothing-scripting-the-key-to-gradual-automation/
and https://drewdevault.com/2019/10/12/how-to-fuck-up-releases.html

care has been taken to make it posix compliant. however, it does by
default depend on my fairly unusual setup to be present, which can
however be easily overridden (see script for details).

4 years agogulp: make lint failures fatal
girst [Sat, 16 Nov 2019 12:00:34 +0000 (13:00 +0100)]
gulp: make lint failures fatal

required for upcoming release automation

4 years agofix 'eb' for nightly72
girst [Sat, 16 Nov 2019 11:40:18 +0000 (12:40 +0100)]
fix 'eb' for nightly72

browser.xhtml now uses a <html> (was a <xul:window>) element as its
root. since the ID we anchored to was assigned to <html>, we added the
hints as a sibling to the body instead of below it.

regressed by Bug 1492582

4 years agofix hints on about:preferences (nightly72)
girst [Sat, 16 Nov 2019 11:35:27 +0000 (12:35 +0100)]
fix hints on about:preferences (nightly72)

getClientRects() was undefined when called on <menulist id=defaultFont>.
might have been caused by 1588142 (switching from xul:window to html
root).

4 years agoVimFx v0.22.0 v0.22.2
girst [Sat, 19 Oct 2019 17:38:31 +0000 (19:38 +0200)]
VimFx v0.22.0

4 years agofix 'eb' for fx71
girst [Sat, 19 Oct 2019 17:33:08 +0000 (19:33 +0200)]
fix 'eb' for fx71

browser.xhtml was restructured between firefox 69 and 71, and hints were
not displaying any more (they still worked, adding to the confusion). It
turns out that moving the hints-containert before #navigator-toolbox is
sufficient. But insertBefore()ing that element breaks Waterfox 56, as
this element does not exist there (which is a bit strange, as the docs
say, insertBefore should degrade gracefully to appendChild in such a
case). However, we can just insert it as the first element below
the #main-window element, which works a treat.

4 years agoVimFx v0.22.1
girst [Sat, 28 Sep 2019 12:31:57 +0000 (14:31 +0200)]
VimFx v0.22.1

4 years agoDocument config file sandboxing issues and workarounds on Fx57+
girst [Thu, 26 Sep 2019 20:03:26 +0000 (22:03 +0200)]
Document config file sandboxing issues and workarounds on Fx57+

Further discussion in bug #939.

4 years agoVimFx v0.22.0 v0.22.0
girst [Sun, 22 Sep 2019 16:41:24 +0000 (18:41 +0200)]
VimFx v0.22.0

4 years agoexperimental custom-element support
girst [Sat, 24 Aug 2019 00:55:41 +0000 (02:55 +0200)]
experimental custom-element support

Web Components / HTML5 Custom Elements were previously inaccessible to
VimFx. Examples of heavy users of this technology is about:logins
(Firefox 70) and bugs.chromium.org. Elements within the shadow DOM were
unable to be selected with hints mode.

VimFx' non-XUL DOM traversal routine was extended to not only search the
(regular) DOM, but also check each element if it contains an open shadow
DOM, and traverse it too. Interestingly, getElementsByTagName is not
defined by the DocumentOrShadowRoot class, only querySelectorAll.

Further, it appears that the native C++ function VimFx uses to send key
events to clickable elements is unable to be used inside the shadow DOM,
resulting in the error message below.
    NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIDOMWindowUtils.dispatchDOMEventViaPresShell] utils.js:291

NOTE: This regression has made it obvious that VimFx uses isXULDocument
to make assumptions about the document it is looking at that no longer
hold when WebComponents are involved. More might be unearthed in the
future.

NOTE: the URL for an entry in about:logins is not clickable, as it is a
read-only text input with an onclick handler, instead of a link. That
edge case is not handled by utils.isTypingElement().

4 years agoFix visual mode in Firefox 70 v0.21.3
girst [Mon, 26 Aug 2019 14:31:52 +0000 (16:31 +0200)]
Fix visual mode in Firefox 70

regressed by: https://bugzilla.mozilla.org/show_bug.cgi?id=1568585 /
 https://mail.mozilla.org/pipermail/firefox-dev/2019-July/007138.html
see also: https://hg.mozilla.org/comm-central/rev/a0625e9b6c59

4 years agowaterfox 56 fix
girst [Mon, 26 Aug 2019 14:30:56 +0000 (16:30 +0200)]
waterfox 56 fix

4 years agofix hints mode on about:addons and about:preferences in nightly 70
girst [Tue, 20 Aug 2019 17:38:10 +0000 (19:38 +0200)]
fix hints mode on about:addons and about:preferences in nightly 70

In Bug 1550801, all XUL documents were loaded as HTMLDocuments, which
caused the isXULDocument test to fail. The new test is modeled after a
snippet from devtools/.

This change caused hints mode to break in about:preferences and
about:addons, since (some of?) the de-XBL'd custom elements' <label>s
return the id (as string) when reading theLabelElement.control on a
label instead of an HTMLElement. VimFx passes this value to a function
that assumes the value has a .getClientRects() method.

Only these two pages were affected, since these are the only in-content
pages (other than about:downloads) in Firefox 70 that still have a .xul
document at the root.

4 years agoVimFx v0.21.2 v0.21.2
girst [Thu, 15 Aug 2019 10:09:51 +0000 (12:09 +0200)]
VimFx v0.21.2

4 years agoTaking over maintainership
girst [Thu, 15 Aug 2019 10:07:01 +0000 (12:07 +0200)]
Taking over maintainership

There's a new maintainer in town. While new features won't be developed,
VimFx will continue to work on Firefox Quantum and its derivatives for
the forseeable future.

4 years agoDeduplicate new settings code and final css tweaks
girst [Tue, 6 Aug 2019 09:11:03 +0000 (11:11 +0200)]
Deduplicate new settings code and final css tweaks

4 years agoPort settings page to a modern format
girst [Mon, 5 Aug 2019 01:25:43 +0000 (03:25 +0200)]
Port settings page to a modern format

Inline-settings have been dropped in http://bugzil.la/1414406. At the
same time, the <setting> XBL binding has been removed. Here, we recreate
the settings page using (X)HTML opening in a new tab.
The XBL converter (bgrins/xbl-analysis@564f6e402a) was helpful in
reconstructing the <setting> element and the new aboutconfig.js has a
good observer example at the end (-> central@4d5f1517ef85).

4 years agoprevent statusbar update from breaking waterfox56
girst [Sun, 4 Aug 2019 11:27:50 +0000 (13:27 +0200)]
prevent statusbar update from breaking waterfox56

4 years agofix blurring of URL bar in fx70a
girst [Sat, 3 Aug 2019 20:02:46 +0000 (22:02 +0200)]
fix blurring of URL bar in fx70a

Mozilla removed the shim for the old way of closing the autocomplete
popup in 1d51ec584c56cad54f09be093783ef843b1fc284; the new way was
introduced with c324bd6eb4bf102541d3eb1b751ee2f7a408fff4 (fx64a),
meaning we need to try both to support waterfox 56 as well.

see also: https://bugzil.la/1528605

4 years agoVimFx v0.21.1 v0.21.1
Simon Lydell [Sat, 3 Aug 2019 18:02:40 +0000 (20:02 +0200)]
VimFx v0.21.1

4 years agoFix lint errors
Simon Lydell [Sat, 3 Aug 2019 18:02:15 +0000 (20:02 +0200)]
Fix lint errors

4 years agoMerge pull request #937 from girst/master
Simon Lydell [Sat, 3 Aug 2019 17:55:31 +0000 (19:55 +0200)]
Merge pull request #937 from girst/master

Fix for hints mode in Firefox 69 and squashing TypeErrors and Deprecation Warnings

4 years agofix hints mode and help popups
girst [Thu, 1 Aug 2019 09:42:02 +0000 (11:42 +0200)]
fix hints mode and help popups

entering any of these modes adds an overlay above the <browser> element.
In mozilla69 the style property 'display: -moz-box' was removed from '*'
in minimal-xul.css. When the overlay was displayed without this
property, the <browser> would be resized to 25x25px to make room for the
overlay instead of displaying them on top of each other.

keep an eye on http://bugzil.la/939428

4 years agoreplace custom status panel with default one
girst [Thu, 1 Aug 2019 09:06:27 +0000 (11:06 +0200)]
replace custom status panel with default one

In Mozilla's efforts to get rid of XBL[1] they changed the way the
status panel works. Up to Firefox 68, the changes meant that the panel
just didn't show up, but with Firefox 69 and onwards, it broke the
display of the browser. This change replaces the custom (secondary)
status bar and uses the main one for displaying infos and errors.
See also: bug[2] and changeset[3] of the removal of <statusbar>

[1]: http://arewexblstill.com/
[2]: https://bugzilla.mozilla.org/show_bug.cgi?id=1444891
[3]: https://hg.mozilla.org/mozilla-central/rev/18bbbdc02213

4 years agoFix TypeError when uninstalling VimFx
girst [Wed, 31 Jul 2019 10:56:20 +0000 (12:56 +0200)]
Fix TypeError when uninstalling VimFx

4 years agoFix TypeError when hitting ESC
girst [Wed, 31 Jul 2019 10:52:55 +0000 (12:52 +0200)]
Fix TypeError when hitting ESC

When hitting esc a TypeError was shown in the browser console
(Ctrl-Shift-J), except when an element is fullscreened. The location of
the error (i.e. commands-frame.js:621) is only shown on special pages
(like about:* or chrome://), making the problem harder to locate.
see also: functionality introduced in commit ab17744
> TypeError: The expression cannot be converted to return the specified type. commands-frame.js:621

4 years agoRemove dependency on non-standard Array.some() and Array.filter()
girst [Wed, 31 Jul 2019 10:51:44 +0000 (12:51 +0200)]
Remove dependency on non-standard Array.some() and Array.filter()

Also replaces the deprecated DOMQuad.bounds.

Firefox 70 will remove[1] non-standard Array generics[2][3]. These were
identified using the following shell pipeline:
  cd VimFx/extension
  grep -rn 'Array\.' | grep -v '\.isArray\|\.of\|\.from\|\.prototype'

[1]: https://bugzilla.mozilla.org/show_bug.cgi?id=1558914
[2]: https://www.fxsitecompat.dev/en-CA/docs/2019/non-standard-array-generics-have-been-deprecated/
[3]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array#Array_generic_methods

4 years agoMerge pull request #936 from strel/master
Simon Lydell [Mon, 1 Jul 2019 11:16:22 +0000 (13:16 +0200)]
Merge pull request #936 from strel/master

es locale update from en-US locale

4 years agoes locale update
strel [Mon, 1 Jul 2019 10:51:34 +0000 (12:51 +0200)]
es locale update

4 years agoVimFx v0.21.0 v0.21.0
Simon Lydell [Wed, 15 May 2019 05:46:45 +0000 (07:46 +0200)]
VimFx v0.21.0

4 years agoCompatibility for Waterfox 68, Firefox <= 64 (cleanup) (#935)
Simon Lydell [Wed, 15 May 2019 05:12:45 +0000 (07:12 +0200)]
Compatibility for Waterfox 68, Firefox <= 64 (cleanup) (#935)

 Compatibility for Waterfox 68, Firefox <= 64 (cleanup)

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

Imprint / Impressum