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

828 Коммитов

Автор SHA1 Сообщение Дата
Markus Stange 097973bc25 Bug 1650835 - Add support for a "button-and-view" widget type. r=jaws
This widget will be used for the profiler button. The profiler button is a
two-part widget with both a command and a view. The command starts/stops the
profiler, but the starting/stopping can also be performed from inside the view.
The dropmarker button shows the view.
When this widget is located in the panel, the start/stop action is only
accessible via the view and there is no "quick-action" command.

The structure of the widget is as follows:

toolbaritem.toolbaritem-combined-buttons
 - toolbarbutton.toolbarbutton-1
 - toolbarbutton.toolbarbutton-1.toolbarbutton-combined-buttons-dropmarker

The dropmarker icon is the toolbarbutton icon of the second toolbarbutton.
The dropmarker button is only shown in the toolbar or in the customize palette.
It is hidden when the widget is located in the panel.
In the toolbar, the hover effect of the dropmarker needs to have the same height
as the hover effect of the regular button. However, due to the different image
size (12x12 instead of 16x16) it requires more vertical padding.

Differential Revision: https://phabricator.services.mozilla.com/D98216
2021-01-15 18:14:04 +00:00
Kartik Gautam 7ae6aea145 Bug 1684173 - Add newline character at end of files when missing r=sylvestre,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D100484
2021-01-07 08:53:08 +00:00
Cosmin Sabou 2978aa00a3 Backed out changeset dbed1cdf588f (bug 1684173) for mochitest plain and devtools failures. a=backout DONTBUILD 2020-12-28 00:43:51 +02:00
Kartik Gautam 775cdec032 Bug 1684173 - Add newline character at end of files when missing r=sylvestre
Depends on D100443

Differential Revision: https://phabricator.services.mozilla.com/D100484
2020-12-27 11:43:41 +00:00
Sonia Singla e93cdf8646 Bug 1683648 - Remove unused pluginHelp-16.png and contentPluginDisabled.png. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D100271
2020-12-21 19:25:03 +00:00
Kartik Gautam 5d5093a494 Bug 1679452 - Replace :not(X):not(Y) with :not(X, Y) r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D100147
2020-12-19 11:24:13 +00:00
Kartik Gautam f7ffcd09fb Bug 1679758 - Remove trailing empty lines r=sylvestre,marionette-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D99595
2020-12-15 10:34:54 +00:00
Dorel Luca 7320ae982a Backed out changeset f3aaf04fce3b (bug 1679758) for Devtool failures in browser_styleeditor_syncAddProperty.js. CLOSED TREE 2020-12-13 16:38:21 +02:00
Kartik Gautam caf549c200 Bug 1679758 - Remove trailing empty lines r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D99595
2020-12-13 13:28:30 +00:00
David Parks e5b505e41d Bug 1675349: Remove unused files following removing plugin support r=jmathies,extension-reviewers,geckoview-reviewers,agi,mixedpuppy
Remove some support files for plugin features and stop building TestPlugins.

Differential Revision: https://phabricator.services.mozilla.com/D95904
2020-11-18 15:56:10 +00:00
Bogdan Tara 56346a0425 Backed out 19 changesets (bug 1675349) for lint failures on browser_ext_browsingData_pluginData and test_archive CLOSED TREE
Backed out changeset 244e0f2b410c (bug 1675349)
Backed out changeset ba5724069dd4 (bug 1675349)
Backed out changeset 37fca259c7e9 (bug 1675349)
Backed out changeset f2b16caca1fc (bug 1675349)
Backed out changeset 28835d4935be (bug 1675349)
Backed out changeset eb913f58953a (bug 1675349)
Backed out changeset 19e3cb80f469 (bug 1675349)
Backed out changeset d9723f3a3a7e (bug 1675349)
Backed out changeset c888dfcdf70e (bug 1675349)
Backed out changeset 48f153341af6 (bug 1675349)
Backed out changeset 7fc67a9b2932 (bug 1675349)
Backed out changeset 1cee4d97f801 (bug 1675349)
Backed out changeset 59a0cb79c7c1 (bug 1675349)
Backed out changeset 43d349fa37b1 (bug 1675349)
Backed out changeset c84bfb6eae59 (bug 1675349)
Backed out changeset 38e9af69ae57 (bug 1675349)
Backed out changeset 3255c1ab3059 (bug 1675349)
Backed out changeset 2f3eaf9c342c (bug 1675349)
Backed out changeset 769e5c0db4c2 (bug 1675349)
2020-11-18 06:06:36 +02:00
David Parks 47765051d4 Bug 1675349: Remove unused files following removing plugin support r=jmathies,extension-reviewers,geckoview-reviewers,agi,mixedpuppy
Remove some support files for plugin features and stop building TestPlugins.

