Commit graph

598 commits

Author SHA1 Message Date
Mark Striemer
632451eaff Bug 1444149 - Include addon name and icon in New Tab doorhanger r=aswan
MozReview-Commit-ID: 2Mpn1iKVPbF

--HG--
extra : rebase_source : b1a1f79178b983f0abdd71c58ea438d8b25a92ba
2018-03-09 15:23:01 -06:00
Paolo Amadini
357704dead Bug 1441284 - Part 7 - Remove the "_ephemeral" property. r=Gijs
The "ephemeral" attribute was not actually used anymore, because it is redundant with the "viewCacheId" attribute.

MozReview-Commit-ID: 6zxf2DmcEfI

--HG--
extra : rebase_source : b3fb5381152c8baaf8f77549e87723e1815f945f
2018-02-26 19:50:19 +00:00
Edouard Oger
25db2f7ed6 Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s

--HG--
extra : rebase_source : 706d6a9a1187e9b666074d0dd68d03eda3fb448b
2018-02-15 11:24:44 +08:00
Paolo Amadini
c7bdffd735 Bug 1437512 - Part 2 - Remove the "panelmultiview" binding. r=Gijs
MozReview-Commit-ID: H9R7ahkCr2U

--HG--
extra : rebase_source : d6403d026b4539acc71325c600ee9ff3be667591
2018-02-25 18:43:55 +00:00
Paolo Amadini
c31491834b Bug 1437512 - Part 1 - Remove the "panelmultiview" binding construction. r=Gijs
MozReview-Commit-ID: 3oCvOe5th0B

--HG--
extra : rebase_source : 11ec16d78e61379d6efd359bd221b1829f89efa6
2018-02-25 18:41:45 +00:00
Cosmin Sabou
bfd2fc78a3 Backed out changeset a2147499c437 (bug 1434706) for frequent mochitest browser chrome failures on browser_contextmenu_sendpage.js 2018-02-23 22:15:08 +02:00
Edouard Oger
6e2641372c Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s

--HG--
extra : rebase_source : d5f7b31627424b652147674a520ae75571203994
2018-02-15 11:24:44 +08:00
Paolo Amadini
7a2372af52 Bug 1439358 - Part 7 - Close the main view synchronously before opening it in a different panel. r=Gijs
This also updates the AppMenu mozscreenshots module to work with the Photon main menu.

MozReview-Commit-ID: FciQH815F95

--HG--
extra : rebase_source : 5c129b0d4aa824bbe899066f2bb197106d1c0408
2018-02-22 11:25:10 +00:00
Paolo Amadini
0eac64a01c Bug 1437811 - Part 2 - Prepare the main view just before opening the panel. r=Gijs
This allows the ViewShowing event for the main view to prevent the panel from opening. It also avoids setting up the main view if the panel is not opened.

MozReview-Commit-ID: LK8tBcz6lkK

--HG--
extra : rebase_source : beb721ff996f11d7e162a4ff431c38b30bf42ca6
extra : source : c8115e90ffa8af27ef00cbd0f8da68dce7ce36bd
2018-02-16 15:03:18 +00:00
Timothy Guan-tin Chien
b073441b39 Bug 1422386 - Remove toolbardecoration, toolbar, and toolbar-base binding, r=Paolo
The only purpose of these bindings was to insert a stylesheet, which has been
moved to be included in toolkit/content/components.css.

MozReview-Commit-ID: 23jqkIrbVvi

--HG--
extra : rebase_source : 8d13f7a8afa730207d40e1457e36ec51331c4ea7
2018-02-13 22:12:18 +08:00
Edouard Oger
06724df9cc Bug 1434670 - Synced tabs panels adjustments. r=dao
MozReview-Commit-ID: 8HrlWciU2Rg

--HG--
extra : rebase_source : 69372eeb368398bd6a99151f74439a01bf7e8538
2018-01-31 13:28:28 -05:00
Paolo Amadini
d59df3cdd5 Bug 1434883 - Part 2 - Use an asynchronous API to open PanelMultiView panels. r=Gijs
MozReview-Commit-ID: 3VzoxJ3Ociy

