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

6319 Коммитов

Автор SHA1 Сообщение Дата
terrameijar 9f28cc669c Bug 1506611 - Fixed linter errors in testing/awsy and testing/geckodriver r=ahal
Before this change, testing/awsy had 94 errors and testing/geckodriver had 17. The errors have been resolved

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

--HG--
extra : moz-landing-system : lando
2018-12-18 21:31:59 +00:00
Dustin J. Mitchell 211a6cf5e3 Bug 1492664 - set TASKCLUSTER_ROOT_URL and TASKCLUSTER_PROXY_URL; r=tomprince,glandium
Eventually, workers will provide these variables directly
(https://bugzilla.mozilla.org/show_bug.cgi?id=1460015).  But for now, this
ensures that TASKCLUSTER_ROOT_URL is set everywhere, and TASKCLUSTER_PROXY_URL
is set wherever the proxy is active.

The setup for the mach commands defaults to https://taskcluster.net for user
convenience.  When the production instance's URL changes, we can simply change
that default.

This changes the docker build process to propagate TASKCLUSTER_ROOT_URL into
the docker images, and for good measure includes some code to use that value to
generate debian repo paths.

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

--HG--
extra : moz-landing-system : lando
2018-12-18 05:37:41 +00:00
Sylvestre Ledru 48ac5d6783 Bug 1514770 - Fix the clang-format hook for git r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D14754

--HG--
extra : moz-landing-system : lando
2018-12-17 19:12:06 +00:00
Sylvestre Ledru bb324b9dad Bug 1514755 - lint hooks: Use local path instead of absolute r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D14745

--HG--
extra : moz-landing-system : lando
2018-12-17 14:54:11 +00:00
Mark Banner 32345283e0 Bug 1503674 - Remove unused microformats code. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D14679

--HG--
extra : moz-landing-system : lando
2018-12-17 09:32:27 +00:00
Sylvestre Ledru e985f5ee15 Bug 1507007 - Add a clang-format hook r=ahal,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D13711

--HG--
extra : moz-landing-system : lando
2018-12-14 19:43:28 +00:00
Sylvestre Ledru 6f45c666bc Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2018-12-14 18:10:35 +00:00
Jesse Schwartzentruber 91a8f20d77 Bug 1513721 - Fix Faulty for compilation on Windows. r=posidron
Differential Revision: https://phabricator.services.mozilla.com/D14436

--HG--
extra : moz-landing-system : lando
2018-12-13 16:12:16 +00:00
Mark Banner 0304564ac7 Bug 1415483 - Apply the new options to reject-importGlobalProperties across the codebase, remove unnecessary importGlobalProperties. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D13754

--HG--
extra : moz-landing-system : lando
2018-12-11 21:39:40 +00:00
Mark Banner e2234d6da6 Bug 1415483 - Extend reject-importGlobalProperties to reject any priviliged items already in scope. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D13753

--HG--
extra : moz-landing-system : lando
2018-12-11 21:39:38 +00:00
Jean-Yves Avenard 48517afae6 Bug 1512298 - Make IPDL MozPromise exclusive. r=gerald,froydnj
MozPromise most common use is to have an single or exclusive listener. By making the MozPromise generated by IPDL exclusive we can also use move semantics.

While at it, we also use move semantics for the ResponseRejectReason and via the callback's reject method so that the lambda used with the MozPromise::Then can be identical to the one used by the IPDL callback.
As it currently is, it provides no advantage over a copy as it's just an enum; however, this will facilitate future changes where it may not be.

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

--HG--
extra : moz-landing-system : lando
2018-12-11 19:22:26 +00:00
Csoregi Natalia 9e970681f2 Backed out 2 changesets (bug 1415483) for multiple failures e.g. on test_message_manager_ipc.html. CLOSED TREE
Backed out changeset d00748de66fc (bug 1415483)
Backed out changeset 8dea94258f54 (bug 1415483)
2018-12-11 19:30:57 +02:00
Csoregi Natalia 354257650e Merge mozilla-central to autoland. CLOSED TREE 2018-12-11 18:29:02 +02:00
Csoregi Natalia e9a6129f64 Merge inbound to mozilla-central. a=merge 2018-12-11 18:24:56 +02:00
Mark Banner 1abdc8687f Bug 1415483 - Apply the new options to reject-importGlobalProperties across the codebase, remove unnecessary importGlobalProperties. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D13754

--HG--
extra : moz-landing-system : lando
2018-12-11 14:09:44 +00:00
Mark Banner 4d543888a6 Bug 1415483 - Extend reject-importGlobalProperties to reject any priviliged items already in scope. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D13753

--HG--
extra : moz-landing-system : lando
2018-12-11 14:09:24 +00:00
Mark Banner ff9179a99e Bug 1507487 - Handling of importScripts by ESLint should fallback to the file name if there is no entry in modules.json. r=mossop
We already have a fallback for items that aren't in a worker scope, we should have the same for ones that are. This means we don't need single maps (foo.js -> foo) in modules.json, and also we can identify more as explicit variables, so that no-unused-vars can detect them.

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

--HG--
extra : moz-landing-system : lando
2018-12-11 09:31:26 +00:00
Nathan Froyd 47b90c968b Bug 1511470 - part 2 - reduce copying of profile data in ProfilerChild; r=mstange
This case is exactly the same as the previous commit: we can just adopt
the newly-generated profile into the outgoing nsCString.
2018-12-10 16:22:26 -05:00
Nathan Froyd e1d14adf40 Bug 1511470 - part 1 - reduce copying of profile data in FinishGathering(); r=mstange
At this point, we've freshly allocated data for the generated JSON.
There's no need to copy it into a separate nsCString; we can simply
adopt the generated JSON into the nsCString, saving a copy.
2018-12-10 16:22:26 -05:00
Cosmin Sabou e3d5f2a521 Backed out changeset 6f69dc19ed7c (bug 1507487) for devtools failures on browser_scratchpad_pprint.js CLOSED TREE 2018-12-10 19:04:49 +02:00
Mark Banner d4cd673de5 Bug 1507487 - Handling of importScripts by ESLint should fallback to the file name if there is no entry in modules.json. r=mossop
We already have a fallback for items that aren't in a worker scope, we should have the same for ones that are. This means we don't need single maps (foo.js -> foo) in modules.json, and also we can identify more as explicit variables, so that no-unused-vars can detect them.

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

--HG--
extra : moz-landing-system : lando
2018-12-06 17:27:56 +00:00
Marco Castelluccio a2850b812e Bug 1512146 - Update expected results for some tests using mach try fuzzy. r=ahal
--HG--
extra : rebase_source : 4cf706b219126f90b11c2e17f0401d82fe228aa5
2018-12-04 22:54:36 -05:00
Andrew Halberstadt ce87b08ac4 Bug 1436037 - [python] Create Windows python-test tasks, r=gps
The following python-test paths are being moved out of 'make check' and into their own task:
- python/mozlint
- testing/mozbase
- tools/lint

The following python-test paths previously did not run on Windows:
- python/mozterm
- testing/marionette
- testing/raptor
- tools/tryselect

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

--HG--
extra : moz-landing-system : lando
2018-12-05 19:20:16 +00:00
Cosmin Sabou 69f9d5002c Merge mozilla-inbound to mozilla-central. a=merge 2018-12-05 12:19:43 +02:00
Marco Castelluccio a1348d373a Bug 1512082 - Add TRY_SELECTOR env to templates expected value. r=me
--HG--
extra : rebase_source : 498a3f1162ab15157ce553db9b38b4218a81ef48
2018-12-04 17:42:41 -05:00
Razvan Maries 36f8be9d4e Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-12-05 00:01:48 +02:00
Markus Stange 798399978e Bug 1505719 - Try harder when computing breakpad IDs for Android system libraries. r=ted
Differential Revision: https://phabricator.services.mozilla.com/D12836

--HG--
extra : moz-landing-system : lando
2018-12-03 19:21:44 +00:00
Axel Hecht 068dc3fde6 Bug 1492070, update mach command for compare-locales, #firefox-build-system-reviewers r=firefox-build-system-reviewers,ted
Differential Revision: https://phabricator.services.mozilla.com/D11902

--HG--
extra : moz-landing-system : lando
2018-12-03 12:08:31 +00:00
Tom Prince 0164c7946b Bug 1509962: [update-verify] Use taskgraph fetches in update-verify; r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D12981

--HG--
extra : moz-landing-system : lando
2018-12-03 06:44:55 +00:00
Tom Prince 3c202fa348 Bug 1509962: [update-verify] Use argparse in update-verify code; r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D12980

--HG--
extra : moz-landing-system : lando
2018-12-03 06:44:43 +00:00
Tom Prince 60cd948131 Bug 1509962: [update-verify] Remove some unused options from update-verify code; r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D12979

--HG--
extra : moz-landing-system : lando
2018-12-03 06:44:37 +00:00
Tom Prince 2eb17550b5 Bug 1509962: [update-verify] Run lint against python code in update-verify; r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D12978

--HG--
extra : moz-landing-system : lando
2018-12-03 06:44:31 +00:00
Tom Prince 6ffdb8908e Bug 1509962: [update-verify] Use in-tree update-verify code; r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D12977

--HG--
extra : moz-landing-system : lando
2018-12-03 06:44:28 +00:00
Tom Prince 5edec00d54 Bug 1509962: [update-verify] Import update-verify and final-verify code from build-tools; r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D12976

--HG--
extra : moz-landing-system : lando
2018-12-03 06:44:16 +00:00
Tom Prince 5cacb2dfc9 Bug 1509962: [mozrelease] Add mozrelease to in-tree lint config; r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D12975

--HG--
extra : moz-landing-system : lando
2018-12-03 06:44:08 +00:00
Coroiu Cristina 3564dfde3b Merge inbound to mozila-central a=merge 2018-12-01 07:46:00 +02:00
Marco Castelluccio 8eff89e376 Bug 1488849 - Don't fail when a chunk is not running any test when the try selector is 'coverage'. r=ahal
--HG--
extra : rebase_source : 8099420cf47593ea7b38fadc8b4c5f87f791f250
2018-11-23 17:59:04 +01:00
Mark Banner da86564348 Bug 1511079 - Don't apply the node wrapper for npm when on windows. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D13456

--HG--
extra : moz-landing-system : lando
2018-11-29 21:41:13 +00:00
Ehsan Akhgari 6b07492159 Bug 1511319 - Ensure that tools/clang-tidy/test doesn't get reformatted using clang-format; r=sylvestre a=Aryx
Reformatting this directory can break some of the tests here.

Differential Revision: https://phabricator.services.mozilla.com/D13518
2018-11-30 06:36:07 -05:00
Sylvestre Ledru 265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Sylvestre Ledru 125623fce9 Bug 1511284 - Also ignore breakpad client r=me CLOSED TREE
--HG--
extra : amend_source : 68654497f1fe2270636ac8343d7411df92e0622b
2018-11-30 08:00:43 +01:00
Marco Castelluccio 33976b9bd2 Bug 1510391 - When a task is not found, don't add None to the list of tasks to run. r=ahal
--HG--
extra : rebase_source : ef53880797df740bbbd289099cb602539b208599
2018-11-27 17:29:34 +01:00
Marco Castelluccio 04087c53c1 Bug 1510452 - Use srcdir_relpath instead of file_relpath for tests and test support files. r=ahal
--HG--
extra : rebase_source : ec726b7b2a409e6e30dcdee2e5795eabacd56fb6
2018-11-27 23:53:33 +01:00
Ehsan Akhgari 490e611801 Bug 1508472 - Part 5: Fifth batch of comment fix-ups in preparation for the tree reformat r=sylvestre
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal. I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.

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

--HG--
extra : moz-landing-system : lando
2018-11-29 10:30:46 +00:00
Ehsan Akhgari 565ce9bbad Bug 1510787 - Add security/sandbox/chromium-shim/ to the list of third-party sources r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D13318

--HG--
extra : moz-landing-system : lando
2018-11-29 08:25:27 +00:00
Ehsan Akhgari c8c64d1b1d Bug 1510765 - Add netwerk/dns/nsIDNKitInterface.h to the list of third-party sources r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D13306

--HG--
extra : moz-landing-system : lando
2018-11-29 08:25:04 +00:00
Sylvestre Ledru ef05004811 Bug 1503537 - Get rid of the pdfium & mortar code r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D10352

--HG--
extra : moz-landing-system : lando
2018-11-28 19:31:21 +00:00
Dão Gottwald 859de3e25b Bug 1510579 - Load scripts in global-scripts.inc the same way browser.xul does. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D13237

--HG--
extra : moz-landing-system : lando
2018-11-28 16:13:16 +00:00
Andrew Halberstadt 7b0d039311 Bug 1509391 - [eslint] Ignore excluded files that mozlint wasn't able to handle automatically r=Standard8
Normally eslint handles its own file exclusions, but there are still some
globally excluded paths that |mach lint| passes in (e.g objdirs and things in
ThirdPartyPaths.txt).

This makes sure that if they show up in the 'config', we handle them.

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

--HG--
extra : moz-landing-system : lando
2018-11-28 15:16:19 +00:00
Cosmin Sabou e1e8f2ea69 Merge mozilla-inbound to mozilla-central. a=merge 2018-11-28 06:08:19 +02:00