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

554216 Коммитов

Автор SHA1 Сообщение Дата
Gregory Szorc e6c05965dd Bug 1390700 - Sparse checkout profiles for mach and taskgraph; r=dustin
Mercurial's sparse checkout support allows "profile" files defining
what's in sparse checkouts to be defined in-tree. This convenient
feature means you simply need to point a client at a path inside the
repository and it dynamically resolves what files to include in the
checkout. As you update revisions, the "profile" pulls in updates
to the underlying file.

We introduce 2 sparse profiles: 1 for mach and another for taskgraph.

The goal of the "mach" profile is to provide enough files to run
`mach`. If you activate this profile and run `mach`, it runs without
error. But there are practically no commands available. So it isn't
terribly useful.

The "taskgraph" profile allows us to run `mach taskgraph`. This
profile demonstrates a sparse profile feature: including other
profiles. The "taskgraph" profile is thus a union of "mach" and
its own entries.

There is definitely some fat in these profiles. I didn't feel like
chasing the long tail and getting overly granular with the profiles.
If we want to optimize later, we can do that.

For reference:

Full checkout: ~234,000 files
mach:            ~2,000 files
taskgraph:       ~3,600 files

MozReview-Commit-ID: 7pALt0MwHfE

--HG--
extra : rebase_source : 1a4ba4b8a63c522dab2841e2c0019501476da2fe
2017-08-23 11:47:44 -07:00
Gregory Szorc 22bae15639 Bug 1390700 - Support sparse checkouts in run-task; r=dustin
`run-task` is taught a --sparse-profile argument to be passed down
to `hg robustcheckout` for the main source checkout. It does what
you expect: performs a sparse checkout using the named profile.

The Taskgraph YAML for run-task is taught a "sparse-profile"
property to define the sparse profile. When defined, --sparse-profile
will be passed down to `run-task` and the cache name will be updated
to reflect the use of sparse checkout.

Our cache checking transform is updated to audit for the use of
--sparse-profile without the corresponding "-sparse" cache name
variation.

The reason we need a distinct cache name for sparse is because
clients that aren't sparse aware will be unable to read checkouts
that are sparse. By forcing sparse and non-sparse into different
cache pools, we avoid compatibility issues.

In the ideal world, we probably support sparse profiles on all the
VCS checkouts that `run-task` supports (e.g. --tools-checkout).
Perfect is the enemy of done. All of this is defined in-tree and
it is easy enough to change atomically.

MozReview-Commit-ID: 79k7Vul0hHO

--HG--
extra : rebase_source : babe9b42e2796c2341bffc6ecfe829f4daff9e0f
2017-08-23 18:54:14 -07:00
Gregory Szorc 605775b621 Bug 1390700 - Fix some error messages in run-task; r=dustin
Include "error:" so Treeherder log parser picks things up (hopefully).

Also, actually include cache path in string.

MozReview-Commit-ID: 8b8ou7TJYZs

--HG--
extra : rebase_source : 52b43dd18419a6a8cfb096a6bf4262852c7c0ccc
2017-08-24 09:06:45 -07:00
Imanol Fernandez 08d3ad7c92 servo: Merge #18221 - Use FnvHashMap in WebGL implementation (from MortimerGoro:webgl_fnv); r=jdm
<!-- Please describe your changes on the following line: -->

Follow up from the WebGL redesign: https://github.com/servo/servo/pull/17891

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 4598ddb0bcf62aa2ec54d896a67eae20db4588c0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ae0f3f7bedbe4a6d2313cc3e0120a347b597d91c
2017-08-24 16:25:53 -05:00
gasolin 78f10aaa0c Bug 1392469 - [Onboarding] remove all notification illustrations;r=Fischer
MozReview-Commit-ID: KkYOtJxkrOs

--HG--
extra : rebase_source : c799b579025958d2f7303f70009ca2c06ad0b312
2017-08-22 10:46:17 +08:00
gasolin 10ccbc0a63 Bug 1392469 - [Onboarding] remove fox icon and speech bubble from notification;r=Fischer
MozReview-Commit-ID: BeaOswqNf4G

