Commit Graph

26 Commits

Author SHA1 Message Date
Ed Lee
9eeafb725f Bug 1541502 - Add Pocket menu, triggering improvements and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D25984

--HG--
rename : browser/components/newtab/locales-src/bn-BD/strings.properties => browser/components/newtab/locales-src/bn/strings.properties
rename : browser/components/newtab/prerendered/locales/bn-BD/activity-stream-noscripts.html => browser/components/newtab/prerendered/locales/bn/activity-stream-noscripts.html
rename : browser/components/newtab/prerendered/locales/bn-BD/activity-stream-prerendered-noscripts.html => browser/components/newtab/prerendered/locales/bn/activity-stream-prerendered-noscripts.html
rename : browser/components/newtab/prerendered/locales/bn-BD/activity-stream-prerendered.html => browser/components/newtab/prerendered/locales/bn/activity-stream-prerendered.html
rename : browser/components/newtab/prerendered/locales/bn-BD/activity-stream-strings.js => browser/components/newtab/prerendered/locales/bn/activity-stream-strings.js
rename : browser/components/newtab/prerendered/locales/bn-BD/activity-stream.html => browser/components/newtab/prerendered/locales/bn/activity-stream.html
rename : browser/components/newtab/prerendered/locales/mai/activity-stream-noscripts.html => browser/components/newtab/prerendered/locales/trs/activity-stream-noscripts.html
rename : browser/components/newtab/prerendered/locales/mai/activity-stream.html => browser/components/newtab/prerendered/locales/trs/activity-stream.html
extra : moz-landing-system : lando
2019-04-04 14:32:55 +00:00
Ed Lee
b88f62c296 Bug 1532321 - Add impression positions, React 16.8.3 and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D21944

--HG--
extra : moz-landing-system : lando
2019-03-04 19:15:21 +00: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
k88hudson
201a155a88 Bug 1493794 - Add new search-only UI, onboarding localization, strings and bugfixes to Activity Stream r=ursula
Differential Revision: https://phabricator.services.mozilla.com/D6699

--HG--
extra : moz-landing-system : lando
2018-09-25 15:01:42 +00:00
Zibi Braniecki
83ea94f5ba Bug 1491394 - Update callsites to use new mozILocaleService API. r=jfkthame
Depends on D5924

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

--HG--
extra : moz-landing-system : lando
2018-09-21 15:30:37 +00:00
Mark Banner
691543ee89 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

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

--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Kris Maglione
7b7264f453 Bug 1464548: Part 3 - Update callers to use defineLazyGlobalGetters. r=mccr8
MozReview-Commit-ID: 9APGewiDDYB

--HG--
extra : rebase_source : 2931dd0eec0e4206414b698a9700fc20d922eb3a
2018-05-25 17:02:29 -07:00
Ed Lee
d96c554c26 Bug 1441018 - Add snippets data, lazy menus and bug fixes to Activity Stream. r=k88hudson
MozReview-Commit-ID: 6CilV8vrqwY

--HG--
extra : rebase_source : 438c0250cc9a96b20e94ec53a0b43eae1b02e6d5
2018-03-01 11:21:00 -08:00
Florian Quèze
682b1ec3b2 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Andrew McCreight
5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08: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
Ed Lee
9712b719c4 Bug 1430272 - Add preloaded updating, whitelisted regions and bug fixes to Activity Stream. r=dmose
MozReview-Commit-ID: 6wWmVoXCQO5

--HG--
extra : rebase_source : 8229ec0f7934a2d36dae2a8c1f986b1b408e1786
2018-01-12 14:12:57 -08:00
Marina Samuel
cb6b28216d Bug 1406087: All PingCentre pings should go to production by default. r=ursula
MozReview-Commit-ID: 9ZmAG9fBWqX

--HG--
extra : rebase_source : bed3bb4981dd3a5f5a0886726fca530d65d2bfd9
2017-10-05 11:12:17 -04:00
Ed Lee
a79fee5205 Bug 1403215 - Fix broken Snippets pref, perceived performance and bug fixes to Activity Stream. r=k88hudson,ursula
MozReview-Commit-ID: JSvQB4nxduM

--HG--
extra : rebase_source : 251b4aad88f9086f3b00100fd8a03675f2a062cf
2017-09-27 08:28:06 -04:00
Wes Kocher
6ff89f3f7d Backed out changeset b31be2f4c9b4 (bug 1403215) for mac failures in browser_newtab_focus.js a=backout
MozReview-Commit-ID: HvuhYscvVi0
2017-09-27 14:35:46 -07:00
Ed Lee
d9a2f3b235 Bug 1403215 - Fix broken Snippets pref, perceived performance and bug fixes to Activity Stream. r=ursula
MozReview-Commit-ID: JSvQB4nxduM

--HG--
extra : rebase_source : 0a537c181ecf6b5e7fcaa1ced1ae5401abcee018
2017-09-27 08:28:06 -04:00
Ed Lee
94e1a5a468 Bug 1401683 - Add section deduping, about:home telemetry and bug fixes to Activity Stream. r=k88hudson
MozReview-Commit-ID: FYICIp1oVNf

--HG--
extra : rebase_source : 888f7d68a60ace3368875121d8976489ac337b58
2017-09-20 12:45:26 -07:00
Ed Lee
3098df1a89 Bug 1396609 - Add Highlights, smooth prefs and bug fixes to Activity Stream. r=ursula
MozReview-Commit-ID: 1FTc9n2xxFZ

--HG--
extra : rebase_source : 5b411b1baebdcd320f9d551281cc749b30b4ef86
2017-09-08 07:43:37 -07:00
Ed Lee
c9c38bf7d6 Bug 1395642 - Add placeholders, finalized 57 strings and bug fixes to Activity Stream. r=dmose
MozReview-Commit-ID: 8x6ez3edtoQ

--HG--
extra : rebase_source : 55820ab30e0408b35e2849c16fafb8daec96cf90
2017-09-01 14:52:57 -07:00
Marina Samuel
e2f2aed4ac Bug 1390249: Add PingCentre to browser/modules. r=ursula
MozReview-Commit-ID: GtwWh0iAqlu

--HG--
extra : rebase_source : 3486145d65b837baacfa18c1f5bb1f5806573df8
2017-08-08 14:41:15 -04:00
Wes Kocher
829c7d45a7 Backed out changeset 25f127dff090 (bug 1390249) for browser_all_files_referenced.js failures a=backout CLOSED TREE
MozReview-Commit-ID: GRUTuGs7F4M

--HG--
extra : amend_source : afe4e3e3a2cd1701ec3d8e7da015ed17c78cbe5b
2017-08-24 14:22:00 -07:00
Marina Samuel
57702c15fc Bug 1390249: Add PingCentre to browser/modules. r=ursula
MozReview-Commit-ID: GtwWh0iAqlu

--HG--
extra : rebase_source : 2e9ec8ed02055783420d457177f1914d248669cf
2017-08-08 14:41:15 -04:00