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

5862 Коммитов

Автор SHA1 Сообщение Дата
Joel Maher 28e3660b54 Bug 1400895 - Better try support for test-verify. r=ahal 2018-05-23 10:00:03 -04:00
Felipe Gomes 683f921f8c Bug 1409054 - Remove code from the old about:home. r=Mardak
MozReview-Commit-ID: JrgIFr2kAvI

--HG--
extra : rebase_source : 2636bfb0aa6b3fd81a3380c844776c3e0c048c8e
2018-05-22 00:45:44 -03:00
Sylvestre Ledru 8f2319cae3 bug 1463425 - Add more directories to the flake8 list r=ahal
MozReview-Commit-ID: JMZQonceq8W

--HG--
extra : rebase_source : 1d8d0218f128dede197fa99e5cba1f0101a80384
2018-05-22 06:26:22 -07:00
Emilio Cobos Álvarez 08d4ae50ba Bug 1463758: Don't use sequentially consistent atomic operations in RacyFeatures. r=mstange
Relaxed is more than enough for this use.

MozReview-Commit-ID: 6BGfEU83s7Y

--HG--
extra : rebase_source : ede8f47a5213ae64ed3dbf08a99d2a4a3789c1a2
2018-05-23 16:44:53 +02:00
Brian Grinstead 5fa9aadc74 Bug 1462798 - Create a base custom element class that shares the parseXULToFragment helper;r=Paolo
MozReview-Commit-ID: IG84xKxO9Wc

--HG--
extra : rebase_source : bc46d1f4dcfee66523a2ede8ec32ef9014cf170c
2018-05-19 13:56:06 -07:00
Sylvestre Ledru b629f23fc9 Bug 1462405 - Update codespell to 1.13 r=ahal
MozReview-Commit-ID: 7vRJAq0mOHm

--HG--
extra : rebase_source : 9ba6e5ae9e46c63cb60b65352d1b2f94b31fa137
2018-05-17 18:59:10 +02:00
Greg Tatum a95f839180 Bug 1447338 - Add thread "responsiveness" as a configurable feature to the Gecko Profiler; r=mstange
MozReview-Commit-ID: KTJRvQzUwsf

--HG--
extra : rebase_source : bac38dc65bf074f31b2e25f80620a6baa4c7e14d
2018-03-28 15:28:54 -05:00
Noemi Erli 5c958b4444 Backed out changeset 89ead7c6e907 (bug 1462405) for Linting failure on a CLOSED TREE 2018-05-19 11:11:25 +03:00
Sylvestre Ledru 97d3d22a5e Bug 1462405 - Update codespell to 1.13 r=ahal
MozReview-Commit-ID: 7vRJAq0mOHm

--HG--
extra : rebase_source : 6a7e820ff0399b45b82702f08ec8cbfb38d132c4
2018-05-17 18:59:10 +02:00
Makoto Kato 1e3dd894f0 Bug 1456399 - Enable LUL stack walker for Android/x86. r=jseward
--HG--
extra : rebase_source : 2da5d38052b49f2130d1fae8395145d5df8905e5
2018-05-31 18:50:16 +09:00
Felipe Gomes ad24f8ae59 Bug 1462400 - Tell eslint about XPCOMUtils.defineLazyProxy. r=standard8
Also bump eslint-plugin-mozilla version to 0.13.0

MozReview-Commit-ID: ELWC6RYNPjT

--HG--
extra : rebase_source : aecc1a032e761812f78f9e57a2534d0e694d0b9c
2018-05-18 13:24:54 -03:00
Mark Banner f692609ef4 Bug 1461997 - Add an ESLint rule to ensure that Assert.rejects is preceeded by await. r=mossop
MozReview-Commit-ID: kVrHRIi9l6

--HG--
extra : rebase_source : affa22c03c3d0fafc11d6fb62fed272e289802dd
2018-05-16 21:04:13 +01:00
Mark Banner 0237d1df76 Bug 1461997 - Create a rule to prevent usages of Assert.throws/rejects without an 'expected' argument. r=mossop
MozReview-Commit-ID: 979uJQUjybl

--HG--
extra : rebase_source : 1e0cb11ac28e35391c92a06bbd5894f7fc507baa
2018-04-09 18:54:13 +01:00
Brindusan Cristian e636fe322a Backed out changeset 35089098baf8 (bug 1447338) for mochitest chrome failures on test_perf-settings-features.html CLOSED TREE 2018-05-17 19:48:34 +03:00
Greg Tatum e642a3ee41 Bug 1447338 - Add thread "responsiveness" as a configurable feature to the Gecko Profiler; r=mstange
MozReview-Commit-ID: KTJRvQzUwsf

--HG--
extra : rebase_source : 8692309978447fcccb2b6463c15fccda23cd3069
2018-03-28 15:28:54 -05:00
Ciure Andrei 08c017397c Backed out changeset 134bf057ca61 (bug 1447338) for Android build bustages on builds/worker/workspace/build/src/tools/profiler/core/platform.cpp a=backout CLOSED TREE 2018-05-17 01:54:07 +03:00
Greg Tatum c4476e700c Bug 1447338 - Add thread "responsiveness" as a configurable feature to the Gecko Profiler; r=mstange
MozReview-Commit-ID: KTJRvQzUwsf

