Граф коммитов

452 Коммитов

Автор SHA1 Сообщение Дата
Carsten "Tomcat" Book 2a387535b8 Backed out changeset a6d7647024de (bug 1369729) for reflow issues 2017-06-23 15:48:54 +02:00
Gijs Kruitbosch 70c55f0619 Bug 1369729 - use descriptionheightworkaround for sync panel, r=Paolo
MozReview-Commit-ID: LQg6NEgCqz2

--HG--
extra : rebase_source : ebc990e44e7025e90a0a0415df6ce102ba4ba8f0
2017-06-19 16:06:01 +01:00
Sebastian Hengst 7648740589 Backed out changeset c0772946156f (bug 1369729) for failing browser-chrome's browser_appmenu_reflows.js with unexpected uninterruptible reflow. r=backout 2017-06-23 12:53:23 +02:00
Gijs Kruitbosch 28f0bb0532 Bug 1369729 - use descriptionheightworkaround for sync panel, r=Paolo
MozReview-Commit-ID: LQg6NEgCqz2

--HG--
extra : rebase_source : bfe13f52ec729a24ac53854b67d4613fd47b52bb
2017-06-19 16:06:01 +01:00
Paolo Amadini 10ee6a5c4e Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.

MozReview-Commit-ID: 1buqgX1EP4P

--HG--
extra : rebase_source : 3a9ea310d3e4a8642aabbc10636c04bfe2e77070
2017-06-19 11:32:37 +01:00
Mike de Boer f7e1f14006 Bug 1370580 - Part 1 - Ensure that the overflow rules are set the exact same way for the temporary panel as for the appMenu panel. r=Gijs
These rules are set explicitly to allow the two views to be displayed next to
each other briefly when the slide-in transition starts.
This patch also applies the last remaining photon styles to the temporary panel,
which is used by the new Library widget as well.

MozReview-Commit-ID: 45aYzVHwRYv

--HG--
extra : rebase_source : 0bf4fc4effc9de9e431ee50dfcf5fc7206e252cf
2017-06-16 15:41:57 +02:00
Gijs Kruitbosch 11890dd7b5 Bug 1365663 - update synced tabs panel view iconography and alignment, r=mikedeboer
This also adds the icons in non-photon. They seem to work fine there, so I don't think this is a problem.

MozReview-Commit-ID: GkvT3i2jnD1

--HG--
extra : rebase_source : 80d33d329b5740328aa82dd5401475264700e57a
2017-06-16 13:58:12 +01:00
Sebastian Hengst be35e9d97b Backed out changeset af176d040fad (bug 1370580) for frequently failing browser_ext_sidebarAction.js on Linux debug. r=backout a=backout
MozReview-Commit-ID: AwnMjAQTdmC
2017-06-17 23:18:55 +02:00
Mike de Boer 5df9078641 Bug 1370580 - Part 1 - Ensure that the overflow rules are set the exact same way for the temporary panel as for the appMenu panel. r=Gijs
These rules are set explicitly to allow the two views to be displayed next to
each other briefly when the slide-in transition starts.
This patch also applies the last remaining photon styles to the temporary panel,
which is used by the new Library widget as well.

MozReview-Commit-ID: 45aYzVHwRYv

--HG--
extra : rebase_source : 0bf4fc4effc9de9e431ee50dfcf5fc7206e252cf
2017-06-16 15:41:57 +02:00
Sebastian Hengst a4809151b2 Backed out changeset d6be7dc56cc5 (bug 1370580) for failing test-oop-extensions/browser_ext_browserAction_popup_resize.js. r=backout 2017-06-15 19:24:39 +02:00
Mike de Boer 5704197fbf Bug 1370580 - Part 1 - Ensure that the overflow rules are set the exact same way for the temporary panel as for the appMenu panel. r=Gijs
These rules are set explicitly to allow the two views to be displayed next to
each other briefly when the slide-in transition starts.
This patch also applies the last remaining photon styles to the temporary panel,
which is used by the new Library widget as well.

