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

568718 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 39758fd86f servo: Merge #19163 - style: Remove the skip_applying_damage "optimization" (from emilio:useless-opt); r=nox
We already remove all change hints down the tree when finding a reframe hint
using ClearServoRestyleFromSubtree in ServoRestyleManager, so this is useless.

MozReview-Commit-ID: 1twx7iPt79x
Source-Repo: https://github.com/servo/servo
Source-Revision: 20ccde9a75e52f3dc7adccf0136f5753deb41158

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4e8d88923fef766a3d9eeca267356ef6962809c6
2017-11-09 08:25:25 -06:00
dluca b4ecd36f7b Merge mozilla-central to mozilla-inbound a=merge on a CLOSED TREE 2017-11-09 16:03:23 +02:00
dluca 30ead7d1ae Merge inbound to mozilla-central a=merge 2017-11-09 15:56:43 +02:00
dluca c748db6076 Merge autoland to mozilla-central a=merge 2017-11-09 15:52:42 +02:00
dluca 6d9443afa6 Backed out 1 changesets (bug 1393817) for failing to repackage the nightly build on Windows a=backout.
Backed out changeset 25f21f22a34b (bug 1393817)
2017-11-09 15:34:00 +02:00
Benjamin Bouvier d172c3963c Bug 1319203: Also rename "entry trampoline" to "slow entry trampoline" in wasm tests; r=me 2017-11-09 13:47:07 +01:00
Sebastian Hengst 1911626bf9 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-11-09 12:01:00 +02:00
Sebastian Hengst 1b0413a887 merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-09 11:53:05 +02:00
Dale Harvey 6fe0ace4ae Bug 1385932 - Reenable browser_urlbar_search_reflows.js on Linux. r=mconley
MozReview-Commit-ID: H24TSQKemBp

--HG--
extra : rebase_source : f0c885c24b1716aa5e402c193eeccb94bb3a9fc6
2017-11-09 09:31:08 +00:00
Jan de Mooij dcc4df0d8e Bug 1415486 - Nursery allocate async functions. r=arai 2017-11-09 09:40:06 +01:00
Mark Banner 315a813f56 Bug 1415343 - Remove useless check for target window from FxAccountsWebChannel.jsm. r=markh
MozReview-Commit-ID: 4rFCNbMSF0a

--HG--
extra : rebase_source : 5d9ff600453d47afb4791a43bc6b043677c70cdb
2017-11-09 08:10:37 +00:00
Luke Wagner 6d8f9c1263 Bug 1414174 - Baldr: fix OOM handling in compileStreaming (r=bbouvier) 2017-11-08 09:15:26 -08:00
Ben Kelly d7eca2ba76 Bug 1415779 P4 Add ClientHandle class and make it attach to the correct ClientSource. r=baku 2017-11-08 21:20:00 -08:00
Ben Kelly a973dff21c Bug 1415779 P3 Add the ClientSource class and hook it into ClientManager/ClientManagerService. r=baku 2017-11-08 21:19:59 -08:00
Ben Kelly 4641badb26 Bug 1415779 P2 Add ClientManagerService and reference it from parent actors. r=baku 2017-11-08 21:19:59 -08:00
Ben Kelly b0316788f6 Bug 1415779 P1 Add the ClientManager class. r=baku 2017-11-08 21:19:59 -08:00
JW Wang 69b23fa72c Bug 1415461 - consolidate the life cycle of the channel managed by ChannelSuspendAgent. r=bechen,gerald
We want to suspend/resume a channel only after OnStartRequest()
and before OnStopRequest().

MozReview-Commit-ID: 4QNRdsVvyAK

--HG--
extra : rebase_source : 6514ffe15247892042581df51decbaba4fb756b7
extra : intermediate-source : 930c31e1a06c70b69060f9f0079be186c2f2793b
extra : source : 42fb27a7fb2b3b0bea9d5e4fa0d5ba07f6fa1d3e
2017-11-08 16:16:24 +08:00
James Cheng cdeb44cbd6 Bug 1416089 - Remove MEDIA_DECODING_PROCESS_CRASH telemetry. r=jolin
MozReview-Commit-ID: Dqqmk6yUXPo