--HG--
extra : source : 22c83b1d417d7c7bd21a71109f4800f5d37bbb77
extra : intermediate-source : 6de7133c267288a468804f67f91df68b10b9793e
2018-02-06 09:02:27 +00:00
Florian Quèze
c4e2b2a086 Bug 1434945 - toolbar.xml should ignore overflow/underflow events that don't come from its customization target, r=Gijs. 2018-02-08 19:40:16 +01:00
Paolo Amadini
d6977c62c9 Bug 1428930 - Move some XBL accessibility roles into XULMap.h. r=bgrins,surkov
MozReview-Commit-ID: Iye8XoQ7neq

--HG--
extra : rebase_source : e9101e02cdf30489eda8867cbf6784eeb923e47d
2018-02-07 13:23:53 +00:00
Cosmin Sabou
793dad7903 Backed out 3 changesets (bug 1434883) for frequent leaks in AbstractThread, AnimationTimeline, Annotators, Array, AsyncFreeSnowWhite, ... on a CLOSED TREE
Backed out changeset c8115e90ffa8 (bug 1434883)
Backed out changeset 22c83b1d417d (bug 1434883)
Backed out changeset 085796417462 (bug 1434883)
2018-02-06 16:30:56 +02:00
Paolo Amadini
049d1a8199 Bug 1434883 - Part 3 - Prepare the main view just before opening the panel. r=Gijs
This allows the ViewShowing event for the main view to prevent the panel from opening. It also avoids setting up the main view if the panel is not opened.

MozReview-Commit-ID: Ks9fQMxjhGu

--HG--
extra : rebase_source : 6ce5aba338a77fb70b7a4bf8bb38ed35bb0d992b
extra : amend_source : f6480289fb1b7743c945b1252228500f663435df
2018-02-05 14:02:29 +00:00
Paolo Amadini
5ac445ad8f Bug 1434883 - Part 2 - Use an asynchronous API to open PanelMultiView panels. r=Gijs
MozReview-Commit-ID: 3VzoxJ3Ociy

--HG--
extra : rebase_source : 7302ce6eed5364c80b7dfe9409e5c9d28e030e38
2018-02-06 09:02:27 +00:00
Ursula Sarracini
eda0730782 Bug 1425496 - Add Recently Pocketed Items to Highlights r=Mardak
MozReview-Commit-ID: LyXKkQkPXte

--HG--
extra : rebase_source : 7cb303772463efd7179fcd672d022dc0a0e37015
2018-02-02 17:06:06 -05:00
Florian Quèze
2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01: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
Paolo Amadini
f26eb575e4 Bug 1432016 - Part 1 - Add a PanelView class using a base class shared with PanelMultiView. r=Gijs
Only one method is moved to the PanelView class to simplify the keyboard navigation test.

MozReview-Commit-ID: CHB5FiT9ptn

--HG--
extra : rebase_source : ec588beae9f1208a37ce85f9d28029dfd979db24
2018-01-22 12:46:48 +00:00
Paolo Amadini
11d708f26b Bug 1432015 - Part 2 - Remove the setMainView methods. r=Gijs
The setMainView method of PanelMultiView controls the "mainview" attribute, which is already set or removed later in the showSubView method. When called at construction time, it changes the mainViewId if there is at least one child in the "panelmultiview" element and the original mainViewId does not already reference the first child. This would be incorrect, but in practice it never happens for either ephemeral or static panels, and can be avoided for the throw-away activated page action panel.

The setMainView method of PanelUI is never called, and this makes the corresponding PanelMultiView method removable.

MozReview-Commit-ID: 5bNidHfKFTA

--HG--
extra : rebase_source : b527827d30d682d183981347c2caf3a8a5d81355
2018-01-21 15:59:41 +00:00
Kris Maglione
aec63e140c Backed out 3 changesets (bug 1431533) for Android mochitest bustage. CLOSED TREE
MozReview-Commit-ID: 5ubE9EMQpZ9

--HG--
extra : histedit_source : df68d7595925c07d9d6e8bacc2c46e69556f479a%2C72b768b9825e20ede6603ead75f871c50dc041f7
2018-01-24 22:04:59 -08:00
Kris Maglione
30b3a49bfd Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
MozReview-Commit-ID: 8V1ZT53ReiP

