<feed xmlns='http://www.w3.org/2005/Atom'>
<title>legacywolf/README, branch master</title>
<subtitle>LegacyFox as an addon</subtitle>
<link rel='alternate' type='text/html' href='https://ba.ln.ea.cx/src/marsironpi/legacywolf/'/>
<entry>
<title>provide easy way to find modifications to BootstrapLoader</title>
<updated>2024-03-16T15:33:18+00:00</updated>
<author>
<name>girst</name>
<email>girst@users.noreply.github.com</email>
</author>
<published>2024-03-16T15:33:18+00:00</published>
<link rel='alternate' type='text/html' href='https://ba.ln.ea.cx/src/marsironpi/legacywolf/commit/?id=312a791ae03bddd725dee063344801f959cfe44d'/>
<id>312a791ae03bddd725dee063344801f959cfe44d</id>
<content type='text'>
this also removes the reference to the long obsolete
https://hg.mozilla.org/mozilla-central/rev/061b97e02ede.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this also removes the reference to the long obsolete
https://hg.mozilla.org/mozilla-central/rev/061b97e02ede.
</pre>
</div>
</content>
</entry>
<entry>
<title>port legacyfox to ecmascript modules</title>
<updated>2024-03-03T12:18:04+00:00</updated>
<author>
<name>girst</name>
<email>girst@users.noreply.github.com</email>
</author>
<published>2024-03-03T11:59:18+00:00</published>
<link rel='alternate' type='text/html' href='https://ba.ln.ea.cx/src/marsironpi/legacywolf/commit/?id=88413358677fd59dc360076e0a62c2c559f50e38'/>
<id>88413358677fd59dc360076e0a62c2c559f50e38</id>
<content type='text'>
mozilla calls this 'esm-ification'. the last relevant to us modules were
ported in mozilla124[1], so this is our new minimum version. the old
version will likely be compatible with firefox up to version 128esr[2].

static imports are not supported in autoconfig scripts. i tried to keep
the diff as small as possible w.r.t comm-central's final JSMs. because
of this, we don't lazy-load any modules any more, nor provide any lazy
getters, as they would need to be loaded into a `lazy` object instead
the global (`this`) namespace, causing more churn. other than that, the
largest change was removing the now-useless Services.jsm workaround as
well as removing globalGetters for objects already loaded automatically.

[1]: https://hg.mozilla.org/mozilla-central/rev/68ba071ff6fb9978937496f9adc48e378957f594
[2]: bugzil.la/1881890
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
mozilla calls this 'esm-ification'. the last relevant to us modules were
ported in mozilla124[1], so this is our new minimum version. the old
version will likely be compatible with firefox up to version 128esr[2].

static imports are not supported in autoconfig scripts. i tried to keep
the diff as small as possible w.r.t comm-central's final JSMs. because
of this, we don't lazy-load any modules any more, nor provide any lazy
getters, as they would need to be loaded into a `lazy` object instead
the global (`this`) namespace, causing more churn. other than that, the
largest change was removing the now-useless Services.jsm workaround as
well as removing globalGetters for objects already loaded automatically.

[1]: https://hg.mozilla.org/mozilla-central/rev/68ba071ff6fb9978937496f9adc48e378957f594
[2]: bugzil.la/1881890
</pre>
</div>
</content>
</entry>
<entry>
<title>Make compatible with Firefox 116</title>
<updated>2023-07-02T09:16:26+00:00</updated>
<author>
<name>girst</name>
<email>girst@users.noreply.github.com</email>
</author>
<published>2023-07-01T10:08:57+00:00</published>
<link rel='alternate' type='text/html' href='https://ba.ln.ea.cx/src/marsironpi/legacywolf/commit/?id=79ef33ee7354f59451c80cedd3eac63bc2e36be4'/>
<id>79ef33ee7354f59451c80cedd3eac63bc2e36be4</id>
<content type='text'>
regressed-by: https://bugzil.la/920187
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
regressed-by: https://bugzil.la/920187
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not override AddonSettings.REQUIRE_SIGNING</title>
<updated>2022-04-29T14:15:47+00:00</updated>
<author>
<name>girst</name>
<email>girst@users.noreply.github.com</email>
</author>
<published>2022-04-29T13:31:44+00:00</published>
<link rel='alternate' type='text/html' href='https://ba.ln.ea.cx/src/marsironpi/legacywolf/commit/?id=0548b59e51d966622e8733c62690078b61713d48'/>
<id>0548b59e51d966622e8733c62690078b61713d48</id>
<content type='text'>
This is not necessary, as it is only checked in
XPIDatabase.jsm::mustSign(), which we can override instead, and in
aboutaddonsCommon.js::isDisabledUnsigned(), which we cannot affect
anyways and only uses it to show a red warning bar for legacy addons.

This also removes the old AddonSettings.ALLOW_LEGACY_EXTENSIONS
override, which was only used in Extension.jsm::experimentsAllowed()
and XPIDatabase.jsm::isDisabledLegacy().