--HG--
extra : rebase_source : c7e5223ce8e4034b47ba96d2ac42b26a11e77293
2017-08-22 10:24:52 +08:00
gasolin 0d57ebd4fb Bug 1388813 - [Onboarding] expand Tour Notification description width to allow longer descrition;r=rexboy
MozReview-Commit-ID: JykTLLGed8m

--HG--
extra : rebase_source : 6664201b57a0860514f261b8eea4c1d0bbf4934b
2017-08-23 09:57:48 +08:00
Wes Kocher d57e3cca8f Backed out changeset 528d2ea1c438 (bug 1382440) for build failures in CPUUsageWatcher.h a=backout
MozReview-Commit-ID: DBjkvFPoWFZ
2017-08-24 15:24:47 -07:00
Julian Descottes 3e2d929cd8 Bug 1378862 - remove usage of sdk heritage in devtools protocol.js;r=zer0
MozReview-Commit-ID: 8hyEroQwnNL

--HG--
extra : rebase_source : 9e5d09ab497b9b2ad102b45d33328f109f63cbeb
2017-08-21 20:21:48 +02:00
Shane Caraveo 66f20a68a1 Bug 1389718 fix receiving a message in proxy sandbox when running OOP, r=kmag
MozReview-Commit-ID: xgHIph36SG

--HG--
extra : rebase_source : 90010f086b713f7308d0f0367d96f6f79284b28a
2017-08-24 12:49:56 -07:00
Shane Caraveo 9a9c3cc30f Bug 1393402 set longer timeout for document load r=mixedpuppy
MozReview-Commit-ID: BSWPMaNvtwG

--HG--
extra : rebase_source : c1c76f5d85e5e8ba52217e012dc5ad42382eb7a2
2017-08-24 14:35:31 -07:00
Hiroyuki Ikezoe ffc4667148 Bug 1392851 - A reftest to check that we don't share styles for elements that have animations which are about to be removed. r=birtles
This was a test case for bug 1379203 (Google Inbox issue), but to pass this test
also needs the fix in this series to cancel animations when changing
animation-name to 'none' in the specified CSS rule.

Actually the fix in this series also fixes the Google Inbox issue so that this
test can pass without the fix for the Google Inbox issue. But even so without
the fix for bug 1379203, the style data for the first div element in this test
is cached and the second div element uses the cached data.

MozReview-Commit-ID: GfKSDfTZef4

--HG--
extra : rebase_source : caad72ed69e4ebeec8b8cad25949ea69e3bb652e
2017-08-24 18:27:31 +09:00
Hiroyuki Ikezoe 3fc40c42f2 Bug 1392851 - Try to update running CSS animations when CSS rules are changed. r=birtles
In the case where values in CSS rules changed directly by CSSOM, the old
value in the CSS rule block is immediately replaced by the new one. So if
the element, which is applied to the CSS rule, has running animations, the
new value is used during cascading process in animation-only restyle. Thus
in a subsequent normal restyle, we can't tell whether the value in the CSS
rule has changed or not. As a result, transitions may not be triggered
(bug 1393323) and CSS animations may not be cancelled if the updated
animation-name is 'none' (this bug).

For the latter case of CSS animations where animation-name has been updated to
'none', this patch introduces a workaround whereby we trigger an update of
running animations whenever the traversal is triggered by changes to CSS rules
and we have existing CSS animations.

change-animation-name-to-none-in-rule.html fails without servo #18214, succeeds
with this patch.  Other two tests succeed regardless of the PR.

MozReview-Commit-ID: BrZgTNk9w41

--HG--
extra : rebase_source : 7a55f54a0f94c8db02639f9d8c89f785b3a17a1b
2017-08-24 18:27:10 +09:00
Dan Banner f1eb5aaa84 Bug 1392119 - Enable the ESLint no-caller rule across mozilla-central r=standard8
MozReview-Commit-ID: JOC1330iFnh

