Commit Graph

37 Commits

Author SHA1 Message Date
Harry Twyford
120863db8c Bug 1589135 - Add Touch Bar documentation. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D49665

--HG--
extra : moz-landing-system : lando
2019-11-05 10:05:49 +00:00
Harry Twyford
aef57c4d86 Bug 1593953 - Make Touch Bar telemetry optional in execCommand. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D51790

--HG--
extra : moz-landing-system : lando
2019-11-05 12:54:19 +00:00
harry
8b9e6c9faf Bug 1593001 - Add more stringent Touch Bar null-checks. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D51645

--HG--
extra : moz-landing-system : lando
2019-11-05 10:02:34 +00:00
harry
9b2a6d81ce Bug 1588084 - Add null-checking to isUrlbarFocused to avoid crashes on window shutdown. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D48966

--HG--
extra : moz-landing-system : lando
2019-10-11 13:35:04 +00:00
harry
bb242e5b57 Bug 1563351 - Insert search shortcuts into the Urlbar with Touch Bar buttons. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D38892

--HG--
extra : moz-landing-system : lando
2019-10-09 10:45:33 +00:00
harry
b4a08851a2 Bug 1563350 - Add popover to the Touch Bar that displays when the Urlbar has focus. r=mikedeboer,spohl,fluent-reviewers,Pike,flod
Differential Revision: https://phabricator.services.mozilla.com/D38563

--HG--
extra : moz-landing-system : lando
2019-10-10 19:57:32 +00:00
harry
63d2c3fa56 Bug 1563349 - Part 1 - JS changes to support TouchBarInput children. r=mikedeboer
Depends on D34926

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

--HG--
extra : moz-landing-system : lando
2019-10-09 15:25:43 +00:00
shindli
083cbd8b40 Backed out 8 changesets (bug 1563350, bug 1563351, bug 1563349, bug 1567939) on suspicion of causing OS X crashes https://bugzilla.mozilla.org/show_bug.cgi?id=1587351 CLOSED TREE a=backout
Backed out changeset 86ed8b9bee5f (bug 1563351)
Backed out changeset 355b0329bd95 (bug 1563350)
Backed out changeset 653caa0c494a (bug 1567939)
Backed out changeset 4b4a71e170bd (bug 1563349)
Backed out changeset 81b93962243b (bug 1563349)
Backed out changeset cff2050ff540 (bug 1563349)
Backed out changeset db50ea44f0b1 (bug 1563349)
Backed out changeset dcbddc5738c3 (bug 1563349)
2019-10-09 13:33:05 +03:00
harry
abf9b97e30 Bug 1563351 - Insert search shortcuts into the Urlbar with Touch Bar buttons. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D38892

--HG--
extra : moz-landing-system : lando
2019-10-08 15:10:20 +00:00
harry
980501c285 Bug 1563350 - Add popover to the Touch Bar that displays when the Urlbar has focus. r=mikedeboer,spohl,fluent-reviewers,Pike,flod
Differential Revision: https://phabricator.services.mozilla.com/D38563

--HG--
extra : moz-landing-system : lando
2019-10-08 00:52:07 +00:00
harry
7b35f11fd2 Bug 1563349 - Part 1 - JS changes to support TouchBarInput children. r=mikedeboer
Depends on D34926

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

--HG--
extra : moz-landing-system : lando
2019-09-30 15:09:53 +00:00
harry
b1f76c6595 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

--HG--
extra : moz-landing-system : lando
2019-10-07 18:37:15 +00:00
Brindusan Cristian
02ad28a12b Backed out changeset a8975a4aebc0 (bug 1521893) for bc leasks on (nsIconLoaderObserver, nsIconLoaderService, nsTouchBarInputIcon). CLOSED TREE 2019-09-06 22:03:15 +03:00
harry
0be00626e6 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

--HG--
extra : moz-landing-system : lando
2019-09-06 17:23:37 +00:00
Dorel Luca
9690cb07dc 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
ff064cc7f3 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

--HG--
extra : moz-landing-system : lando
2019-08-29 02:38:16 +00:00
Sebastian Hengst
14f4125565 Backed out changeset 4aead1eca8c6 (bug 1521893) to fix crashes (bug 1568862)
--HG--
extra : rebase_source : 55caf819b464734c29515f81eca41a6cbba4d5b4
2019-07-29 17:11:19 +02:00
harry
aa07dd7b93 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

--HG--
extra : moz-landing-system : lando
2019-07-24 13:03:49 +00:00
Ciure Andrei
c2592a1c3b 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
e5cfc44574 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

--HG--
extra : moz-landing-system : lando
2019-07-22 18:23:34 +00:00
harry
f56a5c0ec4 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

--HG--
extra : moz-landing-system : lando
2019-07-06 21:10:33 +00:00
Victor Porof
1f830c96da Bug 1561435 - Format browser/components/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : d3afcafdce650a6f36cebbc126ee93b17f13cf52
2019-07-05 09:53:32 +02:00
Mihai Alexandru Michis
421a5483d0 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
d1e552113e 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

--HG--
extra : moz-landing-system : lando
2019-07-04 03:57:47 +00:00
Andreea Pavel
4332741c0a 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
d33a170707 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

--HG--
extra : moz-landing-system : lando
2019-07-02 14:47:07 +00:00
Zibi Braniecki
b0ba25f8b9 Bug 1558602 - Allow DocumentL10n to use LocalizationSync. r=smaug,Pike
Differential Revision: https://phabricator.services.mozilla.com/D34584

--HG--
extra : moz-landing-system : lando
2019-07-01 17:56:57 +00:00
Johann Hofmann
f9e9ef7a10 Bug 1547116 - Avoid updating unnecessary touch bar inputs. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D28907

--HG--
extra : moz-landing-system : lando
2019-05-29 21:42:56 +00:00
Andrew McCreight
bf911424ef Bug 1543169 - Use nicer XPIDL arrays in nsITouchBarUpdater. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D26773

--HG--
extra : moz-landing-system : lando
2019-04-09 17:47:06 +00:00
Harry Twyford
09caf3c6e5 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

--HG--
extra : moz-landing-system : lando
2019-03-18 12:14:11 +00:00
Harry Twyford
ecbfeaf86f 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

--HG--
extra : moz-landing-system : lando
2019-02-21 19:23:33 +00:00
Kris Maglione
65d4fdd47b Bug 1514594: Follow-up: Fix merge bustage in another test. r=bustage 2019-01-28 17:31:01 -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
Harry Twyford
a7c263d04d Bug 1522994 - Resolves crash when using Touch Bar inputs out-of-context. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D17695

--HG--
extra : moz-landing-system : lando
2019-01-27 22:06:38 +00:00
Harry Twyford
3aacb827a3 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

--HG--
extra : moz-landing-system : lando
2019-01-23 19:49:01 +00:00
Stephen A Pohl
3122549861 Bug 1313429: Followup to add a missing break for a case in a switch statement (discovered by coverity). r=mikedeboer
--HG--
extra : rebase_source : a914dd5e54017739e1c4565b0b7d40c2df3b31d9
2019-01-24 00:14:51 +01:00
Harry Twyford
70df5bbf20 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

--HG--
extra : moz-landing-system : lando
2019-01-22 17:13:33 +00:00