--HG--
extra : rebase_source : ca818e1d7c46b1e4495445f55525e2deb0d7939f
2018-03-28 15:28:54 -05:00
Nazım Can Altınova 30776daaaa Bug 1460697 - Do not collect extension metadata for profiler while XPCOM is shutting down r=kmag
To collect extension metadata, we need to get an ExtensionPolicyService singleton,
but during shutdown, we are deleting the ExtensionPolicyService instance and then
trying to collect extension metadata. Since collecting extension metadata for
profiler requires ExtensionPolicyService, we have to create it again. But we
cannot create it while XPCOM shutting down. Therefore, we had to skip collecting
extension metadata.

MozReview-Commit-ID: AR544ILhSBT

--HG--
extra : rebase_source : 4e9e83665f12cf6d7bc886e7fbcb5b4178b17ab5
2018-05-16 12:30:52 +02:00
Markus Stange 68470bc3c0 Bug 1461555 - Rename PseudoStack to ProfilingStack. r=njn
This also changes many references to the 'pseudo stack' to refer to the 'label
stack' instead. The label stack is one of the two stacks that are managed by
the profiling stack, the other stack being the JS interpreter stack.

MozReview-Commit-ID: Ed0YMMeCBY8

--HG--
extra : rebase_source : 5675d670f424c7d7dda04bafc2b3431fa2485e3c
2018-05-15 01:03:11 -04:00
Markus Stange 633ac66e7f Bug 1461555 - Rename ProfileEntry to ProfilingStackFrame. r=njn
The term "entry" is already used for elements in the profile buffer.

MozReview-Commit-ID: 1aB22V6veQh

--HG--
extra : rebase_source : c664eb4d6bed6cb74ba8a1b67ea99bd8ca57bcf7
extra : source : 3264c0cc0027b240b55bd3aebf27263b1e1d1cc0
2018-05-15 01:14:03 -04:00
Markus Stange e9bddb2595 Bug 1431187 - Remove unused function profiler_get_pseudo_stack(). r=njn
MozReview-Commit-ID: KvGTqjex3u3

--HG--
extra : rebase_source : dc5dfde4e5fc79469ebf61410289db4bf0b092bb
2018-05-15 00:21:18 -04:00
Csoregi Natalia 00dd116638 Merge inbound to mozilla-central. a=merge 2018-05-15 12:53:24 +03:00
Nika Layzell 2d188849ae Bug 1455217 - Part 3: Use the new xpidl Promise type instead of nsISupports, r=bz 2018-05-14 17:55:54 -04:00
Andi-Bogdan Postelnicu 7ff371efa8 Bug 1432410 - Add tests in tree to make sure we don't regress with clang-tidy on static-analisys. Tests wrote in part by :sylvestre. r=gps
MozReview-Commit-ID: IWxzKfWNIHG

--HG--
extra : rebase_source : e6860d1adcc06bb1e4383cb76be02089a0ef61f9
2018-05-03 20:06:16 +03:00
Markus Stange 73800e02dd Bug 1461053 - Treat SP marker frames as their own kind, instead of lumping them together with label frames. r=njn
MozReview-Commit-ID: 5nQEIgBY4SP

--HG--
extra : rebase_source : 9b59e41fdf62e86941104248d9c0cf08b73736f2
2018-05-14 23:30:32 -04:00
Markus Stange 818ad4ea69 Bug 1461053 - Rename Cpp frames to label frames in the ProfilingStack. r=njn
The name Cpp was confusing, because C++ functions are in the native stack, not
in the pseudo stack. The pseudo stack only contains frames for manually
instrumented code that uses AutoProfilerLabel, and JS frames.

MozReview-Commit-ID: 9ptfhREo0qy

--HG--
extra : rebase_source : 76a1a32acb4c946aeb2ad45e904e419c1c9e2ad1
2018-05-14 23:21:29 -04:00
Greg Tatum 596f2f4219 Bug 1426124 - Discard JIT frames from native stacks in the profiler; r=jandem,mstange
MozReview-Commit-ID: 9O92eRm5adW

--HG--
extra : rebase_source : ec4e2a5180f191b9c0946143f6e01eaf25028ce7
2018-04-25 10:08:38 -05:00
Sylvestre Ledru 1166e955d4 Bug 1449035 - Codespell: move to quiet-level=7 to also ignore the binary r=ahal
MozReview-Commit-ID: 9ldfPPRqiSu

--HG--
extra : rebase_source : 3830f48f954c1ef8b5d858644177c8beaedb0e50
2018-05-12 12:03:11 +02:00
Andi-Bogdan Postelnicu 0374067886 Bug 1432410 - Add tests in tree to make sure we don't regress with clang-tidy on static-analisys. Tests wrote in part by :sylvestre. r=gps
MozReview-Commit-ID: IWxzKfWNIHG