--HG--
extra : rebase_source : 12b5f8c3e125111db7382eb3d7d20a99fb2c35b3
extra : absorb_source : e99fa7f6eee02e7e6cadeb898c7fcf6dac9c902a
extra : histedit_source : d0dfc31fadc2b81d341c9d0cd1efec02923c003b
2018-01-24 15:48:47 -08:00
Dão Gottwald
827618fca1 Bug 1430128 - Remove remnants of the iconsize attribute. r=Gijs
MozReview-Commit-ID: 3a80XcR3NUM

--HG--
extra : rebase_source : 25607ac27fd4e84ebdbfe13a3c77ba2ea0df6d7b
2018-01-12 16:03:44 +01:00
Tim Nguyen
8d9a650ed6 Bug 1430009 - Remove reference to externalToolbars in customizableui toolbar.xml binding. r=Gijs
MozReview-Commit-ID: CMKNn7jdcVq

--HG--
extra : rebase_source : 573f6414595766f21984f987694eadff36d438a3
2018-01-12 08:56:31 +00:00
Edouard Oger
2040473d06 Bug 1426444 - Make Synced Tabs unverified state consistent. r=markh
MozReview-Commit-ID: D62SqelGXw2

--HG--
extra : rebase_source : ee6cd000ed6ee0bde094639c7c067f2eb7ec7e4c
2017-12-20 14:52:33 -05:00
Florian Quèze
7b5a7a03c6 Bug 1394914 - toolbars no longer need to wait for xul overlays to load before initializing CustomizableUI icons (avoid sidebar icon flickering), r=Gijs. 2017-12-19 23:40:40 +01:00
Margareta Eliza Balazs
1eebb5247e Backed out changeset 7c96cab6821a (bug 1394914) for failing bc in browser/base/content/test/performance/browser_windowopen_reflows.js r=backout a=backout on a CLOSED TREE
--HG--
extra : amend_source : 26399ce10f34ab1a32a07ce8669eeda7d2d63fc2
2017-12-20 14:32:53 +02:00
Florian Quèze
10d90b6bb5 Bug 1394914 - toolbars no longer need to wait for xul overlays to load before initializing CustomizableUI icons (avoid sidebar icon flickering), r=Gijs. 2017-12-19 23:40:40 +01:00
Dorel Luca
1208bc03a7 Merge mozilla-central to autoland r=merge on a CLOSED TREE
--HG--
extra : rebase_source : 5f22b0e83fd5f1b28e0c1ebbcc429c332835eb36
2017-12-07 00:27:29 +02:00
Paolo Amadini
b12ae1861e Bug 1417042 - Remove the "panelview" binding. r=Gijs
MozReview-Commit-ID: 26uQb3pteQd

--HG--
extra : rebase_source : 93263ff4f1e0d38292dbfef3f7385ddd881b25ef
extra : source : bce38a7817ee39ccd38f57f73f5acf81a41e1f69
2017-12-06 10:37:25 +00:00
Edouard Oger
7fabe73930 Bug 1422106 - Show broken heart when unverified in synced tabs sidebar/panel. r=markh
MozReview-Commit-ID: BDTdmcIOHmn

--HG--
extra : rebase_source : c2b534461715f8db1e6cb8bc7910311cc4ff6611
2017-11-30 16:01:40 -05:00
Paolo Amadini
fd72a1cb37 Bug 1392340 - Height jumps when opening subviews of different lengths. r=Gijs
The height of the subview being opened was supposedly calculated using an off-screen container independent from the currently displayed views, but this didn't work as expected because of the incorrect box alignment. This is now fixed and the correct minimum and maximum heights are set on the container separately, also preventing the current view from flickering before the transition in case the subview was taller.

With this issue fixed, the height can now be recalculated each time the subview is opened, without the caching that caused incorrect results when the same view was reopened with different elements or text.

Jumping could also occur because of a border applied only during the transition, which could influence the subview height in the presence of wrapping text.

MozReview-Commit-ID: EWHs1hFKXT4

--HG--
extra : rebase_source : 5b0bc4e5d4d2d10d684c2c2bf94a9030aadd09bd
2017-11-28 16:53:42 +00:00
Paolo Amadini
224d94cc76 Bug 1420945 - Keep the existing items in the Recent Highlights section while opening the Library panel. r=Gijs
In order to display the Library view sooner, the Recent Highlights section is populated asynchronously after the view is shown. When the Library button is moved to the overflow menu, this prevents the view height animation from including this section.

