Commit Graph

24699 Commits

Author SHA1 Message Date
Masatoshi Kimura
26437cdd14 Bug 1528963 - Attach console before launching child. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D23807

--HG--
rename : toolkit/xre/nsNativeAppSupportWin.cpp => widget/windows/WindowsConsole.cpp
extra : moz-landing-system : lando
2019-03-29 18:05:03 +00:00
Masayuki Nakano
de2d589e58 Bug 1540015 - part 3: Rename Document::GetShell() to Document::GetPresShell() and make it return PresShell* rather than nsIPresShell* r=smaug,emilio
This makes `Document::GetShell()` return `PresShell*` instead of `nsIPresShell`.

Additonally, "shell" is unclear ("docshell" vs. "presshell").  Therefore, this
also renames `Document::GetShell()` to `Document::GetPresShell()`.

Similarly, some other method names of `Document` are also renamed from
`*Shell*` to `*PresShell*`.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 15:12:47 +00:00
Masayuki Nakano
e705b3211c Bug 1540015 - part 1: Make Document.h stop including nsIPresShell.h r=smaug
If `Document::GetShell()` returns `PresShell*` rather than `nsIPresShell`, it's
a good step to deCOMTaminate `PresShell`.

This patch makes `Document.h` stop including `nsIPresShell.h` since
`nsIPresShell.h` includes `Document.h` indirectly and that causes bustage
when we make `Document::GetShell()` return `PresShell*`.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 15:11:04 +00:00
Dorel Luca
5a0fa68b78 Backed out 3 changesets (bug 1540015) for build bustage. CLOSED TREE
Backed out changeset 7b71c9da0214 (bug 1540015)
Backed out changeset 5723ddbc5c44 (bug 1540015)
Backed out changeset 9561d2c36fa5 (bug 1540015)
2019-03-29 16:14:26 +02:00
Masayuki Nakano
9273f25ce2 Bug 1540015 - part 3: Rename Document::GetShell() to Document::GetPresShell() and make it return PresShell* rather than nsIPresShell* r=smaug,emilio
This makes `Document::GetShell()` return `PresShell*` instead of `nsIPresShell`.

Additonally, "shell" is unclear ("docshell" vs. "presshell").  Therefore, this
also renames `Document::GetShell()` to `Document::GetPresShell()`.

Similarly, some other method names of `Document` are also renamed from
`*Shell*` to `*PresShell*`.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 13:09:26 +00:00
Masayuki Nakano
854606257b Bug 1540015 - part 1: Make Document.h stop including nsIPresShell.h r=smaug
If `Document::GetShell()` returns `PresShell*` rather than `nsIPresShell`, it's
a good step to deCOMTaminate `PresShell`.

This patch makes `Document.h` stop including `nsIPresShell.h` since
`nsIPresShell.h` includes `Document.h` indirectly and that causes bustage
when we make `Document::GetShell()` return `PresShell*`.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 12:12:20 +00:00
Gurzau Raul
bb2f747c28 Backed out 5 changesets (bug 1533562) for osx reftest failures on a CLOSED TREE.
Backed out changeset 8d21cbdfdea7 (bug 1533562)
Backed out changeset 048e88ed260d (bug 1533562)
Backed out changeset 788b5dbea4e8 (bug 1533562)
Backed out changeset 6b5804bc63c3 (bug 1533562)
Backed out changeset fcd1387a1dee (bug 1533562)
2019-03-29 07:24:53 +02:00
Markus Stange
36b24261dd Bug 1533562 - Implement titlebar gradient drawing with a new TitlebarGradientView. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D22646

--HG--
extra : moz-landing-system : lando
2019-03-29 02:42:54 +00:00
Markus Stange
41a9adfae7 Bug 1533562 - Always make the content view of ToolbarWindows cover the entire window. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D22645