--HG--
extra : rebase_source : d2bd65c66541e5d6e8d5cc721b117f0a3e7716e8
2018-05-03 20:06:16 +03:00
Panos Astithas 84e5cae688 Bug 1451853 - Include Firefox build id and source URL in profiler meta information. r=mstange
MozReview-Commit-ID: 5MBM31f2UjP

--HG--
extra : rebase_source : 258f2dca59721a4eca92bb63472558d6e212572f
2018-05-10 21:37:35 -07:00
Sylvestre Ledru f4460e12bd Bug 1460402 - Update the codespell support to use pip instead of the package r=ahal
MozReview-Commit-ID: J4wS7s9sWFe

--HG--
extra : rebase_source : 040904aa56cb88292829c110cd6040616a99f04b
2018-05-09 21:56:43 +02:00
Sylvestre Ledru 91cdb3d557 Bug 1460402 - Update the flake8 support to use the pip class r=ahal
MozReview-Commit-ID: 9BWa0cnWJdS

--HG--
extra : rebase_source : a4574227e2f165fa9b2529fb0e36f24f26ee5cfd
2018-05-09 21:55:21 +02:00
Dorel Luca a5bc0b3f70 Backed out 4 changesets (bug 1460402) for lint failure on intl/locales/en-US/hyphenation/hyph_en_US.dic. CLOSED TREE
Backed out changeset c2e8fbd72ca6 (bug 1460402)
Backed out changeset 3676e913dbff (bug 1460402)
Backed out changeset bb12ffd4b96e (bug 1460402)
Backed out changeset 3e50885329c4 (bug 1460402)
2018-05-11 00:47:34 +03:00
Sylvestre Ledru 4631824f9c Bug 1460402 - Update the codespell support to use pip instead of the package r=ahal
MozReview-Commit-ID: J4wS7s9sWFe

--HG--
extra : rebase_source : 4666a3e5bab6ee5ca95fcc31da4ef625e46e2d59
2018-05-09 21:56:43 +02:00
Sylvestre Ledru 341d0a75ef Bug 1460402 - Update the flake8 support to use the pip class r=ahal
MozReview-Commit-ID: 9BWa0cnWJdS

--HG--
extra : rebase_source : 6de8669427b1724aadc39c0d10dd30e0e26abdc8
2018-05-09 21:55:21 +02:00
Dorel Luca 74bbb3c1eb Backed out 4 changesets (bug 1460402) for breaking taskcluster images. CLOSED TREE
Backed out changeset 5b40f3f18f42 (bug 1460402)
Backed out changeset 17526c61b995 (bug 1460402)
Backed out changeset e1caff997e5a (bug 1460402)
Backed out changeset 06ceda084d69 (bug 1460402)
2018-05-10 23:54:38 +03:00
Andrew Halberstadt 61b8f2b36a Bug 1454640 - [docs] Lazy load the package and version properties r=mshal on a CLOSED TREE
We no longer store the docs under a project name (since all the docs are now
built using the root conf.py). This mean the name and version are only used for
packaging and uploading, which typically is only used in CI.

This allows us to lazy load the package name and version, so we only read the
conf.py when we need to.

MozReview-Commit-ID: DV5Jxrbskoh

--HG--
extra : source : d03f75986f626938142bd5bde293773506a2fc14
extra : amend_source : d6d0ff5673515cac3a6c7cf03bfce4ffcd09991f
2018-04-18 17:31:10 -04:00
Andrew Halberstadt fe81229ade Bug 1454640 - [docs] Always build docs with the tools/docs/conf.py r=mshal
Previously, running |mach doc <subtree>| would use whatever conf.py file
happened to live in the subtree. For example, running:

./mach doc tools/lint

Would build with tools/lint/docs/conf.py. This is bad because it means the
generated docs will look different from the docs that eventually will be
published to firefox-source-docs.mozilla.com.

This patch makes sure we always use tools/docs/conf.py for building, even when
only generating a subtree.

Furthermore, this sets things up such that when you modify a file, only the
subtree containing the modified file will be re-generated.  This cuts down
rebuild times from ~2 minutes to ~20 seconds.

There is one caveat. When rebuilding a subtree, the index of other trees will
be overwritten in that particular subtree. I couldn't figure out anyway around
this. This tradeoff for *much* faster rebuild times seems worth it.

MozReview-Commit-ID: Ly88mvHKpo7

--HG--
extra : source : 47fc3e2238676a40a3adc84239baed1ce873e95e
2018-04-18 17:18:11 -04:00
Andrew Halberstadt 11734ea63e Bug 1454640 - [mozbuild] Ability to find sphinx variables relevant to a given path r=mshal
The current mechanism for reading SPHINX variables assumes we always want to
read metadata for the entire tree. Now that we have the ability to rebuild
specific subtrees, this assumption is false.

This patch allows us to specify a path that find_sphinx_variables can use to
filter down the set of moz.build variables it will traverse, yielding only
moz.builds that could potentially impact the specified path.

