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

5249 Коммитов

Автор SHA1 Сообщение Дата
Makoto Kato ecd47d34f4 Bug 1562389 - Better detect non-clang-cl native windows clang. r=glandium
When building Gecko/Android/aarch64 on Windows, `--target` parameter may not be incorrect value. Although `check_compiler`'s `info` is target compiler, clang on Windows is always detected as `clang-cl`, not `clang`.

```
c:/Users/mkato/.mozbuild/clang/bin/clang.exe -E  -dM - < /dev/null
...
#define _MSC_VER 1916
```

So even if using clang on Windows, not clang-cl, we should detect as 'clang' correctly

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

--HG--
extra : moz-landing-system : lando
2019-07-08 10:35:40 +00:00
Justin Wood 4b233fe605 Bug 1559975 - Make python/mach lint with 'py2' and 'py3' r=catlee
Depends on D36096

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

--HG--
extra : moz-landing-system : lando
2019-07-05 14:24:58 +00:00
Justin Wood 939e67a089 Bug 1559975 - Make python/mozbuild lint with 'py2' and 'py3' r=catlee
Differential Revision: https://phabricator.services.mozilla.com/D36090

--HG--
extra : moz-landing-system : lando
2019-07-05 14:36:43 +00:00
Victor Porof fc0105c226 Bug 1556393 - Pre 0 (m-c): Create a simple Prettier command for running format-source, r=andi
Differential Revision: https://phabricator.services.mozilla.com/D36720

--HG--
extra : source : c168aefc21dfec8a1935272201592f3781df07b0
extra : intermediate-source : 008847a148cfd171e6e23425be5d6876c6174ef0
2019-07-04 14:50:20 +02:00
Andi-Bogdan Postelnicu d2e65163f9 Bug 1563326 - for code-analysis target do not globally import PackageFrontend. r=sylvestre
By globally importing PackageFrontend from the globe-analysis module we break the logger for
the PackageFrontend package.

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

--HG--
extra : moz-landing-system : lando
2019-07-04 11:42:16 +00:00
Ed Lee 475d41e647 Bug 1563243 - Add optimistic images, string robustness and bug fixes to New Tab Page r=pdahiya,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D36764

--HG--
extra : moz-landing-system : lando
2019-07-03 23:49:07 +00:00
Mike Hommey 7256ffeb9b Bug 1560044 - Always use a SDK path on macOS. r=nalexander
The SDK headers may not be installed in /usr/include. The usual response
has been to have people run e.g. `open
/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg`
which is not really sustainable.

This makes builds that happen on a macOS host try to detect their SDK
and use that as a default for --with-macos-sdk, which has the side
effect of enabling the SDK version check in that configuration.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 22:11:05 +00:00
Francesco Lodolo (:flod) e14e57c33f Bug 1563216 - Remove Fluent migration recipes for Firefox 68 r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D36754

--HG--
extra : moz-landing-system : lando
2019-07-03 13:36:06 +00:00
Andrew Halberstadt 1a58163ed7 Bug 1473498 - [mach] Enable test_logger with Python 3 r=firefox-build-system-reviewers,chmanchester
Depends on D36101

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

--HG--
extra : moz-landing-system : lando
2019-07-02 20:59:46 +00:00
Andrew Halberstadt 3f6339271d Bug 1473498 - [mach] Enable test_config with Python 3 r=firefox-build-system-reviewers,chmanchester
Depends on D36100

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

--HG--
extra : moz-landing-system : lando
2019-07-02 20:59:03 +00:00
Andrew Halberstadt 975f664521 Bug 1473498 - [mach] Enable test_entry_points with Python 3 r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D36100

--HG--
extra : moz-landing-system : lando
2019-07-02 20:58:14 +00:00
Andrew Halberstadt 3824b084b6 Bug 1473498 - [mach] Enable test_dispatcher with python 3 r=firefox-build-system-reviewers,chmanchester
This test is working with minimal effort. Let's get it running to prevent
future regressions.

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

--HG--
extra : moz-landing-system : lando
2019-07-02 21:27:35 +00:00
Andrew Halberstadt 6f363de429 Bug 1473498 - [mach] Pull tests out of make check r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D36097

--HG--
extra : moz-landing-system : lando
2019-07-02 20:40:39 +00:00
Mike Hommey 18f786a985 Bug 1528314 - Remove --with-java-bin-path mozconfig entry from bootstrap suggestions. r=nalexander
Configure should just be able to find the right one. If it doesn't, that
should be fixed in configure rather than with suggestions in bootstrap.

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

--HG--
extra : moz-landing-system : lando
2019-07-02 23:25:03 +00:00
Andreea Pavel c92947ecc6 Backed out 5 changesets (bug 1528314, bug 1560044) for build bustages on a CLOSED TREE
Backed out changeset 4a544cd4b035 (bug 1528314)
Backed out changeset 91919cdf9159 (bug 1528314)
Backed out changeset 1271940e91e8 (bug 1560044)
Backed out changeset a5bbaa8c1001 (bug 1560044)
Backed out changeset 7ae0d606f1c6 (bug 1560044)
2019-07-03 02:20:15 +03:00
Mike Hommey 0c7ee5ce30 Bug 1528314 - Remove --with-java-bin-path mozconfig entry from bootstrap suggestions. r=nalexander
Configure should just be able to find the right one. If it doesn't, that
should be fixed in configure rather than with suggestions in bootstrap.

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

--HG--
extra : moz-landing-system : lando
2019-07-02 17:25:38 +00:00
Ryan VanderMeulen 252c38a825 Bug 1563038 - Add more trees to the candidate tree list for artifact builds. r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D36676

--HG--
extra : moz-landing-system : lando
2019-07-02 21:58:21 +00:00
Jeane Carlos fbe42f7796 Bug 1555788 - Migrate about preferences home content to use fluent r=fluent-reviewers,Mardak,pdahiya,flod
Differential Revision: https://phabricator.services.mozilla.com/D35278

--HG--
extra : moz-landing-system : lando
2019-07-02 17:25:55 +00:00
Andi-Bogdan Postelnicu 247d96a5f4 Bug 1559740 - add separate modules for build, static-analysis and artifacts. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D36479

--HG--
extra : moz-landing-system : lando
2019-07-01 14:02:20 +00:00
Sylvestre Ledru da21266863 Bug 1559740 - Move the clang-{format,tidy} and infer declarations into a separate directory r=andi
Differential Revision: https://phabricator.services.mozilla.com/D35187

--HG--
extra : moz-landing-system : lando
2019-07-01 13:57:18 +00:00
Samuel Thibault 102e3a2ebb Bug 1543725 Add marionette support to thunderbird r=ato,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D27102

--HG--
extra : moz-landing-system : lando
2019-06-27 14:09:05 +00:00
Kartikaya Gupta 711c133f6d Bug 1558598 - Force WebRender on or off in the gtest harness. r=ahal
This covers the local and remote gtests, as well as the mach command.

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

--HG--
extra : moz-landing-system : lando
2019-06-29 09:48:16 +00:00
Mike Hommey b53fa7eb49 Bug 1561632 - Back out bug 1554987. r=ahal
Bug 1554987 made `mach try` use a transient remote, but that causes
problems with existing setups that happen to use the same remote name,
because of a combination of not-quite-as-documented-as-it-should
behavior of git.

- `git -c foo.bar=qux` doesn't override the value of `foo.bar` from the
  git configuration when `foo.bar` is an item that can take several
  values.
- `remote.$remote.url` and `remote.$remote.pushurl` take several values,
  allowing to give several URLs.

The combination of both means that if the git configuration already has
`remote.try.url` set, that value takes precedence (because git push
tries them one after the other, and takes the one from the command line
last)

One way we could increase the chances of things working out fine would
be to use `remote.try.pushurl`, which if already set, is more likely to
be right than an existing `remote.try.url`.

OTOH, it turns out, after more investigation, that bug 1554987 requires
a footgunny setup to happen in the first place. Namely, it requires
having run `git lfs install` from a git-cinnabar clone.

so we just go back to the previous status quo.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 15:58:36 +00:00
championshuttler 60ba27adf8 Bug 1536103 - Fix various Sphinx Warning in 'mach doc' (3). r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35314

--HG--
extra : moz-landing-system : lando
2019-06-26 20:00:31 +00:00
championshuttler 3303d92a29 Bug 1536103 - Fix Sphinx Warning - Unexpected indentation (1). r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35304

--HG--
extra : moz-landing-system : lando
2019-06-28 18:33:19 +00:00
Cosmin Sabou 20f7fd4c63 Backed out 3 changesets (bug 1559740) for linting errors and android bustages. CLOSED TREE
Backed out changeset 39db36060b8a (bug 1559740)
Backed out changeset df14ac0c2421 (bug 1559740)
Backed out changeset 089e04f53971 (bug 1559740)
2019-06-28 19:40:13 +03:00
Cosmin Sabou 6dce1fb935 Bug 1559740 - Ride along - add a missing import. r=Sylvestre 2019-06-28 18:15:31 +03:00
Sylvestre Ledru edf07b0f4d Bug 1559740 - Ride along - flake8+black+codespell on python/mozbuild/mozbuild/code-analysis/mach_commands.py r=andi
Depends on D35187

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

--HG--
extra : moz-landing-system : lando
2019-06-28 07:40:18 +00:00
Sylvestre Ledru 85ae7943fc Bug 1559740 - Move the clang-{format,tidy} and infer declarations into a separate directory r=andi
Differential Revision: https://phabricator.services.mozilla.com/D35187

--HG--
extra : moz-landing-system : lando
2019-06-28 07:39:48 +00:00
Ed Lee 10090c374d Bug 1561811 - Add fluent performance, 7-row pocket and bug fixes to Activity Stream r=k88hudson,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D36150

--HG--
extra : moz-landing-system : lando
2019-06-27 20:31:22 +00:00
Rok Garbas d8e57f535e Bug 1561582 - tooltool.py now supports python 3 and 2 r=rail CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D36010

--HG--
extra : source : 7e05642566d001eb7b6900e80788212310243c3c
extra : histedit_source : 361d6b5974f9a4708f12f2c747645df6c7d706ee
2019-06-27 12:54:07 +00:00
Dorel Luca 66a6c7cb6f Backed out changeset 7e05642566d0 (bug 1561582) for Toolchain failures. CLOSED TREE 2019-06-27 19:36:32 +03:00
Rok Garbas e09d6e060e Bug 1561582 - tooltool.py now supports python 3 and 2 r=rail
Differential Revision: https://phabricator.services.mozilla.com/D36010

--HG--
extra : moz-landing-system : lando
2019-06-27 12:54:07 +00:00
Mike Hommey 794ccc7940 Bug 1500436 - Redirect node.js's stderr to a pipe. r=froydnj
This works around https://github.com/nodejs/node/issues/14752, which
causes problems with make.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 21:44:00 +00:00
Mike Hommey 8ad5ae09a7 Bug 1561494 - Remove gconf from bootstrap. r=froydnj
Gconf support was removed in bug 1433685.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 12:54:30 +00:00
prathiksha 82a4475a6a Bug 1555438 - Remove getDetailedCertErrorInfo from NetErrorChild.jsm. r=johannh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D33065

--HG--
extra : moz-landing-system : lando
2019-06-26 20:24:05 +00:00
L. David Baron f721ff614d Bug 1515105 - Adjust test for turning off git commit.gpgSign when making temporary commits for try pushes. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35876

--HG--
extra : moz-landing-system : lando
2019-06-26 15:04:01 +00:00
Nick Alexander 871427c9e4 Bug 1555255 - Don't require a network connection to produce Javadoc. r=geckoview-reviewers,agi
See https://stackoverflow.com/a/24026735.

Adding the `docs` package requirement is not ideal, but it's not worth
the effort to install it only in automation (or in the relevant task),
and it's not *that* large: 1.0G on my macOS installation.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 19:58:26 +00:00
Mike Hommey 2bd4c4799f Bug 1560826 - Make bootstrap upgrade mercurial when it is older than 4.8. r=nalexander
4.3.3 is the strict minimum required for v-c-t's config wizard, but it
is preferable people use more modern versions. We could go with 5.0, but
it feels like people still using 4.8 and 4.9 don't really need to be
bugged to update to a more recent version, they are kind of modern
enough. OTOH MozillaBuild comes with 4.5.x, and this will force an
upgrade for those.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 16:50:17 +00:00
Mike Hommey c836cba1d4 Bug 1560826 - Only install mercurial versions that have wheels. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D35755

--HG--
extra : moz-landing-system : lando
2019-06-25 16:50:50 +00:00
Mike Hommey 9101a37a23 Bug 1560826 - Backout changeset c9732a51552b (bug 1364511). r=nalexander
This makes the bootstrap behavior wrt. Mercurial consistent on all
platforms, making Windows bootstrap only upgrade Mercurial if the
version is older than MODERN_MERCURIAL_VERSION.

As a side effect, this avoids upgrading to version 5.0.1, which doesn't
come with wheels at the moment.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 16:49:30 +00:00
Mike Hommey d01dbf277a Bug 1561201 - Expose the list of build resource data from `mach resource-usage` page. r=nalexander
The `mach resource-usage` page supports a list of build resource data,
but only ever displays the first one. Nothing actually creates a list
with multiple items automatically, but one might want to do that
manually to explore data from multiple builds more conveniently.

So if such a list exists, we expose a dropdown list of all the data
available, and switch the graph when a different item is chosen from the
list.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 16:48:19 +00:00
Mike Hommey 2424ebfd74 Bug 1561102 - Add license exception for the mach crate. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D35743

--HG--
extra : moz-landing-system : lando
2019-06-25 20:25:44 +00:00
L. David Baron 36f9d91fe8 Bug 1515105 - Turn off git commit.gpgSign when making temporary commits for try pushes. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35726

--HG--
extra : moz-landing-system : lando
2019-06-25 17:21:47 +00:00
Mike Hommey cff8fe1fbc Bug 1554987 - Invoke git push with a remote name for mach try. r=ahal
The git version shipped in some versions of OSX is patched by apple in a
way such that doing `git push hg::ssh://...` fails with an error message
like `Invalid remote name "hg::ssh://...`.

So instead, we define a named remote via inline configuration, and use
that remote's name for the push.

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