MozReview-Commit-ID: 45aYzVHwRYv

--HG--
extra : rebase_source : f142e3dbba0d70effe129dad43f139e494070d82
2017-06-15 12:49:18 +02:00
Gijs Kruitbosch 6810627a3a Bug 1371311 - make full screen button hide the panel when clicked, r=mikedeboer
MozReview-Commit-ID: AhlzH9PoPK8

--HG--
extra : rebase_source : 57a959074157ecb71985dd506cc2cf74b21315c3
2017-06-14 13:09:09 +01:00
Mike de Boer 386ed7219e Bug 1369095 - calculate the size of the panel to be shown off-screen to work around all the panel layout issues. r=Paolo
MozReview-Commit-ID: ENxCccxcUZk

--HG--
extra : rebase_source : bff74375471ccce984caa2bbb7d3ab9ffe3e1fca
2017-06-13 14:06:35 +02:00
Gijs Kruitbosch 9f3268689a Bug 1370986 - disable panelmultiview in the overflow panel off-nightly for 55, r=mikedeboer
This #ifdefs out the multiview for non-photon-theme, and checks for it being
present in various bits of JS that interact with it. As a result, this will
'fix' the issues in this bug and in bug 1370967 for 55 as it moves off
Nightly. bug 1370967 will still need fixing in the photonpanelmultiview /
webextensions.

MozReview-Commit-ID: 6x4HmyvxeRP

--HG--
extra : rebase_source : cdab2fab97795def95b6f4c70c61cfcb1c3ac2f9
2017-06-08 16:38:36 +01:00
Sebastian Hengst 87ac370a16 Backed out changeset 71da3a25b572 (bug 1370986) for timing out in browser_photon_customization_context_menus.js. r=backout 2017-06-09 21:19:50 +02:00
Gijs Kruitbosch cacf8fbbd8 Bug 1370986 - switch to photonpanelmultiview for photon, disable off-nightly, r=mikedeboer
This #ifdefs out the multiview for non-photon-theme, and checks for it being
present in various bits of JS that interact with it. As a result, this will
'fix' the issues in this bug and in bug 1370967 for 55 as it moves off
Nightly. By switching to the photonpanelmultiview, we get proper anchoring
and slightly improved styling (bug 1354086 covers the rest of that), even
where this code *is* enabled. bug 1370967 will still need fixing in
the photonpanelmultiview / webextensions.

MozReview-Commit-ID: 6x4HmyvxeRP

--HG--
extra : rebase_source : 11503543ab1945f82dc2ba902c32dd6092ebbe80
2017-06-08 16:38:36 +01:00
Wes Kocher 6dbc3e8839 Backed out changeset 9933f2d4d188 (bug 1369095) for timeouts in browser_page_action_menu.js a=backout CLOSED TREE
MozReview-Commit-ID: CErzYNn287D
2017-06-09 09:19:45 -07:00
Mike de Boer 3e8fc24e90 Bug 1369095 - calculate the size of the panel to be shown off-screen to work around all the panel layout issues. r=Paolo
MozReview-Commit-ID: ENxCccxcUZk

--HG--
extra : rebase_source : 3d95b5e816e3a385b2f126634d4365743522ac3e
2017-06-09 15:52:18 +02:00
Sebastian Hengst d77f5a3608 Backed out changeset 8a1615be322c (bug 1369095) for failing browser-chrome's browser_page_action_menu.js with "page-action-multiView" == "page-action-sendToDeviceView". r=backout 2017-06-08 19:14:40 +02:00
Mike de Boer 9e73298285 Bug 1369095 - calculate the size of the panel to be shown off-screen to work around all the panel layout issues. r=Paolo
MozReview-Commit-ID: ENxCccxcUZk

--HG--
extra : rebase_source : 266b95a5efeb08411214f0a0cc46dfb2c2dad084
2017-06-08 16:12:48 +02:00
Doug Thayer 914a39c3fc Bug 1369899 - Listen to MozDOMFullscreen events r=Gijs
While we are now correctly evaluating the fullscreen situation
in OSX so that our update doorhangers behave as if we're in
windowed mode, we aren't correctly listening for state changes.
This addresses that, and tries to limit the chattiness by only
listening to the fullscreen events that we care about.

