Commit graph

95 commits

Author SHA1 Message Date
Michael Kaply
6fa498c582 Bug 1644184 - allow hiding distro info for Mozilla distros. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D78823
2020-06-10 05:31:45 +00:00
Victor Porof
f9f5914039 Bug 1561435 - Format browser/base/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36041

--HG--
extra : source : 96b3895a3b2aa2fcb064c85ec5857b7216884556
2019-07-05 09:48:57 +02:00
Michael Kaply
1338327760 Bug 1535592 - Don't resizeToContent until all content is modified. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D30721

--HG--
extra : moz-landing-system : lando
2019-05-10 21:02:37 +00:00
Kris Maglione
4f0a4ba33f Bug 1514594: Follow-up: Fix more Mac bustage in the same script. r=bustage 2019-01-28 19:14:34 -08:00
Kris Maglione
678976229b Bug 1514594: Follow-up: Fix Mac merge bustage. r=bustage 2019-01-28 17:27:32 -08:00
Kris Maglione
e930b89c34 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16750

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Yuan Cheng
ec3f6109ec Bug 1518220 - Replace the usage of formatValues with Fluent arguments, r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D16772

--HG--
extra : moz-landing-system : lando
2019-01-18 18:03:18 +00:00
Michael Kaply
f9feeeb63b Bug 1507614 - Identify ESR with MOZ_APP_VERSION_DISPLAY. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D12067

--HG--
extra : moz-landing-system : lando
2018-11-19 23:14:05 +00:00
Qinghao_Jack_Song
511029a72d Bug 1491672 - Migrate About Dialog to use Fluent for localization r=flod,zbraniecki,jaws
Differential Revision: https://phabricator.services.mozilla.com/D7206

--HG--
extra : moz-landing-system : lando
2018-11-05 16:13:12 +00:00
Michael Kaply
c4e0dd8f57 Bug 1443771 - Add ESR name to the about dialog. It is not translated. r=Felipe,jaws
MozReview-Commit-ID: FYjA7IrTGYt

--HG--
extra : rebase_source : 2b0a6773e5098e1963792a38b5251066f758a3ce
2018-03-14 17:41:26 -05:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Jared Wein
6096e28d6c Bug 1419042 - Only use the distroVersion if the pref contains a value, otherwise leave it out of the version string. r=evanxd
MozReview-Commit-ID: Pign2W4RfE

--HG--
extra : rebase_source : 93f786f999639e3422c48526fefc7f3e75cdbe51
2017-11-20 10:50:23 -05:00
Evan Tseng
c79b0f2c8b Bug 1390561 - Add a new param "buttonAutoFocus" for appUpdater object to focus the button automatically because we need auto focus in about dialog but do not need it in preferences page. r=jaws
MozReview-Commit-ID: KcQVPguaP1o

--HG--
extra : rebase_source : e9d46363c10556536bd7aecb8fcddf305cd6be5d
2017-08-18 16:11:34 +08:00
Evan Tseng
777b1ee41c Bug 1373570 - Focus the update button in about dialog once there is one visible. r=jaws
MozReview-Commit-ID: JFokKUdDAaY

--HG--
extra : rebase_source : b821eadc8f02569d2c763613c88afd4f188795bd
2017-06-28 16:03:38 -07:00
Matthew Noorenberghe
7a5289d1ca Bug 1279805 - Use app.releaseNotesURL to control release notes in the about dialog. r=florian
MozReview-Commit-ID: 7sqDACxFfJQ

--HG--
extra : rebase_source : ec87655250dc1899213c5073112ceff270d0395d
2017-04-10 18:26:23 -04:00
Mark Banner
1087fc1884 Bug 1352969 - Fix various ESLint no-undef issues in browser/base (no-undef is not enabled yet). r=mossop
MozReview-Commit-ID: BuTyJAfUoWR

--HG--
extra : rebase_source : 482bdc039362347f35aec9fd15e07a143dccb860
2017-02-22 17:02:59 +00:00
Florian Quèze
be00c3b9e8 Bug 1345294 - add an eslint rule to reject usage of {get,set}ComplexValue for nsISupportsString and suggest {get,set}StringPref instead, and make it pass, r=Mossop. 2017-03-16 19:26:02 +01:00
Jared Wein
9141469edf Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe

--HG--
extra : rebase_source : 8ab34c4e46a7c3075b459bf44786ec184d10d203
2016-12-30 21:47:25 -05:00
Chris Peterson
7a2e464c59 Bug 597738 - Display build architecture (32-bit or 64-bit) to the About dialog. r=dolske 2016-09-06 21:25:35 -07:00
Jared Wein
e6276ea7f5 Bug 1294547 - Enable the comma-spacing rule for eslint. r=felipe
MozReview-Commit-ID: RCSDEvvk2I
2016-08-16 15:44:15 -04:00
Robert Strong
c363c3daa3 Bug 1262880 - browser changes - Remove add-on compatibility check from application update. r=felipc 2016-04-29 10:01:00 -07:00
Felipe Gomes
9b35135cbf Bug 1228655 - Remove ifdefs in aboutDialog.js. r=Gijs
--HG--
rename : browser/base/content/aboutDialog.js => browser/base/content/aboutDialog-appUpdater.js
2015-12-01 20:06:02 -02:00
Sebastian Hengst
fb3c4c798c Bug 1224834 - Remove infinite improbability drive. r=Gijs 2015-11-14 19:42:38 +01:00
Dave Townsend
a22c2d1f9e Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.