MozReview-Commit-ID: ALrCFLFgMLH

--HG--
extra : source : 22f2dc60e6d859d3ca411826c77002d87c1a49bd
2018-04-17 11:51:37 -04:00
Andrew Halberstadt a33ec550e5 Bug 1454640 - [docs] Memoize the result of processing sphinx moz.build variables r=mshal
Now that we can rebuild docs with the liveserver, there are some optimizations
we should make. One of those is processing the sphinx moz.build variables. This
patch makes sure we don't re-process moz.build if we've already done so in a
previous rebuild.

MozReview-Commit-ID: 2AIr1KeAPQV

--HG--
extra : source : 30b4083534b51213a1b9fe0d86f996cfa0e7fa54
2018-04-18 15:01:10 -04:00
Andrew Halberstadt 03da91b713 Bug 1454640 - [docs] Use a single SphinxManager instance across all rebuilds r=mshal
In the mozbuild.sphinx extension, we create a new SphinxManager instance each
time. However this isn't ideal now that we can rebuild the docs within the same
interpreter using the livereload server.

This makes use of a singleton so that we can share state not only between
multiple invocations of sphinx-build, but also with the mach command. This will
be taken advantage of more heavily in future commits in this series.

MozReview-Commit-ID: 7ERYeN5BPeI

--HG--
extra : source : 8309212d820bcca29aa95b7892d39940437f2aa8
2018-04-18 12:56:55 -04:00
Andrew Halberstadt cf57ba3bc5 Bug 1454640 - [moztreedocs] Move 'create_tarball' into a package submodule r=mshal
These two functions are typically only used by CI for packaging/uploading the
documentation. This is a minor re-organiztion for clarity.

MozReview-Commit-ID: 62UhQhSSkOs

--HG--
extra : source : 9942d2df371989c5dd67a75fd7a695533141dd89
2018-04-18 12:17:44 -04:00
Coroiu Cristina 5dfcabfb35 Backed out 6 changesets (bug 1454640) for bustage at build/src/security/manager/ssl/nsNSSComponent.cpp on a CLOSED TREE
Backed out changeset d03f75986f62 (bug 1454640)
Backed out changeset 47fc3e223867 (bug 1454640)
Backed out changeset 22f2dc60e6d8 (bug 1454640)
Backed out changeset 30b4083534b5 (bug 1454640)
Backed out changeset 8309212d820b (bug 1454640)
Backed out changeset 9942d2df3719 (bug 1454640)
2018-05-10 23:12:38 +03:00
Sylvestre Ledru b86503f980 Bug 1460402 - Update the codespell support to use pip instead of the package r=ahal
MozReview-Commit-ID: J4wS7s9sWFe

--HG--
extra : rebase_source : 4666a3e5bab6ee5ca95fcc31da4ef625e46e2d59
2018-05-09 21:56:43 +02:00
Sylvestre Ledru 814ff726f3 Bug 1460402 - Update the flake8 support to use the pip class r=ahal
MozReview-Commit-ID: 9BWa0cnWJdS

--HG--
extra : rebase_source : 6de8669427b1724aadc39c0d10dd30e0e26abdc8
2018-05-09 21:55:21 +02:00
Andrew Halberstadt 3ba7a7aa44 Bug 1454640 - [docs] Lazy load the package and version properties r=mshal
We no longer store the docs under a project name (since all the docs are now
built using the root conf.py). This mean the name and version are only used for
packaging and uploading, which typically is only used in CI.

This allows us to lazy load the package name and version, so we only read the
conf.py when we need to.

MozReview-Commit-ID: DV5Jxrbskoh

--HG--
extra : rebase_source : d227b8a800715c677602cbbc9b868df5dbd31131
2018-04-18 17:31:10 -04:00
Andrew Halberstadt 426661910a Bug 1454640 - [docs] Always build docs with the tools/docs/conf.py r=mshal
Previously, running |mach doc <subtree>| would use whatever conf.py file
happened to live in the subtree. For example, running:

./mach doc tools/lint

Would build with tools/lint/docs/conf.py. This is bad because it means the
generated docs will look different from the docs that eventually will be
published to firefox-source-docs.mozilla.com.

This patch makes sure we always use tools/docs/conf.py for building, even when
only generating a subtree.

Furthermore, this sets things up such that when you modify a file, only the
subtree containing the modified file will be re-generated.  This cuts down
rebuild times from ~2 minutes to ~20 seconds.

There is one caveat. When rebuilding a subtree, the index of other trees will
be overwritten in that particular subtree. I couldn't figure out anyway around
this. This tradeoff for *much* faster rebuild times seems worth it.

MozReview-Commit-ID: Ly88mvHKpo7

--HG--
extra : rebase_source : 379ffb482a4d15f5f6b394f93adab2b536c7ce00
2018-04-18 17:18:11 -04:00
Andrew Halberstadt cb800e2585 Bug 1454640 - [mozbuild] Ability to find sphinx variables relevant to a given path r=mshal
The current mechanism for reading SPHINX variables assumes we always want to
read metadata for the entire tree. Now that we have the ability to rebuild
specific subtrees, this assumption is false.