MozReview-Commit-ID: 9J009l4w21E

--HG--
extra : rebase_source : cfb6e65fe65f3b636212dcca95345f3ab7ea862e
2017-06-02 15:13:23 -07:00
Wes Kocher 8cf2be632b Backed out changeset c1d5b019c52c (bug 1369899) for failures in browser_panelUINotifications_multiWindow.js a=backout
MozReview-Commit-ID: AhqR5TdpXqz
2017-06-05 15:32:20 -07:00
Doug Thayer 0813b229d6 Bug 1369899 - Listen to MozDOMFullscreen events r=Gijs
While we are now correctly evaluating the fullscreen situation
in OSX so that our update doorhangers behave as if we're in
windowed mode, we aren't correctly listening for state changes.
This addresses that, and tries to limit the chattiness by only
listening to the fullscreen events that we care about.

MozReview-Commit-ID: 9J009l4w21E

--HG--
extra : rebase_source : 4bcb607ec066b5cac390aac2dd649563d3b15beb
2017-06-02 15:13:23 -07:00
Mike de Boer 86a57ab6f4 Bug 1354105 - Add zoom controls - zoom in, zoom reset, zoom out and fullscreen - buttons to the Photon app menu. r=Gijs
MozReview-Commit-ID: 8cJg4vbdYgL

--HG--
extra : rebase_source : e3276709b64aa71d884c391be4f4fa75607676f1
2017-06-01 19:36:04 +02:00
Gijs Kruitbosch 2fcb1b8c9a Bug 1354155 - create library button with initial history and synced tabs views, r=bgrins
MozReview-Commit-ID: J65DnluTXdA

--HG--
extra : rebase_source : f40fb4dd438092a4e0e1b3c3ff227875559b5673
2017-05-25 15:15:21 +01:00
Gijs Kruitbosch 97ff0dc3a1 Bug 1354155 - use photon panelmultiview for individual subviews, r=mikedeboer
MozReview-Commit-ID: 9iEHcGDLbJt

--HG--
extra : rebase_source : f4fca8bac9565ea75c3f528ffd85c702935ce86f
2017-05-30 16:30:25 +01:00
Mike de Boer 492d7fe6e7 Bug 1368734 - Part 2 - Add a Quit button to the Photon app menu on Windows and Linux. r=Gijs
MozReview-Commit-ID: L9GoCWcJrfL

--HG--
extra : rebase_source : 778af49079520957656b072daf18fa721da82694
2017-05-31 19:22:04 +02:00
Mike de Boer 38aba49f90 Bug 1364738 - Fix up multi-line labels inside panelviews that have wrapped around and align elements in the banner. r=Gijs,Paolo
I updated, extended and refined Paolo's descriptionHeightWorkaround method to
support multi-line toolbar button labels.
Made the app menu use that method to ensure no scrollbars appear.
Also updated the styling of the banner to have icon and label align correctly
with those of the other buttons inside the panelview.

MozReview-Commit-ID: IzbahG0kyTu

--HG--
extra : rebase_source : 8a6c4e5ac7b1c0d30f53b732730629b5d8ca7166
2017-05-30 14:21:59 +02:00
Gijs Kruitbosch 8a15ffdcd2 Bug 1354078 - update labels for customization context menus for Photon, r=bgrins
MozReview-Commit-ID: 1qMCkzxuT4M

--HG--
extra : rebase_source : 1cb1ef09bab1d34dc45da5487445063e8db63377
2017-05-24 11:17:54 +01:00
Gijs Kruitbosch 811cf5dfec Bug 1354078 - update panel/toolbar context menus to move items to the right place, with tests, r=bgrins
MozReview-Commit-ID: DpQdvE25iqU