--HG--
extra : moz-landing-system : lando
2019-03-29 02:50:05 +00:00
Markus Stange
aeade0ea55 Bug 1533562 - Remove override of -[NSThemeFrame _unifiedToolbarFrame]. r=spohl
This override has no effect in CoreAnimation-backed windows. The upcoming
patches will implement an alternative approach.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 02:49:25 +00:00
Markus Stange
158e615d41 Bug 1533562 - Remove code that deals with non-rounded bottom corners on regular windows. r=spohl
Rounded bottom corners have been the default since 10.7.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 02:47:56 +00:00
Markus Stange
1f7021c140 Bug 1533562 - Remove synchronous repaint capability of setTitlebarNeedsDisplayInRect:sync: and also remove the rect parameter because we always pass the same value to it. r=spohl
The synchronous paint was only needed a long time ago when we were calling this
method during drawRect. We're not doing that any more, we usually call it from
viewWillDraw now. But even at the time, forcing a synchronous paint *within*
a paint was extremely sketchy, so best just to remove the code.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 02:42:01 +00:00
Gurzau Raul
2774226563 Backed out changeset 7cb86942ed34 (bug 1528963) for bustages at nsEmbedFunctions.cpp on a CLOSED TREE. 2019-03-29 01:45:01 +02:00
Mike Hommey
cdbe0ce786 Bug 1510897 - Disable C++2a warnings in widget/android/EventDispatcher.cpp. r=froydnj
Somehow this was left alone in bug 1509926, although the file was
mentioned there.

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

--HG--
extra : moz-landing-system : lando
2019-03-28 13:13:56 +00:00
Masatoshi Kimura
0cf76eebc1 Bug 1528963 - Attach console before launching child. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D23807

--HG--
rename : toolkit/xre/nsNativeAppSupportWin.cpp => widget/windows/WindowsConsole.cpp
extra : moz-landing-system : lando
2019-03-28 21:37:52 +00:00
Mark Banner
dba6983e75 Bug 1415265 - Remove now unnecessary .eslintrc.js files or entries. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D23850

--HG--
extra : moz-landing-system : lando
2019-03-28 09:38:14 +00:00
Yoshi Cheng-Hao Huang
edbc333422 Bug 1521732 - Part 3: Use RootedValueVector instead. r=sfink,jonco
s/AutoValueVector/RootedValueVector/g

Depends on D23183

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

--HG--
extra : moz-landing-system : lando
2019-03-26 13:58:20 +00:00
arthur.iakab
ee02cd6515 Merge inbound to mozilla-central a=merge 2019-03-25 17:53:27 +02:00
Martin Stransky
706514741c Bug 1468911 - [Wayland] Visible artifacts during window resize, r=ashie
When wayland surface is newly created or resized,
postpone buffer commit (drawing) until gecko updates whole screen
and don't publish partial updates.

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

--HG--
extra : moz-landing-system : lando
2019-03-23 03:02:24 +00:00
Martin Stransky
0961433659 Bug 1536099 - [Wayland] Provide logging to Wayland surface, r=ashie
Differential Revision: https://phabricator.services.mozilla.com/D23854

--HG--
extra : moz-landing-system : lando
2019-03-23 02:53:07 +00:00
Doug Thayer
b172543596 Bug 1441308 - Core renderroot splitting changes r=kats,sotaro
This is a large patch that contains all of the core changes for
renderroot splitting.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 18:28:42 +00:00
Gijs Kruitbosch
8e02fa26bc Bug 1519241 - remove nightly-only low-end device detection, r=kats,chutten,flod,mconley
Differential Revision: https://phabricator.services.mozilla.com/D24345

--HG--
extra : moz-landing-system : lando
2019-03-22 08:44:18 +00:00
Ciure Andrei
3de853018a Backed out 7 changesets (bug 1441308)for causing webrender build bustages CLOSED TREE
Backed out changeset 1764701d11d1 (bug 1441308)
Backed out changeset 32f7793dfd1a (bug 1441308)
Backed out changeset d8b4d6ec9b40 (bug 1441308)
Backed out changeset e2f83e4816dd (bug 1441308)
Backed out changeset baee8ada680f (bug 1441308)
Backed out changeset c09a51622e98 (bug 1441308)
Backed out changeset 737807563dd5 (bug 1441308)
2019-03-22 10:52:44 +02:00
Doug Thayer
5b3a0454a4 Bug 1441308 - Core renderroot splitting changes r=kats,sotaro
This is a large patch that contains all of the core changes for
renderroot splitting.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 03:15:14 +00:00
Csoregi Natalia
486b64e4bf Merge inbound to mozilla-central. a=merge 2019-03-21 12:41:13 +02:00
Alex Gaynor
f3608ddac7 Bug 1536163 - Part 3 - use native Maybe syntax in place of OptionalShmem in IPDL; r=nika
--HG--
extra : rebase_source : 4f0c682a6d574308ec11608191f810c3fd6dc513
2019-03-21 06:52:48 +02:00
Mats Palmgren
f46136021c Bug 288704 part 1 - [css-lists] Add an inherited internal UA sheet property (-moz-list-reversed:true|false) to propagate <ol reversed> to its relevant decendants. r=emilio 2019-03-24 23:13:52 +01:00
Makoto Kato
ae43a8cf0a Bug 676268 - Part 1. Support text/html on Android clipboard backend. r=geckoview-reviewers,snorp
Summary: Actually, we only support `text/unicode` mime type on Android clipboard backend.  But Android API 16+ supports `text/html`, so we should support this type since Chrome/Blink already supports it.

