Commit Graph

1578 Commits

Author SHA1 Message Date
Mike Taylor
e7d4e33b22 Bug 1341438. Part 1 - Enable Report Site Issue for DevEdition + Nightly. r=Gijs
MozReview-Commit-ID: 7yH39YDmL6V
2017-04-04 17:40:50 -05:00
Mike de Boer
930178b9cc 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
2017-05-30 14:21:59 +02:00
Gijs Kruitbosch
57f7e666ce Bug 1354078 - update labels for customization context menus for Photon, r=bgrins
MozReview-Commit-ID: 1qMCkzxuT4M
2017-05-24 11:17:54 +01:00
Gijs Kruitbosch
303fbb5292 Bug 1354078 - update panel/toolbar context menus to move items to the right place, with tests, r=bgrins
MozReview-Commit-ID: DpQdvE25iqU
2017-05-27 12:48:36 +01:00
Ryan VanderMeulen
c297ca2ae5 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
4631fa32d0 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
2017-05-24 12:52:56 -07:00
Gijs Kruitbosch
11f0ce4911 Bug 1354078 - update labels for customization context menus for Photon, r=bgrins
MozReview-Commit-ID: 1qMCkzxuT4M
2017-05-24 11:17:54 +01:00
Gijs Kruitbosch
ce62942c89 Bug 1354078 - update panel/toolbar context menus to move items to the right place, with tests, r=bgrins
MozReview-Commit-ID: DpQdvE25iqU
2017-05-19 17:27:11 +01:00
Mike de Boer
d0a5e82c22 Bug 1366205 - add a browser mochitest with full coverage of the new menu panel keyboard navigation feature. r=Gijs
This also fixes two issues I found whilst writing the tests:
1. Exclude hidden items from the set of navigable buttons and
2. Exclude disabled items from the set of navigable buttons whilst navigating,
because they may get disabled in the meantime (like with the edit controls).

MozReview-Commit-ID: 5WThVoTZjbV
2017-05-26 13:44:55 +02:00
Ryan VanderMeulen
b59e58b0c3 Merge inbound to m-c. a=merge 2017-05-24 16:32:59 -04:00
Gijs Kruitbosch
6210dfca4f Bug 1354126 - update labeling and styling of footer buttons, r=mikedeboer
MozReview-Commit-ID: DFzb4gbmWYj
2017-05-22 12:20:26 +01:00
Gijs Kruitbosch
b6620c9af2 Bug 1354126 - use checkbox for titlebar toggle in customize mode, r=mikedeboer
MozReview-Commit-ID: 9bdf8uAlWCM
2017-05-22 11:17:11 +01:00
Gijs Kruitbosch
6e964ed266 Bug 1354126 - allow footer to wrap underneath the panel and add a 'done' button, r=mikedeboer
MozReview-Commit-ID: 1LbwmhfGp49
2017-05-22 19:34:04 +01:00
Sebastian Hengst
a3e07c288c merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-05-24 11:27:29 +02:00
Paolo Amadini
efed284f45 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
2017-05-23 17:08:01 +01:00
Ryan VanderMeulen
2b2fff2b89 Merge inbound to m-c. a=merge 2017-05-23 18:11:35 -04:00
Doug Thayer
89a15e6773 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
2017-05-19 08:56:22 -07:00
Doug Thayer
573cb35085 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
2017-05-18 13:22:27 -07:00
Mike Conley
6ead29b658 Bug 1362866 - Rearrange tab focusing behaviour to avoid extra potential reflows. r=Felipe
MozReview-Commit-ID: F1S179A1GH6
2017-05-23 13:08:11 -04:00
Mike de Boer
ee25998278 Bug 1365647 - Make sure that the panel height never shrinks below the height of the main view in panelviews, like the main menu. r=Gijs
MozReview-Commit-ID: EhjDg3Sci1y
2017-05-23 12:07:50 +02:00
Mike de Boer
8b168d2e08 Bug 1354108 - Add the edit controls (cut, copy, paste) to the static menu panel. r=Gijs
MozReview-Commit-ID: Dudscy7dSB1
2017-05-23 12:03:00 +02:00
Gijs Kruitbosch
a0a2428851 Bug 1354084 - add sync / Firefox account button to hamburger panel, r=mikedeboer
MozReview-Commit-ID: 8YOFAY5VpQl
2017-05-09 15:56:19 -04:00
Mike de Boer
2abbaf8ea7 Bug 1354144 - add support for keyboard navigation inside panel views. r=Gijs
MozReview-Commit-ID: GVMyXroGmAn
2017-05-22 12:53:43 +02:00
Doug Thayer
2ac2b10635 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
2017-05-23 16:08:49 -07:00
Ryan VanderMeulen
e45e8dfb59 Merge m-c to inbound. a=merge 2017-05-23 11:15:49 -04:00
Paolo Amadini
7c2f7a19a6 Bug 1364911 - Wait for the history subview to be populated before opening it. r=Gijs
MozReview-Commit-ID: 7F1zPhYjVnL
2017-05-15 15:03:48 +01:00
Gijs Kruitbosch
d26133a073 Bug 1365294 - swap position of the fixed overflow list, r=mikedeboer
MozReview-Commit-ID: 9LlTxRLuOkx
2017-05-17 15:05:36 +01:00
Mike de Boer
8d9d4c744a Bug 1364672 - take the padding of the views into account when calculating the height of each sub view. r=Gijs
It's ok to cache the padding size of the main view and re-use it in this case,
because the padding is maintained for each view consistently.
The performance characteristics are therefore maintained.