--HG--
extra : rebase_source : 2c06d5600318ea6f77a0ee43462197109a532354
2017-11-10 14:01:56 +08:00
JW Wang 2196441028 Bug 1415438 - move mReopenOnError from ChannelMediaResource to ChannelMediaResource::Listener. r=bechen,gerald
http://searchfox.org/mozilla-central/rev/ed212c79cfe86357e9a5740082b9364e7f6e526f/dom/media/ChannelMediaResource.cpp#727-729

mReopenOnError is a flag to reopen the channel when resume fails.
It makes more sense to associate this member with the channel we are resuming.

MozReview-Commit-ID: DwKUyvyzWdi

--HG--
extra : rebase_source : 430b51545106c10a9c53592063aed72433336111
extra : intermediate-source : 9d315280bcc755664001b5dd4d37eb52c5166b82
extra : source : e87e3cc8f9da47f2880d1e817f80638988409498
2017-11-08 14:25:31 +08:00
James Cheng 28fae71ddc Bug 1415401 - Part4 - Have GMPServiceParent::RecvLaunchGMP fill in the error description. r=cpearce
MozReview-Commit-ID: GQoV7g1uQeC

--HG--
extra : rebase_source : 21bae673ebb3284fd298e69a8c701bc79b9f4e63
2017-11-10 12:03:00 +08:00
James Cheng 9774850bfe Bug 1415401 - Part3 - Add an out parameter to LaunchGMP interface in ipdl to better know the error detail when failure. r=cpearce
MozReview-Commit-ID: BmiTYeQGIrm

--HG--
extra : rebase_source : 11070597467394a8764d8be4369226844b50c637
2017-11-10 11:28:45 +08:00
James Cheng 416a6083b2 Bug 1415401 - Part2 - Make GetServiceChildPromise rejection function accept MediaResult and propagate the error result to GetContentParent rejection function. r=cpearce
MozReview-Commit-ID: 4IjV9KGcsvd

--HG--
extra : rebase_source : 4177b93bc2af2908e701ecbf6ea1d439d24ea095
2017-11-09 18:01:01 +08:00
James Cheng f8dcd36ce5 Bug 1415401 - Part1 - Make GetGMPContentParentPromise rejection function accept MediaResult. r=cpearce
MozReview-Commit-ID: CdDFgkDSomW

--HG--
extra : rebase_source : 1dec10d8b96ad31c0246427549d337cd8ba28c84
2017-11-09 17:21:59 +08:00
Gregory Szorc 8e85824bcb Bug 1411462 - Abort when I/O error seen; r=glandium
Before, I/O errors writing to stdout/stderr (e.g. due to broken pipe)
would result in handleError() being called and execution would
keep running. This would potentially result in an error message for
every log/line failure being printed to stderr.

We change the behavior so I/O failures are fatal and abort
execution.

We test the new behavior by changing a test to pipe to `head`
directly. Since `head` exits once it has seen sufficient output,
this results in an EPIPE which now results in immediate program
termination.

MozReview-Commit-ID: 1UecZJ56h4r

--HG--
extra : rebase_source : b35d9c096621d9698260d29a7d0132c4989200a7
2017-11-09 20:44:10 -08:00
Nicholas Nethercote c40b04cecd Bug 1415418 - Simplify GetUint(). r=glandium.
This makes it just like GetDefaultUint().

MozReview-Commit-ID: CSoLpLdstAv

--HG--
extra : rebase_source : 5ba8cb897c46197b7ef52c6c27b45ad223bc3d41
2017-11-08 16:45:42 +11:00
Nicholas Nethercote 882ae209b6 Bug 1415418 - Reorder Preferences.h. r=glandium.
The various getters and setters are in a confusing order. This patch puts them
in a more sensible order. It also streamlines the comments, which were
generally low-value and in some cases incorrect.

MozReview-Commit-ID: 3ngzZDSt0JI