Reviewers: #geckoview-reviewers, snorp

Reviewed By: #geckoview-reviewers, snorp

Bug #: 676268

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

--HG--
extra : rebase_source : 17ef0aa06b83b812bb9bccfab93a72e0b37f9652
2019-03-20 14:47:19 +09:00
Hiroyuki Ikezoe
36b25f6fb1 Bug 1532850 - Implement the backend for prefers-color-scheme on Android. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D22272

--HG--
extra : moz-landing-system : lando
2019-03-19 10:10:52 +00:00
Coroiu Cristina
3a2e8a75c8 Backed out 2 changesets (bug 1532850) for apilint failure on a CLOSED TREE
Backed out changeset da87a2079285 (bug 1532850)
Backed out changeset d44836af07e0 (bug 1532850)
2019-03-19 12:01:40 +02:00
Hiroyuki Ikezoe
8fb919be3c Bug 1532850 - Implement the backend for prefers-color-scheme on Android. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D22272

--HG--
extra : moz-landing-system : lando
2019-03-19 09:43:41 +00:00
Coroiu Cristina
45aa39f3f6 Backed out 2 changesets (bug 1532850) for Android bustage on a CLOSED TREE
Backed out changeset d32559ed093f (bug 1532850)
Backed out changeset 439686eac8d6 (bug 1532850)
2019-03-19 11:20:24 +02:00
Hiroyuki Ikezoe
16874aaaff Bug 1532850 - Implement the backend for prefers-color-scheme on Android. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D22272

--HG--
extra : moz-landing-system : lando
2019-03-18 22:57:44 +00:00
sotaro
414520a0b9 Bug 1534557 - Implement GtkCompositorWidget::GetEGLNativeWindow() for GET_NATIVE_WINDOW_FROM_COMPOSITOR_WIDGET r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D23106

--HG--
extra : moz-landing-system : lando
2019-03-13 00:18:49 +00:00
Bogdan Tara
c01b9ab9c9 Backed out changeset c26e947b78c2 (bug 1534389) for test_bug1298970.html failures CLOSED TREE 2019-03-19 05:32:06 +02:00
meandave
a20801ef25 Bug 1522848 - Add Lock Aspect Ratio feature. r=mconley,jmathies.
***
Bug 1522848 - Smoothing out Lock Aspect Ratio feature r?mconley.

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

--HG--
extra : moz-landing-system : lando
2019-03-18 20:07:31 +00:00
Mike Conley
e59e56bd1d Bug 1534389 - Send normal mouse events when cursor is over a draggable region on Windows. r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D23231

--HG--
extra : moz-landing-system : lando
2019-03-18 20:02:27 +00:00
Gurzau Raul
b0e75ab0e1 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-18 23:44:31 +02:00
Harry Twyford
09caf3c6e5 Bug 1529366 - Implement batch-updating of Touch Bar inputs. r=mikedeboer,spohl
Changes updateTouchBarInput to a batch-updating updateTouchBarInputs.
Also adds a check for a cached localized title to getTouchBarInput().

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

--HG--
extra : moz-landing-system : lando
2019-03-18 12:14:11 +00:00
Brad Werth
7fc19a53b5 Bug 1501665 Part 4: Use the new function as a replacement for APZAllowZooming. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D19239

