Commit Graph

133 Commits

Author SHA1 Message Date
Gijs Kruitbosch
6ecb91be3e Bug 1355020 - part 2: disentangle add-on notifications from 'PanelUI' and their specific spot, r=kmag
MozReview-Commit-ID: h2azhwU60S
2017-05-03 14:53:07 +01:00
Gijs Kruitbosch
f28cdbf3e9 Bug 1355020 - part 1: disentangle update notifications from 'PanelUI' and hardcoded IDs, r=dthayer
MozReview-Commit-ID: EqLtDuRC8EH
2017-05-04 12:56:11 +01:00
Gijs Kruitbosch
5929e36962 Bug 1354079 - add sticky / permanent part to overflow panel, r=mikedeboer
MozReview-Commit-ID: 7wv43JWLx8Q
2017-04-22 10:41:03 +01:00
Neil Deakin
5dae15d035 Bug 1356587, update the gEditUIVisible flag when the panelUI is opened and closed so that the command updating optimization actually applies. Currently it never applies once the panel has been opened at least once, r=gijs 2017-05-01 10:42:33 -04:00
Gijs Kruitbosch
fd582ab3ad Bug 1354116 - add open, save, page setup, print buttons to main hamburger panel, r=mikedeboer
MozReview-Commit-ID: 7mq4QpsoSPK
2017-04-20 17:21:26 +01:00
Iris Hsiao
98e4b64dc4 merge mozilla-inbound to mozilla-central a=merge 2017-04-24 11:35:45 +08:00
Florian Queze
b7fa7f8a36 Bug 1358173 - Removing a non-existent panelUI notification shouldn't be expensive, r=Gijs. 2017-04-22 11:20:20 +02:00
Doug Thayer
14995dba7c Bug 1348396 - Only show a badge on PanelUI while in fullscreen r=enndeakin+6102,rstrong
Previously we were showing a doorhanger when the user moused to the
top of the screen while in fullscreen mode. However, the doorhanger
would disappear before the user had a chance to interact with it.
We decided it's best anyway to simply display a badge when the user
is in fullscreen, and to reshow the doorhanger when the user exits
fullscreen.

MozReview-Commit-ID: ENRtXC4wqvZ
2017-04-10 11:11:45 -07:00
Gijs Kruitbosch
f60415b033 Bug 1354071 - use a panelmultiview for the overflow panel, r=mikedeboer
MozReview-Commit-ID: ERZuwC6eYQf
2017-04-18 12:16:47 +01:00
Gijs Kruitbosch
9c8a81998e Bug 1354095 - add new {,private} window buttons to photon panel r=mikedeboer
MozReview-Commit-ID: EZ8GtGIPpNL
2017-04-11 22:52:13 +01:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
ee8a812d55 Backed out changeset d6d5806e5695 (bug 1348396) for frequently failing modified test. r=backout 2017-04-11 21:31:41 +02:00
Doug Thayer
f11fc78e34 Bug 1348396 - Only show a badge on PanelUI while in fullscreen r=enndeakin+6102
Previously we were showing a doorhanger when the user moused to the
top of the screen while in fullscreen mode. However, the doorhanger
would disappear before the user had a chance to interact with it.
We decided it's best anyway to simply display a badge when the user
is in fullscreen, and to reshow the doorhanger when the user exits
fullscreen.

MozReview-Commit-ID: ENRtXC4wqvZ
2017-04-10 11:11:45 -07:00
Gijs Kruitbosch
4408f908d1 Bug 1354083 - create a photon structure pref and a panel for photon hamburger menu use, r=mikedeboer
MozReview-Commit-ID: CKdxucwQfXV
2017-04-10 20:02:43 +01:00
Doug Thayer
a5b27a8e9b Bug 893505 - Simplify the application update UI r=chmanchester,enndeakin+6102,Gijs,rstrong
There's quite a few changes in here. At a high level, all we're trying to do
is to replace the old update popup with a less intrusive and more modern
doorhanger (set of doorhangers) for various update failure conditions.

MozReview-Commit-ID: 24sESMTosNX
2017-03-21 13:50:09 -07:00
Zibi Braniecki
e1617486a8 Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.

This allows us to remove a lot of calls for the app locale.

The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.

MozReview-Commit-ID: DzmFEUvMq3N
2017-03-14 16:09:54 -07:00
Sebastian Hengst
1f6ea2382a Backed out changeset cc308a73ad05 (bug 1347314) for eslint failure in test_device.html. r=backout 2017-03-22 18:20:26 +01:00
Zibi Braniecki
a56e4c7360 Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.

This allows us to remove a lot of calls for the app locale.

The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.

MozReview-Commit-ID: DzmFEUvMq3N
2017-03-14 16:09:54 -07:00
Florian Quèze
b15de4893d Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
Florian Quèze
91f7a2ef3a Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Florian Quèze
63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Jared Wein
e3149c378f Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
34e228f767 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Dave Townsend
12596ced47 Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
MozReview-Commit-ID: HBpjT2uHJaZ
2016-11-10 14:48:04 -08:00
Wes Kocher
be3c2198cc Merge m-c to inbound a=merge 2016-08-19 18:39:52 -07:00
Kris Maglione
f0333bcfb0 Bug 1259093: Part 2 - Reparent view nodes before dispatching ViewShowing event. r/rs=Gijs
MozReview-Commit-ID: IRkAJYQFd1C
2016-08-16 18:31:57 -07:00
Kris Maglione
efcf532168 Bug 1259093: Part 1 - Allow async initialization from ViewShowing events. r=Gijs
This changes the `detail` of the ViewShowing events in an incompatible way.
There were only a few places it was used in mozilla-central, which I fixed. I
searched add-ons in DXR and didn't find any that used the `detail` member of
this event, but I had to resort to a random sampling, so it's possible that
some do exist.