--HG--
extra : rebase_source : 8a5a66f65621889483d2df9f4487194172f70804
2017-11-08 16:45:38 +11:00
Jason Kratzer c85719a37f Bug 1415663 - Add crashtest. r=me 2017-11-08 22:39:49 -05:00
Jesse Ruderman 8d5c88fd92 Bug 890760 - Add crashtest. r=me 2017-11-08 22:39:49 -05:00
Matt Howell 192436e586 Bug 1415647 Part 2 - Support renaming shortcuts during paveover installs. r=rstrong
MozReview-Commit-ID: yHfvfJpHao

--HG--
extra : source : 1a001e6c5f1a3d4efec9ef6be50adec82a978699
2017-11-08 11:12:06 -08:00
Matt Howell 8db2973a08 Bug 1415647 Part 1 - Streamline PostUpdate shortcut renaming code. r=rstrong
In an attempt to make the code that renames shortcuts during PostUpdate more
reliable, this patch switches to renaming the existing shortcut files instead
of deleting them and creating new ones, removes unused code dealing with icons,
and deduplicates the code by adding a new macro.

MozReview-Commit-ID: EnE2dGrunx2

--HG--
extra : source : 7173059b5ccfc60c86e1a1106b5c572e188d5fea
2017-11-08 11:07:54 -08:00
Jonathan Kingston 7b1c4b610f Bug 1403593 - Change containers preference page to use command instead of click r=jaws
MozReview-Commit-ID: 95f9yOLVof5

--HG--
extra : rebase_source : 4278476e73cb9f8f161e7b93174e4d777db33ddb
2017-11-07 16:46:11 +00:00
Gregory Szorc 12117b97f4 Bug 1416020 - Remove echo-variable-% target from client.mk; r=nalexander
AFAICT this is unused.

There are some mozharness consumers that evaluate an echo-variable-*
target. However, I believe they are hitting the target from debugmake.mk
and not going through client.mk.

MozReview-Commit-ID: 9XjykFMRpsT

--HG--
extra : rebase_source : edc9be971ddb0384408652fd04f550d7d8e51aa6
2017-11-09 14:26:55 -08:00
Gregory Szorc dd1abecfec Bug 1416020 - Remove unused variables from client.mk; r=nalexander
The last use of PERL was removed recently.

The last use of comma was removed by c8276e89a513 in 2008.

The last use of SH was... never AFAICT. The variable was
defined but unused in the initial import of client.mk from CVS
in 1998.

MozReview-Commit-ID: LFqcVRf36wf

--HG--
extra : rebase_source : 5a32c1969870c29065c80a94ba3f20ba3873569f
2017-11-09 14:19:41 -08:00
Gregory Szorc c7987e69a4 Bug 1415971 - Remove MOZ_PREFLIGHT_ALL and MOZ_POSTFLIGHT_ALL; r=nalexander
After removing sccache.mk, there are no more references to these
variables. Let's nuke them.

MozReview-Commit-ID: LH1oHm59SnU

--HG--
extra : rebase_source : 5138ddd703350caa5f54fe8941a2e0dcb9dc2c17
2017-11-09 13:56:48 -08:00
Gregory Szorc 67d153aef0 Bug 1415971 - Inline sccache.mk into client.mk; r=nalexander
sccache.mk is the only thing that uses MOZ_PREFLIGHT_ALL and
MOZ_POSTFLIGHT_ALL. We're trying to kill client.mk and these
variables are next on the chopping block.

This commit essentially moves the logic of sccache.mk inline into
client.mk. Initially, I wanted to move the management of the
sccache daemon to Python as part of what `mach build` invokes.
However, the sccache daemon needs access to the make jobserver.
Since we don't have an active make process in `mach`, this is
obviously problematic. The sccache daemon is also used by
configure, which is launched from client.mk. So the best we
can do right now is move the sccache daemon logic into client.mk.

As part of the port, we pass the path to the sccache binary via
an environment variable. This feels slightly better than hardcoding
the path that automation uses.

MozReview-Commit-ID: zcOYR4I1OG