--HG--
rename : browser/components/customizableui/test/browser_880164_customization_context_menus.js => browser/components/customizableui/test/browser_photon_customization_context_menus.js
extra : rebase_source : 740c8f47381bd9f15e62345502871db0d098c927
2017-05-27 12:48:36 +01:00
Ryan VanderMeulen e239c7252a Backed out changesets 7be34fd75378 and a2edd07d05dd (bug 1354078) for browser_photon_customization_context_menus.js failures on a CLOSED TREE. 2017-05-26 13:29:10 -04:00
Doug Thayer e48749ed60 Bug 1357917 - Only hide doorhanger when navtoolbox autohides r=Gijs
On OSX we want to show doorhangers when in fullscreen, since OSX
fullscreen doesn't hide the nav toolbox. This makes that change,
and also adds flip="slide" to the panel so that the arrow adjusts
correctly. Unfortunately there still seems to be a bit of a
problem with this where the doorhanger adjusts its position when
entering fullscreen but then waits a little bit (not sure what
triggers it) before updating the anchor arrow. This is tracked by
Bug 1368094.

MozReview-Commit-ID: 3dRLwgMjxIb

--HG--
extra : rebase_source : 79ef7bcaed08829ed64f444d8506e94329518902
2017-05-24 12:52:56 -07:00
Gijs Kruitbosch e6a9d0467f Bug 1354078 - update labels for customization context menus for Photon, r=bgrins
MozReview-Commit-ID: 1qMCkzxuT4M

--HG--
extra : rebase_source : 93d1b5d9679f1daa58c9d75b18c1f0a914dae037
2017-05-24 11:17:54 +01:00
Gijs Kruitbosch 7c9780088e Bug 1354078 - update panel/toolbar context menus to move items to the right place, with tests, r=bgrins
MozReview-Commit-ID: DpQdvE25iqU

--HG--
rename : browser/components/customizableui/test/browser_880164_customization_context_menus.js => browser/components/customizableui/test/browser_photon_customization_context_menus.js
extra : rebase_source : e5722a5d3380f9a9e9f36a65475012dba6bd142b
2017-05-19 17:27:11 +01:00
Ryan VanderMeulen 30caacbb11 Merge inbound to m-c. a=merge 2017-05-24 16:32:59 -04:00
Gijs Kruitbosch 907f0dc669 Bug 1354126 - update labeling and styling of footer buttons, r=mikedeboer
MozReview-Commit-ID: DFzb4gbmWYj

--HG--
rename : browser/themes/shared/sidebar/arrow-dropdown.svg => browser/themes/shared/icons/arrow-dropdown.svg
extra : rebase_source : 6082ace16924dad1bf6375113b3601b722bc6cdb
2017-05-22 12:20:26 +01:00
Gijs Kruitbosch cf42b18d7b Bug 1354126 - use checkbox for titlebar toggle in customize mode, r=mikedeboer
MozReview-Commit-ID: 9bdf8uAlWCM

--HG--
extra : rebase_source : 947a7f9a37c4505cc0840d15dd96570bd3d70e4c
2017-05-22 11:17:11 +01:00
Gijs Kruitbosch 4a7dfbc320 Bug 1354126 - allow footer to wrap underneath the panel and add a 'done' button, r=mikedeboer
MozReview-Commit-ID: 1LbwmhfGp49

--HG--
extra : rebase_source : ebab4a6ae5550ff512f3e2cf2c1e7f9be3c8ef7a
2017-05-22 19:34:04 +01:00
Sebastian Hengst d1ec3e6aa9 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-05-24 11:27:29 +02:00
Paolo Amadini 33ebc4466d Bug 1009116 - Redo resizing architecture of panelmultiview. r=Gijs
The height of the "panelmultiview" binding is now determined by the stack layout code, and doesn't have to be calculated manually via JavaScript anymore. This allows the removal of mutation and overflow observers, and reduces the number of synchronous layouts being made.

There is still a workaround included for wrapping blocks not being taken into account in height calculations.

MozReview-Commit-ID: 9rrPU5O5hUx