Differential Revision: https://phabricator.services.mozilla.com/D95904
2020-11-18 03:12:08 +00:00
Tim Nguyen 353f334d13 Bug 1583696 - Remove XUL grid from toolkit/components/prompts/content/tabprompts.jsm. r=MattN,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D61442
2020-11-08 03:52:32 +00:00
Bogdan Tara 92c3461ba3 Backed out changeset 5ed5e8a6bbfb (bug 1583696) for modal prompt related failures CLOSED TREE 2020-11-08 02:14:49 +02:00
Tim Nguyen 50565cbf0e Bug 1583696 - Remove XUL grid from toolkit/components/prompts/content/tabprompts.jsm. r=MattN,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D61442
2020-11-07 21:53:58 +00:00
pbz 24d9b9243c Bug 1565574 - Added protocol handler permission dialog and updated app chooser dialog. r=Gijs,fluent-reviewers
- Added a new permission dialog shown when the caller does not have permission to open a protocol
- Updated the appChooser dialog for the new UX
- Updated and moved l10n strings to fluent (fluent migration in the following patch)

Differential Revision: https://phabricator.services.mozilla.com/D94149
2020-10-29 13:43:54 +00:00
Dorel Luca cfaedde161 Backed out 6 changesets (bug 1565574) as per dev's request. CLOSED TREE
Backed out changeset fbe972f837d9 (bug 1565574)
Backed out changeset 2852c526acd6 (bug 1565574)
Backed out changeset fa731b373f42 (bug 1565574)
Backed out changeset c7ed89a9afc7 (bug 1565574)
Backed out changeset 3e87d1b83069 (bug 1565574)
Backed out changeset 93955bcbaf4b (bug 1565574)
2020-10-29 12:55:28 +02:00
pbz 682b38ed82 Bug 1565574 - Added protocol handler permission dialog and updated app chooser dialog. r=Gijs,fluent-reviewers
- Added a new permission dialog shown when the caller does not have permission to open a protocol
- Updated the appChooser dialog for the new UX
- Updated and moved l10n strings to fluent (fluent migration in the following patch)

Differential Revision: https://phabricator.services.mozilla.com/D94149
2020-10-29 10:25:52 +00:00
Tim Nguyen bd24c4f09e Bug 1673447 - Remove toolkit/themes/osx/global/shared.inc and inline its contents. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D94771
2020-10-28 01:48:19 +00:00
Tim Nguyen 90be737555 Bug 1673321 - Remove theme CSS for macOS 10.11 and below. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D94719
2020-10-27 15:42:31 +00:00
Markus Stange af68ac4a30 Bug 1673132 - Use the -moz-default-appearance values "scrollbar-horizontal" and "scrollbar-vertical" on macOS and remove the now-unused value "scrollbar". r=emilio
Other platforms were already converted to scrollbar-horizontal and scrollbar-vertical in bug 1205643.