MozReview-Commit-ID: CYzGw6KH7uI
***
amend-0

MozReview-Commit-ID: EZfo1k7YhSx
2016-08-16 18:46:56 -07:00
Katie Broida[:ktbee]
0bcb756d06 Bug 1171746 - Ensure tab-specific panels close when you switch the tab. r=jaws 2016-08-19 07:27:00 -04:00
Sebastian Hengst
10c1305bca Backed out changeset 0c4f81bc2b52 (bug 1252224) for permafailing in browser_ext_browserAction_popup_resize.js on Linux after merge to mozilla-central. r=backout a=backout
MozReview-Commit-ID: KUARkl7QxB7
2016-08-13 13:27:15 +02:00
Jared Wein
cfe3213e30 Bug 1252224 - Remove synchronous layout flushes and style invalidations during the opening of multiview panels. r=mconley
MozReview-Commit-ID: 9T4gAPwFrXp
* * *
[mq]: temp

MozReview-Commit-ID: Bj91OhNd8ed
* * *
[mq]: temp

MozReview-Commit-ID: J8h8InaMRP4
2016-08-04 17:30:54 -04:00
Sumit Tiwari
4edded08d9 Bug 1290698 - Replace Iterator() with Object.{values, entries}; r=mossop
MozReview-Commit-ID: DEoVeqEZWpd
2016-08-07 21:58:24 -04:00
gasolin
197660a82c Bug 1260718 - use plain promise in panelUI.js; r=Gijs
MozReview-Commit-ID: 8WkAovMOMop
2016-04-06 15:05:11 +08:00
Gijs Kruitbosch
206f1e8be0 Bug 1256085 - fix hamburger menu losing pressed state when a context menu inside the panel closes, r=jaws
MozReview-Commit-ID: 6ZhBPlYMU4y
2016-03-15 21:28:31 +00:00
Dão Gottwald
0debf7316f Bug 1014185 - Remove about:customizing and use about:blank for customize mode instead. r=jaws 2016-02-20 14:03:25 +01:00
Carsten "Tomcat" Book
6a9ce8a5af Backed out changeset c34fe673bb97 (bug 1014185) for perma failures in browser_bug1163570.js 2016-02-19 17:19:19 +01:00
Dão Gottwald
b454fc92a1 Bug 1014185 - Remove about:customizing and use about:blank for customize mode instead. r=jaws 2016-02-19 00:50:17 +01:00
Jared Wein
dabbbb279c Bug 1242137 - Fix eslint errors in /browser/components/customizableui. r=gijs 2016-01-23 14:55:27 -05:00
Kris Maglione
654f576847 Bug 1217129: Part 2 - Clear open state of view widgets if view opening is prevented. r=gijs 2016-01-07 19:26:33 -08:00
Carsten "Tomcat" Book
d392a8cd54 Backed out 8 changesets (bug 1217129) for test failures in browser_ext_pageAction_context.js
Backed out changeset dc5742de0823 (bug 1217129)
Backed out changeset 106365a3847c (bug 1217129)
Backed out changeset 628af985c7eb (bug 1217129)
Backed out changeset 7ad8b56958c5 (bug 1217129)
Backed out changeset 71f46fe62f59 (bug 1217129)
Backed out changeset 7d8dee4c335b (bug 1217129)
Backed out changeset 3b5fb2845c3b (bug 1217129)
Backed out changeset 93266f211716 (bug 1217129)
2016-01-18 09:08:35 +01:00
Kris Maglione
e499dd6e26 Bug 1217129: Part 2 - Clear open state of view widgets if view opening is prevented. r=gijs 2016-01-07 19:26:33 -08:00
Dave Townsend
6bc2e9ae43 Bug 1229224: Fix linting for some browser files that tests depend on. r=felipe 2015-12-17 15:19:00 -08:00
Jared Wein
bd85f630cc Bug 1205436 - Add extra logging to PanelUI show/hide and customizing enter/exit. r=Gijs 2015-11-09 18:15:38 -05:00
Carsten "Tomcat" Book
036e6d2fa3 Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Sebastian Hengst
190bccea7d Backed out changeset c6b267589d0d (bug 1202902) for Mulet Reftest, W3C Platform Test and other failures. r=backout a=backout on a CLOSED TREE 2015-10-07 13:36:26 +02:00
Shu-yu Guo
a021cebc10 Bug 1202902 - Fix the world. (r=ato for marionette, rs=Mossop for rest) 2015-10-06 14:00:30 -07:00
Tooru Fujisawa
90c9445b4c Bug 1207491 - Part 3: Remove use of expression closure from browser/components/customizableui/content/. r=Gijs 2015-09-23 18:36:20 +09:00
Gijs Kruitbosch
1b68c43e67 Bug 1164942 - do not load pocket's jsm or other scripts until used with extra getter to satisfy tests, r=jaws 2015-05-15 14:25:57 +01:00