This patch allows us to specify a path that find_sphinx_variables can use to
filter down the set of moz.build variables it will traverse, yielding only
moz.builds that could potentially impact the specified path.

MozReview-Commit-ID: ALrCFLFgMLH

--HG--
extra : rebase_source : d0c26a006bb4dbc429be5eedad7825d4412dc2a4
2018-04-17 11:51:37 -04:00
Andrew Halberstadt 8ab3f6ec83 Bug 1454640 - [docs] Memoize the result of processing sphinx moz.build variables r=mshal
Now that we can rebuild docs with the liveserver, there are some optimizations
we should make. One of those is processing the sphinx moz.build variables. This
patch makes sure we don't re-process moz.build if we've already done so in a
previous rebuild.

MozReview-Commit-ID: 2AIr1KeAPQV

--HG--
extra : rebase_source : d8034ef5be416975c19a473d5a13f073e95aba80
2018-04-18 15:01:10 -04:00
Andrew Halberstadt 09c473ae93 Bug 1454640 - [docs] Use a single SphinxManager instance across all rebuilds r=mshal
In the mozbuild.sphinx extension, we create a new SphinxManager instance each
time. However this isn't ideal now that we can rebuild the docs within the same
interpreter using the livereload server.

This makes use of a singleton so that we can share state not only between
multiple invocations of sphinx-build, but also with the mach command. This will
be taken advantage of more heavily in future commits in this series.

MozReview-Commit-ID: 7ERYeN5BPeI

--HG--
extra : rebase_source : 44aee637ea9b828b43b82e8639ddc3cc7f68c797
2018-04-18 12:56:55 -04:00
Andrew Halberstadt b8deae6620 Bug 1454640 - [moztreedocs] Move 'create_tarball' into a package submodule r=mshal
These two functions are typically only used by CI for packaging/uploading the
documentation. This is a minor re-organiztion for clarity.

MozReview-Commit-ID: 62UhQhSSkOs

--HG--
extra : rebase_source : c5b800734041689453f965e50ce356c2e7a623d2
2018-04-18 12:17:44 -04:00
Csoregi Natalia f034c0ab5d Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-10 12:52:31 +03:00
Kris Maglione 6ec4b995da Bug 1460092: Follow-up: Fix eslint test failure caused by added comment. r=bustage CLOSED TREE
MozReview-Commit-ID: 18vBAO8MLh0

--HG--
extra : amend_source : c9443b79b1dc55b73424800fe8611d3e4b281392
2018-05-09 11:46:39 -07:00
Kris Maglione 01c298aca6 Bug 1460092: Add ESLint rule to enforce use of ChromeUtils.generateQI. r=Gijs
Also fixes existing code which fails the rule.

MozReview-Commit-ID: CkLFgsspGMU

--HG--
extra : rebase_source : 86a43837659aa2ad83a87eab53b7aa8d39ccf55b
2018-05-08 18:36:22 -07:00
Geoff Brown 5aaf4e3257 Bug 1459728 - Include more Android test suites in try list of non-compiled suites; r=maja_zf 2018-05-09 07:36:53 -06:00
Chris Peterson 87ddcb8273 Bug 1457813 - Part 3: Remove NS_PRECONDITION definition. r=froydnj
--HG--
extra : rebase_source : 9bad9e57e2e0363fb315949ac73b869fac0b9a73
2018-05-08 22:21:22 -07:00
Randell Jesup 734a1bb77d Bug 1457323: Add network markers to Content processes, add redirects and improve markers r=mstange
Markers exist in Master and each Content process has markers for it's own
loads.  Note that there may be a time delay between content and master.
2018-05-08 15:50:39 -04:00
Mark Banner 55b2589eab Bug 1456085 - Increase ESLint's minimum node & npm requirements to 8.9.1 & 5.5.1 respectively. r=ahal
Also use package-lock.json rather than npm-shrinkwrap.json as we no longer need to support the latter.

MozReview-Commit-ID: 4yaFcElvhF7

--HG--
rename : npm-shrinkwrap.json => package-lock.json
extra : rebase_source : ae6fcadd8b4a5213fb94cd6426909c2efebfb6a1
2018-05-08 09:49:25 +01:00
Jan Beich 41d0350039 Bug 1460147 - Unbreak platforms without GeckoProfiler after bug 1457323. r=mstange
MozReview-Commit-ID: 5gqME25bjOi

--HG--
extra : rebase_source : 35f2add747a4be79e69f1f98014531ff3932645a
2018-05-09 03:14:32 +00:00
Noemi Erli 5ffb086f4a Backed out changeset 98e368b5c4be (bug 1463035) for failures in tools/profiler/tests/chrome/test_profile_worker.html on a CLOSED TREE 2018-05-22 03:16:44 +03:00
Mike Hommey c51cee4730 Bug 1463035 - Remove MOZ_SIGNAL_TRAMPOLINE. r=jchen
For some reason, GNU as is not happy with the assembly generated after
bug 1238661 anymore on Debian armel.