--HG--
extra : rebase_source : 2afcb219d4a0d78f996bdc2c841456d2dccff605
2017-08-23 13:38:24 +01:00
Gregory Szorc 1184431374 Bug 1393242 - Use hglib for get_files_in_working_directory(); r=mshal
And convert consumers to context managers because hglib requires that.

MozReview-Commit-ID: Ckf1yBYeUlm

--HG--
extra : rebase_source : e76b2690bd02bc6889dbe0f4524d61669ba82367
2017-08-23 15:21:16 -07:00
Gregory Szorc aaff94550d Bug 1393242 - Hook up hglib to HgRepository; r=mshal
Because hglib spawns a persistent process, we introduce a context
manager for Repository. It no-ops by default. On HgRepository it
controls the lifetime of the persistent hg process.

A helper method for running an hg command via hglib has been added.
We can't transition existing methods to hglib because hglib
requires a context manager, which no consumer is using yet.

MozReview-Commit-ID: 8z0fcGFeAm5

--HG--
extra : rebase_source : 914322f3647fb29406a22203811ac8cc0ac82420
2017-08-23 15:09:27 -07:00
Gregory Szorc 258638f8d6 Bug 1393242 - Vendor python-hglib 2.4; r=mshal
python-hglib is a Python client for Mercurial's command server. It
facilitates querying Mercurial efficiently (using a single process)
and without having to parse output in the common case.

Let's vendor it so we can make use of it for more advanced Mercurial
scenarios.

Content vendored from changeset 820d7c1e470a without modifications
(other than deleting unwanted files).

As part of vendoring, we add the package to the virtualenv and make
it available to mach.

MozReview-Commit-ID: F4KLbW1lAvk

--HG--
extra : rebase_source : 39321a880a13a0b0323a7217f538978b729e2afe
2017-08-23 15:06:18 -07:00
Gregory Szorc 48ba6bac22 Bug 1393242 - Return a Repository using configure preferences; r=mshal
If configure has defined VCS binaries, we should use those.

MozReview-Commit-ID: DVnsSaJC8eN

--HG--
extra : rebase_source : 64e944841817e7fa0300bc6ed3bce3325e93781a
2017-08-23 15:04:46 -07:00
Gregory Szorc 7360761282 Bug 1393242 - Helper function to obtain a repository from a build config; r=mshal
Some callers already have a build config object. Let's not
make them call a function that imports buildconfig.

MozReview-Commit-ID: J22HhyVma9y

--HG--
extra : rebase_source : fa013dc0d8f85d1767e5666107ea656a17d137a2
2017-08-23 15:03:36 -07:00
Luke Chang 5bc80fb017 Bug 1389999 - Check the existence of ProfileStorage before running tests in test_refresh_firefox.py. r=MattN
MozReview-Commit-ID: B0DtEZD3We1

--HG--
extra : rebase_source : b2c891d78c23ee469b96d2d0157d236791dc1123
2017-08-24 14:53:02 +08:00
Brad Werth c946e3ebb0 Bug 1387933 Part 2: Gecko-side add a reusable sheets parameter to Servo_StyleSheet_FromUTF8Bytes, and mark a test as passing. r=xidorn
MozReview-Commit-ID: 9wqJW3SqbbM

--HG--
extra : rebase_source : 2d6711c411ec5ef22866a4b3aefcbd9c70619f31
2017-08-22 13:53:53 -07:00
Andrew Halberstadt f3a31869bb Bug 1393509 - Fix artifact builds on windows with |mach try fuzzy|, r=dustin
MozReview-Commit-ID: Fo3WzFEdLUF