MozReview-Commit-ID: GYT59NIiBET
2017-05-17 18:05:58 +02:00
Mike de Boer
d47392640a Bug 1354119 - Add a Find in Page and Help subview button and panel to the photon app menu. r=Gijs
MozReview-Commit-ID: EU1QiAkGkZo
2017-05-17 12:16:37 +02:00
Carsten "Tomcat" Book
e7bc984487 Merge mozilla-central to autoland on a CLOSED TREE 2017-05-16 15:11:18 +02:00
Carsten "Tomcat" Book
d4006b93b2 merge mozilla-inbound to mozilla-central a=merge 2017-05-16 15:04:38 +02:00
Carsten "Tomcat" Book
4168bd1b1b merge autoland to mozilla-central a=merge 2017-05-16 12:33:48 +02:00
Carsten "Tomcat" Book
8de56e494f Backed out changeset aed8ff339114 (bug 1364911) for memory leaks and making Bug/test failure bug 1340425 perma fail 2017-05-16 12:18:46 +02:00
Wes Kocher
672eaeacb7 Merge inbound to central, a=merge
MozReview-Commit-ID: AFMOzsYBEjc
2017-05-15 16:22:21 -07:00
Paolo Amadini
ea6989b38a Bug 1364911 - Wait for the history subview to be populated before opening it. r=Gijs
MozReview-Commit-ID: 7F1zPhYjVnL
2017-05-15 15:03:48 +01:00
Mike de Boer
915cbb36c5 Bug 1354128 - Add Web Developer button to the photon app menu. r=Gijs
MozReview-Commit-ID: 9hq6qX7JpSp
2017-05-12 12:38:23 -04:00
Wes Kocher
484637b292 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 6IorAN8i9Ot
2017-05-15 16:34:36 -07:00
Christoph Kerschbaumer
5452a95b49 Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Fischer.json
b2508dd4e6 Bug 1330315 - Add a telemetry probe to track how the Preferences are opened, r=mconley
MozReview-Commit-ID: GfuGF4v30pI
2017-05-09 10:43:48 -04:00
Mike de Boer
65df65f084 Bug 1363753 - Add an option for panelmultiviews to keep the width of the mainView synchronized across all other subviews. r=Gijs
MozReview-Commit-ID: ALgU1xWydWB
2017-05-15 15:02:32 +02:00
Johann Hofmann
b8955dfa9d Bug 1364166 - Only update combined buttons style in the customizableUI panel. r=Gijs
This Photon-specific workaround styles the zoom and edit
button combinations when the user switches back to the
old menu panel. Before this patch, it used to apply the
panel style even if the buttons were in the toolbar.

This patch fixes that by not even updating the style if
the buttons are not in the panel.

MozReview-Commit-ID: JZZUTudSDeZ
2017-05-11 22:05:01 -04:00
Florian Quèze
15feaa278a Bug 1362882 - script-generated patch to switch from Promise.defer() to new Promise() where it's straightforward, rs=Mossop. 2017-05-12 14:55:27 +02:00
Florian Quèze
50b8c6608d 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
Florian Quèze
b2499a4c57 Bug 1353542 - smaller script-generated patch converting remaining generators that are likely tasks (actual generators were identified by hand and whitelisted), r=Mossop. 2017-05-12 14:45:01 +02:00
Florian Quèze
ff53eb9a63 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Florian Quèze
4ff7b0abff Bug 1353542 - pre-script hand-written cleanup patch, r=Mossop. 2017-05-12 14:41:20 +02:00
Mike de Boer
10ad513c9f Bug 1354127 - Add a 'More' toolbar button to the Photon app menu. r=Gijs
This also improves the styling of checkbox buttons inside the menu and improves
support for adopting panelviews into the app menu from another area properly.

MozReview-Commit-ID: 1I9CeBx3zrz
2017-05-11 16:23:16 -04:00
Ryan VanderMeulen
5d2035f8e0 Merge m-c to autoland. a=merge 2017-05-11 11:30:47 -04:00
Sebastian Hengst
222cb519da merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: HWYxZeNWish
2017-05-11 16:50:12 +02:00
Phil Ringnalda
c15c4ea17c Backed out changeset 18f88f090a65 (bug 1358363) for failures in browser_panelUINotifications.js
CLOSED TREE

MozReview-Commit-ID: 3pkGasvy9tf
2017-05-10 19:27:59 -07:00