OTOH, as mentioned in bug 1238661 comment 4, we actually don't need this
workaround anymore, so let's just kill it.

--HG--
extra : rebase_source : 6fd06832136d4f840c65f74b63f1c1bec48d525d
2018-05-21 12:04:22 +09:00
Sylvestre Ledru d8248a15c7 Bug 1418425 - Remove libbz2 files as we were only using it for crc32 as the updater moved to lzma r=glandium
MozReview-Commit-ID: 8Sz8vtV0b5G

--HG--
extra : rebase_source : 9f48f2e181fb16ad6bde1c357d74f879e1ef101e
2017-11-24 16:45:47 +01:00
Cosmin Sabou a1f7ce21a9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-02 18:07:21 +03:00
Cosmin Sabou ce9ff94ffe Merge inbound to mozilla-central. a=merge 2018-05-02 17:58:43 +03:00
Makoto Kato 3fefb11dd5 Bug 1458193 - Add logging when AutoObjectMapperFaultyLib is failed. r=jseward 2018-05-02 20:06:47 +09:00
Mark Banner d19d88da30 Bug 1457835 - Enable ESLint for testing/mochitest (manual changes). r=jmaher
MozReview-Commit-ID: BoGnB1aQxm8

--HG--
extra : rebase_source : 3014c44fb75c24616da5ca35b4e0addaf9982d9e
2018-04-30 11:03:44 +01:00
Dave Hunt 1b63703ded Bug 1437593 - Exclude third_party directory from linting; r=ted
MozReview-Commit-ID: DrVaFf9e6tf

--HG--
extra : rebase_source : ceec30f6a8a737013ad9c0d493419be959cd9306
2018-04-24 20:23:35 +01:00
Dorel Luca 70e79e52cd Backed out 11 changesets (bug 1437593) for Doc linting failure. CLOSED TREE
Backed out changeset 0f3dbbd73ed4 (bug 1437593)
Backed out changeset 64c84cf90e8b (bug 1437593)
Backed out changeset 36c66615886f (bug 1437593)
Backed out changeset dfafbe7770ad (bug 1437593)
Backed out changeset 900f32450a74 (bug 1437593)
Backed out changeset d6fe456bb39c (bug 1437593)
Backed out changeset 4842e4b68d82 (bug 1437593)
Backed out changeset e024b3d775fd (bug 1437593)
Backed out changeset ce9e3951357a (bug 1437593)
Backed out changeset afaeac146ff8 (bug 1437593)
Backed out changeset 88954bcf6ca2 (bug 1437593)
2018-04-28 12:02:02 +03:00
Csoregi Natalia aa73cfd14b Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-28 00:55:43 +03:00
Csoregi Natalia 12af4303ff Merge inbound to mozilla-central. a=merge 2018-04-28 00:53:15 +03:00
Dave Hunt 4e0411f8cd Bug 1437593 - Exclude third_party directory from linting; r=ted
MozReview-Commit-ID: DrVaFf9e6tf

--HG--
extra : rebase_source : 25881823ed48f09f5278404510dc435f1d5aaad2
2018-04-24 20:23:35 +01:00
Makoto Kato 7c1a14d2b6 Bug 1350500 - Don't call dlopen on callback. r=glandium
--HG--
extra : rebase_source : 9bcd0d67b3850a49c36ad0a81632fc52f1084e2c
2018-04-27 19:51:22 +09:00
Markus Stange 5a266f1cbf Bug 1350500 - Compute the breakpadId for Firefox libraries on Android by mapping them into memory. r=glandium
--HG--
extra : rebase_source : 446a93c262641a55dfe35afefa7a28ef87b15092
2018-04-27 19:51:20 +09:00
Cosmin Sabou 6b8c87c819 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-27 13:12:22 +03:00
Julian Seward 5c0c6834f5 Bug 1456382 - LUL: Convert mAdminThreadId check to MOZ_RELEASE_ASSERT. r=njn.
LUL::mAdminThreadId is used only to assert that certain calls into the LUL
object are made on the correct thread.  Because those assertions are done
using MOZ_ASSERT, some compilers spot that LUL::mAdminThreadId is unused in
non-debug builds, emit a warning to that effect, and then cause the build to
fail due to the presence of -Werror.

Given that (1) it's unlikely that people will use the profiler in debug
builds, (2) failure of these assertions is likely to lead to deadlocking or
crashing in the profiler, and (3) they don't occur on high-frequency paths,
a good solution seems to be to convert them to MOZ_RELEASE_ASSERTs, hence
causing LUL::mAdminThreadId to be used in even in non-debug builds.

In some cases, related MOZ_ASSERTs relating to LUL::mAdminMode have also
been upgraded to MOZ_RELEASE_ASSERTs, for consistency with the
LUL::mAdminThreadId changes.

--HG--
extra : rebase_source : 554a31060a828db01246ece6d1e3afbcc0b42cd2
2018-04-26 19:08:23 +02:00
Mark Banner 88e4fd5825 Bug 1456076 - Update ESLint to 4.19.1 & eslint-plugin-html to 4.0.3. r=mossop
MozReview-Commit-ID: Gs6T8AsLPPo

