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

24454 Коммитов

Автор SHA1 Сообщение Дата
Harry Twyford 70df5bbf20 Bug 1313429 - Add Touch Bar functionality to Firefox r=spohl,mikedeboer,flod
Adds Touch Bar functionality to Firefox across eight commits.

Differential Revision: https://phabricator.services.mozilla.com/D5496

--HG--
extra : moz-landing-system : lando
2019-01-22 17:13:33 +00:00
Masayuki Nakano 2604235be7 Bug 1521685 - Get rid of unused GetLastError() API call in nsDataObj::GetDib() r=aosmond
nsDataObj::GetDib() calls GetLastError() API immediately after calling
GlobalAlloc() and just return E_FAIL in such case.  So, we don't need to
call it.

Differential Revision: https://phabricator.services.mozilla.com/D17214

--HG--
extra : moz-landing-system : lando
2019-01-22 11:34:20 +00:00
Sylvestre Ledru 755a1a7c2f Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D17063

--HG--
extra : moz-landing-system : lando
2019-01-21 14:49:22 +00:00
Cosmin Sabou 7ccc9d8b0b Merge mozilla-inbound to mozilla-central. a=merge 2019-01-19 11:57:49 +02:00
Tim Nguyen 60a5143df0 Bug 1241885 - Implement support for -moz-window-dragging in GTK and remove toolkit toolbar-drag binding. r=dao,bzbarsky,stransky
The restriction preventing fullscreen windows from being dragged is removed.

Differential Revision: https://phabricator.services.mozilla.com/D15075

--HG--
extra : moz-landing-system : lando
2019-01-18 22:42:24 +00:00
Andreea Pavel 95431afe85 Backed out 1 changesets (bug 1241885) for build bustages on a CLOSED TREE
Backed out changeset 176be7000d33 (bug 1241885)
2019-01-18 23:49:55 +02:00
Tim Nguyen 495df7ddea Bug 1241885 - Implement support for -moz-window-dragging in GTK and remove toolkit toolbar-drag binding. r=dao,bzbarsky,stransky
The restriction preventing fullscreen windows from being dragged is removed.

Differential Revision: https://phabricator.services.mozilla.com/D15075

--HG--
extra : moz-landing-system : lando
2019-01-18 16:51:08 +00:00
Martin Stransky 8ddc948f81 Bug 1433667 - Honour system titlebar button left/right placement, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D16466

--HG--
extra : moz-landing-system : lando
2019-01-18 13:52:29 +00:00
Markus Stange 060f074a81 Bug 1515183 - Ignore calls to viewWillDraw and drawRect on non-main threads. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D16909

--HG--
extra : moz-landing-system : lando
2019-01-17 23:25:34 +00:00
Makoto Kato 8a1050b327 Bug 1510527 - Active composition count may be mismatched when updating composition. r=esawin
To avoid FlushIMEChanges per updating IME composition, we calculate composition count in DoReplaceText. But when using GV+e10s, this calculation is sometimes invalid since NOTIFY_IME_OF_COMPOSITION_EVENT_HANDLED event isn't received per PendingComposition.  Because, IMEStateManager will merge this completed events due to optimization of IME event.

Also, DoUpdateComposition calls SetPendingComposition, but it doesn't touch mIMEActiveCompositionCount,

So when using some IME, this value is minus or forever non-zero on some IMEs.

So we shouldn't use atomic count. When receiving NOTIFY_IME_OF_COMPOSITION_EVENT_HANDLED, we should reset it and allow IMEFlushChanges since Gecko has already handled all IME composition events in event queues.

Differential Revision: https://phabricator.services.mozilla.com/D14668

--HG--
extra : moz-landing-system : lando
2019-01-18 03:18:24 +00:00
James Willcox 269f751ce7 Bug 1514253 - Create PanZoomController immediately in GeckoSession r=geckoview-reviewers,droeh#geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D14562