Differential Revision: https://phabricator.services.mozilla.com/D94674
2020-10-27 12:37:44 +00:00
Markus Stange cb8968058f Bug 1673132 - Remove "scrollbar-small" -moz-default-appearance value and replace its single use with scrollbar-width: thin. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D94673
2020-10-27 12:37:44 +00:00
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bogdan Tara da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart c0cea3b0fa Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Dorel Luca 1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart 50762dacab Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Tim Nguyen ce1d1adc9a Bug 1356031 - Remove toolkit error-16.png and replace usages with respective SVGs. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D94173
2020-10-20 21:14:47 +00:00
julianwels 403273ad07 Bug 1668857 - Unify styling for description text for panels using new `--panel-description-color` variable. r=ntim,extension-reviewers,zombie
Differential Revision: https://phabricator.services.mozilla.com/D92658
2020-10-07 12:53:32 +00:00
Itiel 847ef41e9d Bug 1668884 - Replace -moz-Field/-moz-FieldText with Field/FieldText in toolkit/ r=dao
Depends on D92335

Differential Revision: https://phabricator.services.mozilla.com/D92336
2020-10-05 11:13:54 +00:00
Itiel c7cfb73e2e Bug 1631202 - Convert all uses of :-moz-any to :is in toolkit/ r=dao
Differential Revision: https://phabricator.services.mozilla.com/D90693
2020-09-21 19:35:43 +00:00
Emilio Cobos Álvarez a3c20c9800 Bug 1662703 - Make appearance: button behave like auto. r=heycam
As per https://github.com/w3c/csswg-drafts/issues/5174.

Differential Revision: https://phabricator.services.mozilla.com/D89119
2020-09-10 08:58:09 +00:00
Emilio Cobos Álvarez 582367e4b6 Bug 1662703 - Tweak appearance: button usage in browser/ and toolkit/. r=dao
The protections.css declaration is not needed, because you're setting
backgrounds and borders anyways so native appearance is disabled.

The button.css change needs to turn into a -moz-default-appearance +
appearance combo, but since it's in three different places, just put it
in xul.css instead.

Differential Revision: https://phabricator.services.mozilla.com/D89469
2020-09-09 23:13:53 +00:00
Jared Wein 80dedf4123 Bug 1656494 - Style changes for larger notification bar. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D87492
2020-08-23 22:24:20 +00:00
Noemi Erli cad3633ca8 Backed out 5 changesets (bug 1656494) for causing failures in browser_all_files_referenced.js
Backed out changeset 4c4a5066876f (bug 1656494)
Backed out changeset 8017af5da26a (bug 1656494)
Backed out changeset 8b6aa5d6dae2 (bug 1656494)
Backed out changeset 0588b4cf76ec (bug 1656494)
Backed out changeset 8a88718e4ec3 (bug 1656494)
2020-08-24 00:01:04 +03:00
Jared Wein 17a5a4bafb Bug 1656494 - Style changes for larger notification bar. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D87492
2020-08-23 08:01:02 +00:00
Cristina Coroiu 09e50d2ff3 Backed out 5 changesets (bug 1656494) for browser-chrome failures at browser/base/content/test/about/browser_aboutNewTab_defaultBrowserNotification.js
Backed out changeset 2ec1967f17c1 (bug 1656494)
Backed out changeset 90d378b5aab9 (bug 1656494)
Backed out changeset 0e8cadf60b6a (bug 1656494)
Backed out changeset a980956c1ddf (bug 1656494)
Backed out changeset 0208b2ba6a6f (bug 1656494)
2020-08-23 10:56:06 +03:00
Jared Wein 410fe143f2 Bug 1656494 - Style changes for larger notification bar. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D87492
2020-08-23 06:57:11 +00:00
Dão Gottwald f79a3cbd71 Bug 1655774 - Port menu scroll arrow behavior from macOS to Windows and Linux. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D85171
2020-07-28 19:35:20 +00:00
Tim Nguyen 6236829632 Bug 1624599 - When menu arrow scroll buttons overlap the menu contents, use overflow:hidden to clip away the contents underneath, rather than relying on -moz-appearance tricks. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D80036
2020-07-27 09:23:53 +00:00
Emilio Cobos Alvarez 32ef7a0c14 Bug 1643157 - Don't remove the padding from custom-styled options in OSX. r=dao
It seems wrong to change padding / layout when the author specifies other
unrelated properties.