--HG--
extra : rebase_source : bf189ef047294ea405d8e7628eae94daa6d93e89
2018-04-23 11:33:31 +01:00
Makoto Kato 7f841de419 Bug 1450185 - Implement DWARF stack walker for aarch64. r=jseward
Since aarch64's DWARF doesn't have pc register, I use x29 (link register) if
not first frame.

I test by gtest on Linux/aarch64, and profiler works on Android/aarch64.

EM_AARCH64 might not be defined on our builders since headers are old, so
this define is needed.

MozReview-Commit-ID: 8VDb5i0vwBT

--HG--
extra : rebase_source : abfe58624dabc2551deb03527db4be3b93490206
2018-04-12 18:22:03 +09:00
Dave Hunt 3899c75e16 Bug 1437593 - Use pipenv for |mach doc| environment; r=ted
MozReview-Commit-ID: Ek2XnJRsDFI

--HG--
extra : rebase_source : 31ad2a183cf4a63fdd236aaf85a30cdda6849835
2018-03-27 13:10:05 +01:00
Gurzau Raul 677f146915 Backed out 11 changesets (bug 1437593) for SpiderMonkey failures on a CLOSED TREE
Backed out changeset e4b2357330b4 (bug 1437593)
Backed out changeset 8cb34c11ad45 (bug 1437593)
Backed out changeset ab27411c53c2 (bug 1437593)
Backed out changeset c90a0961f52a (bug 1437593)
Backed out changeset 60114a93b6b1 (bug 1437593)
Backed out changeset d12eec17c51c (bug 1437593)
Backed out changeset 2f83246cb0b1 (bug 1437593)
Backed out changeset 19b7273e375c (bug 1437593)
Backed out changeset cf026c071b73 (bug 1437593)
Backed out changeset c7fa833eff1d (bug 1437593)
Backed out changeset 828caab5032d (bug 1437593)
2018-04-27 02:20:39 +03:00
Dave Hunt d98ab6fd6b Bug 1437593 - Exclude third_party directory from linting; r=ted
MozReview-Commit-ID: DrVaFf9e6tf

--HG--
extra : rebase_source : cb00caebb3af6908cd67af323a5ec895ca3d12e5
2018-04-24 20:23:35 +01:00
Dave Hunt e8ea830d6f Bug 1437593 - Use pipenv for |mach doc| environment; r=ted
MozReview-Commit-ID: Ek2XnJRsDFI

--HG--
extra : rebase_source : 31ad2a183cf4a63fdd236aaf85a30cdda6849835
2018-03-27 13:10:05 +01:00
Kris Maglione 35409daeed Bug 1456686: Part 2 - Update ESLint plugin to treat explicit imports as real variable definitions. r=standard8
This has the effect of exposing explicit imports (e.g., defineModuleGetter),
but not implicit imports (e.g., Cu.import), to rules like no-unused-vars and
no-shadow.

MozReview-Commit-ID: C8oXoSKMU1s

--HG--
extra : rebase_source : 21e87b48514c2075d09eca7e20a1671b206d871f
extra : histedit_source : 5080aef443f0a21f3a1e3e2bb398aadcc5a05402%2Cc472717700446079b1f7ac552a4c3339d207ad61
2018-04-24 20:17:12 -07:00
Gurzau Raul faeb9b7ddd Merge inbound to mozilla-central. a=merge 2018-04-25 12:36:04 +03:00
Christoph Diehl d5091638e8 Bug 777067 - Fuzzing: IPC Protocol Definition Language (IPDL) Protocols. r=jld
--HG--
rename : ipc/glue/Faulty.cpp => tools/fuzzing/faulty/Faulty.cpp
rename : ipc/glue/Faulty.h => tools/fuzzing/faulty/Faulty.h
2018-04-24 20:10:15 +02:00
Makoto Kato 5ba93c05e8 Bug 1449983 - The Java thread has the wrong JSON format. r=mstange
MozReview-Commit-ID: 93Kw7McCWva

--HG--
extra : rebase_source : 754d8f1fcc2840d987df7bdbac4f0d08171aa57e
2018-04-20 10:33:26 +09:00
Brindusan Cristian 9265429dcd Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-25 00:57:49 +03:00
Brindusan Cristian 59f801793b Merge inbound to mozilla-central. a=merge 2018-04-25 00:50:59 +03:00
Tom Ritter 8728bdccf7 Bug 1455378 Give an informative error message of you try to ./mach pastebin too large a file. r=gps
--HG--
extra : rebase_source : 719fb33701b159955494031708d9366a57b31f9a
2018-04-19 17:31:00 +00:00
Edouard Oger 783ac499bc Bug 1442133 - FxA messages client implementation. r=markh,tcsc
MozReview-Commit-ID: EWYlZLdyUA0