--HG--
extra : rebase_source : f52c2e19bdad6e28ded106cfcdc64f3464281d54
2017-08-24 12:30:40 -04:00
Nicholas Hurley 4eb476eee2 Bug 1390274 - only parse URIs in the predictor when absolutely necessary. r=valentin
This moves URI creation from ParseMetaDataEntry into SetupPrediction
because ParseMetaDataEntry is called in way more circumstances than we
actually need the URI from. Even in those cases where we might use the
URI (but it's not guaranteed), we end up using the URI less often than
we create one. In case it wasn't clear, SetupPrediction is the only
thing called post-ParseMetaDataEntry that would require a parsed URI in
the first place.

SetupPrediction has the duplicated NS_NewURI calls to avoid creating
URIs for those calls to SetupPrediction that are no-ops.

MozReview-Commit-ID: HlhVj7p2uuk

--HG--
extra : rebase_source : 0349dc52225b6e93150947ea978f2ba7afa3e2f5
2017-08-22 07:43:41 -07:00
Markus Stange 88bdb191e3 Bug 1393123 - Don't attempt to dispatch a runnable before the main thread is known to the thread manager. r=billm
MozReview-Commit-ID: FO2tDQJBGAl

--HG--
extra : rebase_source : 7bb73064a706b4c42263bfe62dc4738fe2f176fc
2017-08-23 13:36:42 -04:00
Doug Thayer aba9d67830 Bug 1382440 - Watch CPU usage in BHR r=froydnj
We would like to be able to see if a given hang in BHR occurred
under high CPU load, as this is an indication that the hang is
of less use to us, since it's likely that the external CPU use
is more responsible for it.

The way this works is fairly simple. We get the system CPU usage
on a scale from 0 to 1, and we get the current process's CPU
usage, also on a scale from 0 to 1, and we subtract the latter
from the former. We then compare this value to a threshold, which
is 1 - (1 / p), where p is the number of (virtual) cores on the
machine. This threshold might need to be tuned, so that we
require an entire physical core in order to not annotate the hang,
but for now it seemed the most reasonable line in the sand.

I should note that this considers CPU usage in child or parent
processes as external. While we are responsible for that CPU usage,
it still indicates that the stack we receive from BHR is of little
value to us, since the source of the actual hang is external to
that stack.

MozReview-Commit-ID: JkG53zq1MdY

--HG--
extra : rebase_source : 8ab1bddb8274a074547886ce027df2d7d2b35fe5
2017-07-24 13:46:09 -07:00
Brad Werth 5269f99dc1 servo: Merge #18207 - Add a reusable sheets parameter to Servo_StyleSheet_FromUTF8Bytes (from bradwerth:reuseImports); r=xidorn
MozReview-Commit-ID: DdMQpUY1WcJ

<!-- Please describe your changes on the following line: -->
https://bugzilla.mozilla.org/show_bug.cgi?id=1387933
https://reviewboard.mozilla.org/r/171308/

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 1e0ebf1c1ac6b00a7503dacecfa395df7daed229

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6e9552d2a1c9a930f1176750088d37d7f20b4581
2017-08-24 14:58:49 -05:00
Wes Kocher 829c7d45a7 Backed out changeset 25f127dff090 (bug 1390249) for browser_all_files_referenced.js failures a=backout CLOSED TREE
MozReview-Commit-ID: GRUTuGs7F4M

--HG--
extra : amend_source : afe4e3e3a2cd1701ec3d8e7da015ed17c78cbe5b
2017-08-24 14:22:00 -07:00
Wes Kocher e8f7cc0bb3 Backed out 2 changesets (bug 1392787) for build bustage a=backout CLOSED TREE
Backed out changeset 2ce8a387fa80 (bug 1392787)
Backed out changeset bf5a6ff97a8f (bug 1392787)

MozReview-Commit-ID: 2cA5bdnNDIe
2017-08-24 14:00:42 -07:00
Wes Kocher 4ea67d0e07 Backed out changeset e774700fe070 (bug 1392787) for build bustage a=backout CLOSED TREE
MozReview-Commit-ID: FRRUDa6rIuS
2017-08-24 13:58:52 -07:00
Wes Kocher 096bc1e19f Backed out changeset 69f853076a0f (bug 1381460) for failures in browser_UsageTelemetry_content.js a=backout
MozReview-Commit-ID: 3oQoIoK1uwD
2017-08-24 12:50:14 -07:00
Wes Kocher 88e134a1d0 Backed out changeset 2f9462c542b9 (bug 1382033) for failures in browser_all_files_referenced.js a=backout
MozReview-Commit-ID: BxG4WjenJkP
2017-08-24 12:35:03 -07:00
Josh Matthews 80ee45ce5c servo: Merge #18209 - Devirtualize CSS error reporting (from jdm:devirtualize); r=mbrubeck
This removes a trait object from the path of reporting a CSS error.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] There are tests for these changes

