Commit Graph

592713 Commits

Author SHA1 Message Date
Hiroyuki Ikezoe
2dc22f118d Bug 1454324 - Cache animation TimingParams on the compositor. r=birtles
We don't need to calculate TimingParams each time we compose an animation on
the compositor because TimingParams is immobile since the animation was sent to
the compositor.

MozReview-Commit-ID: 3rfzkdGClES

--HG--
extra : rebase_source : e28650a30b1cbd14789688f2acc03d204069e2fb
2018-04-24 09:27:53 +09:00
Masayuki Nakano
40075884e2 Bug 1455218 - Add public Etherpad URIs into the blacklist to take back the legacy keypress event behavior r=smaug
Etherpad has some bugs of handling non-printable key events.
https://github.com/ether/etherpad-lite/issues/3383

Unfortunately, Etherpad can be installed into any URI.  So, we cannot include
all of the instances into the blacklist but we should add URIs in the list
of Etherpad:
https://github.com/ether/etherpad-lite/wiki/Sites-that-run-Etherpad-Lite

I hope that Nightly testers don't use private Etherpad or non-listed Etherpad.

MozReview-Commit-ID: HSAVwGHhW75

--HG--
extra : rebase_source : bd1e579997c773de27476630a097bda70031107f
2018-04-19 16:24:00 +09:00
Masayuki Nakano
b2591d7753 Bug 1455229 - Add keep.google.com into the blacklist to take back legacy keypress event behavior r=smaug
With the strict keypress event dispatching mode, cannot navigate between
list items in keep.google.com.  So, until they fix this issue, we should
include keep.google.com into the blacklist for Nightly testers.

MozReview-Commit-ID: CXNoirrgeR

--HG--
extra : rebase_source : 62af31e7bb6d8070bb57430fdbc847d5d44c0125
2018-04-19 16:59:40 +09:00
Masayuki Nakano
5aebfb1bc2 Bug 1454833 - Allow to use legacy keypress event behavior in hangouts.google.com r=smaug
hangouts.google.com is used Hangouts in Gmail window.  In this window, shortcut
keys are handled with keypress event for Gecko.  Therefore, we need to add
hangouts.google.com into the blacklist.

MozReview-Commit-ID: 607imegrmwj

--HG--
extra : rebase_source : c17890b5fd4fed54302fc2d8ecd40b1801f37520
2018-04-18 14:12:30 +09:00
Andreea Pavel
a608b0b7f9 Backed out changeset cf1022433399 (bug 1433574) Linux build bustages on a CLOSED TREE 2018-04-24 04:35:07 +03:00
Ciure Andrei
84bde96dc6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-24 04:26:26 +03:00
Andrew Swan
a359959d1e Bug 1433574 Remove startup addon update check r=kmag
MozReview-Commit-ID: AjcRaDqjDNy