--HG--
extra : rebase_source : 305a237dc9f5bd96e4aa83d491ac2498fe3c3ba0
2017-11-09 14:59:06 -08:00
Gregory Szorc 965ee1ef4c Bug 1415971 - Dedent warning printing code; r=nalexander
This doesn't need to run when the context manager is active.

MozReview-Commit-ID: DV3SZyUwxlM

--HG--
extra : rebase_source : b32b081cbe9298fb46cbccdf511f9b89b92cf643
2017-11-09 13:13:09 -08:00
Gregory Szorc c132ad4105 Bug 1415971 - Stop build output monitor earlier; r=nalexander
We currently print compiler warnings summary then stop the build
output manager, which basically stops resource monitoring.

A future commit will refactor this code a bit and it will be easier
to have the monitor.stop() call directly after the build finishes.

MozReview-Commit-ID: 3uWFWG6ELnH

--HG--
extra : rebase_source : 0d006c99d2ee0ccda49bfa81c31ccb47541a23ce
2017-11-09 12:12:31 -08:00
Gregory Szorc 04f3bb9229 Bug 1415614 - Move configure invocation out of mach_commands.py; r=nalexander
While we're here, also move the low-level code to invoke configure
to a proper Python module.

MozReview-Commit-ID: 4rlCxOwcVu1

--HG--
extra : rebase_source : ec16ee949743c3a43940d46b44c43a2895bfa250
extra : source : b4f9bef50278db75b1b6229635c877e07dffb1bc
2017-11-09 12:19:16 -08:00
Gregory Szorc 8604807290 Bug 1415614 - Move code for invoking build system out of mach_commands.py; r=nalexander
The goal is to move this lower-level code somewhere where it can be
reused.

The only meaningful code change as part of the move was handling
of the mach context. Before, we could access self._mach_context.
After, we need to pass it as an argument. This also uncovered a bug
where "telemetry_handler" could be None but we called it
unconditionally. We now guard this call with an "if."

MozReview-Commit-ID: FWw4l6H1ayS

--HG--
extra : rebase_source : 97fb0db8d6fea32435f8da999e34a8e023f98339
extra : intermediate-source : bf7cfe592722018dd0894002e41f4997b36cd11b
extra : source : 2f62818d80a3e31b47194d8ecb9169bab930ed7e
2017-11-08 15:52:17 -08:00
Gregory Szorc 24582842ca Bug 1415614 - Move build output processing code out of mach_commands.py; r=nalexander
In general, we shouldn't have so much business logic in mach_commands.py
files.

I'd like to move more of the low-level "perform a build" logic out of
mach_commands.py to facilitate some future work. That code makes use of
this output processing code. So as the first step in moving the build
code, we move its dependencies.

As part of this, I also cleaned up some random unused imports around
lines that were touched.

No meaningful code changes were performed as part of the code move.

MozReview-Commit-ID: 96mGWUJ7oLb

--HG--
extra : rebase_source : 1cfe6e4d12bd84fecf737b9b0cdeeac16f5d51a7
2017-11-08 14:45:07 -08:00
Gregory Szorc b3b7dfcfef Bug 1415614 - Add an API to log all structured messages; r=mshal
Currently, marking a logger as a structured logger will require a
subsequent function call in order for the logger to be hooked up
to active handlers. This behavior is not intuitive and makes it
easy to not have handlers for newly-registered loggers. This means
messages may not be logged anywhere.

In addition, we have to manually specify which named loggers to
enable structured logging for. This can be annoying.

We change the behavior of register_structured_logger() to
automatically add existing terminal and json handlers to the
logger being marked as structured.

We also introduce an API to enable structured logging for all
loggers. Existing consumers of registered_structured_logger()
in mozbuild have been updated to use this API. A new consumer
has been added for the `mach configure` command because it should
have been there before.

We stop short of making enable_all_structured_loggers() the default.
This is because various commands interact with the log manager in
ways that will result in duplicate logging of messages and
dropping of structured messages. There is a bit of a rabbit hole
here and addressing it can be done as a follow-up.

MozReview-Commit-ID: 1aU6eJvTSMP