I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.

UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.

--HG--
extra : commitid : KsbH21csjH4
extra : rebase_source : bc7c08de1ec6e802261b8cd294d88ee2c4e75c2d
2015-09-14 11:04:19 -07:00
Wes Kocher
468b697f04 Backed out 3 changesets (bug 1192924) for Android bustage CLOSED TREE
Backed out changeset 30d612836685 (bug 1192924)
Backed out changeset a6860f880e01 (bug 1192924)
Backed out changeset 10e1fa2cc23a (bug 1192924)

--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_1.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app1/features/system1@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system2_1.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app1/features/system2@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_2.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app2/features/system1@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system3_1.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app2/features/system3@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_1_badcert.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app3/features/system1@tests.mozilla.org.xpi
2015-09-22 11:02:55 -07:00
Dave Townsend
fb7653707b Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.

I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.

UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.

--HG--
extra : commitid : FuPUB9X4oYJ
extra : rebase_source : cfcd31d7da5f5b636a2ec11546dbada973d681de
extra : histedit_source : 3df840dc502c6ee4177f1858920d1260e4dc27af
2015-09-14 11:04:19 -07:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Paolo Amadini
0d3715764d Bug 1192242 - Adjust the button design in some circumstances. r=Gijs
--HG--
extra : commitid : oGX0SlXB5w
extra : rebase_source : 955e9b949b1884becc6037ca7b142a256d3781be
extra : amend_source : c67008b7159b347dd8dc65380814269ba6d88e71
2015-08-08 08:42:42 +01:00
Hector Zhao
a58cd34c17 Bug 1035400 - Fix "restart to update" button. r=felipe 2015-01-14 17:39:01 +08:00
Michael Pruett
6172ca8355 Bug 1004903 - Update about dialog to use UpdateChannel.jsm. r=gavin 2014-05-15 13:55:41 -05:00
YFdyh000
95d4116523 Bug 1001794 - ""Help, About" does not show proper update channel in 29rc updated on beta channel" r=gavin 2014-04-30 17:03:00 +02:00
Sachin Hosmani
3bf22859ba Bug 897735 - Support regular expression filters for name and creator in extension blocks. r=Unfocused
CLOSED TREE
2014-01-06 14:16:32 +05:30
Ryan VanderMeulen
72b3035461 Backed out changeset 933bf791b773 (bug 897735) for Windows test bustage.
CLOSED TREE
2014-01-14 11:10:33 -05:00
Sachin Hosmani
ac557339b2 Bug 897735 - Support regular expression filters for name and creator in extension blocks. r=Unfocused 2014-01-06 14:16:32 +05:30
Steffen Wilberg
5a454ed633 Bug 950357: The About dialog shouldn't check for updates without asking if the 'Never check for updates' option is selected. Instead, present a 'Check for Updates' button. r=felipe 2013-12-16 22:55:44 +01:00
Steffen Wilberg
8bc776ce98 Bug 600500: About Dialog should check for updates automatically, but not trick the user into installing them if updates are set to manual. ui-review=faaborg and shorlander, r=felipe 2013-12-12 00:14:58 +01:00
Steffen Wilberg
b2e1a3355c Backed out changeset 43d16a0ca410 2013-12-12 00:08:39 +01:00
Steffen Wilberg
4bd0730265 Bug 600500: About Dialog should check for updates automatically, but not trick the user into installing them if updates are set to manual. ui-review=faaborg and shorlander, r=felipe 2013-12-12 00:01:17 +01:00
Robert Strong
ba83136bd7 Bug 900925 - don't report error except when it isn't expected. r=mconnor 2013-11-20 16:22:44 -08:00
Robert Strong
bf86f18bbe Wallpaper fix - Bug 895473 - [Mac and Linux] Custom distribution settings for yahoo de and es distributions are not being set. r=mconnor 2013-07-19 13:17:29 -07:00
Robert Strong
47ab995fc8 2. browser patch - Bug 843497 - Update check says 'up to date' for out of date versions on unsupported OS versions. r=bbondy 2013-06-22 13:37:12 -07:00
Phil Ringnalda
864d14c11f Back out 01bc57172461:5bd9adbd3b15 (bug 843497) for xpcshell failures 2013-06-21 19:49:47 -07:00
Robert Strong
3102f2478e 2. browser patch - Bug 843497 - Update check says 'up to date' for out of date versions on unsupported OS versions. r=bbondy 2013-06-21 18:11:15 -07:00
Brian R. Bondy
7f7f126462 Bug 835151 - Add updates to the Metro flyout. r=rstrong 2013-05-15 11:45:35 -07:00
Brian R. Bondy
2b27a1ede9 Bug 794937 - Make updates work from the Metro front end, add handling for 1 instance handling updates. r=rstrong 2013-05-22 10:16:53 -04:00
Gavin Sharp
94bee6d68f Bug 856144: add nsIBlocklistService to Services.jsm, r=dtownsend
--HG--
extra : transplant_source : D%05%93z%A6%5Ck%92%A7%E5%80%FB%86XN%B93%DA%2B%2B
2013-03-29 16:10:47 -04:00