--HG--
extra : moz-landing-system : lando
2019-06-24 21:36:31 +00:00
Dorel Luca 49c9b3a351 Backed out changeset 21826fb830de (bug 1554987) for py2 and py3 failures. CLOSED TREE 2019-06-25 00:28:50 +03:00
Kartikaya Gupta e6c7a2e2b3 Bug 1519598 - Add a commit function in the repository helper. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35205

--HG--
extra : moz-landing-system : lando
2019-06-24 20:50:04 +00:00
Mike Hommey e5d8e3b235 Bug 1554987 - Invoke git push with a remote name for mach try. r=ahal
The git version shipped in some versions of OSX is patched by apple in a
way such that doing `git push hg::ssh://...` fails with an error message
like `Invalid remote name "hg::ssh://...`.

So instead, we define a named remote via inline configuration, and use
that remote's name for the push.

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

--HG--
extra : moz-landing-system : lando
2019-06-24 14:40:21 +00:00
Mike Hommey 9c53f7e19d Bug 1560527 - Enable make backend verbose mode automatically rather than relying on mach setting it. r=froydnj
This makes running without mach more consistent. e.g. running
`make -C $objdir/toolkit/library/rust target` makes the cargo log
verbose, and adding `-s` makes it less verbose.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 13:15:30 +00:00
Mike Hommey c74d2769cd Bug 1560442 - Allow to build rust code in a separate tier. r=froydnj
When the `MOZ_RUST_TIER` environment variable is set, we enable a separate
tier that builds rust code only. This is useful to measure build times for
rust code separately from other compilations.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 13:20:17 +00:00
prathiksha b901cf9927 Bug 1552333 - Move onCertErrorDetails from NetErrorChild.jsm to aboutNetError.js. r=johannh,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D31901

--HG--
extra : moz-landing-system : lando
2019-06-18 03:54:21 +00:00
Eric Rahm 67b4023a9b Bug 1555067 - Backed out changeset 0801165e3175. r=jcj
NSS_ALLOW_SSLKEYLOGFILE no longer has issues upstream, we can allow it again.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 20:59:55 +00:00
Chris Manchester c74a1fa131 Bug 1558996 - Require rust 1.35 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D34794

--HG--
extra : moz-landing-system : lando
2019-06-13 06:02:05 +00:00
Bob Clary 74c663dfaa Bug 1558931 - Improve performance of moz.build Schedules __or__, r=dustin.
Differential Revision: https://phabricator.services.mozilla.com/D34770

--HG--
extra : moz-landing-system : lando
2019-06-13 16:07:26 +00:00
Andi-Bogdan Postelnicu 9b380eca92 Bug 1559121 - Specify custom port for Coverity platform. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D34871

--HG--
extra : moz-landing-system : lando
2019-06-13 12:58:30 +00:00
Justin Wood 8d5dbea57f Bug 1533818 - Don't try to expand from a 'cose.manifest' file when repacking the l10n copy of omni.ja. r=aki
Differential Revision: https://phabricator.services.mozilla.com/D34697

--HG--
extra : moz-landing-system : lando
2019-06-12 23:03:22 +00:00
Mike Hommey 87bda34b48 Bug 1558737 - Remove BUILD_FASTER define. r=nalexander
The last use of the define was removed in bug 1437942.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 16:20:16 +00:00
Mike Hommey 44e96352da Bug 1557547 - Actively reject clang < 4.0 during configure. r=mshal
Bug 1394825 bumped the minimum version of clang we use on automation,
for the base toolchain jobs, and there's a libclang test for bindgen,
but we should reject the compiler in the first place.

The check to do that works in both C and C++, contrary to the original
3.6 test that was checking a C++ feature ; the test was later changed
for 3.9, using a check that would have worked in both C and C++, but
the C exception was left around. We remove it now.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 22:22:24 +00:00
Nick Alexander a53b7f71ed Bug 1556162: Ignore non-deterministic localized resources in fat AARs. r=mshal
This works around the following situation: the Ngv/fat AAR task is
deterministic, but it depends on N tasks for multiple architectures,
adn the exact l10n changeset pulled by each N task depends on the tip
of the l10n HG repository at the time the N task executes.

For now, just ignore the obvious localized resources: *.ftl, *.dtd,
*.properties.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 22:44:29 +00:00
Mike Hommey edca46fdec Bug 1557336 - Unset LC_CTYPE when executing pipenv. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D34484

--HG--
extra : moz-landing-system : lando
2019-06-11 20:24:04 +00:00
David Teller 75ea881e7f Bug 1520001 - dependency cloudabi is BSD-2 and must appear in about:license;r=mhoye
Not sure why this wasn't done before, but it prevented me from running `./mach rust vendor`.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 13:22:58 +00:00
Eric Rahm 984d318461 Bug 1551368 - Part 3: Don't remove the rust incremental cache when clobbering. r=chmanchester
Skips over the incremental cache when performing a clobber. The incremental compilation cache is located at:
  `$(objdir)/$(rust_target)/$(rust_build_kind)/incremental`

When cross compiling there can be two caches, one for the host and one for the target so we handle both.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 18:35:33 +00:00
Eric Rahm d84fd94a97 Bug 1551368 - Part 2: Make the Clobberer aware of substs. r=chmanchester
Pass in the substs dictionary to `Clobberer` so that we can use it to query `cargo` paths.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 18:35:11 +00:00
Eric Rahm 2c410d83ab Bug 1551368 - Part 1: Factor out subdirectory logic. r=chmanchester
Pull out the logic for filtering subdirectories and deleting them into
reusable functions.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 18:35:07 +00:00
Mike Hommey ff4ab7e28f Bug 1557855 - Use a sensible default for --with-android-ndk. r=nalexander
Use the same logic as for --with-android-sdk to use the NDK downloaded
by mach bootstrap by default.

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

--HG--
extra : moz-landing-system : lando
2019-06-07 22:23:37 +00:00
Henri Sivonen 37bd3aa18a Bug 1557278 - Avoid implicit conversion to Unicode when rewriting log lines. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D33942

--HG--
extra : moz-landing-system : lando
2019-06-06 16:46:40 +00:00
Mike Hommey 0cccf3e16e Bug 1472091 - Bootstrap clang from automation on Mac. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D34077

--HG--
extra : moz-landing-system : lando
2019-06-07 00:46:15 +00:00
Mike Hommey ff640b266d Bug 1557213 - Remove CC/CXX from suggested mozconfig for Android builds. r=nalexander
After bug 1519954, the build system will pick the compiler in
~/.mozbuild on its own, so there's no need to suggest people to manually
put that in their mozconfig.

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

--HG--
extra : moz-landing-system : lando
2019-06-07 00:40:53 +00:00
Chris Manchester b17e1484eb Bug 1552120 - Add a flag to the packager to ignore broken symlinks and pass it for developer builds. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D33893

--HG--
extra : moz-landing-system : lando
2019-06-06 23:22:42 +00:00
shindli a06e4d2ea4 Merge autoland to mozilla-central. a=merge 2019-06-06 12:28:43 +03:00
Mike Hommey 4725fa3b70 Bug 1551639 - Don't build generated source files during the export tier. r=nalexander
As established previously, generated source files that are not included
don't need to be built during the export tier.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 04:35:00 +00:00
Jorg K d2d05444d9 Backed out changeset bb3d70c37398 (bug 1543725) for busting Thunderbird builds. a=backout 2019-06-05 22:24:02 +02:00
Cosmin Sabou 72a1de9c59 Backed out changeset 028c8f1b6b5b (bug 1551368) for linting failure on mozbuild/controller/clobber.py. 2019-06-06 00:40:06 +03:00
Eric Rahm 8fc077841c Bug 1551368 - Part 1: Factor out subdirectory logic. r=firefox-build-system-reviewers,chmanchester
Pull out the logic for filtering subdirectories and deleting them into
reusable functions.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 20:46:43 +00:00
Samuel Thibault d708762a60 Bug 1543725 Add marionette support to thunderbird r=ato,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D27102

--HG--
extra : moz-landing-system : lando
2019-06-05 07:59:19 +00:00
Mike Hommey 281c7a2177 Bug 1556662 - Fix a typo in change from bug 1469091. r=dmajor
In a branch for `isinstance(obj, (HostSources, HostGeneratedSources))`,
`isinstance(obj, GeneratedSources)` is clearly not going to match
anything. `isinstance(obj, HostGeneratedSources)` is what was intended.

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

--HG--
extra : moz-landing-system : lando
2019-06-04 11:39:44 +00:00
Chris Manchester 399d530b9b Bug 1556185 - Ensure autoconf.mk is tracked as a dependency when preprocessing webidls. r=nalexander
webidlsrcs.mk is treated specially by the build system, and this entire
process should be supported better by moz.build, but in the meantime this
fixes the clobber bug caused by not re-building these targets when defines
are updated.

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

--HG--
extra : moz-landing-system : lando
2019-06-03 20:33:36 +00:00
Jeremy Lempereur 1bcbdc4284 Bug 1556257 - Add Funtoo support to mach bootstrap. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D33425

--HG--
extra : moz-landing-system : lando
2019-06-03 01:15:09 +00:00
Andrew Halberstadt e3250fbdb5 Bug 1555824 - Don't call MozbuildObject.substs from a MachCommandCondition r=nalexander
Invoking MozbuildObject.substs causes an exception to be raised if there is no
BuildEnvironment. This means that we hit an error on |mach help| if there is no
build, which is not ideal for people trying to learn how to build :).

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

--HG--
extra : moz-landing-system : lando
2019-05-30 21:47:56 +00:00
Nick Alexander 5893476bdb Bug 1508976 - Produce a multi-architecture GeckoView "fat AAR". r=glandium
This follows the model set down for EME artifacts:

- a new tier is added that uses a new Python build action to fetch and
  artifacts
- the action unpacks the fetched artifacts and moves specific inputs
  into places expected by the build and packager
- in automation, MOZ_ARTIFACT_TASK* is used to ensure the artifacts
  come from the correct tasks

In this case, the artifact fetching is done entirely in a new Python
build action that internally uses `mach artifact install --job ...`.
The action also verifies that the fetched artifacts are compatible and
that we're not assembling a fat AAR that is nonsensical.  The specific
inputs are not used in the Fennec APK that is produced; they're only
used in the GeckoView AAR that is produced.

The artifact fetching itself required tweaking to fetch only
`target.maven.zip` artifacts and to not unpack them.

