Commit Graph

25 Commits

Author SHA1 Message Date
Brindusan Cristian
8f9fbf257b Backed out changeset a8975a4aebc0 (bug 1521893) for bc leasks on (nsIconLoaderObserver, nsIconLoaderService, nsTouchBarInputIcon). CLOSED TREE 2019-09-06 22:03:15 +03:00
harry
0bd936fac2 Bug 1521893 - Part 2 - Support loading SVG icons on the Touch Bar through a new nsTouchBarInputIcon service class r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D34926
2019-09-06 17:23:37 +00:00
Dorel Luca
59e34d0b4d Backed out changeset 3ab29c05ea2f (bug 1521893) build bustage in /builds/worker/workspace/build/src/widget/cocoa/nsTouchBarInputIcon.h. CLOSED TREE 2019-08-29 06:18:29 +03:00
harry
6962b5dd4c Bug 1521893 - Part 2 - Support loading SVG icons on the Touch Bar through a new nsTouchBarInputIcon service class r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D34926
2019-08-29 02:38:16 +00:00
Sebastian Hengst
a2a25ebaec Backed out changeset 4aead1eca8c6 (bug 1521893) to fix crashes (bug 1568862) 2019-07-29 17:11:19 +02:00
harry
c0c26421cc Bug 1521893 - Part 2 - Support loading SVG icons on the Touch Bar through a new nsTouchBarInputIcon service class r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D34926
2019-07-24 13:03:49 +00:00
Ciure Andrei
437ae6e6dd Backed out changeset 6bad91b2f198 (bug 1521893) for causing browser_touchbar_tests.js to permafail CLOSED TREE 2019-07-23 05:11:00 +03:00
harry
e89b0c398b Bug 1521893 - Part 2 - Support loading SVG icons on the Touch Bar through a new nsTouchBarInputIcon service class r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D34926
2019-07-22 18:23:34 +00:00
harry
0868f3b12f Bug 1522012 - Implement Touch Bar's native customization window and remove ui.touchbar.layout preference. r=spohl,mikedeboer,fluent-reviewers,Pike
This patch also fixes the Home and Sidebar Touch Bar buttons, since using them after customizing showed that they no longer worked.

Differential Revision: https://phabricator.services.mozilla.com/D35085
2019-07-06 21:10:33 +00:00
Victor Porof
8eb72fd3fc Bug 1561435 - Format browser/components/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36042
2019-07-05 09:53:32 +02:00
Mihai Alexandru Michis
372f3445c6 Backed out changeset 3e2fe70b181a (bug 1522012) for causing failures in browser_touchbar_tests.js CLOSED TREE 2019-07-04 18:47:07 +03:00
harry
86d1612103 Bug 1522012 - Implement Touch Bar's native customization window and remove ui.touchbar.layout preference. r=spohl,mikedeboer,fluent-reviewers,Pike
This patch also fixes the Home and Sidebar Touch Bar buttons, since using them after customizing showed that they no longer worked.

Differential Revision: https://phabricator.services.mozilla.com/D35085
2019-07-04 03:57:47 +00:00
Andreea Pavel
bcc59449cd Backed out changeset c1b80824ae88 (bug 1522012) for failing bc at browser_touchbar_tests.j on a CLOSED TREE 2019-07-03 00:19:25 +03:00
harry
809280f5cb Bug 1522012 - Implement Touch Bar's native customization window and remove ui.touchbar.layout preference. r=spohl,mikedeboer,fluent-reviewers,Pike
This patch also fixes the Home and Sidebar Touch Bar buttons, since using them after customizing showed that they no longer worked.

Differential Revision: https://phabricator.services.mozilla.com/D35085
2019-07-02 14:47:07 +00:00
Zibi Braniecki
999e5f0c77 Bug 1558602 - Allow DocumentL10n to use LocalizationSync. r=smaug,Pike
Differential Revision: https://phabricator.services.mozilla.com/D34584
2019-07-01 17:56:57 +00:00
Johann Hofmann
ded585ac30 Bug 1547116 - Avoid updating unnecessary touch bar inputs. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D28907
2019-05-29 21:42:56 +00:00
Andrew McCreight
1983304353 Bug 1543169 - Use nicer XPIDL arrays in nsITouchBarUpdater. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D26773
2019-04-09 17:47:06 +00:00
Harry Twyford
89aad96765 Bug 1529366 - Implement batch-updating of Touch Bar inputs. r=mikedeboer,spohl
Changes updateTouchBarInput to a batch-updating updateTouchBarInputs.
Also adds a check for a cached localized title to getTouchBarInput().

Differential Revision: https://phabricator.services.mozilla.com/D20956
2019-03-18 12:14:11 +00:00
Harry Twyford
9a9d08b12d Bug 1522039 - Changes default Touch Bar button set and replaces icon on Close Window button. r=bwinton,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D17831
2019-02-21 19:23:33 +00:00
Kris Maglione
c680a36bb9 Bug 1514594: Follow-up: Fix merge bustage in another test. r=bustage 2019-01-28 17:31:01 -08:00
Kris Maglione
856fa07b17 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
2019-01-17 10:18:31 -08:00
Harry Twyford
da08e953f4 Bug 1522994 - Resolves crash when using Touch Bar inputs out-of-context. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D17695
2019-01-27 22:06:38 +00:00
Harry Twyford
1b70c43c78 Bug 1522039 - Changed label on Touch Bar "Focus" button to "Close Window" to better reflect behaviour. r=bwinton,flod
Differential Revision: https://phabricator.services.mozilla.com/D17382
2019-01-23 19:49:01 +00:00
Stephen A Pohl
5c5c02dfb2 Bug 1313429: Followup to add a missing break for a case in a switch statement (discovered by coverity). r=mikedeboer 2019-01-24 00:14:51 +01:00
Harry Twyford
95cb2a6ad2 Bug 1313429 - Add Touch Bar functionality to Firefox r=spohl,mikedeboer,flod
Adds Touch Bar functionality to Firefox across eight commits.

Differential Revision: https://phabricator.services.mozilla.com/D5496
2019-01-22 17:13:33 +00:00