--HG--
extra : rebase_source : b872c14a553c4293ac476d5d22c634a5a0f6cb24
extra : intermediate-source : bf96469b6ea7daee29eb75a60d11f017a1c86a64
extra : source : 719bb4e7286fbd3baf32061929e4b7d9f953c671
2017-05-23 17:08:01 +01:00
Doug Thayer 82301632cc Bug 1359733 - (pt. 2) Refactor gMenuButtonUpdateBadge r=rstrong
Since we now have a store of notifications that is global across
all windows, it no longer makes sense to consume the API from
within browser.js. This patch moves the browser.js logic out into
a jsm file that is wired up through nsBrowserGlue, such that it
will be lazily instantiated on the first update event it would
receive[1].

We decided to move this into toolkit, as this piece of the
system is fairly generic and shouldn't differ between
applications.

[1]: There is a change to nsBrowserGlue to use "global[module]"
instead of this[module]. This mirrors the code for all the other
types of notifications, and I suspect it was just a latent bug,
since the original diff that includes this line makes no use of
it.

MozReview-Commit-ID: 8EQdM9BOpgl

--HG--
rename : browser/base/content/test/appUpdate/.eslintrc.js => toolkit/mozapps/update/tests/browser/.eslintrc.js
rename : browser/base/content/test/appUpdate/browser.ini => toolkit/mozapps/update/tests/browser/browser.ini
rename : browser/base/content/test/appUpdate/browser_updatesBackgroundWindow.js => toolkit/mozapps/update/tests/browser/browser_updatesBackgroundWindow.js
rename : browser/base/content/test/appUpdate/browser_updatesBackgroundWindowFailures.js => toolkit/mozapps/update/tests/browser/browser_updatesBackgroundWindowFailures.js
rename : browser/base/content/test/appUpdate/browser_updatesBasicPrompt.js => toolkit/mozapps/update/tests/browser/browser_updatesBasicPrompt.js
rename : browser/base/content/test/appUpdate/browser_updatesBasicPromptNoStaging.js => toolkit/mozapps/update/tests/browser/browser_updatesBasicPromptNoStaging.js
rename : browser/base/content/test/appUpdate/browser_updatesCantApply.js => toolkit/mozapps/update/tests/browser/browser_updatesCantApply.js
rename : browser/base/content/test/appUpdate/browser_updatesCompleteAndPartialPatchesWithBadCompleteSize.js => toolkit/mozapps/update/tests/browser/browser_updatesCompleteAndPartialPatchesWithBadCompleteSize.js
rename : browser/base/content/test/appUpdate/browser_updatesCompleteAndPartialPatchesWithBadPartialSize.js => toolkit/mozapps/update/tests/browser/browser_updatesCompleteAndPartialPatchesWithBadPartialSize.js
rename : browser/base/content/test/appUpdate/browser_updatesCompleteAndPartialPatchesWithBadSizes.js => toolkit/mozapps/update/tests/browser/browser_updatesCompleteAndPartialPatchesWithBadSizes.js
rename : browser/base/content/test/appUpdate/browser_updatesCompletePatchApplyFailure.js => toolkit/mozapps/update/tests/browser/browser_updatesCompletePatchApplyFailure.js
rename : browser/base/content/test/appUpdate/browser_updatesCompletePatchWithBadCompleteSize.js => toolkit/mozapps/update/tests/browser/browser_updatesCompletePatchWithBadCompleteSize.js
rename : browser/base/content/test/appUpdate/browser_updatesDownloadFailures.js => toolkit/mozapps/update/tests/browser/browser_updatesDownloadFailures.js
rename : browser/base/content/test/appUpdate/browser_updatesMalformedXml.js => toolkit/mozapps/update/tests/browser/browser_updatesMalformedXml.js
rename : browser/base/content/test/appUpdate/browser_updatesPartialPatchApplyFailure.js => toolkit/mozapps/update/tests/browser/browser_updatesPartialPatchApplyFailure.js
rename : browser/base/content/test/appUpdate/browser_updatesPartialPatchApplyFailureWithCompleteAvailable.js => toolkit/mozapps/update/tests/browser/browser_updatesPartialPatchApplyFailureWithCompleteAvailable.js
rename : browser/base/content/test/appUpdate/browser_updatesPartialPatchApplyFailureWithCompleteValidationFailure.js => toolkit/mozapps/update/tests/browser/browser_updatesPartialPatchApplyFailureWithCompleteValidationFailure.js
rename : browser/base/content/test/appUpdate/browser_updatesPartialPatchWithBadPartialSize.js => toolkit/mozapps/update/tests/browser/browser_updatesPartialPatchWithBadPartialSize.js
extra : rebase_source : 24048650b23eff0a1da9679d1e9b5e1db1900287
2017-05-19 08:56:22 -07:00
Doug Thayer 646edb5fab Bug 1359733 - Move menu notification state to jsm r=Gijs
Right now, app menu doorhangers/badges have their state managed
directly inside panelUI.js. This is problematic because these
doorhangers and badges usually have to do with Firefox itself,
and not the specific window that's showing them. Accordingly, the
simplest solution was to move panelUI.js's notification state out
into a jsm file, which will fire notifications that all panelUI
instances can listen to.