--HG--
extra : rebase_source : ac540a5d1c26067c95314d07a32db8994f3dcee6
2018-03-07 13:38:12 -05:00
Sylvestre Ledru c2dfd17d46 Bug 1448934 - Add wasn to the ignore list until the upstream issue is fixed r=flod
MozReview-Commit-ID: IHi0Bag9FtH

--HG--
extra : rebase_source : 521d57e25e6144129b8e12ea99be860fcc3dc4e9
2018-04-24 10:49:29 +02:00
Sylvestre Ledru 6f62c2033f Bug 1448934 - Add the trailing "/" for consistency r=ahal
MozReview-Commit-ID: Ir54uVUFfbD

--HG--
extra : rebase_source : 1a8069c2e9e02dd2aee88407d5dd54f09fd26009
2018-03-26 19:10:45 +02:00
Sylvestre Ledru 3e355d9900 Bug 1448934 - Add */locales/en-US/ to the checklist r=flod
MozReview-Commit-ID: 4jO8nptectq

--HG--
extra : rebase_source : 626205c5ff7eeb830214cf72104ad39438dba337
2018-03-26 19:09:50 +02:00
Jeff Gilbert e969340c6c Bug 1450839 - Exclude mochitest-errata.ini from test-disable.yml. CLOSED TREE
This file is not part of the build. (it's used to generate
generated-mochitest.ini)
What's tripping up this lint is this line:
 # [gl:0D6DE000] mozilla::gl::GLContext::raw_fDrawArrays: Generated unexpected GL_INVALID_OPERATION error. (0x0502)
This line is picked up as a false-positive, since the too-naive regex
(effectively /#.*\[/) interprets this as a skipped test.

MozReview-Commit-ID: 2bMIkCH8WK9
2018-04-20 16:59:16 -07:00
Dorel Luca 15813c8ca0 Merge mozilla-central to mozilla-inbound 2018-04-21 02:06:35 +03:00
Dorel Luca 65669dae30 Merge mozilla-inbound to mozilla-central. a=merge 2018-04-21 02:00:04 +03:00
Kris Maglione 903e86e865 Bug 1455458: De-XPIDLify the blocklist service. r=gijs
Going through XPConnect for JS-to-JS access in the blocklist service adds no
benefit, but does add a lot of overhead and maintenance burden.

MozReview-Commit-ID: Lf1mDK0b0B0

--HG--
extra : rebase_source : 410ed3fcf999d7c7775ef4926c89f67d9e342da8
2018-04-19 16:01:24 -07:00
Andrew Halberstadt c52efbdc58 Bug 1410424 - [docs] Support live reloading with |mach doc| r=mshal
This changes the default to opening a livereload webserver after doc generation
(as opposed to opening the index file). Any changes to the specified path will
result in a rebuild and refresh of the browser.

For example, if you run:

    ./mach doc tools/lint

The linting docs will be built, served and opened in a browser. Modifying any
file under 'tools/lint/docs' will refresh the browser with your changes.

To disable this behaviour and simply open the index file, you can pass in
'--no-serve'. The '--no-open' flag will continue to work (both with http and
the file system).

One caveat to this patch is that when generating the root docs (by running
|mach doc|), we don't watch all possible doc paths (just the root one under
'tools/docs/'). This will probably be fixed in the follow-up bug 1454640.

MozReview-Commit-ID: FQecuePM0zZ

--HG--
extra : rebase_source : 3240402d7505e99a4f64dada309b1baec78306e1
2018-04-06 10:52:56 -04:00
Andrew Halberstadt 73873ac2df Bug 1410424 - [docs] Remove ability to specify multiple doc paths at the same time r=mshal
This removes the ability to specify multiple doc paths at the same time with
|mach doc|. We will be changing the default from opening index files to serving
the documentation with a webserver. Supporting multiple doc roots would mean
spinning up multiple servers in different threads.

This would add a lot of complexity for a feature which I don't think is very
useful. It's very rare that one would need to edit more than one doc location
at the same time. And if this is ever needed, the developer can just build the
entire doctree (by running |mach doc|) or run |mach doc <path>| in multiple
different terminals.

MozReview-Commit-ID: GXEZJSgLpgF

--HG--
extra : rebase_source : 2eda23274eb6c2be82f7e77ca577072386bada34
2018-04-06 10:30:31 -04:00
Andrew Halberstadt 853598e23e Bug 1410424 - [mozbuild] Add a 'quiet' argument to VirtualenvManager.install_pip_requirements r=mshal
Some requirements.txt are very large and result in a lot of package already
installed messages. Would be nice to hide this.

MozReview-Commit-ID: FQecuePM0zZ

--HG--
extra : rebase_source : 58eaa7324775cfaa39077871be0be0ef39ad7c11
2018-04-06 10:23:49 -04:00
Sylvestre Ledru fd4c215a63 Bug 1455451 - Codespell: enable the autofix (with --fix) r=ahal
MozReview-Commit-ID: FkWHbqvkkZV

--HG--
extra : rebase_source : 036d749eff34137d1f95183cb0b6abda139174b4
2018-04-19 23:41:57 +02:00