Commit Graph

28 Commits

Author SHA1 Message Date
Jonas Jenwald
d1ffd61093 [Firefox addon] Change the minimum supported version to (the current) Firefox Nightly release
At this point in time, trying to keep the development addon compatible with prior Firefox versions is already quite difficult and will become even harder very soon.

Please keep in mind that since Firefox 57, only WebExtensions are allowed/possible to install. The only exceptions are Firefox Nightly, with the `xpinstall.signatures.required` preference[1] set to `false`, and the (as of this writing) current ESR release.[2]

With the current compatibility situation, we thus need to effectively support both Nightly *and* ESR in the addon, while trying to keep up with current/upcoming changes in `mozilla-central`. With old addons no longer being officially supported, the amount of old code being removed/refactored is now increasing quite quickly.

*Please note:* The changes proposed here was to a large extent prompted by bugs such as:
 - https://bugzilla.mozilla.org/show_bug.cgi?id=1431533 (already landed)
 - https://bugzilla.mozilla.org/show_bug.cgi?id=767640 (already landed)
 - https://bugzilla.mozilla.org/show_bug.cgi?id=1432992 (still open)

Upstreaming all of those changes for the `MOZCENTRAL` version of PDF.js, while also keeping the Firefox addon running in older versions of the browser, would quickly become non-trivial.
Since we're using the ruleset from `eslint-plugin-mozilla` for the addon files, which is enforced in `mozilla-central`, we must ensure that the neccessary changes are upstreamed to the PDF.js repo such that the `mozilla-central` version of PDF.js can still be updated without failures.

Trying to feature detect, for the `FIREFOX` build target, some of the changes in the referenced bugs would probably become both quite messy and (not to mention) difficult. E.g. with the upcoming and automatically defined `Cc, Ci, Cu, Cr` variables, any sort of feature detection might be tricky since those need to be defined in the global scope of the files in question.

Finally, given the amount of effort that we'd now need to spend to even attempt to keep the Firefox addon compatible, I just don't think it's worth the effort any more. Especially since the number of people that have, thus far, been doing this work is *very* low and those resources would be better spend elsewhere.
Unfortunately, this probably means that the development addon will no longer be compatible with release versions of Seamonkey. However the README has already mentioned, for quite some time, that support isn't guaranteed.

*In closing:* For all of the reasons mentioned above, I thus propose that we reduce the maintenance burden of the Firefox addon by only supporting the current Firefox Nightly.

---

[1] While the preference exists, and can be toggled, its value is ignored in non-Nightly versions of Firefox.

[2] There's unbranded builds of e.g. the release/beta versions of Firefox, where old and non-WebExtensions addons can be installed. However those builds can probably be assumed to be officially unsupported, and thus not recommended for users.
2018-02-04 14:07:17 +01:00
Jonas Jenwald
9434c023ab [Firefox addon] Change the minimum supported version to Firefox 45, i.e. the current ESR version, and remove no longer necessary fallback code
According to https://wiki.mozilla.org/RapidRelease/Calendar#Past_branch_dates: The *last* ESR version of Firefox 38 was released in April this year, and since June the only available ESR version has been based on Firefox 45.

Now that Seamonkey has *finally* released a new version, i.e. 2.46 which should correspond to Firefox 49, there doesn't seem to be any reason to keep the fallback code around in the addon anymore.
2017-01-07 12:19:42 +01:00
Yury Delendik
3cba2cb258 Fixes SeaMonkey version 2016-06-29 17:54:11 -05:00
Jonas Jenwald
9fbde18880 [Firefox addon] Feature detect originAttributes to make it Seamonkey 2.40 compatible
Fixes 7245.
2016-06-24 17:05:53 +02:00
Jonas Jenwald
d3d3bb9695 [Firefox addon] Change the minimum supported version to Firefox 38 and remove a bunch old no longer necessary fallback code
From the discussion in issue 7386, it wasn't really clear if we can restrict addon support to Firefox `45` (i.e. the version that corresponds to the *current* ESR version).

However, we have a bunch of code for *very* old Firefox versions. Hence this patch changes the minimum supported version to Firefox `38` (which was released on `2015-05-12`, and correspond to the *previous* ESR version), and removes code that only applies to old Firefox versions.

Regardless what we end up deciding regarding addon support for previous Firefox versions, given the amount of code that even the Firefox `>= 38` condition lets us remove, I certainly think that there is value in doing this.
2016-06-15 09:54:41 +02:00
Yury Delendik
2fb9baf6f1 Changing Firefox Addon ID
.. to allow AMO publishing to the unlisted extensions for automatic signing.
2015-12-18 09:06:23 -06:00
Yury Delendik
1cda4c7a4b Loading PDF.js extension into e10s windows 2014-09-17 16:14:04 -05:00
Ethan Glasser-Camp
9b887f5bf3 add support for Conkeror 2013-12-29 16:06:55 -05:00
Brendan Dahl
22688b4471 Merge pull request #1697 from yurydelendik/min-version-2
Set Gecko 10 as min version for the extension
2012-08-03 09:58:02 -07:00
Yury Delendik
2f60f4a0d3 Adds android support to install.rdf 2012-07-10 10:23:36 -05:00
Yury Delendik
48695aa802 Set Gecko 10 as min version for the extension 2012-05-13 22:48:23 -05:00
Jakob Miland
7b5c69cac5 Updated Firefox and SeaMonkey's maxVersion 2012-05-12 19:42:27 +02:00
Jakob Miland
bf64240dc3 SeaMonkey support without SMILE 2012-05-12 15:16:53 +02:00
Yury Delendik
427a5f193d Move localization to l10n folders; create 'make locale' 2012-05-02 08:51:52 -05:00
Brendan Dahl
94fca5edc7 Change extension name, creator, description. Remove unpack and icon url. Move strict compatibility entry for MC. 2012-03-20 15:24:23 -07:00
notmasteryet
e721c90f77 Removing tabs 2012-03-16 07:24:58 -05:00
notmasteryet
0d08c37b07 Change max ff version number for the extension 2012-03-13 23:31:07 -05:00
notmasteryet
17164da42d Add additional files for mc build 2012-03-13 19:53:25 -05:00
Brendan Dahl
5ec6f20743 Fix version number for amo. 2012-02-08 10:20:54 -08:00
Brendan Dahl
a24a845eed Bump max firefox version. 2012-02-08 09:23:38 -08:00
Brendan Dahl
6814c8f717 Fix and add second update comment. 2012-01-09 11:17:36 -08:00
Brendan Dahl
c33e3df143 Make it so the github extension updates. 2012-01-06 16:20:11 -08:00
Artur Adib
8396406475 v0.1.0 2011-11-30 10:31:10 -05:00
Artur Adib
6fe0594d93 fixing ref so that it passes manifest tests 2011-11-30 09:42:52 -05:00
Vivien Nicolas
effddf39ea Bump up firefox version in install.rdf 2011-11-14 11:58:21 +01:00
Artur Adib
1f80b0b266 Replace andreasgal/pdf.js --> mozilla/pdf.js 2011-11-01 08:46:39 -04:00
Vivien Nicolas
96a9b608c9 Bump up the max version of the extension to 10.0.* 2011-10-03 20:14:20 +02:00
Vivien Nicolas
e18ddc9c97 Initial import of the Firefox extension 2011-09-07 00:00:24 +02:00