Also, this causes undesired overflow because stuff like the icons assume that
that padding exists.

Differential Revision: https://phabricator.services.mozilla.com/D84854
2020-07-27 09:26:07 +00:00
Itiel b76dfa99e2 Bug 1633994 - Fix focusring for close buttons in macOS r=dao
Also simplify some padding values in button.css

Differential Revision: https://phabricator.services.mozilla.com/D73720
2020-07-23 10:56:01 +00:00
Cameron McCormack dd61f595eb Bug 1620467 - Part 4: Change internal uses of -moz-appearance to appearance and -moz-default-appearance. r=emilio,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,ntim,agi,miketaylr
Uses of `-moz-appearance: none` are changed to `appearance: none`.

Uses of other values that are simply reverting the appearance back to
its default are changed to `appearance: auto`.

Uses of values in UA sheets that are defining the inherent appearance of
widgets are changed to:

  appearance: auto;
  -moz-default-appearance: <value>;

since those values are either no longer supported on (-moz-)appearance,
or are still supported but only in some limited form.

There are some uses of `-moz-appearance: textfield` on <input
type=number> elements that are renamed to `appearance: textfield`.

Differential Revision: https://phabricator.services.mozilla.com/D83430
2020-07-16 22:04:14 +00:00
Itiel b23671697c Bug 1642239 - Convert PNG/GIF icons in the library window and editbookmark panel to SVG r=dao
Also improve the dark mode in the library

Differential Revision: https://phabricator.services.mozilla.com/D77622
2020-06-27 09:57:42 +00:00
Brad Werth 119000e1ae Bug 1642376: Move inline style for panel popups into each theme's popup.css. r=dao
This supports the fact that devtools, which is hosted in an "about:" page,
does not use inline styles. They are prevented from working by the CSP defined
at devtools/client/framework/toolbox.xhtml. This patch moves The styles that
are added by the MozPanel.initialize method into the popup.css files for each
theme, where the other .panel-arrowcontent class selectors live.

Differential Revision: https://phabricator.services.mozilla.com/D78832
2020-06-11 13:53:39 +00:00
Gijs Kruitbosch 2dc589c537 Bug 1638086 - show multiple subsequent spaces in file listings, r=valentin
Using `white-space: pre` avoids collapsing multiple spaces as HTML is wont to do.

With thanks to Jelle Geerts for reporting this and providing a strategy to patch this.

Differential Revision: https://phabricator.services.mozilla.com/D77246
2020-05-29 15:41:31 +00:00
Emilio Cobos Álvarez 6b5242fa05 Bug 1311444 - Disable some undesired outlines in the front-end. r=dao
These elements handle focus on their own. They're right now not
having outlines because they specify background-color, which disables
theming, but that is about to change.

Differential Revision: https://phabricator.services.mozilla.com/D73855
2020-05-05 23:18:35 +00:00
Dão Gottwald 84553118c4 Bug 1634865 - Backed out bug 1625720 and bug 1625721. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D73542
2020-05-02 13:16:31 +00:00
Gijs Kruitbosch 7073bb6903 Bug 1634075 - back out changeset 0aa77ee04caa (bug 1583696) over regressions with overly long non-wrapping prompt text and visual appearance with lightweight themes, r=MattN
Things that were broken:

- prompts become unreadable when using dark-background lwthemes, because they
  keep the window text-shadow (due to the namespace change of tabmodalprompt)
- prompts with long text without word-wrap possibilities
  (e.g. `alert("x".repeat(1000))`) cause the text to escape its container.

Differential Revision: https://phabricator.services.mozilla.com/D73131
2020-04-29 20:30:37 +00:00
Tim Nguyen ebc0e940ae Bug 1625720 - Scope popup.css to menupopup and panel custom elements. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D70343
2020-04-26 15:31:40 +00:00