This is in preparation for the ESM-ification endeavours going on at
Mozilla, which will make importing a module's global object (as we did
with `let Xdb = Cu.import(...)`) impossible, but was needed to get a
reference to AddonSettings (instead of a copy). Step two will be
replacing Cu.import() with ChromeUtils.import(), which has stricter
semantics about exported objects (doesn't hurt us; see Bug 1766114).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is not necessary, as it is only checked in
XPIDatabase.jsm::mustSign(), which we can override instead, and in
aboutaddonsCommon.js::isDisabledUnsigned(), which we cannot affect
anyways and only uses it to show a red warning bar for legacy addons.

This also removes the old AddonSettings.ALLOW_LEGACY_EXTENSIONS
override, which was only used in Extension.jsm::experimentsAllowed()
and XPIDatabase.jsm::isDisabledLegacy().

This is in preparation for the ESM-ification endeavours going on at
Mozilla, which will make importing a module's global object (as we did
with `let Xdb = Cu.import(...)`) impossible, but was needed to get a
reference to AddonSettings (instead of a copy). Step two will be
replacing Cu.import() with ChromeUtils.import(), which has stricter
semantics about exported objects (doesn't hurt us; see Bug 1766114).
</pre>
</div>
</content>
</entry>
<entry>
<title>automatically disable signature requirement</title>
<updated>2020-10-01T21:09:09+00:00</updated>
<author>
<name>girst</name>
<email>girst@users.noreply.github.com</email>
</author>
<published>2020-10-01T20:59:50+00:00</published>
<link rel='alternate' type='text/html' href='https://ba.ln.ea.cx/src/marsironpi/legacywolf/commit/?id=29dc0ab3a8f8bd6e781fb983cd076764480dce18'/>
<id>29dc0ab3a8f8bd6e781fb983cd076764480dce18</id>
<content type='text'>
Having signatures enforced causes a big red error message to appear
below unsigned extensions, telling the user the extension has been
disabled. This is not true, though; the extensions are still enabled.
Setting xpinstall.signatures.required;false downgrades this error to a
(yellow) warning.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Having signatures enforced causes a big red error message to appear
below unsigned extensions, telling the user the extension has been
disabled. This is not true, though; the extensions are still enabled.
Setting xpinstall.signatures.required;false downgrades this error to a
(yellow) warning.
</pre>
</div>
</content>
</entry>
<entry>
<title>don't prevent unsigned addon warning to not break some addons</title>
<updated>2020-09-24T15:18:29+00:00</updated>
<author>
<name>girst</name>
<email>girst@users.noreply.github.com</email>
</author>
<published>2020-09-24T12:03:38+00:00</published>
<link rel='alternate' type='text/html' href='https://ba.ln.ea.cx/src/marsironpi/legacywolf/commit/?id=022cf6d431c587739752c9801937f98dd8b567e5'/>
<id>022cf6d431c587739752c9801937f98dd8b567e5</id>
<content type='text'>
This broke installing some, but not all, addons. The reason is that some
addons derive their addon-id from a certificate's CommonName in
XPIInstall.jsm::loadManifest(aPackage, aLocation, aOldAddon)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This broke installing some, but not all, addons. The reason is that some
addons derive their addon-id from a certificate's CommonName in
XPIInstall.jsm::loadManifest(aPackage, aLocation, aOldAddon)
</pre>
</div>
</content>
</entry>
<entry>
<title>reword installation instructions</title>
<updated>2020-08-22T17:51:50+00:00</updated>
<author>
<name>girst</name>
<email>girst@users.noreply.github.com</email>
</author>
<published>2020-08-22T17:51:50+00:00</published>
<link rel='alternate' type='text/html' href='https://ba.ln.ea.cx/src/marsironpi/legacywolf/commit/?id=0d457a3fb04837f1b51e83f04b5b8a9b2b742904'/>
<id>0d457a3fb04837f1b51e83f04b5b8a9b2b742904</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix addon installation for Firefox 74</title>
<updated>2020-01-18T18:39:17+00:00</updated>
<author>
<name>girst</name>
<email>girst@users.noreply.github.com</email>
</author>
<published>2020-01-18T18:35:02+00:00</published>
<link rel='alternate' type='text/html' href='https://ba.ln.ea.cx/src/marsironpi/legacywolf/commit/?id=54655696e65acc67ec73f01932fa2ddb1e236a78'/>
<id>54655696e65acc67ec73f01932fa2ddb1e236a78</id>
<content type='text'>
regressed by: Bug 1524327
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
regressed by: Bug 1524327
</pre>
</div>
</content>
</entry>
<entry>
<title>add link to bug report to keep an eye on</title>
<updated>2019-06-24T14:49:02+00:00</updated>
<author>
<name>girst</name>
<email>girst@users.noreply.github.com</email>
</author>
<published>2019-06-24T14:49:02+00:00</published>
<link rel='alternate' type='text/html' href='https://ba.ln.ea.cx/src/marsironpi/legacywolf/commit/?id=dd6b4e70cf1ebff982fb6d23dbe5760e2863eacf'/>
<id>dd6b4e70cf1ebff982fb6d23dbe5760e2863eacf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>credit where credit's due</title>
<updated>2019-06-24T14:15:26+00:00</updated>
<author>
<name>girst</name>
<email>girst@users.noreply.github.com</email>
</author>
<published>2019-06-24T14:14:19+00:00</published>
<link rel='alternate' type='text/html' href='https://ba.ln.ea.cx/src/marsironpi/legacywolf/commit/?id=12c54ea445204b0f2b27c541c224fcf54270b91b'/>
<id>12c54ea445204b0f2b27c541c224fcf54270b91b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