--HG--
extra : moz-landing-system : lando
2019-01-17 14:17:50 +00:00
Martin Stransky 53be695239 Bug 1490344 - [Linux/Gtk] Enable hidden system titlebar by default on Gnome, r=dao
This patch implements -moz-gtk-csd-hide-titlebar-by-default media query
to check if the system titlebar should be disabled by default on Linux systems
(it's already disabled on Window/Mac).

It also removes explicit definition of browser.tabs.drawInTitlebar preference on Linux.
When browser.tabs.drawInTitlebar is missing the -moz-gtk-csd-hide-titlebar-by-default
is used to obtain the titlebar state. When browser.tabs.drawInTitlebar is set
in about:config or by Customize menu, the user peference is used instead of the default.

It also fixes a -moz-gtk-csd-available media query,
it was always true regardless the actual system setting.

Differential Revision: https://phabricator.services.mozilla.com/D16036

--HG--
extra : moz-landing-system : lando
2019-01-17 12:44:49 +00:00
arthur.iakab 48fa943d27 Merge inbound to mozilla-central a=merge 2019-01-17 06:21:08 +02:00
Sebastian Hengst 3dc0a3b83a Bug 1520470 - Update metadata for related Bugzilla product and component for geckoview. r=snorp DONTBUILD
Reviewers: snorp

Tags: #secure-revision

Bug #: 1520470

Differential Revision: https://phabricator.services.mozilla.com/D16699

--HG--
extra : rebase_source : 61edc61854b0c74f492e9ee97b075a74d6efe8dd
extra : amend_source : b31c3975770475dd835f97d2272b1028c0f3e23d
2019-01-16 16:18:45 +02:00
Dragana Damjanovic fc155bc720 Bug 1513059 - Use the minimal XPCOM for the socket process.r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D15024

--HG--
extra : moz-landing-system : lando
2019-01-16 23:05:11 +00:00
Andreea Pavel d0b4b569af Backed out changeset aa442da7cfd8 (bug 1490344) for failing bc at browser/components/customizableui/test/browser_970511_undo_restore_default.js on a CLOSED TREE 2019-01-16 13:33:24 +02:00
Martin Stransky 0e01fab619 Bug 1490344 - [Linux/Gtk] Enable hidden system titlebar by default on Gnome, r=dao
This patch implements -moz-gtk-csd-hide-titlebar-by-default media query
to check if the system titlebar should be disabled by default on Linux systems
(it's already disabled on Window/Mac).

It also removes explicit definition of browser.tabs.drawInTitlebar preference on Linux.
When browser.tabs.drawInTitlebar is missing the -moz-gtk-csd-hide-titlebar-by-default
is used to obtain the titlebar state. When browser.tabs.drawInTitlebar is set
in about:config or by Customize menu, the user peference is used instead of the default.

It also fixes a -moz-gtk-csd-available media query,
it was always true regardless the actual system setting.

Differential Revision: https://phabricator.services.mozilla.com/D16036

--HG--
extra : moz-landing-system : lando
2019-01-15 14:47:03 +00:00
Sylvestre Ledru 47a5dd1fb8 Bug 1519636 - Reformat everything to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D16388

--HG--
extra : moz-landing-system : lando
2019-01-16 08:50:07 +00:00
Aaron Klotz 99ef8003dd Bug 1511078: Add LauncherRegistryInfo as a temporary mechanism for runtime disabling of launcher process; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D15756

--HG--
rename : browser/app/winlauncher/NativeNt.h => mozglue/misc/NativeNt.h
rename : browser/app/winlauncher/test/TestNativeNt.cpp => mozglue/tests/TestNativeNt.cpp
rename : browser/app/winlauncher/LauncherResult.h => toolkit/xre/LauncherResult.h
extra : moz-landing-system : lando
2019-01-15 23:10:00 +00:00
Mike Conley 7e920fe573 Bug 1519893 - Add alwaysOnTop chrome-only window feature for Windows. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D16486

--HG--
extra : moz-landing-system : lando
2019-01-15 22:29:59 +00:00
Coroiu Cristina d263400b1c Backed out 2 changesets (bug 1511078) for build bustages at Unified_cpp_toolkit_xre0.obj
Backed out changeset 61a47d6d5e26 (bug 1511078)
Backed out changeset 006df494925a (bug 1511078)

--HG--
rename : toolkit/xre/LauncherResult.h => browser/app/winlauncher/LauncherResult.h
rename : mozglue/misc/NativeNt.h => browser/app/winlauncher/NativeNt.h
rename : mozglue/tests/TestNativeNt.cpp => browser/app/winlauncher/test/TestNativeNt.cpp
2019-01-15 23:15:50 +02:00
Aaron Klotz 64310051e7 Bug 1511078: Add LauncherRegistryInfo as a temporary mechanism for runtime disabling of launcher process; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D15756

--HG--
rename : browser/app/winlauncher/NativeNt.h => mozglue/misc/NativeNt.h
rename : browser/app/winlauncher/test/TestNativeNt.cpp => mozglue/tests/TestNativeNt.cpp
rename : browser/app/winlauncher/LauncherResult.h => toolkit/xre/LauncherResult.h
extra : moz-landing-system : lando
2019-01-15 20:19:46 +00:00
Martin Stransky 956e93c403 Bug 1516224 - [Linux/Gtk] Disable ARGB toplevel visual on X11 SW compositor due to visible graphics artifacts, r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D16561

--HG--
extra : moz-landing-system : lando
2019-01-15 17:45:35 +00:00
Margareta Eliza Balazs 9dda825205 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-18 12:31:59 +02:00
Ehsan Akhgari e5e885ae31 Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
# ignore-this-changeset

--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Ehsan Akhgari 06c3d29113 Bug 1521000 - Part 1: Reformat the tree to ensure everything is formatted correctly with clang-format r=sylvestre
Summary: # ignore-this-changeset

Reviewers: sylvestre

Reviewed By: sylvestre

Subscribers: reviewbot, emilio, jandem, bbouvier, karlt, jya

Bug #: 1521000

Differential Revision: https://phabricator.services.mozilla.com/D16936

--HG--
extra : histedit_source : 4add583bfa729ccc1aef934629ed45ff095189b0
2019-01-18 10:12:56 +01:00
Emilio Cobos Álvarez 729263c3df Bug 1511563 - Don't make NAC editable by default. r=masayuki
I think this is a more consistent fix for the issue.

Differential Revision: https://phabricator.services.mozilla.com/D16521
2019-01-15 11:52:35 +01:00
Brindusan Cristian 338aeb2777 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-15 06:41:22 +02:00
Brian Grinstead 7e9d440886 Bug 1519905 - Always return false in NodeAllowsClickThrough for browser elements;r=mstange
This prevents mouse events from firing on browsers in unfocused windows. It used to be done
with the [clickthrough=never] attribute set from XBL content.

Differential Revision: https://phabricator.services.mozilla.com/D16498

--HG--
extra : moz-landing-system : lando
2019-01-14 20:42:50 +00:00
Dave Townsend 41c1ffde91 Bug 1518938: Make it possible to hide items from the application menu. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D16107

--HG--
extra : moz-landing-system : lando
2019-01-14 18:57:49 +00:00
Martin Stransky d704841235 Bug 1519355 - [Wayland] Produce better error message when mozilla::widget::WaylandShmPool::CreateTemporaryFile() fails, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D16297

--HG--
extra : moz-landing-system : lando
2019-01-11 15:15:10 +00:00
Razvan Maries 642dd2cc11 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-01-11 17:33:16 +02:00
Christoph Kerschbaumer 6756032512 Bug 1513241: Update frontend consumers of loadURI and pass loadURIOptions dictionary. r=gijs 2019-01-11 12:44:20 +01:00
Martin Stransky c6900f5e79 Bug 1517074 - [Linux/Gtk] Enable native (xdg-desktop based) file dialog on KDE only due to Gtk+ regression, r=jhorak
Also add widget.allow-gtk-native-file-chooser preference value to force enable on all systems.

Differential Revision: https://phabricator.services.mozilla.com/D16184

--HG--
extra : moz-landing-system : lando
2019-01-11 11:21:27 +00:00
Martin Stransky a9e92a6023 Bug 1497002 - [Linux/CSD] Position headerbar button icons according to the actual button, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D16193

--HG--
extra : moz-landing-system : lando
2019-01-11 11:24:06 +00:00
Kestrel 14467a827a Bug 1514715 - Update color prefs for new color IDs including -moz-win-accentcolor r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D14723

--HG--
extra : moz-landing-system : lando
2019-01-09 16:37:34 +00:00
Thomas Nguyen a03f43622d Bug 1482659 - Purge the last sound, free then start to play a sound r=m_kato,masayuki
Because we don't know when the PlaySound API stop/finish playing. So when starting to play a sound, we should call PlaySound(0,0,PURGE) to stop playing then free the last data sound.

Differential Revision: https://phabricator.services.mozilla.com/D14554

--HG--
extra : moz-landing-system : lando
2019-01-09 12:26:46 +00:00
Adam Gashlin 22936a258f Bug 1514501 - Fix screen selection and scaling for fullscreen r=jmathies
I needed to scale the layout device pixels coming from Windows before passing them to ScreenForRect(). Also, I'm using GetRect() directly instead of GetRectDisplayPix() * scale now, to avoid an unnecessary double scale & round which was making fullscreen windows off by one pixel in many cases.

Differential Revision: https://phabricator.services.mozilla.com/D15604

--HG--
extra : moz-landing-system : lando
2019-01-09 16:35:40 +00:00
Xidorn Quan f058e5cdbd Bug 1516068 - Fix a wrong indentation in nsNativeThemeWin. r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D15246

--HG--
extra : moz-landing-system : lando
2019-01-09 16:37:02 +00:00
Barret Rennie 65938f22af Bug 1514803 - Replace XPCOM image encoder instance creation in gfxUtils::EncodeSourceSurface r=jrmuizel
gfxUtils::EncodeSourceSurface no longer uses a stringly-typed API to create a
`imgIEncoder` for the relevant MIME type. Instead, we now use an enum class and
switch on it to create the encoder.

Depends on D14816

Differential Revision: https://phabricator.services.mozilla.com/D14817

--HG--
extra : moz-landing-system : lando
2019-01-09 16:29:33 +00:00
Razvan Maries 665c57df8d Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-01-09 05:55:28 +02:00
Dzmitry Malyshau cddd33e700 Bug 1518605 - New WebRender ClipId/SpatialId API. r=kats
Port to separate SpatialId from ClipId in Webrender API (WR PR #3251).
Patch was originally written and reviewed on bug 1503447.

Depends on D16005

Differential Revision: https://phabricator.services.mozilla.com/D16006

--HG--
extra : moz-landing-system : lando
2019-01-09 03:27:07 +00:00
Tim Nguyen b4b53b1761 Bug 1516867 - Clamp selection color saturation between 0 and 255 in nsLookAndFeel.mm. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D15500

--HG--
extra : rebase_source : 2f7ced5f752a87b7df61aa0756b9315ca264ecab
extra : amend_source : 5f0fb6dc3ca07d34fd2b160490a1ade9c5daa424
2018-12-30 13:58:10 +01:00
Gijs Kruitbosch 38b9379998 Bug 1515103 - show frame rate and whether we're on a low end device in about:support, r=kats,jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D15844

--HG--
extra : moz-landing-system : lando
2019-01-08 15:48:24 +00:00
Masayuki Nakano a129d2b2b6 Bug 1516326 - part 2: Log more in KeymapWrapper r=m_kato
We haven't logged KeymapWrapper::HandleKeyPressEvent() nor
KeymapWrapper::HandleKeyReleaseEvent().  Therefore, this patch makes them
put their behavior into the log.

Additionally, KeymapWrapper::InitKeyEvent() does not log enough the result
of initialized WidgetkeyboardEvent.  This patch makes it log more.

With those changes, we can get the log of:
- detail of dispatched keyboard events
- which key event didn't cause keyboard events
- which keyboard event was consumed

Note that the utility methods are copied from widget/windows.  Perhaps,
we should create XP logging helper for keyboard/IME later.

Differential Revision: https://phabricator.services.mozilla.com/D15324

--HG--
extra : moz-landing-system : lando
2019-01-07 10:05:56 +00:00
Masayuki Nakano 0eed04a27d Bug 1516326 - part 1: Move implementation of nsWindow::OnKeyPress() and nsWindow::OnKeyRelease() into KeymapWrapper r=karlt
Move all implementation of nsWindow::OnKeyPress() and nsWindow::OnKeyRelease()
into KeymapWrapper because the implementation is a little bit complicated
but not loggable.  When we get bug reports which depend on environment around
IME/key handling like bug 1498823, it's useful to log those methods behavior
too.

Differential Revision: https://phabricator.services.mozilla.com/D15323

--HG--
extra : moz-landing-system : lando
2019-01-07 23:15:33 +00:00
Doug Thayer a848222b53 Bug 1441308 - Split out document pieces of WebRenderLayerManager r=jrmuizel
Per our discussion, this patch splits out the state management bits of
WebRenderLayerManager, allowing for them to be maintained per-document.

Differential Revision: https://phabricator.services.mozilla.com/D13577

--HG--
extra : moz-landing-system : lando
2019-01-07 21:33:10 +00:00
Bogdan Tara 9600ad4953 Backed out changeset b776171d854c (bug 1515103) for browser_Troubleshoot.js failures CLOSED TREE 2019-01-07 22:28:59 +02:00
Gijs Kruitbosch fca05d0c79 Bug 1515103 - show frame rate and whether we're on a low end device in about:support, r=kats,jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D15844

--HG--
extra : moz-landing-system : lando
2019-01-07 18:48:11 +00:00
Martin Stransky 5844dd5c5b Bug 1516101 - Don't use locale-specific AppendPrintf() to print float values, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D15836

--HG--
extra : moz-landing-system : lando
2019-01-07 14:43:31 +00:00