--HG--
extra : rebase_source : 2a0a569b378cc3083b55fc7076b291abdfb7453f
2017-11-09 15:09:52 -08:00
Gregory Szorc 6c9c35a19d Bug 1415614 - Don't assign mach logger to instance variable; r=nalexander
We don't use this attribute outside of this function. Besides, you can
easily obtain a handle on the logger by calling
``logging.getLogger('mach')``.

MozReview-Commit-ID: 41vdn6McowW

--HG--
extra : rebase_source : dca383e5f5b770fa3adb09d753897633258302a1
2017-11-08 14:28:19 -08:00
Masayuki Nakano 806668b21a Bug 1415062 - part 2: Editor should use Selection::Collapse(const RawRangeBoundary&) as far as possible r=m_kato
In some places, editor computes index from child node for collapsing selection
at the child node.  However, it's expensive.  Therefore, editor should use
Selection::Collapse(const RawRangeBoundary&) as far as possible.

MozReview-Commit-ID: LF2MwASuXzZ

--HG--
extra : rebase_source : b7afc35c0d9d88845391b6f18de57cbff1935ae4
2017-11-07 19:50:25 +09:00
Masayuki Nakano 898bbb3137 Bug 1415062 - part 1: Selection should have Collapse(const RawRangeBoundary&) and Collapse(const RawRangeBoundary&, ErrorResult&) for avoiding computing offset of child node in container r=smaug
Selection should have Collapse() methods which take RawRangeBoundary instead of
a set of container and offset in it.  Then, if caller know only child node but
doesn't know offset in the container, neither callers, Selections nor nsRange
needs to compute offset.  This makes them avoid calling expensive method,
nsINode::IndexOf().

MozReview-Commit-ID: 79IRajLe1FE

--HG--
extra : rebase_source : a8ce52ff1654974461d5ecfed98b73d9cca34133
2017-11-07 15:29:15 +09:00
Miko Mynttinen 845735af56 Bug 1395476 - Do not call mStoredList.RecomputeVisibility for 3d transforms r=mattwoodrow
MozReview-Commit-ID: 1pnYL2RtFi6

--HG--
extra : rebase_source : 85699125c4b547b99ce2bf8580e0cd40720a285b
2017-11-08 02:54:10 +01:00
Mike Hommey afcd9e5c5b Bug 1415686 - Ensure both configure and old-configure agree on what MOZ_DEBUG means. r=chmanchester
--HG--
extra : rebase_source : e85bb916016ed767e2c1e6960b32d0224c6f092e
2017-11-09 07:41:21 +09:00
Ralph Giles 7138888244 Bug 1415446 - Update to libogg 1.3.3. r=kinetik
Update our in-tree copy of libogg to the latest upstream release.

This fixes an issue handling corrupt streams when packets are
continued between framing pages, along with some minor portability
fixes.

MozReview-Commit-ID: 3Vixrru4gLV

--HG--
extra : rebase_source : be30a403c32ec777c57ca95fcc642abf875188ae
2017-11-08 08:49:05 -08:00
Sebastian Hengst ad5f08ae5a merge mozilla-central to autoland. r=merge a=merge 2017-11-09 00:52:17 +01:00
James Graham a89b2e2c7f Bug 1415674 - Allow skipping web-paltform-tests that timeout, r=ato
For local runs it can be helpful to skip tests are expected to time
out. This adds a --skip-timeout flag that will skip tests that are
expected to time out on the current platform.

It doesn't solve the problem that the metadata might be over-specific
in the case that the expectation data isn't universal across all platforms.

MozReview-Commit-ID: 7S4EsVKv33P

--HG--
extra : rebase_source : 7e18bbcefc7350465bae799c27454a13da64a32e
2017-11-08 13:07:09 -08:00
Geoff Brown 8a01aef232 Bug 1415245 - Follow-up: work around intermittent psutil import error, on a CLOSED TREE
MozReview-Commit-ID: KSGe1iYQpYw

--HG--
extra : transplant_source : %24F%87%98%C7%A6%BD%80%E63Q%CF%0C%88B%CD%A4%AC%E7%E3
2017-11-08 10:55:29 -07:00