This can be worked around after the first time the view is opened, and is currently done by reusing the last known height. This logic causes issues with other subviews, but to fix this the Library view has to be changed to keep the existing highlight items while fetching the new ones.

MozReview-Commit-ID: AGs7nh4CsYE

--HG--
extra : rebase_source : ee2876f45ac16dc6c58d3373dfd2e3cc847dd593
2017-11-30 21:28:00 +00:00
Edouard Oger
ae62aef149 Bug 1418466 - Add Connect Another Device button to relevant Sync UI. r=dao,markh
MozReview-Commit-ID: 5vBKH9NejVV

--HG--
extra : rebase_source : c160a5a1d7753d41c7afec3a822aefa9461684e6
2017-11-17 16:48:17 -05:00
Noemi Erli
e5e82c8496 Backed out changeset 932a77d8fbae (bug 1418466) for ES failures in /builds/worker/checkouts/gecko/browser/base/content/browser-sync.js r=backout on a CLOSED TREE 2017-11-30 18:44:16 +02:00
Edouard Oger
016b5734e5 Bug 1418466 - Add Connect Another Device button to relevant Sync UI. r=dao,markh
MozReview-Commit-ID: 5vBKH9NejVV

--HG--
extra : rebase_source : e8628aba338b19142dc63add9bb380042096053f
2017-11-17 16:48:17 -05:00
Edouard Oger
fb068875b7 Bug 1417520 p3 - Remove No Synced tabs yet title. r=markh
MozReview-Commit-ID: BYOMCnLk3bs

--HG--
extra : rebase_source : 0bbcdb63ac447e3bb9d13b869df22c46235d9d40
2017-11-17 15:07:17 -05:00
Edouard Oger
1cfc06aae1 Bug 1417520 p2 - Introduce sync-illustration-issues. r=dao,markh
MozReview-Commit-ID: 8VbiDUuGvTk

--HG--
extra : rebase_source : 594e44afc3634f6aa48ecbc991d49bcbb7ecf105
2017-11-16 13:26:19 -05:00
Mark Striemer
8a1f9ea7ae Bug 1390158 - Notify user of extension controlling New Tab on first access r=aswan,jaws
MozReview-Commit-ID: 1g9d4UTuOgr

--HG--
extra : rebase_source : 29e07cff103e7751bf4ca414a88f89136d3ac237
2017-11-22 19:00:58 -06:00
Paolo Amadini
fc23659e93 Bug 1414244 - Part 6 - Fold the "photonpanelmultiview" binding into "panelmultiview". r=Gijs
MozReview-Commit-ID: IjvSZZUHUMt

--HG--
extra : rebase_source : a94e212e8af35b77806d1d62e020a511ab62e224
2017-11-21 14:21:32 +00:00
Paolo Amadini
5bf848634e Bug 1414244 - Part 5 - Remove the "panel-mainview" container. r=Gijs
MozReview-Commit-ID: 3NDGiy3Mwtq

--HG--
extra : rebase_source : 9c46b5dd69df05ff7688eae2e6b4aabaca4e2d8d
2017-11-11 22:56:15 +00:00
Paolo Amadini
90a19d3ca4 Bug 1414244 - Part 4 - Remove the "panel-clickcapturer" element. r=Gijs
MozReview-Commit-ID: 3aPVbnmr7QB

--HG--
extra : rebase_source : f59452147d08b3f75521c544f78f1c29b2c39814
2017-11-11 22:48:32 +00:00
Paolo Amadini
82f9f4f35d Bug 1414244 - Part 3 - Remove the "panel-subviews" container. r=Gijs
MozReview-Commit-ID: 2GGJ1myKuF5

--HG--
extra : rebase_source : e4089ae1ec828048f052932f13a687aca109b7c5
2017-11-11 22:09:30 +00:00
Paolo Amadini
b4f8aa9d1e Bug 1414244 - Part 2 - Remove the "viewtype" attribute. r=Gijs
MozReview-Commit-ID: 8fq0KLfYWnc

--HG--
extra : rebase_source : a75197f66d0b8699e1cad5640eb0bc20ee53ee0c
2017-11-21 13:22:47 +00:00