MozReview-Commit-ID: 7b8w1WsQ29p

--HG--
extra : rebase_source : 23575df8176b862ec0e6a039173b105c45c76de9
2017-05-18 13:22:27 -07:00
Mike de Boer 96546e2ad2 Bug 1354108 - Add the edit controls (cut, copy, paste) to the static menu panel. r=Gijs
MozReview-Commit-ID: Dudscy7dSB1

--HG--
extra : rebase_source : 42ac8e4c57b19b03bcf965d40b65c81dde790fba
2017-05-23 12:03:00 +02:00
Gijs Kruitbosch d4da052d31 Bug 1354084 - add sync / Firefox account button to hamburger panel, r=mikedeboer
MozReview-Commit-ID: 8YOFAY5VpQl

--HG--
extra : rebase_source : a4b4121fd729072ff9d2d37b01b6bea7ae27948a
2017-05-09 15:56:19 -04:00
Mike de Boer af01a5fa65 Bug 1354144 - add support for keyboard navigation inside panel views. r=Gijs
MozReview-Commit-ID: GVMyXroGmAn

--HG--
extra : rebase_source : 146eae8a189b2536d2d3774466e2252315e3f1a1
2017-05-22 12:53:43 +02:00
Doug Thayer 1ef099e6e8 Bug 1361358 - Change update restart panel banner text r=rstrong
This keeps the banner text in sync with the doorhanger text.

MozReview-Commit-ID: Hwm3fvLZUHR

--HG--
extra : rebase_source : f115b493e8df4b8dc8c8f29f14de98a4c1d60c94
2017-05-23 16:08:49 -07:00
Gijs Kruitbosch 693fc8a6f8 Bug 1365294 - swap position of the fixed overflow list, r=mikedeboer
MozReview-Commit-ID: 9LlTxRLuOkx

--HG--
extra : rebase_source : bc97a85cf5e2f1f8bc10cc5e5e8883875490c2de
2017-05-17 15:05:36 +01:00
Mike de Boer 72c1387c7b Bug 1354119 - Add a Find in Page and Help subview button and panel to the photon app menu. r=Gijs
MozReview-Commit-ID: EU1QiAkGkZo

--HG--
extra : rebase_source : 733a0c0348bafa38d13c507023d117686c498937
2017-05-17 12:16:37 +02:00
Mike de Boer eb5eb63cb7 Bug 1354128 - Add Web Developer button to the photon app menu. r=Gijs
MozReview-Commit-ID: 9hq6qX7JpSp

--HG--
extra : rebase_source : 26755f09798997233519e38e1bf5ec7d9d80c594
2017-05-12 12:38:23 -04:00
Florian Quèze 1d0e28a791 Bug 1353542 - script-generated patch to remove .bind(this) calls we no longer need now that generator functions have been replaced with async functions, r=Mossop. 2017-05-12 14:47:41 +02:00