--HG--
extra : source : cf42ea4e8443cdcb5f446dfb95d92d5998f55f24
2019-03-18 14:56:55 +00:00
shindli
b7de66af4f Backed out 13 changesets (bug 1501665) for failing a11y tests in accessible/tests/mochitest/relations/test_tabbrowser.xul CLOSED TREE
Backed out changeset 2fa518cb0dfc (bug 1501665)
Backed out changeset afaf26d7df42 (bug 1501665)
Backed out changeset 5bdf0ad9dc66 (bug 1501665)
Backed out changeset 520dd24a73fc (bug 1501665)
Backed out changeset 3542bf2b89dd (bug 1501665)
Backed out changeset 088dc24eabc7 (bug 1501665)
Backed out changeset 178210eb72ba (bug 1501665)
Backed out changeset 9eebe767ef20 (bug 1501665)
Backed out changeset 6a84e97d0e62 (bug 1501665)
Backed out changeset cf42ea4e8443 (bug 1501665)
Backed out changeset 731d7ee06d86 (bug 1501665)
Backed out changeset 8e0afe4a041a (bug 1501665)
Backed out changeset be1026de486b (bug 1501665)
2019-03-18 18:08:58 +02:00
Brad Werth
b43c639430 Bug 1501665 Part 4: Use the new function as a replacement for APZAllowZooming. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D19239

--HG--
extra : moz-landing-system : lando
2019-03-18 14:56:55 +00:00
Martin Stransky
9c4a67d013 Bug 1535567 - [Wayland] Request initial frame callback again if parent wl_surface changes, r=ashie
When xdg_popup window is created, sometimes the underlying wl_surface is changed during map/show event.
We need to check surface ID and recreate the frame callback then.

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

--HG--
extra : moz-landing-system : lando
2019-03-18 13:16:42 +00:00
Martin Stransky
18098c6cf6 Bug 1534963 - Provide logging to mozcontainer, r=ashie
Differential Revision: https://phabricator.services.mozilla.com/D23328

--HG--
extra : moz-landing-system : lando
2019-03-18 12:52:46 +00:00
Masayuki Nakano
b07d3a94c6 Bug 1525867 - Make IMContextWrapper::SetTextRange() not ignore composition clause even if no visual styles are specified r=m_kato
We've ignored clauses whose visual styles are not specified.
However, kinput2 with XIM protocol does not specify any styles
to non-selected clauses.  Therefore, we fail to dispatch
eCompositionChange events if there is 2 or more clauses.

Note that the log in the bug indicates that we may set
selected clause type to`TextRangeType::eConvertedClause` and
last clause type to `TextRangeType::eSelectedClause` because
caret is always put at end of composition string.  However,
this should not problem for now because nobody except plugins
on Windows refer this information.

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

--HG--
extra : moz-landing-system : lando
2019-03-18 03:00:23 +00:00
Sebastian Hengst
cee711baf9 Bug 1535353 - update Core :: DOM: * bugzilla product and component meta data in moz.build files after reorganization in bug 1533440 r=hsinyi
Differential Revision: https://phabricator.services.mozilla.com/D23546

--HG--
extra : moz-landing-system : lando
2019-03-17 23:13:22 +00:00
Emilio Cobos Álvarez
bfed43b178 Bug 1535790 - Initialize members in nsLookAndFeel, and bail out when there's no screen settings. r=stransky
A patch of mine starts calling nsLookAndFeel from xpcshell tests, which makes
gtk crash eventually.

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

--HG--
extra : moz-landing-system : lando
2019-03-16 15:17:49 +00:00
Adam Gashlin
6bbb6fac70 Bug 1534935: Fix non-nsView ShouldNotBeVisible(). r=jmathies
The comment was correct, the base impl should always return false as we don't have an opinion about visibility.

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

--HG--
extra : moz-landing-system : lando
2019-03-15 21:21:05 +00:00
Masayuki Nakano
fb8cd0751d Bug 1508302 - Make IMContextWrapper::GetIMEName() refer XMODIFIERS env when gtk_im_multicontext_get_context_id() returns "wayland" r=m_kato
On Wayland, `gtk_im_multicontext_get_context_id()` returns
`"wayland"`.  However, we need to know actual IM which works
behind Wayland.  Fortunately, `XMODIFIERS` env includes IME
name like "xim" case.  Therefore, we can refer it instead.

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

--HG--
extra : moz-landing-system : lando
2019-03-15 06:37:59 +00:00
Dorel Luca
0e9ffb4c4f Merge mozilla-inbound to mozilla-central. a=merge 2019-03-14 18:25:40 +02:00