The specific inputs used are the native libraries (libs/$ARCH/*.so)
and the architecture-specific preference files ($ARCH/greprefs.js and
defaults/pref/$ARCH/geckoview-prefs.js).  None of these inputs are
impacted by l10n.

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

--HG--
extra : moz-landing-system : lando
2019-05-30 15:22:09 +00:00
Nick Alexander b3894e6a12 Bug 1508976 - Pre: Add --maven-zip and --no-process to `mach artifacts install`. r=glandium
This allows to use the existing artifacts VCS-based crawling to
download the "raw" target.maven.zip from Android jobs and not process
it further.  It's just put in a specific directory, ready for use.
This isn't a big deal in automation, where all URLs are known, but
it's very useful when building locally and the VCS and the pushlog
must be consulted to determine task URLs.

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

--HG--
extra : moz-landing-system : lando
2019-05-30 15:21:55 +00:00
prathiksha 01e4a0825b Bug 1549561 - Migrate strings from pipnss.properties to aboutCertError.ftl. r=flod CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com//D32513

--HG--
extra : amend_source : 38c0b2409ef80860cd389b141db4458e7b50a0c3
2019-05-30 09:43:23 +03:00
Tom Prince 592bb93848 Bug 1549889: Add support for displaying WNP conditionally on build-id; r=nthomas
Differential Revision: https://phabricator.services.mozilla.com/D33039

--HG--
extra : moz-landing-system : lando
2019-05-29 23:47:07 +00:00
Chris Manchester 216f707c10 Bug 1555397 - Download sccache on macOS as a part of bootstrap. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D33105

--HG--
extra : moz-landing-system : lando
2019-05-29 23:55:37 +00:00
Justin Wood 82ebc9b565 Bug 1547730 - don't fail on an unsupported .seek() needed to support adding from compressed `zipfile.ZipFile` entries. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D29216

--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:55 +00:00
Justin Wood 6ae6eb968f Bug 1547730 - Set python test annotations to correspond to currently-passing py3 tests r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28122

--HG--
rename : python/mozbuild/mozbuild/test/python.ini => python/mozbuild/mozbuild/test/python2.ini
rename : python/mozbuild/mozpack/test/python.ini => python/mozbuild/mozpack/test/python2.ini
extra : moz-landing-system : lando
2019-05-28 14:28:53 +00:00
Justin Wood 7aaa02236d Bug 1547730 - Finish up some final py3-izing in getting mozjar.py to work in py3 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28120

--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:45 +00:00
Justin Wood 268136002e Bug 1547730 - Make more of configure/__init__ work in py3 r=glandium
(adds __build_class__ to the builtin sandbox and allow CombinedDependsFunction to be hashed)

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

--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:41 +00:00
Justin Wood 336529acd2 Bug 1547730 - Use six.moves.builtins in the sandbox for configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28113

--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:36 +00:00
Justin Wood 43ee63b31c Bug 1547730 - Use new inspection methods introduced in py3 but work in py2.7 for functions r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28112

--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:34 +00:00
Justin Wood b9d47b38ce Bug 1547730 - Define __hash__ for SandboxDependsFunction and CombinedDependsFunction so we can reference it as a dictionary key in py3 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28111

--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:30 +00:00
Justin Wood c729f820ed Bug 1547730 - Stop using some cases of types.NoneType. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D30966

--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:25 +00:00
Justin Wood 0f1d6166c3 Bug 1547730 - Recognize StreamWriter exceptions for fileno() in py3 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28110

--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:23 +00:00
Justin Wood 241fd2ab7d Bug 1547730 - Use six.moves.reduce for reduce() r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28109

--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:18 +00:00
Justin Wood c5571e7a5c Bug 1547730 - Use six.moves for urllib.urlparse r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28108

--HG--
extra : moz-landing-system : lando
2019-05-28 14:28:01 +00:00
Justin Wood 5045a4b86c Bug 1547730 - Fix b''.join(rand.choice(bytestring)..) to use bytes() constructor instead r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28107

--HG--
extra : moz-landing-system : lando
2019-05-28 14:26:10 +00:00
Justin Wood 043346856b Bug 1547730 - Use six.moves.xrange() instead of xrange() r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28106

--HG--
extra : moz-landing-system : lando
2019-05-28 14:25:49 +00:00
Justin Wood ed83d2e2f0 Bug 1547730 - Compensate for __builtin__ use in files accessed by py3 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28105

--HG--
extra : moz-landing-system : lando
2019-05-28 14:25:30 +00:00
Justin Wood 865e39b01a Bug 1547730 - Don't try to py3-ize indented_repr yet. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28103

--HG--
extra : moz-landing-system : lando
2019-05-28 14:25:23 +00:00
Justin Wood c1cc1ca1dc Bug 1547730 - don't use py2 builtin 'unicode' in mozpack and deps r=glandium
Also adjust 'basestring' usage in some places.

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

--HG--
extra : moz-landing-system : lando
2019-05-28 14:25:15 +00:00
Justin Wood 7702de90f5 Bug 1547730 - do s/StringIO.StringIO/six.StringIO/ to support py3 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28101

--HG--
extra : moz-landing-system : lando
2019-05-28 14:25:00 +00:00
Justin Wood a320da451c Bug 1547730 - do py3 for cStringIO r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28100

--HG--
extra : moz-landing-system : lando
2019-05-28 14:24:47 +00:00
Justin Wood f31561f3d4 Bug 1547730 - Do s/StandardError/Exception/ to support py3 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28099

--HG--
extra : moz-landing-system : lando
2019-05-28 14:24:40 +00:00
Justin Wood 9986aa9ab7 Bug 1547730 - Switch to six.string_types instead of types.StringTypes for py3 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28098

--HG--
extra : moz-landing-system : lando
2019-05-28 14:24:27 +00:00
Justin Wood 9237a957a8 Bug 1547730 - Allow testing of mozpack on py3 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28097

--HG--
extra : moz-landing-system : lando
2019-05-28 14:24:14 +00:00
Justin Wood f415f240f1 Bug 1547730 - use six.iterkeys() r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28119

--HG--
extra : moz-landing-system : lando
2019-05-28 14:24:07 +00:00
Justin Wood ac0c66355b Bug 1547730 - Do six.itervalues instead of dict.itervalues r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28104

--HG--
extra : moz-landing-system : lando
2019-05-28 14:23:54 +00:00
Justin Wood df3ad8c98b Bug 1547730 - Do dict.iteritems() via six to support py3. r=glandium
shellutil.py needed special handling since it is invoked earlier than the
vendor directory adding we do, so it does not have six available.

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

--HG--
extra : moz-landing-system : lando
2019-05-28 14:23:47 +00:00
Justin Wood 80df2896d2 Bug 1542963 - Insert unicode_literals into python/mozbuild/mozpack and called mozbuild/* files. r=firefox-build-system-reviewers,chmanchester
Lint python/mozbuild/{mozbuild,mozpack}.

This makes sure we use byte strings (type(b'')) in many places.
This also has a few places where we know we want unicode, by enforcing it.

This code also has a few places where we call into windows API's which expect either all args to be unicode,
or all args to be bytestrings (not-unicode) so make sure those calls align.

This is the most risky of the stack, since there are some mach commands and codepaths that are neither excercised in automation
nor excercised in tests.

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

--HG--
extra : moz-landing-system : lando
2019-05-28 14:23:25 +00:00
Justin Wood 8127e912fb Bug 1542963 - use print_function for mozbuild and mozpack. r=glandium
Lint python/mozbuild/{mozbuild,mozpack}.

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

--HG--
extra : moz-landing-system : lando
2019-05-28 14:23:00 +00:00
Justin Wood a0d8057603 Bug 1542963 - Add absolute_imports to mozbuild and mozpack. r=glandium
Lint python/mozbuild/{mozbuild,mozpack}. r=#build

Add 'from __future__ import absolute_import' to all missing files in python/mozbuild/{mozbuild,mozpack}/**/*.py

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

--HG--
extra : moz-landing-system : lando
2019-05-28 14:22:45 +00:00
Justin Wood f86dd03c23 Bug 1542963 - Fix undefined var 'defines' when use_defines_in_asflags is set. r=glandium
Lint python/mozbuild/{mozbuild,mozpack}.

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

--HG--
extra : moz-landing-system : lando
2019-05-28 14:22:30 +00:00
Justin Wood 05822ea753 Bug 1542963 - Fix most flake8 issues in python/mozbuild/mozbuild/* r=firefox-build-system-reviewers,chmanchester
Leaving one fix for an explicit review.

Lint python/mozbuild/{mozbuild,mozpack}. r=#build

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

--HG--
extra : moz-landing-system : lando
2019-05-28 14:22:20 +00:00
Justin Wood 4a12eb86b4 Bug 1542963 - run './mach lint ... --fix' on mozbuild/mozbuild, undoes some black changes. r=glandium
Lint python/mozbuild/{mozbuild,mozpack}.

ran './mach lint -l py2 -l flake8 -l shellcheck -l codespell -l yaml python/mozbuild/{mozbuild,mozpack}/  --fix' in order
to undo some black changes and get closer to  making this folder able to be validated on every lint run

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

--HG--
extra : moz-landing-system : lando
2019-05-28 14:22:00 +00:00
Rok Garbas a320ac850f Bug 1548204 - fixing test for raptor-tp6-8 r=rail
Differential Revision: https://phabricator.services.mozilla.com/D30479

--HG--
extra : moz-landing-system : lando
2019-05-28 07:44:41 +00:00
Nathan Froyd 0839a1bd24 Bug 1542746 - remove code for frontend-based PGO instrumentation; r=dmajor
We're moving to IR-level PGO instrumentation for clang-cl.  We've also
moved to using static linker ordering files, which was the primary
application of the previous style of PGO instrumentation.  We therefore
we no longer need this code.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 20:00:38 +00:00
Myk Melez d51f3ab18c Bug 1543829 - include LMDB license in about:license r=mossop,mhoye
Differential Revision: https://phabricator.services.mozilla.com/D30122

--HG--
extra : moz-landing-system : lando
2019-05-24 01:25:44 +00:00
Dzmitry Malyshau d3f4d3cc1c Bug 1552549 - Update rand dependency to 0.6 r=kats,froydnj,nika,jkt,jcj
Update rand version in u2fhid and xpcom

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

--HG--
rename : third_party/rust/scopeguard/.cargo-checksum.json => third_party/rust/scopeguard-0.3.2/.cargo-checksum.json
rename : third_party/rust/scopeguard/Cargo.toml => third_party/rust/scopeguard-0.3.2/Cargo.toml
rename : third_party/rust/scopeguard/README.rst => third_party/rust/scopeguard-0.3.2/README.rst
rename : third_party/rust/scopeguard/examples/readme.rs => third_party/rust/scopeguard-0.3.2/examples/readme.rs
rename : third_party/rust/scopeguard/src/lib.rs => third_party/rust/scopeguard-0.3.2/src/lib.rs
extra : moz-landing-system : lando
2019-05-23 19:54:25 +00:00
Nathan Froyd 0fadcd4cfd Bug 1553810 - remove RSSRCS support from the build system; r=nalexander
We used to support specifying single Rust files for compilation,
emphasis on "used to".

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

--HG--
extra : moz-landing-system : lando
2019-05-23 15:20:26 +00:00
Sylvestre Ledru 6446b8a5f0 Bug 1552897 - Ride along: format with black r=ahal
Depends on D31807

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

--HG--
extra : moz-landing-system : lando
2019-05-23 16:44:04 +00:00
Robert Bartlensky d56df326cf Bug 1552897 - Add support of diff in stylish/mozlint results r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D31807

--HG--
extra : moz-landing-system : lando
2019-05-23 16:42:46 +00:00
Nick Alexander 0f10c34f1d Bug 1533051 - Package greprefs.js and geckoview-prefs.js at architecture-specific paths for Android fat AAR/GeckoView multi-architecture builds. r=glandium
Bug 1533425 makes Gecko try to load from $ARCH/greprefs.js, etc on
Android.  This patch teaches the packager to put certain preferences
into those architecture-specific locations for that code to find.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 18:27:11 +00:00
Nathan Froyd 3a05468aa4 Bug 1548563 - move symbol file logic into the moz.build frontend; r=firefox-build-system-reviewers,chmanchester
This way compilation backends don't all have to figure out the right way
to handle symbol files.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 13:25:06 +00:00
Ian Neal 3783a4e40b Bug 1548584 - Bootstrap.py fails on CentOS due to GNOME Software Development not existing - Fix for CentOS 7 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D30828

--HG--
extra : moz-landing-system : lando
2019-05-14 10:51:44 +00:00
Cosmin Sabou bdf1d2a559 Backed out changeset a10cdf32fb5a (bug 1552549) for causing a spike in xpcshell failures. CLOSED TREE 2019-05-22 02:05:22 +03:00
Dzmitry Malyshau 1298c14a90 Bug 1552549 - Update rand dependency to 0.6 r=kats,froydnj,nika,jkt,jcj
Update rand version in u2fhid and xpcom

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

--HG--
rename : third_party/rust/scopeguard/.cargo-checksum.json => third_party/rust/scopeguard-0.3.2/.cargo-checksum.json
rename : third_party/rust/scopeguard/Cargo.toml => third_party/rust/scopeguard-0.3.2/Cargo.toml
rename : third_party/rust/scopeguard/README.rst => third_party/rust/scopeguard-0.3.2/README.rst
rename : third_party/rust/scopeguard/examples/readme.rs => third_party/rust/scopeguard-0.3.2/examples/readme.rs
rename : third_party/rust/scopeguard/src/lib.rs => third_party/rust/scopeguard-0.3.2/src/lib.rs
extra : moz-landing-system : lando
2019-05-21 19:36:56 +00:00
Nathan Froyd 37d0db29a9 Bug 1551690 - be more specific about the LLVM target on OS X; r=nalexander
Our current OS X builds use `--target=x86_64-darwin11` (which
corresponds to OS X 10.7).  This target is problematic for two reasons:

* We're actually targeting for OS X 10.9 (`MACOSX_DEPLOYMENT_TARGET`);
* It's slightly different from the default Rust target.

Let's address these problems in reverse order: differences from the Rust
target are bad, because the `--target` we provide to `clang` and the
Rust target find their way into LLVM bitcode files and the linker will
refuse to link together bitcode files that have incompatible targets.

Why are the two incompatible?  The current `--target` doesn't have a
"vendor" in triple-speak, whereas the Rust one has "apple" as the
vendor (`x86_64-apple-darwin`) We therefore need to change the
`--target` we pass to `clang` to have a vendor of "apple".

This need is behind the {init,toolchain}.configure changes,
but it has ramifications elsewhere, because `clang` looks for
`--target`-prefixed build tools.  So we have to change the `--target`
for cctools to get the right tool prefixes and we have to change the
`--target` for building clang ourselves so that *those* builds can find
the newly renamed cctools.

Once we've done, that's really enough; we don't *need to address the
first problem: While the `--target` might be `x86_64-apple-darwin11`,
both `clang` and `rustc` will dynamically choose the target triple that
eventually lands in LLVM bitcode files based on
`MACOSX_DEPLOYMENT_TARGET`, which we set in all builds.  But the current
target is slightly misleading, and the cctools don't need to be prefixed
with a particular Darwin version, since they work for all Darwin
targets.  Let's just drop the "11" from the `--target` and eliminate a
little bit of confusion.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 17:53:44 +00:00
Andreea Pavel 58566309c2 Backed out changeset ae7096d1add7 (bug 1551690) for toolchain bustages on a CLOSED TREE 2019-05-21 17:05:24 +03:00
Nathan Froyd d49bc5f0ef Bug 1551690 - be more specific about the LLVM target on OS X; r=nalexander
Our current OS X builds use `--target=x86_64-darwin11` (which
corresponds to OS X 10.7).  This target is problematic for two reasons:

* We're actually targeting for OS X 10.9 (`MACOSX_DEPLOYMENT_TARGET`);
* It's slightly different from the default Rust target.

Let's address these problems in reverse order: differences from the Rust
target are bad, because the `--target` we provide to `clang` and the
Rust target find their way into LLVM bitcode files and the linker will
refuse to link together bitcode files that have incompatible targets.

Why are the two incompatible?  The current `--target` doesn't have a
"vendor" in triple-speak, whereas the Rust one has "apple" as the
vendor (`x86_64-apple-darwin`) We therefore need to change the
`--target` we pass to `clang` to have a vendor of "apple".

This need is behind the {init,toolchain}.configure changes,
but it has ramifications elsewhere, because `clang` looks for
`--target`-prefixed build tools.  So we have to change the `--target`
for cctools to get the right tool prefixes and we have to change the
`--target` for building clang ourselves so that *those* builds can find
the newly renamed cctools.

Once we've done, that's really enough; we don't *need to address the
first problem: While the `--target` might be `x86_64-apple-darwin11`,
both `clang` and `rustc` will dynamically choose the target triple that
eventually lands in LLVM bitcode files based on
`MACOSX_DEPLOYMENT_TARGET`, which we set in all builds.  But the current
target is slightly misleading, and the cctools don't need to be prefixed
with a particular Darwin version, since they work for all Darwin
targets.  Let's just drop the "11" from the `--target` and eliminate a
little bit of confusion.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 13:48:23 +00:00
Coroiu Cristina c4361da40f Backed out changeset 2e560a9e4bcf (bug 1551690) for build bustages 2019-05-21 03:51:56 +03:00
Mike Shal 4e71ffdf9d Bug 1552672 - Use is_tarfile() rather than is_zipfile() in mar repackaging; r=Callek
The zipfile.is_zipfile() function is overly lenient, in that non-zip
files that contain the four bytes "PK\005\006" near the end of the file
are reported as zip files even if the zip structure is not valid.
Occasionally, our target.tar.bz2 files randomly contain those 4 bytes at
the expected location, which causes the mar repackaging code to try to
process the package as a zip file instead of a tar file.

The tarfile.is_tarfile() logic looks a little more robust in that it
actually tries to open the file, so if we try tar first before falling
back to zip we should be a little more resilient.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 00:19:47 +00:00
Nathan Froyd dc2ad25275 Bug 1551690 - be more specific about the LLVM target on OS X; r=nalexander
Our current OS X builds use `--target=x86_64-darwin11` (which
corresponds to OS X 10.7).  This target is problematic for two reasons:

* We're actually targeting for OS X 10.9 (`MACOSX_DEPLOYMENT_TARGET`);
* It's slightly different from the default Rust target.

Let's address these problems in reverse order: differences from the Rust
target are bad, because the `--target` we provide to `clang` and the
Rust target find their way into LLVM bitcode files and the linker will
refuse to link together bitcode files that have incompatible targets.

Why are the two incompatible?  The current `--target` doesn't have a
"vendor" in triple-speak, whereas the Rust one has "apple" as the
vendor (`x86_64-apple-darwin`) We therefore need to change the
`--target` we pass to `clang` to have a vendor of "apple".

This need is behind the {init,toolchain}.configure changes,
but it has ramifications elsewhere, because `clang` looks for
`--target`-prefixed build tools.  So we have to change the `--target`
for cctools to get the right tool prefixes and we have to change the
`--target` for building clang ourselves so that *those* builds can find
the newly renamed cctools.

Once we've done, that's really enough; we don't *need to address the
first problem: While the `--target` might be `x86_64-apple-darwin11`,
both `clang` and `rustc` will dynamically choose the target triple that
eventually lands in LLVM bitcode files based on
`MACOSX_DEPLOYMENT_TARGET`, which we set in all builds.  But the current
target is slightly misleading, and the cctools don't need to be prefixed
with a particular Darwin version, since they work for all Darwin
targets.  Let's just drop the "11" from the `--target` and eliminate a
little bit of confusion.

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

--HG--
extra : moz-landing-system : lando
2019-05-15 21:13:17 +00:00
b4hand 09aeeca068 Bug 1532607 - Add configuration to run telemetry tests directly; r=raphael,ahal
Differential Revision: https://phabricator.services.mozilla.com/D30663

--HG--
extra : moz-landing-system : lando
2019-05-20 08:59:56 +00:00
Bastien Orivel 8a3f3e785c Bug 1550903 - Part 2: Revendor dependencies. r=emilio,kats,froydnj
It was unhappy about the new LICENSE (fuchsia-cprng) but it's the same
as the other fuschia crates. Since I don't think this is used at build
time but has the same license as the other fuschia crates, I put it in
the RUNTIME_LICENSE_PACKAGE_WHITELIST list. I also removed sha1 from
that list as it's not used anymore

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

--HG--
rename : third_party/rust/httparse/Cargo.toml => third_party/rust/autocfg/Cargo.toml
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/autocfg/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/autocfg/LICENSE-MIT
rename : third_party/rust/httparse/Cargo.toml => third_party/rust/cloudabi/Cargo.toml
rename : third_party/rust/httparse/Cargo.toml => third_party/rust/fuchsia-cprng/Cargo.toml
rename : third_party/rust/sha1/LICENSE => third_party/rust/fuchsia-cprng/LICENSE
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/mio-extras/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/mio-extras/LICENSE-MIT
rename : third_party/rust/rand/.cargo-checksum.json => third_party/rust/rand-0.4.3/.cargo-checksum.json
rename : third_party/rust/rand/CHANGELOG.md => third_party/rust/rand-0.4.3/CHANGELOG.md
rename : third_party/rust/rand/Cargo.toml => third_party/rust/rand-0.4.3/Cargo.toml
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand-0.4.3/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand-0.4.3/LICENSE-MIT
rename : third_party/rust/rand/README.md => third_party/rust/rand-0.4.3/README.md
rename : third_party/rust/rand/appveyor.yml => third_party/rust/rand-0.4.3/appveyor.yml
rename : third_party/rust/rand/benches/bench.rs => third_party/rust/rand-0.4.3/benches/bench.rs
rename : third_party/rust/rand/benches/distributions/exponential.rs => third_party/rust/rand-0.4.3/benches/distributions/exponential.rs
rename : third_party/rust/rand/benches/distributions/gamma.rs => third_party/rust/rand-0.4.3/benches/distributions/gamma.rs
rename : third_party/rust/rand/benches/distributions/mod.rs => third_party/rust/rand-0.4.3/benches/distributions/mod.rs
rename : third_party/rust/rand/benches/distributions/normal.rs => third_party/rust/rand-0.4.3/benches/distributions/normal.rs
rename : third_party/rust/rand/benches/generators.rs => third_party/rust/rand-0.4.3/benches/generators.rs
rename : third_party/rust/rand/benches/misc.rs => third_party/rust/rand-0.4.3/benches/misc.rs
rename : third_party/rust/rand/src/distributions/exponential.rs => third_party/rust/rand-0.4.3/src/distributions/exponential.rs
rename : third_party/rust/rand/src/distributions/gamma.rs => third_party/rust/rand-0.4.3/src/distributions/gamma.rs
rename : third_party/rust/rand/src/distributions/mod.rs => third_party/rust/rand-0.4.3/src/distributions/mod.rs
rename : third_party/rust/rand/src/distributions/normal.rs => third_party/rust/rand-0.4.3/src/distributions/normal.rs
rename : third_party/rust/rand/src/distributions/range.rs => third_party/rust/rand-0.4.3/src/distributions/range.rs
rename : third_party/rust/rand/src/distributions/ziggurat_tables.rs => third_party/rust/rand-0.4.3/src/distributions/ziggurat_tables.rs
rename : third_party/rust/rand/src/jitter.rs => third_party/rust/rand-0.4.3/src/jitter.rs
rename : third_party/rust/rand/src/lib.rs => third_party/rust/rand-0.4.3/src/lib.rs
rename : third_party/rust/rand/src/os.rs => third_party/rust/rand-0.4.3/src/os.rs
rename : third_party/rust/rand/src/prng/chacha.rs => third_party/rust/rand-0.4.3/src/prng/chacha.rs
rename : third_party/rust/rand/src/prng/isaac.rs => third_party/rust/rand-0.4.3/src/prng/isaac.rs
rename : third_party/rust/rand/src/prng/isaac64.rs => third_party/rust/rand-0.4.3/src/prng/isaac64.rs
rename : third_party/rust/rand/src/prng/mod.rs => third_party/rust/rand-0.4.3/src/prng/mod.rs
rename : third_party/rust/rand/src/prng/xorshift.rs => third_party/rust/rand-0.4.3/src/prng/xorshift.rs
rename : third_party/rust/rand/src/rand_impls.rs => third_party/rust/rand-0.4.3/src/rand_impls.rs
rename : third_party/rust/rand/src/read.rs => third_party/rust/rand-0.4.3/src/read.rs
rename : third_party/rust/rand/src/reseeding.rs => third_party/rust/rand-0.4.3/src/reseeding.rs
rename : third_party/rust/rand/src/seq.rs => third_party/rust/rand-0.4.3/src/seq.rs
rename : third_party/rust/rand/utils/ziggurat_tables.py => third_party/rust/rand-0.4.3/utils/ziggurat_tables.py
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand_chacha/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand_chacha/LICENSE-MIT
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand_core-0.3.1/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand_core-0.3.1/LICENSE-MIT
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand_core/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand_core/LICENSE-MIT
rename : third_party/rust/httparse/Cargo.toml => third_party/rust/rand_hc/Cargo.toml
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand_hc/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand_hc/LICENSE-MIT
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand_isaac/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand_isaac/LICENSE-MIT
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand_jitter/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand_jitter/LICENSE-MIT
rename : third_party/rust/rand/src/jitter.rs => third_party/rust/rand_jitter/src/lib.rs
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand_os/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand_os/LICENSE-MIT
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand_pcg/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand_pcg/LICENSE-MIT
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand_xorshift/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand_xorshift/LICENSE-MIT
rename : third_party/rust/httparse/Cargo.toml => third_party/rust/rdrand/Cargo.toml
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/sha-1/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/sha-1/LICENSE-MIT
extra : moz-landing-system : lando
2019-05-18 13:39:31 +00:00
Nick Alexander 3dd3a36ec4 Bug 1521996 - Part 2: Specialize `mach {run,install}` for Android. r=ahal,gbrown
This just separates out the Android definitions into
mobile/android/mach_commands.py.  There was vestigial support for
running on Android with debuggers, but it was for wiring up JimDB,
which is no longer supported and in fact hasn't worked on actual
devices for a very long time.  (The new flow for running on Android
under a debugger goes through the Android Studio hybrid debugger.)

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

--HG--
extra : moz-landing-system : lando
2019-05-17 21:40:15 +00:00
Nick Alexander aaeaaec3dc Bug 1521996 - Part 1: Add `conditional_name` to mach @Command definition. r=ahal
We want `mach run` for Android to be wildly different than `mach run`
for Desktop.  But right now, mach really doesn't support two different
implementations of the same underlying named command.  The avenues
that might support different implementations, mostly run through
`conditions`.

`conditions` were added to mach commands in Bug 901972, and never
really anticipated this use case: commands are keyed by name condition
evaluation is delayed until dispatch-time.  In order to have different
commands with the same name, and have full support for `--help`,
command matching, suggestions, etc, we really need conditions to
evaluate at parse-time.  Indeed, since Bug 901972 landed, we've moved
context creation earlier in the dispatch flow and hacked in things
that look like parse-time conditions (see Bug 1291335 and Bug
1305695).

This approach is not the prettiest, but it handles this narrow
use-case -- making `mach run` and `mach install` different on Android
-- without much code churn.

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

--HG--
extra : moz-landing-system : lando
2019-05-17 21:39:31 +00:00
Mihai Alexandru Michis 4916ef8c09 Merge mozilla-central to autoland. CLOSED TREE 2019-05-17 12:36:07 +03:00
Narcis Beleuzu 65e97bc31e Backed out 6 changesets (bug 1542963) for causing Bug 1552400. a=backout
Backed out changeset 70fbe1a158ae (bug 1542963)
Backed out changeset a1a84e0feabb (bug 1542963)
Backed out changeset 14aa1bd254a4 (bug 1542963)
Backed out changeset 11a714f491d5 (bug 1542963)
Backed out changeset 2715bac40d2f (bug 1542963)
Backed out changeset 8f69c7eeb6fd (bug 1542963)

--HG--
extra : histedit_source : 5903adc5313d6af4fdafb40ae55aaa79856f3726
2019-05-17 11:30:27 +03:00
Narcis Beleuzu 1aace747e3 Backed out changeset 0883716b330e (bug 1532607) for conflicting with the backout of Bug 1542963. a=backout
--HG--
extra : histedit_source : 7f0a46319ac36c899d3f57b1ee6efcedf443992c
2019-05-17 11:27:16 +03:00
Narcis Beleuzu b8c6715246 Backed out changeset 3d88030030a1 (bug 1542963) for conflicts on backing out Bug 1542963 . a=backout
--HG--
extra : histedit_source : 7f383db395fa34b77572bc2465fbe8e8286aee11
2019-05-17 11:26:44 +03:00
Csoregi Natalia a0887ef80e Bug 1542963 - Fix linting f8 failure. r=tomprince a=fix
Reviewers: tomprince

Reviewed By: tomprince

Bug #: 1542963

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

--HG--
extra : histedit_source : 513e9766409facda97caffbd761597a38727d653
2019-05-17 02:06:57 +03:00
Csoregi Natalia 8ef3142853 Merge inbound to mozilla-central. a=merge 2019-05-17 00:55:45 +03:00
Chris Manchester aeec5fec87 Bug 1552336 - Download the currently available toolchain build of sccache during |./mach bootstrap|. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D31544

--HG--
extra : moz-landing-system : lando
2019-05-16 23:26:57 +00:00
arthur.iakab 93aedcdbe3 Backed out 2 changesets (bug 1550903) for causing multiple build bustages CLOSED TREE
Backed out changeset d62be51ffad3 (bug 1550903)
Backed out changeset f48939dc27b6 (bug 1550903)

--HG--
rename : third_party/rust/rand-0.4.3/appveyor.yml => third_party/rust/rand/appveyor.yml
rename : third_party/rust/rand-0.4.3/benches/bench.rs => third_party/rust/rand/benches/bench.rs
rename : third_party/rust/rand-0.4.3/benches/distributions/exponential.rs => third_party/rust/rand/benches/distributions/exponential.rs
rename : third_party/rust/rand-0.4.3/benches/distributions/gamma.rs => third_party/rust/rand/benches/distributions/gamma.rs
rename : third_party/rust/rand-0.4.3/benches/distributions/mod.rs => third_party/rust/rand/benches/distributions/mod.rs
rename : third_party/rust/rand-0.4.3/benches/distributions/normal.rs => third_party/rust/rand/benches/distributions/normal.rs
rename : third_party/rust/rand-0.4.3/src/distributions/range.rs => third_party/rust/rand/src/distributions/range.rs
rename : third_party/rust/rand_jitter/src/lib.rs => third_party/rust/rand/src/jitter.rs
rename : third_party/rust/rand-0.4.3/src/os.rs => third_party/rust/rand/src/os.rs
rename : third_party/rust/rand-0.4.3/src/prng/chacha.rs => third_party/rust/rand/src/prng/chacha.rs
rename : third_party/rust/rand-0.4.3/src/prng/isaac.rs => third_party/rust/rand/src/prng/isaac.rs
rename : third_party/rust/rand-0.4.3/src/prng/isaac64.rs => third_party/rust/rand/src/prng/isaac64.rs
rename : third_party/rust/rand-0.4.3/src/prng/xorshift.rs => third_party/rust/rand/src/prng/xorshift.rs
rename : third_party/rust/rand-0.4.3/src/rand_impls.rs => third_party/rust/rand/src/rand_impls.rs
rename : third_party/rust/rand-0.4.3/src/read.rs => third_party/rust/rand/src/read.rs
rename : third_party/rust/rand-0.4.3/src/reseeding.rs => third_party/rust/rand/src/reseeding.rs
rename : third_party/rust/rand-0.4.3/src/seq.rs => third_party/rust/rand/src/seq.rs
rename : third_party/rust/rand-0.4.3/utils/ziggurat_tables.py => third_party/rust/rand/utils/ziggurat_tables.py
rename : third_party/rust/fuchsia-cprng/LICENSE => third_party/rust/sha1/LICENSE
2019-05-17 03:24:33 +03:00
Bastien Orivel 496ef2001b Bug 1550903 - Part 2: Revendor dependencies. r=emilio,kats,froydnj
It was unhappy about the new LICENSE (fuchsia-cprng) but it's the same
as the other fuschia crates. Since I don't think this is used at build
time but has the same license as the other fuschia crates, I put it in
the RUNTIME_LICENSE_PACKAGE_WHITELIST list. I also removed sha1 from
that list as it's not used anymore

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

--HG--
rename : third_party/rust/httparse/Cargo.toml => third_party/rust/autocfg/Cargo.toml
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/autocfg/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/autocfg/LICENSE-MIT
rename : third_party/rust/httparse/Cargo.toml => third_party/rust/cloudabi/Cargo.toml
rename : third_party/rust/httparse/Cargo.toml => third_party/rust/fuchsia-cprng/Cargo.toml
rename : third_party/rust/sha1/LICENSE => third_party/rust/fuchsia-cprng/LICENSE
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/mio-extras/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/mio-extras/LICENSE-MIT
rename : third_party/rust/rand/.cargo-checksum.json => third_party/rust/rand-0.4.3/.cargo-checksum.json
rename : third_party/rust/rand/CHANGELOG.md => third_party/rust/rand-0.4.3/CHANGELOG.md
rename : third_party/rust/rand/Cargo.toml => third_party/rust/rand-0.4.3/Cargo.toml
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand-0.4.3/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand-0.4.3/LICENSE-MIT
rename : third_party/rust/rand/README.md => third_party/rust/rand-0.4.3/README.md
rename : third_party/rust/rand/appveyor.yml => third_party/rust/rand-0.4.3/appveyor.yml
rename : third_party/rust/rand/benches/bench.rs => third_party/rust/rand-0.4.3/benches/bench.rs
rename : third_party/rust/rand/benches/distributions/exponential.rs => third_party/rust/rand-0.4.3/benches/distributions/exponential.rs
rename : third_party/rust/rand/benches/distributions/gamma.rs => third_party/rust/rand-0.4.3/benches/distributions/gamma.rs
rename : third_party/rust/rand/benches/distributions/mod.rs => third_party/rust/rand-0.4.3/benches/distributions/mod.rs
rename : third_party/rust/rand/benches/distributions/normal.rs => third_party/rust/rand-0.4.3/benches/distributions/normal.rs
rename : third_party/rust/rand/benches/generators.rs => third_party/rust/rand-0.4.3/benches/generators.rs
rename : third_party/rust/rand/benches/misc.rs => third_party/rust/rand-0.4.3/benches/misc.rs
rename : third_party/rust/rand/src/distributions/exponential.rs => third_party/rust/rand-0.4.3/src/distributions/exponential.rs
rename : third_party/rust/rand/src/distributions/gamma.rs => third_party/rust/rand-0.4.3/src/distributions/gamma.rs
rename : third_party/rust/rand/src/distributions/mod.rs => third_party/rust/rand-0.4.3/src/distributions/mod.rs
rename : third_party/rust/rand/src/distributions/normal.rs => third_party/rust/rand-0.4.3/src/distributions/normal.rs
rename : third_party/rust/rand/src/distributions/range.rs => third_party/rust/rand-0.4.3/src/distributions/range.rs
rename : third_party/rust/rand/src/distributions/ziggurat_tables.rs => third_party/rust/rand-0.4.3/src/distributions/ziggurat_tables.rs
rename : third_party/rust/rand/src/jitter.rs => third_party/rust/rand-0.4.3/src/jitter.rs
rename : third_party/rust/rand/src/lib.rs => third_party/rust/rand-0.4.3/src/lib.rs
rename : third_party/rust/rand/src/os.rs => third_party/rust/rand-0.4.3/src/os.rs
rename : third_party/rust/rand/src/prng/chacha.rs => third_party/rust/rand-0.4.3/src/prng/chacha.rs
rename : third_party/rust/rand/src/prng/isaac.rs => third_party/rust/rand-0.4.3/src/prng/isaac.rs
rename : third_party/rust/rand/src/prng/isaac64.rs => third_party/rust/rand-0.4.3/src/prng/isaac64.rs
rename : third_party/rust/rand/src/prng/mod.rs => third_party/rust/rand-0.4.3/src/prng/mod.rs
rename : third_party/rust/rand/src/prng/xorshift.rs => third_party/rust/rand-0.4.3/src/prng/xorshift.rs
rename : third_party/rust/rand/src/rand_impls.rs => third_party/rust/rand-0.4.3/src/rand_impls.rs
rename : third_party/rust/rand/src/read.rs => third_party/rust/rand-0.4.3/src/read.rs
rename : third_party/rust/rand/src/reseeding.rs => third_party/rust/rand-0.4.3/src/reseeding.rs
rename : third_party/rust/rand/src/seq.rs => third_party/rust/rand-0.4.3/src/seq.rs
rename : third_party/rust/rand/utils/ziggurat_tables.py => third_party/rust/rand-0.4.3/utils/ziggurat_tables.py
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand_chacha/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand_chacha/LICENSE-MIT
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand_core-0.3.1/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand_core-0.3.1/LICENSE-MIT
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand_core/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand_core/LICENSE-MIT
rename : third_party/rust/httparse/Cargo.toml => third_party/rust/rand_hc/Cargo.toml
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand_hc/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand_hc/LICENSE-MIT
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand_isaac/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand_isaac/LICENSE-MIT
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand_jitter/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand_jitter/LICENSE-MIT
rename : third_party/rust/rand/src/jitter.rs => third_party/rust/rand_jitter/src/lib.rs
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand_os/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand_os/LICENSE-MIT
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand_pcg/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand_pcg/LICENSE-MIT
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand_xorshift/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand_xorshift/LICENSE-MIT
rename : third_party/rust/httparse/Cargo.toml => third_party/rust/rdrand/Cargo.toml
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/sha-1/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/sha-1/LICENSE-MIT
extra : moz-landing-system : lando
2019-05-15 17:40:17 +00:00
Csoregi Natalia f243adfc89 Backed out 27 changesets (bug 1542963, bug 1547730) on request from Callek for DWE fails. CLOSED TREE
Backed out changeset 9e9c2e06d0fb (bug 1547730)
Backed out changeset d282ddabcb3d (bug 1547730)
Backed out changeset 3df19a96f8ac (bug 1547730)
Backed out changeset 27ff9602d80a (bug 1547730)
Backed out changeset 48f2c4980ad0 (bug 1547730)
Backed out changeset cef492de6a7f (bug 1547730)
Backed out changeset 59a1393697e0 (bug 1547730)
Backed out changeset 61b8fcc639e0 (bug 1547730)
Backed out changeset 2d6ba80390c8 (bug 1547730)
Backed out changeset 75879e53727c (bug 1547730)
Backed out changeset 03bdcaab1623 (bug 1547730)
Backed out changeset 6c9f98dacbde (bug 1547730)
Backed out changeset 3037f5bf1019 (bug 1547730)
Backed out changeset 3df74540bde3 (bug 1547730)
Backed out changeset 1891cfbb55d1 (bug 1547730)
Backed out changeset 16b1c53aba9d (bug 1547730)
Backed out changeset b7b1062d0aad (bug 1547730)
Backed out changeset aa2acfd554fc (bug 1547730)
Backed out changeset fa39fb43fd12 (bug 1547730)
Backed out changeset 35e2dc6ad347 (bug 1547730)
Backed out changeset 1b766ee6bf23 (bug 1547730)
Backed out changeset c846bf431b5c (bug 1547730)
Backed out changeset 042cdcc4e103 (bug 1547730)
Backed out changeset 81bc9014907e (bug 1547730)
Backed out changeset afa5801534e4 (bug 1547730)
Backed out changeset b4e024474194 (bug 1547730)
Backed out changeset 5f3c10562df3 (bug 1542963)
2019-05-16 20:17:46 +03:00
b4hand 906a369fe2 Bug 1532607 - Add configuration to run telemetry tests directly; r=raphael,ahal
Differential Revision: https://phabricator.services.mozilla.com/D30663

--HG--
extra : moz-landing-system : lando
2019-05-16 14:40:13 +00:00
Francesco Lodolo (:flod) fdc74c50df Bug 1552094 - Remove Fluent migration recipes for Firefox 67 r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D31391

--HG--
extra : moz-landing-system : lando
2019-05-16 09:09:45 +00:00
Valentin Gosu cc95fd19b6 Bug 1540656 - Use dns-packet node module in test_trr.js r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D25671

--HG--
extra : moz-landing-system : lando
2019-05-16 06:22:06 +00:00
Mark Banner b0b66a87fd Bug 1551551 - Fix tooltool.py use of print in its dump function. r=ahal
Depends on D31075

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

--HG--
extra : moz-landing-system : lando
2019-05-15 14:34:53 +00:00
Emilio Cobos Álvarez c74f3a885b Bug 1549762 - Don't build mozglue linker tests if building with icecream. r=glandium
As icecream doesn't deal well with .incbin.

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

--HG--
extra : moz-landing-system : lando
2019-05-15 13:40:23 +00:00
Nathan Froyd 85925b5be6 Bug 1547196 - remove rustup wrapper from `rustc` as well as `cargo`; r=glandium
Having `rustc` be `rustup`'s wrapper for `rustc` means that we may
silently honor `rustup`'s override mechanisms.  We noticed this first on
OS X, where we use the "real" `cargo` but `rustup`'s `rustc` wrapper,
and problems ensued when `cargo` thought it was using one version of
`rustc`, but actually wound up using something different.

It seems better to avoid silently interposing `rustup`'s toolchain
override mechanisms everywhere, rather than having to special-case OS
X.  So let's factor out a general mechanism for removing the wrappers
`rustup` provides and use that for both `rustc` and `cargo`.  The tests
need adjusting because we weren't triggering the unwrapping cases
before; we don't yet test the case where we really do need to unwrap.
That test can be left for a future patch.

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

--HG--
extra : moz-landing-system : lando
2019-05-14 05:43:19 +00:00
Nathan Froyd 1396262e0e Bug 1550868 - enforce a minimum version of clang-cl; r=glandium
We've not been checking the clang-cl version in use.  This lack of
checking is bad, for a couple of reasons:

* Released versions of clang-cl differ drastically in their robustness;
* Only the most recent version of clang-cl supports aarch64.

We should check for a minimum version of clang-cl, just like our other
supported compilers.  As a bonus, we can then start depending on
features that we know appear in the particular minimum clang-cl
version.  (The current patch is motivated by `/clang:` command-line
support, but one could pick other things.)

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

--HG--
extra : moz-landing-system : lando
2019-05-14 14:22:55 +00:00
Andi-Bogdan Postelnicu 7be18f3d26 Bug 1503453 - re-enable static-analysis autotest on win64 platform after migrating to clang-tidy 8. r=sylvestre
Also for checker `modernize-avoid-bind` export the respective reliability index from config.yaml

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

--HG--
extra : moz-landing-system : lando
2019-05-14 13:00:13 +00:00
Cosmin Sabou 530b9c7e9c Backed out 2 changesets (bug 1550903) for webrender bustages. a=backout
Backed out changeset fe8d48740511 (bug 1550903)
Backed out changeset cc187a665ccf (bug 1550903)

--HG--
rename : third_party/rust/rand-0.4.3/appveyor.yml => third_party/rust/rand/appveyor.yml
rename : third_party/rust/rand-0.4.3/benches/bench.rs => third_party/rust/rand/benches/bench.rs
rename : third_party/rust/rand-0.4.3/benches/distributions/exponential.rs => third_party/rust/rand/benches/distributions/exponential.rs
rename : third_party/rust/rand-0.4.3/benches/distributions/gamma.rs => third_party/rust/rand/benches/distributions/gamma.rs
rename : third_party/rust/rand-0.4.3/benches/distributions/mod.rs => third_party/rust/rand/benches/distributions/mod.rs
rename : third_party/rust/rand-0.4.3/benches/distributions/normal.rs => third_party/rust/rand/benches/distributions/normal.rs
rename : third_party/rust/rand-0.4.3/src/distributions/range.rs => third_party/rust/rand/src/distributions/range.rs
rename : third_party/rust/rand_jitter/src/lib.rs => third_party/rust/rand/src/jitter.rs
rename : third_party/rust/rand-0.4.3/src/os.rs => third_party/rust/rand/src/os.rs
rename : third_party/rust/rand-0.4.3/src/prng/chacha.rs => third_party/rust/rand/src/prng/chacha.rs
rename : third_party/rust/rand-0.4.3/src/prng/isaac.rs => third_party/rust/rand/src/prng/isaac.rs
rename : third_party/rust/rand-0.4.3/src/prng/isaac64.rs => third_party/rust/rand/src/prng/isaac64.rs
rename : third_party/rust/rand-0.4.3/src/prng/xorshift.rs => third_party/rust/rand/src/prng/xorshift.rs
rename : third_party/rust/rand-0.4.3/src/rand_impls.rs => third_party/rust/rand/src/rand_impls.rs
rename : third_party/rust/rand-0.4.3/src/read.rs => third_party/rust/rand/src/read.rs
rename : third_party/rust/rand-0.4.3/src/reseeding.rs => third_party/rust/rand/src/reseeding.rs
rename : third_party/rust/rand-0.4.3/src/seq.rs => third_party/rust/rand/src/seq.rs
rename : third_party/rust/rand-0.4.3/utils/ziggurat_tables.py => third_party/rust/rand/utils/ziggurat_tables.py
rename : third_party/rust/fuchsia-cprng/LICENSE => third_party/rust/sha1/LICENSE
2019-05-14 08:16:26 +03:00
Bastien Orivel f4f6bd32a7 Bug 1550903 - Part 2: Revendor dependencies. r=emilio,kats,froydnj
It was unhappy about the new LICENSE (fuchsia-cprng) but it's the same
as the other fuschia crates. Since I don't think this is used at build
time but has the same license as the other fuschia crates, I put it in
the RUNTIME_LICENSE_PACKAGE_WHITELIST list. I also removed sha1 from
that list as it's not used anymore

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

--HG--
rename : third_party/rust/httparse/Cargo.toml => third_party/rust/autocfg/Cargo.toml
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/autocfg/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/autocfg/LICENSE-MIT
rename : third_party/rust/httparse/Cargo.toml => third_party/rust/cloudabi/Cargo.toml
rename : third_party/rust/httparse/Cargo.toml => third_party/rust/fuchsia-cprng/Cargo.toml
rename : third_party/rust/sha1/LICENSE => third_party/rust/fuchsia-cprng/LICENSE
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/mio-extras/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/mio-extras/LICENSE-MIT
rename : third_party/rust/rand/.cargo-checksum.json => third_party/rust/rand-0.4.3/.cargo-checksum.json
rename : third_party/rust/rand/CHANGELOG.md => third_party/rust/rand-0.4.3/CHANGELOG.md
rename : third_party/rust/rand/Cargo.toml => third_party/rust/rand-0.4.3/Cargo.toml
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand-0.4.3/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand-0.4.3/LICENSE-MIT
rename : third_party/rust/rand/README.md => third_party/rust/rand-0.4.3/README.md
rename : third_party/rust/rand/appveyor.yml => third_party/rust/rand-0.4.3/appveyor.yml
rename : third_party/rust/rand/benches/bench.rs => third_party/rust/rand-0.4.3/benches/bench.rs
rename : third_party/rust/rand/benches/distributions/exponential.rs => third_party/rust/rand-0.4.3/benches/distributions/exponential.rs
rename : third_party/rust/rand/benches/distributions/gamma.rs => third_party/rust/rand-0.4.3/benches/distributions/gamma.rs
rename : third_party/rust/rand/benches/distributions/mod.rs => third_party/rust/rand-0.4.3/benches/distributions/mod.rs
rename : third_party/rust/rand/benches/distributions/normal.rs => third_party/rust/rand-0.4.3/benches/distributions/normal.rs
rename : third_party/rust/rand/benches/generators.rs => third_party/rust/rand-0.4.3/benches/generators.rs
rename : third_party/rust/rand/benches/misc.rs => third_party/rust/rand-0.4.3/benches/misc.rs
rename : third_party/rust/rand/src/distributions/exponential.rs => third_party/rust/rand-0.4.3/src/distributions/exponential.rs
rename : third_party/rust/rand/src/distributions/gamma.rs => third_party/rust/rand-0.4.3/src/distributions/gamma.rs
rename : third_party/rust/rand/src/distributions/mod.rs => third_party/rust/rand-0.4.3/src/distributions/mod.rs
rename : third_party/rust/rand/src/distributions/normal.rs => third_party/rust/rand-0.4.3/src/distributions/normal.rs
rename : third_party/rust/rand/src/distributions/range.rs => third_party/rust/rand-0.4.3/src/distributions/range.rs
rename : third_party/rust/rand/src/distributions/ziggurat_tables.rs => third_party/rust/rand-0.4.3/src/distributions/ziggurat_tables.rs
rename : third_party/rust/rand/src/jitter.rs => third_party/rust/rand-0.4.3/src/jitter.rs
rename : third_party/rust/rand/src/lib.rs => third_party/rust/rand-0.4.3/src/lib.rs
rename : third_party/rust/rand/src/os.rs => third_party/rust/rand-0.4.3/src/os.rs
rename : third_party/rust/rand/src/prng/chacha.rs => third_party/rust/rand-0.4.3/src/prng/chacha.rs
rename : third_party/rust/rand/src/prng/isaac.rs => third_party/rust/rand-0.4.3/src/prng/isaac.rs
rename : third_party/rust/rand/src/prng/isaac64.rs => third_party/rust/rand-0.4.3/src/prng/isaac64.rs
rename : third_party/rust/rand/src/prng/mod.rs => third_party/rust/rand-0.4.3/src/prng/mod.rs
rename : third_party/rust/rand/src/prng/xorshift.rs => third_party/rust/rand-0.4.3/src/prng/xorshift.rs
rename : third_party/rust/rand/src/rand_impls.rs => third_party/rust/rand-0.4.3/src/rand_impls.rs
rename : third_party/rust/rand/src/read.rs => third_party/rust/rand-0.4.3/src/read.rs
rename : third_party/rust/rand/src/reseeding.rs => third_party/rust/rand-0.4.3/src/reseeding.rs
rename : third_party/rust/rand/src/seq.rs => third_party/rust/rand-0.4.3/src/seq.rs
rename : third_party/rust/rand/utils/ziggurat_tables.py => third_party/rust/rand-0.4.3/utils/ziggurat_tables.py
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand_chacha/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand_chacha/LICENSE-MIT
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand_core-0.3.1/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand_core-0.3.1/LICENSE-MIT
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand_core/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand_core/LICENSE-MIT
rename : third_party/rust/httparse/Cargo.toml => third_party/rust/rand_hc/Cargo.toml
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand_hc/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand_hc/LICENSE-MIT
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand_isaac/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand_isaac/LICENSE-MIT
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand_jitter/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand_jitter/LICENSE-MIT
rename : third_party/rust/rand/src/jitter.rs => third_party/rust/rand_jitter/src/lib.rs
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand_os/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand_os/LICENSE-MIT
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand_pcg/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand_pcg/LICENSE-MIT
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/rand_xorshift/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/rand_xorshift/LICENSE-MIT
rename : third_party/rust/httparse/Cargo.toml => third_party/rust/rdrand/Cargo.toml
rename : third_party/rust/rand/LICENSE-APACHE => third_party/rust/sha-1/LICENSE-APACHE
rename : third_party/rust/rand/LICENSE-MIT => third_party/rust/sha-1/LICENSE-MIT
extra : moz-landing-system : lando
2019-05-13 16:07:04 +00:00
Andi-Bogdan Postelnicu 5577fedb71 Bug 1551089 - prevent runnning static analysis on the entire repo when using `--fix` option. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D30829

--HG--
extra : moz-landing-system : lando
2019-05-12 19:39:56 +00:00
Justin Wood b5e0d26baa Bug 1547730 - don't fail on an unsupported .seek() needed to support adding from compressed `zipfile.ZipFile` entries. r=#build
Differential Revision: https://phabricator.services.mozilla.com/D29216

--HG--
extra : rebase_source : 0914a7e444c05fe47a3d8a548b8286c9efc8165e
extra : intermediate-source : 27cd72dde2f6cf98745cc8fde674a6914c2117e4
extra : source : bcb5ec04f07e879f964350b838831e4900b66e3d
2019-04-24 22:07:53 -04:00
Jonathan Watt 05e535ab68 Bug 1549206. Fix the Eclipse CDT index deletion glob pattern to only match the project name. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D30281

--HG--
extra : rebase_source : 8b7f18d872e7fd0728a469397b133830de949d2b
extra : amend_source : 754e23d04c1a729e6b3312eb0818c7144cd803d4
2019-04-23 09:37:09 +01:00
Justin Wood 0b152cd77c Bug 1547730 - Set python test annotations to correspond to currently-passing py3 tests r=#build
Differential Revision: https://phabricator.services.mozilla.com/D28122

--HG--
rename : python/mozbuild/mozbuild/test/python.ini => python/mozbuild/mozbuild/test/python2.ini
rename : python/mozbuild/mozpack/test/python.ini => python/mozbuild/mozpack/test/python2.ini
extra : rebase_source : 686aa2def352c014bb2335e8f455204e3341b06b
extra : intermediate-source : 9adf517f4f79f071bc01526d3c9fe5545eeeda2f
extra : source : 31c6b4aca02221a3a173262ca02bc9cb9857da77
2019-04-18 15:52:34 -04:00
Justin Wood 6af7d5e25b Bug 1547730 - Finish up some final py3-izing in getting mozjar.py to work in py3 r=#build
Differential Revision: https://phabricator.services.mozilla.com/D28120

--HG--
extra : rebase_source : d0561578250ee77b4d14907cdaf83e69c60b42ff
extra : intermediate-source : 3dce2de9ddc1c36a4564337ecdfc5f4d5ed751c5
extra : source : 6dac07ac6e344d3f034cefeedead4642c2d69949
2019-04-18 15:21:31 -04:00
Justin Wood a143ae4aca Bug 1547730 - Make more of configure/__init__ work in py3 r=#build
(adds __build_class__ to the builtin sandbox and allow CombinedDependsFunction to be hashed)

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

--HG--
extra : rebase_source : 967a394d10d41e3da322005c84757c001a3b74cb
extra : intermediate-source : 2be63fc923997e6865ab9abc4fa7fb728e55d532
extra : source : aed41a0c652ae3f8e4b4f76bfaa0c56130515a75
2019-04-16 12:02:18 -04:00
Justin Wood c441276556 Bug 1547730 - Use six.moves.builtins in the sandbox for configure r=#build
Differential Revision: https://phabricator.services.mozilla.com/D28113

--HG--
extra : rebase_source : 7d7c89903f77fef369ffac46e270062538064325
extra : intermediate-source : c3200ca88bd9101dfbb7412241b215422860f9e4
extra : source : cc5ca4802a37bfa4d0fa5cd455f19d5f9e7e3ed1
2019-04-15 22:53:41 -04:00
Justin Wood 8253fe8c06 Bug 1547730 - Use new inspection methods introduced in py3 but work in py2.7 for functions r=#build
Differential Revision: https://phabricator.services.mozilla.com/D28112

--HG--
extra : rebase_source : bf24427996ad79357c4cf6214f80ea1c3a39f124
extra : intermediate-source : b066211fcb63cf31ea74da0a841f38c1dfbf5676
extra : source : 591fc8f07d19a2f05565cf56f2dc9b3af526e298
2019-04-15 22:53:10 -04:00
Justin Wood 23eb9233a8 Bug 1547730 - Define __hash__ for SandboxDependsFunction and CombinedDependsFunction so we can reference it as a dictionary key in py3 r=#build
Differential Revision: https://phabricator.services.mozilla.com/D28111

--HG--
extra : rebase_source : 7d000f29bc3223e778364e16b4ef0d11c646b8f3
extra : intermediate-source : 5848c6841aa71187fb726172b4bbe2553ba87efc
extra : source : 1b31ed5f96344e5f794b4aee6aa8edda4aa3bf2d
2019-04-15 22:09:07 -04:00
Justin Wood d6720a8be2 Bug 1547730 - Stop using some cases of types.NoneType. r=#build
Differential Revision: https://phabricator.services.mozilla.com/D30966

--HG--
extra : rebase_source : f17544d38e19f0a26922111136d5f5d08c0fd72f
extra : source : 38ee1d2f1c4cc11a373509a549cb340443a21c3c
2019-05-13 15:29:30 -04:00
Justin Wood f2e598c580 Bug 1547730 - Recognize StreamWriter exceptions for fileno() in py3 r=#build
Differential Revision: https://phabricator.services.mozilla.com/D28110

--HG--
extra : rebase_source : 6ffd3d2098c1832809422c97feed8a5c62142deb
extra : intermediate-source : 3b1dd2a2fe4e4e1fa9ad551c457f87f9a36f4db0
extra : source : f4a2c2e1f221e645603ed046bf44786e8c60da8a
2019-04-15 20:57:34 -04:00
Justin Wood d184f587d9 Bug 1547730 - Use six.moves.reduce for reduce() r=#build
Differential Revision: https://phabricator.services.mozilla.com/D28109

--HG--
extra : rebase_source : 2424c40ab3eb265fe648fe180efd54a2662a2cc6
extra : intermediate-source : b59641f0aedeb489ec278108ff93739c2584264d
extra : source : 45791a6aa570cd11fc426a565eb4fffad250319e
2019-04-15 20:39:47 -04:00
Justin Wood 7c638ba8b3 Bug 1547730 - Use six.moves for urllib.urlparse r=#build
Differential Revision: https://phabricator.services.mozilla.com/D28108

--HG--
extra : rebase_source : 33c707a33e478fb558e58c5b878f6da63b14927b
extra : intermediate-source : aa83f8790d9b9b16c756bc8311e7d57028abf487
extra : source : 8421e3222f669eae250a3b3facf8afa989ccc2c4
2019-04-15 16:57:21 -04:00
Justin Wood b294b5deaf Bug 1547730 - Fix b''.join(rand.choice(bytestring)..) to use bytes() constructor instead r=#build
Differential Revision: https://phabricator.services.mozilla.com/D28107

--HG--
extra : rebase_source : b630c75e57f967d70704dcffbbac0fa1aeb4e627
extra : intermediate-source : 59159c8d965b9f1fe7a8d7ac498f1e56489e578a
extra : source : 915a3ded66d8f598a8c6541dbbf842e5f12fc7e2
2019-04-15 15:26:30 -04:00
Justin Wood d7b09050eb Bug 1547730 - Use six.moves.xrange() instead of xrange() r=#build
Differential Revision: https://phabricator.services.mozilla.com/D28106

--HG--
extra : rebase_source : acdaa3f79f373904856940fa2df7475b941ffb20
extra : intermediate-source : a81b134559b396b811246e619e4d44b6c466e4c3
extra : source : 9ddfc1afd4255d67288111b41ea94371e3308a48
2019-04-15 14:50:56 -04:00
Justin Wood b84cb353ab Bug 1547730 - Compensate for __builtin__ use in files accessed by py3 r=#build
Differential Revision: https://phabricator.services.mozilla.com/D28105

--HG--
extra : rebase_source : 75f3990149a321d344a3e0fb1729480113a1483e
extra : intermediate-source : a64c5048c6a77fd7f5effb43a74c21af374ce10c
extra : source : bd2ce60bb8159bc3ecb615a9e13658a3a62a8d99
2019-04-15 14:11:33 -04:00
Justin Wood 588f2cd51c Bug 1547730 - Don't try to py3-ize indented_repr yet. r=#build
Differential Revision: https://phabricator.services.mozilla.com/D28103

--HG--
extra : rebase_source : 24becfbcc9f81dbe69dda1d70323cdda7cfb14b6
extra : intermediate-source : c5a11615d8c9fcc88ce13af85c744a1a8a615f03
extra : source : 66be9d18d40334332e8f6a45798701e440bc6b0a
2019-04-15 11:34:35 -04:00
Justin Wood 8d0a1c56b3 Bug 1547730 - don't use py2 builtin 'unicode' in mozpack and deps r=#build
Also adjust 'basestring' usage in some places.

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

--HG--
extra : rebase_source : f0fecd6b040336b0cf2f055e266fe37eea5a9a48
extra : intermediate-source : 712718250f0ba5c286c1fb6b6c7f370b713c7225
extra : source : 6b24ce2da518d8158e13627adb11c9fcad19c92a
2019-04-16 17:07:08 -04:00
Justin Wood 76d0c8183b Bug 1547730 - do s/StringIO.StringIO/six.StringIO/ to support py3 r=#build
Differential Revision: https://phabricator.services.mozilla.com/D28101

--HG--
extra : rebase_source : 25292a350368f109b22350fedc066f2cd257b697
extra : intermediate-source : 284a97f47d5027b4d24c76f56bb133fea477555f
extra : source : 7e0974046e5680b87e4510df0dc3279be453ef9c
2019-04-14 22:18:34 -04:00
Justin Wood 68e0b22686 Bug 1547730 - do py3 for cStringIO r=#build
Differential Revision: https://phabricator.services.mozilla.com/D28100

--HG--
extra : rebase_source : 419048b9789f19654bd6ceecc03f49e59fcf892d
extra : intermediate-source : ee3331ee87251ff67a9b55621d46efe655d58688
extra : source : ab5251d098f1f8bf9a6e258d26a6ab6b970421bf
2019-04-14 21:54:36 -04:00
Justin Wood b871665e95 Bug 1547730 - Do s/StandardError/Exception/ to support py3 r=#build
Differential Revision: https://phabricator.services.mozilla.com/D28099

--HG--
extra : rebase_source : 6dde06b7421aa644944064bd92f6325fd12a2e53
extra : intermediate-source : e2faee3261fd7339508b05e0357e10f6665671b8
extra : source : 95f5775581b78a52a3772608d7ff29a8ff2568bb
2019-04-14 21:37:56 -04:00
Justin Wood 9c17b8dc2e Bug 1547730 - Switch to six.string_types instead of types.StringTypes for py3 r=#build
Differential Revision: https://phabricator.services.mozilla.com/D28098

--HG--
extra : rebase_source : 401f405bf69c0dc5c555f17496432f6b630561a3
extra : intermediate-source : 6b9bac92416d47aa1197308e44f8700380043d51
extra : source : 9c9b5e6ebcafffdbf3a57c2117d37b63181df0d4
2019-04-14 21:27:36 -04:00
Justin Wood 1ee18bb7cd Bug 1547730 - Allow testing of mozpack on py3 r=#build
Differential Revision: https://phabricator.services.mozilla.com/D28097

--HG--
extra : rebase_source : b144cfa0bf39dcc2b83b9835d3bff78fc584ff4a
extra : intermediate-source : 0e6ee14716921960659543fa96b4a77b6a94ad1d
extra : source : 67f44c65a566f23a61cd1d9060598c82308e873b
2019-04-14 21:19:18 -04:00
Justin Wood 8ddab33e40 Bug 1547730 - use six.iterkeys() r=#build
Differential Revision: https://phabricator.services.mozilla.com/D28119

--HG--
extra : rebase_source : 9cfc9144d3ce93399b61ccb995969eec41077da0
extra : intermediate-source : bdda365cb339d564d04b0e272760c079027d9d52
extra : source : 4e80dff16232c3331e5c5eb70120e4e66b4b354a
2019-04-16 17:11:42 -04:00
Justin Wood 6dbc4a2979 Bug 1547730 - Do six.itervalues instead of dict.itervalues r=#build
Differential Revision: https://phabricator.services.mozilla.com/D28104

--HG--
extra : rebase_source : e1537e9276e7253e97fac83c08fa0c1553dce7b9
extra : intermediate-source : 0415061eb0785b51d8003028dff21108d88cd86a
extra : source : 2ddb030c673d7d643d3b8151472d35d9d9c55ccd
2019-04-15 13:47:38 -04:00
Justin Wood 91e37fa7ff Bug 1547730 - Do dict.iteritems() via six to support py3. r=#build
shellutil.py needed special handling since it is invoked earlier than the
vendor directory adding we do, so it does not have six available.

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

--HG--
extra : rebase_source : c5c611d280dc821747c9db736e4943c2cc421557
extra : intermediate-source : 30fb268b41fdc45937a22ab446a8805fb099c1f0
extra : source : d102292b6b5b812e7df165116410488d18042bd3
2019-04-15 11:48:03 -04:00
shindli 99a2a5a955 Merge inbound to mozilla-central. a=merge 2019-05-07 12:46:42 +03:00
Manish Goregaokar 409a85d649 Bug 1549636: use uuid4() in mach; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D30147

--HG--
extra : moz-landing-system : lando
2019-05-07 02:34:53 +00:00
Alexis Beingessner 52bd6c3025 Bug 1525402 - Bump cargo-vendor to 0.1.23. r=kats
0.1.21 mishandles cargo package renames, which are a required
feature for Rust 2018 support. The latest version fixes this.

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

--HG--
extra : moz-landing-system : lando
2019-05-07 01:40:17 +00:00
Nick Alexander 730a0a46f2 Bug 1543247 - Part 2: Install `visualmetrics.py` prerequisites. r=ahal
Under the hood, browsertime invokes a certain `visualmetrics.py`
script.  That script depends on `ffmpeg` and ImageMagick's `convert`,
`compare`, and `mogrify` commands.  It also depends on certain Python
packages.

So this installs those dependencies, and then wires up the evaluation
environment such that `./mach browsertime` can find the dependencies.
It also adds a `./mach visualmetrics` command for processing a
captured MP4 file in the same way that browsertime processes such a
file.

In order to avoid downloading dependencies multiple time, the existing
artifact cache is extracted.  This is a small first step towards [Bug
1526021](https://bugzilla.mozilla.org/show_bug.cgi?id=1526021), which
might want to use this artifact cache as well.

At this time, hashes and filesizes are not verified.  During
development, the upstream files changed multiple times, and it's not
worth being completely locked down while experimenting with this
functionality.  If we start running this code in automation or in more
sensitive environments, we can build fetch tasks and TC indexes to
streamline the artifact gathering process.

It is expected that a future mach command will want to invoke
browsertime without suffering the overhead of invoking Python (and
mach, which is itself bulky) so a nod is given to exposing the
relevant environment pieces.

During testing, it was discovered that [MozillaBuild doesn't ship
git](https://bugzilla.mozilla.org/show_bug.cgi?id=1503028), so that
git repositories can't be used out-of-the-box on Windows.  So instead
we use a [tarball link from github.com/$USER/$REPO/tarball/$COMMIT-LIKE](https://github.blog/2008-03-03-tarball-downloads/).

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

--HG--
rename : python/mozbuild/mozbuild/test/test_artifacts.py => python/mozbuild/mozbuild/test/test_artifact_cache.py
extra : moz-landing-system : lando
2019-05-06 23:56:59 +00:00
Chris Manchester 22b5c49e92 Bug 1549538 - Fix win64 artifact builds based on inbound. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D30115

--HG--
extra : moz-landing-system : lando
2019-05-06 21:05:52 +00:00
Geoff Lankow ec9e479e0c Bug 1444220 - Extend artifact builds to include Thunderbird. r=glandium 2019-05-02 15:14:25 +12:00
Jonathan Watt 433a77a4a7 Bug 1549206. Fix Eclipse CDT project generation to automatically run the indexer on first run. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D29965

--HG--
extra : rebase_source : 6f6cbc5a0f0766146be8bb931a2e319452f1fede
2019-04-21 15:59:31 +01:00
Geoff Brown 51f5d3a884 Bug 1548555 - For android gtest, push support files to device; r=bc
Differential Revision: https://phabricator.services.mozilla.com/D29837

--HG--
extra : moz-landing-system : lando
2019-05-03 17:45:21 +00:00
Dan Minor e2aee8c88f Bug 1540760 - Make it possible to use clang-cl as an assembler; r=firefox-build-system-reviewers,mshal
Some media libraries use gas syntax in their assembly files. Rather than
converting these arm assembly syntax files for aarch64, we can use clang-cl
to build them directly.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 15:04:48 +00:00
Bastien Abadie fd94f413de Bug 1548502 - Export clang-format diff in source-test-clang-format, r=marco
Differential Revision: https://phabricator.services.mozilla.com/D29662

--HG--
extra : moz-landing-system : lando
2019-05-02 15:19:13 +00:00
Justin Wood f611290984 Bug 1542963 - Insert unicode_literals into python/mozbuild/mozpack and called mozbuild/* files. r=#build
Lint python/mozbuild/{mozbuild,mozpack}.

This makes sure we use byte strings (type(b'')) in many places.
This also has a few places where we know we want unicode, by enforcing it.

This code also has a few places where we call into windows API's which expect either all args to be unicode,
or all args to be bytestrings (not-unicode) so make sure those calls align.

This is the most risky of the stack, since there are some mach commands and codepaths that are neither excercised in automation
nor excercised in tests.

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

--HG--
extra : rebase_source : 1ee367576bede0318a2db05644693d4f440a250a
extra : intermediate-source : 2516c350cba6f27eb204f0087728721abbb0e085
extra : source : 6351a29c5765c13c39ef6186f9e5e911e00420e7
2019-04-08 15:20:45 -04:00
Justin Wood 4ae90fc11e Bug 1542963 - use print_function for mozbuild and mozpack. r=#build
Lint python/mozbuild/{mozbuild,mozpack}.

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

--HG--
extra : rebase_source : 88e4d271be1f66eec21fbe87f8d96091f5312c45
extra : intermediate-source : a1f27db92c238b7f7e6e482100c30ec1318e8c57
extra : source : d023be4d80e16601df1b9b9fba994e6b42d9a2e0
2019-04-08 10:29:43 -04:00
Justin Wood ae27d4484d Bug 1542963 - Add absolute_imports to mozbuild and mozpack. r=#build
Lint python/mozbuild/{mozbuild,mozpack}. r=#build

Add 'from __future__ import absolute_import' to all missing files in python/mozbuild/{mozbuild,mozpack}/**/*.py

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

--HG--
extra : rebase_source : 8c20011c7d1e9557bcc419d4fa3cb95e637d7d15
extra : intermediate-source : 473edf9f9a5378b3e1f944e231121455e3446c5b
extra : source : 2aedcd6517225dacfc45ca58d8ae2217cf67398e
2019-04-08 09:29:44 -04:00
Justin Wood d8f887ccec Bug 1542963 - Fix undefined var 'defines' when use_defines_in_asflags is set. r=#build
Lint python/mozbuild/{mozbuild,mozpack}.

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

--HG--
extra : rebase_source : cba723bb8184975f139edbc8853eec8941608600
extra : intermediate-source : 6919113c2e39cc77aa72416ce5702ad221c845ee
extra : source : 6628db09105db9bc09903459b089e5f1e3533fa6
2019-04-07 15:40:55 -04:00
Justin Wood 9a54c524f0 Bug 1542963 - Fix most flake8 issues in python/mozbuild/mozbuild/* r=#build
Leaving one fix for an explicit review.

Lint python/mozbuild/{mozbuild,mozpack}. r=#build

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

--HG--
extra : rebase_source : e14d7762c7802d98e24ee8f86b0167d96666d288
extra : intermediate-source : 79b0d1678dd2f6aadf60f480d902ddeca4a52c3a
extra : source : faadf440e7d7b0a8c473e2dee3fc90b27023814a
2019-04-07 15:39:24 -04:00
Justin Wood c078e63bbc Bug 1542963 - run './mach lint ... --fix' on mozbuild/mozbuild, undoes some black changes. r=#build
Lint python/mozbuild/{mozbuild,mozpack}.

ran './mach lint -l py2 -l flake8 -l shellcheck -l codespell -l yaml python/mozbuild/{mozbuild,mozpack}/  --fix' in order
to undo some black changes and get closer to  making this folder able to be validated on every lint run

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

--HG--
extra : rebase_source : 6b69b6ebcac73835b752607f7b5b4429de7f95cf
extra : intermediate-source : 114355f83d36188fac592c8c6497242c71b27ad6
extra : source : 51fbdf63bbce8f75fac407de305f826dc775fcb5
2019-04-24 22:12:09 -04:00
Chris Manchester caa48376ad Bug 1547380 - Reject attempts to run the `rusttests` command from artifact builds. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D29436

--HG--
extra : moz-landing-system : lando
2019-04-30 23:03:14 +00:00
Mike Hommey e958e4adc0 Bug 1536543 - Require rust 1.34. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D25896

--HG--
extra : moz-landing-system : lando
2019-04-30 22:16:11 +00:00
Rok Garbas c3b5a7c6d6 Bug 1533330 - Update tooltool.py with optional support of taskcluster auth tokens r=rail
With this change tooltool.py also supports taskcluster credentials to be passed
(in json format) to --authentication-file option. RelengAPI tokens are still
working with this patch, just additional authentication is added.

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

--HG--
extra : moz-landing-system : lando
2019-04-24 13:41:46 +00:00
Panagiotis Astithas e3ca5b5b40 Bug 1545161 - Switch bootstrap for android to AdoptOpenJDK8. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D29286

--HG--
extra : moz-landing-system : lando
2019-04-29 23:58:13 +00:00
Mike Shal 64d89508cd Bug 1541818 - Remove atime check on mac; r=froydnj
The noatime option doesn't appear to have a significant impact on no-op
build times, even though the build system does a significant number of
file reads. Since macs have atime enabled by default, we should just
disable this check rather than give developers unhelpful error messages.

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

--HG--
extra : moz-landing-system : lando
2019-04-26 13:47:33 +00:00
Mike Hommey 53b22118b5 Bug 1546870 - Make extracting .tar.xz work with mach artifact toolchain. r=froydnj
For some reason, using `tar -Jxf` with Windows paths fails, and that makes
`mach artifact toolchain` unable to pull .tar.xz archives on Windows.

However, executing `xz -d -c` works, and we can feed its output to
python's tarfile.

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

--HG--
extra : moz-landing-system : lando
2019-04-27 21:56:47 +00:00
Kartikaya Gupta 1e9c5710b7 Bug 1542826 - Add BSD-3-Clause license to about:license and whitelist sha1 which uses it. r=froydnj,mhoye
Differential Revision: https://phabricator.services.mozilla.com/D28355

--HG--
extra : moz-landing-system : lando
2019-04-25 19:29:07 +00:00
Andi-Bogdan Postelnicu 2bfb55c4d7 Bug 1545778 - Consume all translation units when doing coverity integration. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D28468

--HG--
extra : moz-landing-system : lando
2019-04-24 15:51:32 +00:00
Christian Frey 0d498a90b2 Bug 1544501 - Convert the ToolbarContextMenu to use strings from Fluent r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D28281

--HG--
extra : moz-landing-system : lando
2019-04-24 10:49:15 +00:00
Cosmin Sabou 706f99c3db Backed out changeset d99a232c3dd4 (bug 1533330) for causing build bustages. CLOSED TREE 2019-04-24 13:20:12 +03:00
Rok Garbas f922d69f22 Bug 1533330 - Update tooltool.py with optional support of taskcluster auth tokens r=rail
With this change tooltool.py also supports taskcluster credentials to be passed
(in json format) to --authentication-file option. RelengAPI tokens are still
working with this patch, just additional authentication is added.

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

--HG--
extra : moz-landing-system : lando
2019-04-24 09:16:27 +00:00
Ciure Andrei 167fe89533 Merge inbound to mozilla-central. a=merge 2019-04-24 01:15:47 +03:00
Andi-Bogdan Postelnicu 8d5f50af08 Bug 1544208 - inform the user who tries to use `mach static-analysis check ...` of when there are no files eligible for analysis. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D28032

--HG--
extra : moz-landing-system : lando
2019-04-23 10:01:12 +00:00
Geoff Brown 069f6587db Bug 1318091 - Support |mach gtest| for android; r=bc
Add basic support for 'mach gtest' on Android.
Handling of Android-only and desktop-only options is awkward; I hope to
re-visit this after bug 1519369.

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

--HG--
extra : moz-landing-system : lando
2019-04-22 15:55:23 +00:00
Andi-Bogdan Postelnicu 32fe00ed34 Bug 1544764 - Add description at review phase about defects found - clang-tidy. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D27669

--HG--
extra : moz-landing-system : lando
2019-04-18 08:49:52 +00:00
Andi-Bogdan Postelnicu 7f77f4efdf Bug 1544767 - Add description at review phase about defects found - coverity. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D27876

--HG--
extra : moz-landing-system : lando
2019-04-18 08:52:31 +00:00
Rob Wu d3467efbf0 Bug 1544981 - Stop tapping caskroom/versions in bootstrap for macOS r=nalexander
`caskroom/versions` was replaced with `homebrew/cask-versions` in 2018.
Tap `caskroom/versions` instead of the old one.

If you have two taps, remove the old one using:

    brew untap caskroom/versions

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

--HG--
extra : moz-landing-system : lando
2019-04-18 18:39:31 +00:00
Csoregi Natalia feb0789249 Backed out changeset 7cefdbb63711 (bug 1544764) for static-analysis bustage on clang-analyzer-deadcode.DeadStores.cpp. CLOSED TREE 2019-04-18 00:33:29 +03:00
Andi-Bogdan Postelnicu bbedccc1b9 Bug 1544764 - Add description at review phase about defects found - clang-tidy. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D27669

--HG--
extra : moz-landing-system : lando
2019-04-17 16:16:42 +00:00
Sylvestre Ledru bca2543ffa Bug 1544797 - clang-format: Use the topsrcdir to generate the paths instead of the pwd r=andi
If the user runs mach clang-format from the builddir, it was finding and using
unified files.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 17:38:24 +00:00
Christian Frey db813346c4 Bug 1523757 - Convert panelUI.inc.xul to Fluent r=flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D26447

--HG--
extra : moz-landing-system : lando
2019-04-15 18:10:46 +00:00
Mike Shal e01aaa0155 Bug 1543663 - Create an empty config.status for TestManifestBackend; r=chmanchester
The TestManifestBackend always has a dependency on config.status, even
if configure hasn't been run yet. If configure is run later, this is
intended to cause the TestManifestBackend to be regenerated so that it
can use the configured values instead of a potentially incomplete setup.

Mozbuild's backend_out_of_date() logic treats a missing file as always
being out of date, which means if configure hasn't run, the
TestManifestBackend will always be regenerated.

Instead we can create a stub config.status file that will fix the
out-of-date check, and can be treated as a
BuildEnvironmentNotFoundException as if the file didn't exist at all.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 23:02:56 +00:00
Mike Shal 22b6784b84 Bug 1543663 - Add missing 'import errno' to fix some python-tests; r=ahal
Bug 1537574 moved some code that uses errno from building.py to base.py,
but the latter didn't already import errno.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 22:48:29 +00:00
Andi-Bogdan Postelnicu c9b234eafc Bug 1543492 - for clang based static-analysis and formating add a package version that represents a baseline if we continue the analysis or prompt for an update. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D27042

--HG--
extra : moz-landing-system : lando
2019-04-11 09:58:59 +00:00
Mike Shal e28f6db31f Bug 1537574 - Use mozbuild's backend-out-of-date logic for RecursiveMake; r=firefox-build-system-reviewers,chmanchester
If mozbuild parsing fails due to a missing file (eg: a file not existing
in UNIFIED_SOURCES), then no Makefiles are written out, but
config.status exists. This would cause mozbuild to think that configure
doesn't need to run, and rely on make to perform the backend-out-of-date
check in rebuild-backend.mk. Unfortunately since no Makefiles were
written, the make command fails immediately and no attempt is made to
re-create the backend. Note that this is only a problem if the first
mozbuild parsing from a clobber build fails, otherwise there is
typically a top-level Makefile from a previous build to call into (at
which point make can determine it is out-of-date, and re-invoke itself).

The fix is to have the RecursiveMake backend re-use the same logic that
was introduced into mozbuild for alternate backends, and remove
rebuild-backend.mk. This way, mozbuild can always determine if the
backend needs to be regenerated, even if the initial parsing failed.

Test code was also relying on rebuild-backend.mk to generate the
TestBackend, but moving backend_out_of_date() into MozbuildObject allows
this code to be shared.

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

--HG--
rename : build/gen_test_backend.py => python/mozbuild/mozbuild/gen_test_backend.py
extra : moz-landing-system : lando
2019-04-10 22:14:27 +00:00
Chris Manchester bfada6ed16 Bug 1542042 - Convert arguments to unicode explicitly in |./mach run|. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D26832

--HG--
extra : moz-landing-system : lando
2019-04-09 23:13:07 +00:00
Bobby Holley cb0e71a251 Bug 1543246 - Suggest |./mach busted| when something breaks. r=froydnj
Depends on D26818

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

--HG--
extra : moz-landing-system : lando
2019-04-10 16:40:14 +00:00
Nicholas Cowles a759e8ba70 Bug 1523747 - Move customize mode strings over to fluent, r=Gijs,jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D26418

--HG--
extra : moz-landing-system : lando
2019-04-10 15:46:31 +00:00
Bastien Abadie a474eff8dd Bug 1541412 - Add static-analysis check-java to source-test tasks, r=ahal,andi
Differential Revision: https://phabricator.services.mozilla.com/D25929

--HG--
rename : taskcluster/scripts/misc/source-test-clang-setup.sh => taskcluster/scripts/misc/source-test-common.sh
extra : moz-landing-system : lando
2019-04-08 15:41:30 +00:00
Andi-Bogdan Postelnicu 034e5a3f5c Bug 1542871 - prevent data loss for clang-format when using incompatible/old clang-format binary. r=sylvestre
This issue has been detected and reproduced by :klotz and :jorendorff.

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

--HG--
extra : moz-landing-system : lando
2019-04-10 09:32:07 +00:00
Andi-Bogdan Postelnicu 595caf7d7c Bug 1543024 - [Coverity] Add more information to the exported artifact that is generated by Coverity. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D26682

--HG--
extra : moz-landing-system : lando
2019-04-10 07:19:26 +00:00
Aaron Klotz ede6539296 Bug 1520309: Set HGPLAIN env var when running hg push-to-try; r=ahal
If there are a large number of untracked files in the working directory, hg
will attempt to print them all out with the default pager. This does not
interact very will with commands that are built atop this functionality. We
set HGPLAIN=1 so that the underlying hg will not attempt to use a pager.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 21:10:49 +00:00
Petr Sumbera 41916af393 Bug 1405345 - ldflags as defined in gypi shouldn't be ignored at least on Solaris for now r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D26287

--HG--
extra : moz-landing-system : lando
2019-04-09 13:22:16 +00:00
Mike Hommey 071a2fe984 Bug 1541792 - Replace linker magic with manual component registration. r=froydnj
Before bug 938437, we had a rather large and error-prone
nsStaticXULComponents.cpp used to register all modules. That was
replaced with clever use of the linker, which allowed to avoid the mess
that maintaining that file was.

Fast forward to now, where after bug 1524687 and other work that
preceded it, we have a much smaller number of remaining static xpcom
components, registered via this linker hack, and don't expect to add
any new ones. The list should eventually go down to zero.

Within that context, it seems to be the right time to get rid of the
magic, and with it the problems it causes on its own.

Some of those components could probably be trivially be converted to
static registration via .conf files, but I didn't want to deal with the
possible need to increase the number of dummy modules in XPCOMInit.cpp.
They can still be converted as a followup.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 02:30:56 +00:00
Andreea Pavel a7f868ac25 Backed out changeset 95b3298fd2d4 (bug 1537574) for windows task timeouts a=backout
--HG--
rename : python/mozbuild/mozbuild/gen_test_backend.py => build/gen_test_backend.py
2019-04-08 22:23:03 +03:00
Mike Shal 96425af79a Bug 1537574 - Use mozbuild's backend-out-of-date logic for RecursiveMake; r=firefox-build-system-reviewers,chmanchester
If mozbuild parsing fails due to a missing file (eg: a file not existing
in UNIFIED_SOURCES), then no Makefiles are written out, but
config.status exists. This would cause mozbuild to think that configure
doesn't need to run, and rely on make to perform the backend-out-of-date
check in rebuild-backend.mk. Unfortunately since no Makefiles were
written, the make command fails immediately and no attempt is made to
re-create the backend. Note that this is only a problem if the first
mozbuild parsing from a clobber build fails, otherwise there is
typically a top-level Makefile from a previous build to call into (at
which point make can determine it is out-of-date, and re-invoke itself).

The fix is to have the RecursiveMake backend re-use the same logic that
was introduced into mozbuild for alternate backends, and remove
rebuild-backend.mk. This way, mozbuild can always determine if the
backend needs to be regenerated, even if the initial parsing failed.

Test code was also relying on rebuild-backend.mk to generate the
TestBackend, but moving backend_out_of_date() into MozbuildObject allows
this code to be shared.

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

--HG--
rename : build/gen_test_backend.py => python/mozbuild/mozbuild/gen_test_backend.py
extra : moz-landing-system : lando
2019-04-08 16:37:56 +00:00
Dorel Luca 7783e898b4 Backed out changeset 471b2063c817 (bug 1540656) for XPCShell failures in dom/push/test/xpcshell/test_register_success_http2.js 2019-04-08 15:49:10 +03:00
Andi-Bogdan Postelnicu 706b294e8b Bug 1541147 - [Coverity] Create a try job that performs coverity static-analysis for patches. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D26145

--HG--
extra : moz-landing-system : lando
2019-04-08 10:42:37 +00:00
Valentin Gosu de5f594f79 Bug 1540656 - Use dns-packet node module in test_trr.js r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D25671

--HG--
extra : moz-landing-system : lando
2019-04-08 10:42:34 +00:00
Coroiu Cristina ce554d423a Backed out changeset 7e2aef09165a (bug 1541147) on request by Andy 2019-04-08 13:24:38 +03:00
Andi-Bogdan Postelnicu 7d35667207 Bug 1541147 - [Coverity] Create a try job that performs coverity static-analysis for patches. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D26145

--HG--
extra : moz-landing-system : lando
2019-04-08 10:16:13 +00:00
Avery Berninger fa0b54611b Bug 1523741 - Converting legacy aboutTelemetry to Fluent aboutTelemetry, r=jaws,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D20417

--HG--
extra : moz-landing-system : lando
2019-04-08 09:15:16 +00:00
Cosmin Sabou 2174454bff Backed out changeset 7e40ec0c948d (bug 1523741) for telemetry failures on aboutTelemetry.homeSection. 2019-04-06 20:44:55 +03:00
Avery Berninger 09dac60807 Bug 1523741 - Converting legacy aboutTelemetry to Fluent aboutTelemetry, r=jaws,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D20417

--HG--
extra : moz-landing-system : lando
2019-04-06 00:54:52 +00:00
Razvan Maries 782c1800ed Backed out changeset ac130652ae81 (bug 1541147) for Gecko Decision Task bustages. CLOSED TREE 2019-04-06 10:23:16 +03:00
Andi-Bogdan Postelnicu b8099454fc Bug 1541147 - [Coverity] Create a try job that performs coverity static-analysis for patches. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D26145

--HG--
extra : moz-landing-system : lando
2019-04-06 06:32:16 +00:00
Bobby Holley 2dbf847c0f Bug 1542376 - Avoid exception during Android bootstrap. r=glandium
Mozboot uses Python 2.7.3, along with the |unicode_literals| directive,
which makes string literals unicode by default. However, the
LooseVersion implementation that ships with Python throws an exception
when comparing against bare unicode strings, because it only checks for
StringType, not UnicodeType [1].

[1] https://github.com/enthought/Python-2.7.3/blob/master/Lib/distutils/version.py#L292

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

--HG--
extra : moz-landing-system : lando
2019-04-05 22:07:30 +00:00
Brian Grinstead 42fd8f47e3 Bug 1495861 - Lazify panic panel and convert it to use FTL r=flod,Gijs
This is the only <radiogroup> and <radio> consumer in browser.xul.
By making the DOM get constructed on demand, we can avoid connecting
radios at startup, and it also gives us a chance to migrate the
strings to Fluent.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 21:16:26 +00:00
Andrew Halberstadt 36f246059f Bug 1195299 - [mozharness] Remove copies of mozbase from testing/mozharness r=catlee
Differential Revision: https://phabricator.services.mozilla.com/D22185

--HG--
extra : moz-landing-system : lando
2019-04-05 15:39:50 +00:00
Csoregi Natalia 327990d881 Backed out changeset e2a6e9aafcf6 (bug 1541147) for gecko decision task failure. CLOSED TREE 2019-04-05 16:19:58 +03:00
Andi-Bogdan Postelnicu 831dab5548 Bug 1541147 - [Coverity] Create a try job that performs coverity static-analysis for patches. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D26145

--HG--
extra : source : 3779175a4d7fdd3eb5b6fd380342d41c22764690
2019-04-05 12:26:54 +00:00
Csoregi Natalia 7fc8245165 Backed out changeset 3779175a4d7f (bug 1541147) for gecko decision bustage. CLOSED TREE 2019-04-05 15:53:56 +03:00