--HG--
extra : rebase_source : a95e8b61647d7fb91a3d5b455ba55a056fe0c2bc
2018-04-23 14:59:11 -07:00
Tom Prince
0de4a5fd3d Bug 1455448: Don't include firefox in the decision task index; r=dustin,mshal,rail,Callek a=release
The decision task is used for everything built as part of a push (for
mozilla-central, this is firefox, devedition and fennec, as well as tasks that
aren't strictly part of any product). Thus, having `firefox` encoded as part of
the decision task doesn't make sense.

This changes the route from
    index.gecko.v2.${repository.project}.latest.firefox.decision
to
    index.gecko.v2.${repository.project}.latest.taskgraph.decision
while leaving the latter for backwards compatability with tools that expect it.

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

--HG--
extra : rebase_source : c4c4691bb4633225e5e37b21982b916f76353e27
extra : source : 6ef1607a3e63250eefbda5333d61fd338c23311d
2018-04-19 15:32:02 -06:00
Ciure Andrei
33e644e1da Merge inbound to mozilla-central. a=merge 2018-04-24 04:14:21 +03:00
Miko Mynttinen
6606aea17f Bug 1454653 - Do not skip transparent items in ContainerState::FindOpaqueBackgroundColorInLayer() r=mattwoodrow
MozReview-Commit-ID: NGnL8r9x0U

--HG--
extra : rebase_source : d782eae5bcb8873eff7ccf564c48067cfb97ff2b
2018-04-23 17:33:16 +02:00
Jeff Muizelaar
b80a5b938a Bug 1455488. Blend modes are container items. r=mstange
BLEND_MODE and BLEND_CONTAINER wrap items so their bounds can change.
We need to account for that like we do with OPACTIY etc.

--HG--
extra : rebase_source : fbd2d79eaad5c7347335416d369c8cae37aad447
2018-04-23 17:38:38 -04:00
Gregory Szorc
8f5adf5328 Bug 1455708 - Find Python 3 in MozillaBuild, require Python 3 everywhere; r=mshal
We previously did not require Python 3.5+ everywhere because we failed
to detect Python 3.5 on Windows in CI. That's because CI isn't using
start-shell.bat and it hasn't yet updated PATH to include
%MOZILLABUILD%\python3.

We shouldn't need to teach CI to have PATH contain everything in
MozillaBuild. This commit teaches moz.configure to automatically use
MozillaBuild's Python 3 if we're running in MozillaBuild.

Since we can now detect Python 3 everywhere in CI, we make Python 3.5+
required on all build configurations.

MozReview-Commit-ID: BwgWGeYMyPM

--HG--
extra : rebase_source : b52f604b01c73b0493b142f3f71aa26c99a42b91
2018-04-20 12:44:05 -07:00
Justin Wood
d289c494d6 Bug 1455100 - Make devedition its own language pack addon id, by using MOZ_LANGPACK_EID again. r=nalexander,Pike
MozReview-Commit-ID: z1SJmCQflq

--HG--
extra : rebase_source : 4d5b6941f907e0e062a7f4466a246696290823fe
2018-04-19 14:48:11 -04:00
Matt Woodrow
66ef22faf5 Bug 1439809 - Store the display list index on the display items during PreProcessDisplayList so that we can do lookup without a hashtable. r=miko,mstange
MozReview-Commit-ID: IYGk2KNkeY1

--HG--
extra : rebase_source : 11f9e6b3ff57ee129e339c882b7b53369e21308a
2018-04-24 12:59:11 +12:00
Matt Woodrow
1c08a21338 Bug 1439809 - Add an index parameter to nsDisplayWrapList to prevent scrollbar frames from creating duplicates. r=mattwoodrow
MozReview-Commit-ID: 8somakqqA3P

--HG--
extra : rebase_source : 9d82377196b53c3df3f2bfd4683d8454b1a3fa86
2018-04-24 12:59:08 +12:00
Aaron Klotz
1244a64ac7 Bug 1455110: Replace RegOpenKeyEx/RegQueryValueEx with RegGetValue; r=jimm 2018-04-18 14:52:02 -06:00
Bogdan Tara
839cc5dd48 Backed out 4 changesets (bug 1437551) for build bustages on Android /builds/worker/workspace/build/src/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoSession.java a=backout CLOSED TREE
Backed out changeset 781457239e63 (bug 1437551)
Backed out changeset 2f30bed54236 (bug 1437551)
Backed out changeset 6badc13e1d21 (bug 1437551)
Backed out changeset 5582b64d4a8b (bug 1437551)
2018-04-24 01:27:50 +03:00
Eugen Sawin
bca9b0ee59 Bug 1437551 - Rebase on bug 1441810. r=me CLOSED TREE 2018-04-23 23:31:06 +02:00
Eugen Sawin
aeda0a9513 Bug 1437551 - [3.2] Move generic callback out of GeckoSession. r=snorp,jchen CLOSED TREE 2018-04-23 23:22:05 +02:00
Eugen Sawin
3aa42d1204 Bug 1437551 - [2.6] Add GeckoRuntime telemetry API backend. r=jchen,Dexter CLOSED TREE 2018-04-23 23:21:50 +02:00
Eugen Sawin
94293a2cda Bug 1437551 - [1.4] Add GeckoRuntime telemetry API. r=snorp,jchen CLOSED TREE 2018-04-23 23:21:40 +02:00
Bogdan Tara
a95b957c7e Backed out 2 changesets (bug 1437551) for build bustages on Android /builds/worker/workspace/build/src/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoSession.java a=backout CLOSED TREE
Backed out changeset 4b780b06d2eb (bug 1437551)
Backed out changeset a401bb9e1aa4 (bug 1437551)
2018-04-23 23:50:55 +03:00
J.C. Jones
40898591b9 Bug 1432181 - Revert spurious npm-shrinkwrap.json changes r=me CLOSED TREE
npm-shrinkwrap.json got updated spuriously in pushing ec5e58165939 [1], which
should not have happened. This reverts that spurious change to go back to
sha-512 hashes.

[1] https://hg.mozilla.org/integration/mozilla-inbound/rev/ec5e58165939

--HG--
extra : amend_source : 2a21f05ff8bafd8ccd57e69acf81988455822aef
2018-04-23 22:18:02 +02:00
Dylan Roeh
642ee0c289 Bug 1441810 - Add GeckoSession.SavedState and session save/restore API to GeckoSession r=snorp,jchen 2018-04-23 14:28:52 -05:00
Dylan Roeh
a485989fee Bug 1441810 - Add session save/restore code to GeckoViewContent r=snorp,jchen 2018-04-17 14:13:10 -05:00
Tom Prince
0822363bfa Bug 1456175: [mozharness] Remove unreferenced enable_signing config; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D1014

--HG--
extra : source : 8c1bb61b86d6678b9109bff0f659b1bb4c98442b
extra : amend_source : c6f1f2e7414f232e1eee57d7bd62fde9d79212b3
2018-04-20 14:51:33 -06:00
Ted Campbell
bc92875c3e Bug 1448563 - Fix ASAN bustage in Part 2. r=me CLOSED TREE
LazyLink IonBuilders should use non-inclusive size.

MozReview-Commit-ID: IaaH4seekY0
2018-04-23 15:34:25 -04:00
Bogdan Tara
4c7cab3490 Backed out changeset 45ba3fb2d9cc (bug 1437551) for build bustages on Android /builds/worker/workspace/build/src/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoSession.java a=backout CLOSED TREE 2018-04-23 22:26:58 +03:00
Bogdan Tara
b644004031 Backed out changeset 97dbd15798f9 (bug 1448563) for bad-malloc_usable_size /builds/worker/workspace/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc a=backout CLOSED TREE 2018-04-23 22:23:01 +03:00
Eugen Sawin
31f7c96bf3 Bug 1437551 - Fix eslint error on CLOSED TREE. r=me 2018-04-23 21:08:09 +02:00
Emilio Cobos Álvarez
158c258b7e Bug 1426516: Remove Valgrind workaround to make ::slotted use the rule hash. r=me
MozReview-Commit-ID: 2q14kHjajIr
2018-04-23 20:37:11 +02:00
Dão Gottwald
1dd6ba95b7 Bug 1410591 - Focus the content area when restoring the selected tab. r=mikedeboer 2018-04-23 19:13:58 +02:00
Kartikaya Gupta
328eb34d1e Bug 1411144 - Temporarily disable a high-frequency intermittent failure for webrender. r=me 2018-04-23 14:15:06 -04:00
Nathan Froyd
53f1900f29 Bug 1451363 - part 6 - move GetIPCChannel into ProtocolState; r=mccr8
We can move this information into ProtocolState and save having two
virtual functions for every protocol.  Moving some bits out of the
codegen'd IPC code is a nice bonus, though we keep the strange setup
where toplevel protocols have two mChannel member variables.
2018-04-23 14:13:36 -04:00
Nathan Froyd
dbc53de3d9 Bug 1451363 - part 5 - remove ProtocolName virtual function; r=mccr8
ProtocolName() is only used for producing error messages and annotating
crash reports.  But examining actual crash reports that would have used
the result of ProtocolName() indicates that we can always tell what the
erroring protocol is due to the stack backtrace.  So having this virtual
function around just provides duplicate information, and it takes up too
much space in the vtable besides.  Let's get rid of it.
2018-04-23 14:13:36 -04:00
Nathan Froyd
e77f1868f1 Bug 1451363 - part 4 - consolidate generated code into IProtocol; r=mccr8
lower.py generates repetitious:

  SetManager(...);
  Register(...); // Or RegisterID.
  SetIPCChannel(...);

calls, which are moderately sized, given that the above call sequence
requires virtual calls in several places.  Instead of codegenning this
sequence, let's consolidate the sequence into IProtocol and change the
code generator to call into the consolidated function instead.
2018-04-23 14:13:37 -04:00
Nathan Froyd
9eac324691 Bug 1451363 - part 3 - make OnChannelReceivedMessage defined in early beta only; r=mccr8
This function is only overriden in two places, both of which go away
after early beta is done.  We shouldn't be paying for its vtable entry
after that point.
2018-04-23 14:13:37 -04:00
Nathan Froyd
7b8c73c090 Bug 1451363 - part 2b - move protocol event target access into ProtocolState; r=mccr8
The reasoning here is the same as for the protocol register/lookup
functions: these functions are all basic functionality that should not
be overriden by subclasses.
2018-04-23 14:13:37 -04:00
Nathan Froyd
8196fc2720 Bug 1451363 - part 2a - move protocol register/lookup functions into ProtocolState; r=mccr8
This functionality is base functionality for top-level and non-toplevel
protocols; nobody overrides this stuff, so it's safe to move into
ProtocolState.
2018-04-23 14:13:37 -04:00
Nathan Froyd
a796a8f982 Bug 1451363 - part 1 - move Shmem-related IProtocol interfaces into an intermediate State class; r=mccr8
IProtocol, which is inherited by every generated IPDL protocol and every
concrete protocol implementation in-tree, has a number of virtual
methods that are only relevant when distinguishing between top-level
protocols (IToplevelProtocol) and managed protocols (everything else).
These virtual methods require pointers in every protocol's vtable, which
is wasteful, and it's also somewhat confusing that many methods exist
but don't really need to be overridable in any useful way.

Let's clean this up, by creating a ProtocolState class to hold methods
that solely differ between top-level protocols and everything else.
This commit does that work and moves Shmem-related methods into this
class as a proof that this can be done in a reasonable way.
2018-04-23 14:13:37 -04:00
David Major
5b7eb8380c Bug 1456192 - make {Read,Write}IPDLParam MOZ_NEVER_INLINE; r=froydnj
MSVC's PGO inliner thinks these functions are hot enough to be inlined,
but they're really not, and inlining them bloats xul.dll quite a bit.
2018-04-23 14:13:37 -04:00
David Major
4ed8d6a022 Bug 1456192 - make Pickle::ReadSentinel MOZ_NEVER_INLINE; r=froydnj
This function is just pure bloat when it gets inlined, and it will
disappear on non-Nightly builds anyway.  Make it MOZ_NEVER_INLINE so our
size statistics on Nightly are somewhat more reflective of our size
statistics on Release.
2018-04-23 14:13:37 -04:00
Eugen Sawin
a443c8b358 Bug 1437551 - [3.1] Move generic callback out of GeckoSession. r=snorp,jchen 2018-04-23 20:04:00 +02:00
Eugen Sawin
6cec4c4563 Bug 1437551 - [2.5] Add GeckoRuntime telemetry API backend. r=jchen,Dexter 2018-04-23 20:04:00 +02:00
Eugen Sawin
5e2616d631 Bug 1437551 - [1.3] Add GeckoRuntime telemetry API. r=snorp,jchen 2018-04-23 20:04:00 +02:00
Ted Campbell
7baaa3f753 Bug 1448563 - Part 6: Add memory reporting for off-thread WASM. r=luke
MozReview-Commit-ID: 1lXRj1JUJk2
2018-04-23 13:57:50 -04:00
Ted Campbell
ce0c6eb300 Bug 1448563 - Part 5: Add memory reporting for Ion offthread. r=jandem
MozReview-Commit-ID: KnuaP5HwNnm
2018-04-23 13:56:54 -04:00
Ted Campbell
3f8ed0a1db Bug 1448563 - Part 4: Add memory reporting for off-thread parse. r=jandem
MozReview-Commit-ID: 2qH6cwFRrfG
2018-04-23 13:55:59 -04:00
Ted Campbell
d1cc6f3d5b Bug 1448563 - Part 3b: Add memory reporting for JS helper threads. r=jandem
MozReview-Commit-ID: JbOY0QRn0Wl
2018-04-23 13:55:01 -04:00
Ted Campbell
044b11fef2 Bug 1448563 - Part 3a: Add iterator to js::Fifo. r=luke
MozReview-Commit-ID: CoYdOBNnORg
2018-04-23 13:54:00 -04:00