Source-Repo: https://github.com/servo/servo
Source-Revision: d4ddec8d33dbdaa248ae45d7c8ff58cfca7d7a5e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2cba60dc31ad007b10425814f9aa46299a053366
2017-08-24 13:19:25 -05:00
Drew Willcoxon 365ec5747a Bug 1378560 - The order of items in the url bar should be (from right-to-left) bookmarks, page action menu. r=Gijs
MozReview-Commit-ID: 8StaNxrvryT

--HG--
extra : rebase_source : 638106ab10ac6ba85d2877aca24149c928412617
2017-08-24 10:01:01 -07:00
Wes Kocher c14002885a Backed out changeset 0df56be60d07 (bug 1393498) for windows build failures a=backout
MozReview-Commit-ID: 9LrZYhCPjRv
2017-08-24 12:14:31 -07:00
Andrew Halberstadt cae249f833 Bug 1392787 - Disable manifestparser tests using 'disabled' key instead of comment, r=jmaher
MozReview-Commit-ID: IQL7hWxQX9F

--HG--
extra : rebase_source : d907a5b2192687d86e3291a936c943948ed6793f
2017-08-22 16:56:02 -04:00
Andrew Halberstadt b24f01064e Bug 1392787 - Add a linter to prevent comment-disabling tests in manifestparser manifests, r=jmaher
MozReview-Commit-ID: LG47ASBMA17

--HG--
extra : rebase_source : df925b5d234a889bfb472eb33a3204465aa64f79
2017-08-23 09:33:18 -04:00
Andrew Halberstadt 9fc7ff1913 Bug 1392787 - [mozlint] Fix bugs in path filtering and add a test, r=jmaher
MozReview-Commit-ID: LG47ASBMA17

--HG--
extra : rebase_source : d782ad2f17716f857f3da2d43e1370ba4db2f2bd
2017-08-23 06:33:06 -04:00
Delphine Lebédel dd07703803 Bug 1380866 - vi Search engine setup for Firefox Mobile for Vietnamese, r=flod
MozReview-Commit-ID: BAV8F4FYOiW

--HG--
extra : rebase_source : 2e2cad01cbd616d290b1701c0d8c3e492ad8ec54
2017-08-24 11:28:28 -07:00
Marina Samuel 57702c15fc Bug 1390249: Add PingCentre to browser/modules. r=ursula
MozReview-Commit-ID: GtwWh0iAqlu

--HG--
extra : rebase_source : 2e9ec8ed02055783420d457177f1914d248669cf
2017-08-08 14:41:15 -04:00
Jared Wein 032cea7cd8 Bug 1392157 - Performance improvements to burst animation. r=mconley
MozReview-Commit-ID: KJJv09u1SaJ

--HG--
extra : rebase_source : e5e4abe08c6d346e93acc0cbaa78a6ef31260b50
extra : source : 168182fb00ea49c77fe7cc7090b3413aad931f60
2017-08-21 18:11:34 -04:00
Jim Porter a99b7a3fad Bug 1392157 - Implement new page loading indicator animation, part 2: add a "burst" when loading finishes. r=jaws
MozReview-Commit-ID: 6TUmwfcZXv0

--HG--
extra : rebase_source : 19a01249f0f85441c5080d0faba4fdf81a47ebb7
extra : source : db02efa70700b9afb2b456b9acc3dbfddab92796
2017-08-11 14:00:22 -05:00
Brian Grinstead dbec5aa793 Bug 1392744 - Pass the port along to the browser toolbox chrome uri;r=jryans
This allows multiple browser toolboxes to be opened at once, assuming the host
profiles have different values for devtools.debugger.chrome-debugging-port

MozReview-Commit-ID: 1bzsZFww4Zv

--HG--
extra : rebase_source : a2f631bb9d67ce4eabb9e8b1a2c3c32a5b8fd574
2017-08-24 10:03:47 -07:00
Jared Wein e5bbbb1e79 Bug 1384953 - Run the library and pocket animations outside of the navigation-toolbar to workaround z-index issues with the selected tab. r=gijs
MozReview-Commit-ID: dXVThUXdXi
2017-08-09 20:36:17 -04:00
Tom Ritter 21351be91a Bug 1393498 Mark the stub_BaseThreadInitThunk as MOZ_NORETURN to silence a warning about a noreturn function not returning r=dmajor
/home/worker/workspace/build/src/mozglue/build/WindowsDllBlocklist.cpp:816:1: error: 'noreturn' function does return [-Werror]

MozReview-Commit-ID: SYgPDW0sMV

--HG--
extra : rebase_source : d932e84ff0729b1c5ccff6658ee81849eb27eef4
2017-08-24 09:32:04 -05:00
Andy McKay d98a197abf bug 1355788 rename Appearance to Themes r=aswan
MozReview-Commit-ID: mUhecHDOUD

--HG--
extra : rebase_source : 50835e38c9cbb37caf706c1d05d0bb386067d9be
2017-08-24 11:16:37 -07:00
Andrew Halberstadt 8c19582e1b Bug 1390969 - [tryselect] Add ability to save and load presets to |mach try fuzzy| r=jgraham
This also prints the last known query used in the commit message. This won't be accurate as
users can delete + enter multiple queries in a single session, but will give users a slightly
better idea of what was scheduled by glancing at the commit message.

MozReview-Commit-ID: 93FbEmMvd9t

--HG--
extra : rebase_source : fc09dd145a5e88e5bb77e4e483552b579e90f3ca
2017-08-24 11:04:56 -04:00
Andrew Halberstadt 9e440c1a44 Bug 1390969 - [tryselect] Pull presets handling out of the 'syntax' selector r=jgraham
MozReview-Commit-ID: KmXRj8TBvYK

--HG--
extra : rebase_source : 68974fcc3216aeb481690de1a6ee905735a3b3b7
2017-08-17 11:14:07 -04:00
Mike Conley 1a48acd481 Bug 1387088 - Add a reflow test for when the user is typing a search into the AwesomeBar. r=florian
MozReview-Commit-ID: BP0zlLU9Ltp

--HG--
extra : rebase_source : 93563fa6386a3cdb31aba8e330b9ffa7b0cafc8c
2017-08-17 16:50:30 -04:00
Francois Marier a014fe4f74 Bug 1388574 - Use the correct pref to gate the Application Reputation lists. r=hchang
MozReview-Commit-ID: 1ZuxnbgsOMX

--HG--
extra : rebase_source : 4984101882f1cfc16d07df78752c1a5aa18fadb4
2017-08-23 13:40:50 -07:00
Francois Marier 719c2b26b8 Bug 1388938 - Disable channel annotation and flashblock in tests harnesses.r=hchang
Since these tests harnesses are already disabling Safe Browsing and tracking
protection, they should also disable the other two features that cause
lists to be downloaded from the Mozilla shavar server.

MozReview-Commit-ID: 2158qRU4XZx

--HG--
extra : rebase_source : 287bfb7580538cca7f58ab035b7141166346c318
2017-08-23 15:47:37 -07:00