Commit Graph
5267 Commits
Author SHA1 Message Date
Andrew Halberstadt a344043bbf Bug 1586010 - [mozversioncontrol] Ensure env in appropriate format for subprocess, r=chmanchester
Environment should be bytes on Python 2 (to avoid Windows errors) and text on
Python 3. The 'ensure_subprocess' env utility function handles this.

Differential Revision: https://phabricator.services.mozilla.com/D48115
2019-10-04 15:48:24 +00:00
Narcis Beleuzu c29fc80feb Bug 1586246 - Fix linting on bug_1586246_migration.py. CLOSED TREE 2019-10-04 18:20:22 +03:00
Zibi Braniecki 5bfe4953b4 Bug 1586246 - Migrate autohide-context to Fluent using convert script. r=fluent-reviewers,bgrins,flod
Differential Revision: https://phabricator.services.mozilla.com/D48171
2019-10-04 14:56:30 +00:00
Jared Wein 863c4ef482 Bug 1583428 - Remove the alt attribute for the favicon since it is not helpful and remove the alt attribute on the breached website icon so the title of 'Breached Website' is spoken. r=fluent-reviewers,MattN,flod
Differential Revision: https://phabricator.services.mozilla.com/D47811
2019-10-03 16:05:22 +00:00
Andrew Halberstadt 9b893b9eb6 Bug 1585686 - [mozlint] Avoid UnicodeEncodeError for users who have an 'ascii' locale r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D47941
2019-10-03 13:17:08 +00:00
Andrew Halberstadt f0eae5cd91 Bug 1585146 - [mach] Bump to 1.0.0 and add Python classifiers, r=firefox-build-system-reviewers,mshal
Depends on D47668

Differential Revision: https://phabricator.services.mozilla.com/D47669
2019-10-01 18:32:07 +00:00
Andrew Halberstadt 5c3df356fb Bug 1585146 - [mach] Move '--disable-tests' check to a pre_dispatch_handler, r=firefox-build-system-reviewers,mshal
This logic is very 'mozill-central' specific and should live outside of mach
core if possible. Luckily we already have a concept of a 'pre_dispatch_handler'
that is meant for exactly this type of use case.

Differential Revision: https://phabricator.services.mozilla.com/D47668
2019-10-01 22:31:23 +00:00
Brian Grinstead 9741c9840b Bug 1550549 - Convert XUL textboxes to HTML inputs in pageInfo.xul r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D30537
2019-10-02 12:30:43 +00:00
Chris Manchester ca9f7a9469 Bug 1585258 - Call ensure_subprocess_env when setting environment variables during an artifact build. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D47798
2019-10-01 17:58:26 +00:00
Andrew Halberstadt 628a372ec6 Bug 1584567 - [mach] Remove support for conditional_names, r=nalexander
Depends on D47626

Differential Revision: https://phabricator.services.mozilla.com/D47627
2019-10-01 12:40:28 +00:00
Andrew Halberstadt 75f3853388 Bug 1584567 - Merge desktop + android commands (run and install) back together, r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D47626
2019-09-30 16:59:27 +00:00
Chris Manchester 909263081c Bug 1583234 - Set HGPLAIN when running hg during an artifact build. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D47656
2019-09-30 21:35:40 +00:00
Ciure Andrei 2adf1d8fe3 Backed out changeset 45f760e2a4c1 (bug 1583234) when causing linting failures CLOSED TREE 2019-10-01 00:20:12 +03:00
Chris Manchester bb9f0030cf Bug 1583234 - Set HGPLAIN when running hg during an artifact build. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D47656
2019-09-30 20:55:22 +00:00
Andrew Halberstadt 476f8b2829 Bug 1580280 - [mozlint] Run |mach lint| with Python 3 and drop support for Python 2 r=mars
Differential Revision: https://phabricator.services.mozilla.com/D45441
2019-09-30 15:09:41 +00:00
Andrew Halberstadt acde985a4d Bug 1580280 - [configure] Define '__bool__' on PositiveOptionValue for Python 3 compatibility, r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D47609
2019-09-30 19:42:11 +00:00
Anmol Agarwal 3c68cd3af0 Bug 1494090 - Added -x option to |mach python-test| r=ahal
Bug 1494090 - Added -x option to |mach python-test|

Differential Revision: https://phabricator.services.mozilla.com/D47321
2019-09-30 20:18:08 +00:00
Nathan Froyd 4892b1dbbb Bug 1577220 - update to the r20 Android NDK; r=snorp,nalexander
This version has a newer libc++, brings along some linker fixes, etc.

Differential Revision: https://phabricator.services.mozilla.com/D45574
2019-09-27 13:50:43 +00:00
Mike Shal 0a60720083 Bug 1581248 - Strip //?/ prefixes in mozpath.relpath(); r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D46320
2019-09-25 22:32:58 +00:00
Oana Pop Rus f19fe1ea96 Backed out changeset 371641b1010b (bug 1580280) for lints failure on a CLOSED TREE 2019-09-26 00:18:33 +03:00
Andrew Halberstadt 1983a4fe4d Bug 1580280 - [mozlint] Run |mach lint| with Python 3 and drop support for Python 2 r=mars
Differential Revision: https://phabricator.services.mozilla.com/D45441
2019-09-25 20:03:14 +00:00
Rob Wu 5989e89b0f Bug 1556413 - Automatically untap caskroom/versions in bootstrap r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D44639
2019-09-23 17:04:00 +00:00
Andrew Halberstadt 845f9040e8 Bug 1567642 - [lint.flake8] Fix misc flake8 under Python 3 lint issues r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D45417
2019-09-24 14:44:01 +00:00
Gabriele Svelto 344e97862d Bug 1582078 - Fix the .mozbuild creation prompt r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D46267
2019-09-24 00:54:23 +00:00
Nick Alexander 36381c5d22 Bug 1582662 - Fix xpcshell test suites against artifact builds on try. r=chmanchester
Bug 1580996 cleaned up handling of `{application,platform}.ini` but
inadvertently populated `.ini` files from test archives into the
object directory.  That causes issues, especially on try.  Test INI
files should come from the local artifact build and not from the
upstream test archives.

Rather than re-instate the test at the time when processed test
archives are _unpacked_, the test is done as test archives are
packed/processed.

Differential Revision: https://phabricator.services.mozilla.com/D46862
2019-09-23 21:47:42 +00:00
Aaron Klotz d5bb42f896 Bug 1542830: Part 3 - Add ntdll_freestanding.lib to freestanding; r=mhowell,froydnj
The `freestanding` library is built with specific compiler flags to signify
that it is indeed freestanding code. That is, it does not depend on a
standard library.

One of the requirements of freestanding code is that the toolchain still
expects implementations of `memcpy`, `memmove`, `memcmp`, and `memset`.

I did briefly implement my own naive versions of these functions, but that
solution is less than ideal since the implementations must be `extern` and are
thus picked up by the entire `firefox.exe` binary. This denies the rest of
`firefox.exe` the benefit of optimized implementations. On Windows, the
sandbox is linked into `firefox.exe`, so we cannot just shrug and
assume that naive implementations will not have any effect on anything.

There are, however, optimized implementations of these functions that are
exported by `ntdll.dll`. They are not included in the `ntdll.lib` that is
included in the Windows SDK. Using `llvm-dlltool`, we can build an import
library containing the missing entries and then add that library to `OS_LIBS`.

Depends on D43156

Differential Revision: https://phabricator.services.mozilla.com/D43157
2019-09-23 20:18:37 +00:00
Anmol Agarwal b39f1d6f44 Bug 1554657 - Add a verbose mode to |mach lint| to display log output r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D43507
2019-09-23 13:19:25 +00:00
Andi-Bogdan Postelnicu a600c7d009 Bug 1527818 - Add Coverity analysis for full build on try. r=marco,bastien
Differential Revision: https://phabricator.services.mozilla.com/D46477
2019-09-23 11:10:23 +00:00
shindli 40f56ddf4f Merge autoland to mozilla-central. a=merge 2019-09-22 00:46:56 +03:00
Brindusan Cristian 71063d72c3 Backed out 8 changesets (bug 1542830) for causing Nightly bustages. a=backout
Backed out changeset 6fcb417f7ff4 (bug 1542830)
Backed out changeset 1aa253e6604a (bug 1542830)
Backed out changeset 73ec288886cd (bug 1542830)
Backed out changeset 84b903e60dc9 (bug 1542830)
Backed out changeset 8e2da9ff5f5a (bug 1542830)
Backed out changeset c4e547a6a039 (bug 1542830)
Backed out changeset 919f1af7c135 (bug 1542830)
Backed out changeset da7e775c4051 (bug 1542830)
2019-09-22 00:01:01 +03:00
arthur.iakab 9064ac9c3a Backed out changeset 33b58a35cd4e (bug 1435915)for causing Nighlty bustages a= backout 2019-09-21 16:38:54 +03:00
Zibi Braniecki fd0eae7bc8 Bug 1435915 - Remove preferences.properties. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D45723
2019-09-20 15:44:55 +00:00
Zibi Braniecki 400395d7ef Bug 1435915 - Remove preferences.properties. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D45723
2019-09-20 15:44:55 +00:00
Zibi Braniecki 0e1b926b16 Bug 1508156 - Use fluent for the default application choice section of about:preferences. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D45622
2019-09-20 20:09:42 +00:00
Aaron Klotz a84e52e2d7 Bug 1542830: Part 3 - Add ntdll_freestanding.lib to freestanding; r=mhowell,froydnj
The `freestanding` library is built with specific compiler flags to signify
that it is indeed freestanding code. That is, it does not depend on a
standard library.

One of the requirements of freestanding code is that the toolchain still
expects implementations of `memcpy`, `memmove`, `memcmp`, and `memset`.

I did briefly implement my own naive versions of these functions, but that
solution is less than ideal since the implementations must be `extern` and are
thus picked up by the entire `firefox.exe` binary. This denies the rest of
`firefox.exe` the benefit of optimized implementations. On Windows, the
sandbox is linked into `firefox.exe`, so we cannot just shrug and
assume that naive implementations will not have any effect on anything.

There are, however, optimized implementations of these functions that are
exported by `ntdll.dll`. They are not included in the `ntdll.lib` that is
included in the Windows SDK. Using `llvm-dlltool`, we can build an import
library containing the missing entries and then add that library to `OS_LIBS`.

Differential Revision: https://phabricator.services.mozilla.com/D43157
2019-09-20 19:43:21 +00:00
Ciure Andrei 0566080cf1 Backed out 8 changesets (bug 1542830) for causing spidermonkey bustages CLOSED TREE
Backed out changeset b9f7fc8d0172 (bug 1542830)
Backed out changeset b85f58fd5bbd (bug 1542830)
Backed out changeset 0a9169ab2623 (bug 1542830)
Backed out changeset 39a7c05d54ef (bug 1542830)
Backed out changeset 7a3cbd2f59f0 (bug 1542830)
Backed out changeset 268530552281 (bug 1542830)
Backed out changeset df658ffb8599 (bug 1542830)
Backed out changeset e7bef6486a38 (bug 1542830)
2019-09-20 21:21:39 +03:00
Aaron Klotz bc0fa52bec Bug 1542830: Part 3 - Add ntdll_freestanding.lib to freestanding; r=mhowell,froydnj
The `freestanding` library is built with specific compiler flags to signify
that it is indeed freestanding code. That is, it does not depend on a
standard library.

One of the requirements of freestanding code is that the toolchain still
expects implementations of `memcpy`, `memmove`, `memcmp`, and `memset`.

I did briefly implement my own naive versions of these functions, but that
solution is less than ideal since the implementations must be `extern` and are
thus picked up by the entire `firefox.exe` binary. This denies the rest of
`firefox.exe` the benefit of optimized implementations. On Windows, the
sandbox is linked into `firefox.exe`, so we cannot just shrug and
assume that naive implementations will not have any effect on anything.

There are, however, optimized implementations of these functions that are
exported by `ntdll.dll`. They are not included in the `ntdll.lib` that is
included in the Windows SDK. Using `llvm-dlltool`, we can build an import
library containing the missing entries and then add that library to `OS_LIBS`.

Differential Revision: https://phabricator.services.mozilla.com/D43157
2019-09-20 16:59:57 +00:00
Andreea Pavel e65811ff32 Backed out 8 changesets (bug 1542830) for gecko decision failure on a CLOSED TREE
DONTBUILD

Backed out changeset 4f72161be496 (bug 1542830)
Backed out changeset 7ee12138946d (bug 1542830)
Backed out changeset 9e90ee4981c6 (bug 1542830)
Backed out changeset 363039c98534 (bug 1542830)
Backed out changeset 70ffff30551a (bug 1542830)
Backed out changeset c25b7bf354d9 (bug 1542830)
Backed out changeset d156dc595b69 (bug 1542830)
Backed out changeset 9f5dbd1b2959 (bug 1542830)
2019-09-20 19:49:27 +03:00
Aaron Klotz 7fdd133836 Bug 1542830: Part 3 - Add ntdll_freestanding.lib to freestanding; r=mhowell,froydnj
The `freestanding` library is built with specific compiler flags to signify
that it is indeed freestanding code. That is, it does not depend on a
standard library.

One of the requirements of freestanding code is that the toolchain still
expects implementations of `memcpy`, `memmove`, `memcmp`, and `memset`.

I did briefly implement my own naive versions of these functions, but that
solution is less than ideal since the implementations must be `extern` and are
thus picked up by the entire `firefox.exe` binary. This denies the rest of
`firefox.exe` the benefit of optimized implementations. On Windows, the
sandbox is linked into `firefox.exe`, so we cannot just shrug and
assume that naive implementations will not have any effect on anything.

There are, however, optimized implementations of these functions that are
exported by `ntdll.dll`. They are not included in the `ntdll.lib` that is
included in the Windows SDK. Using `llvm-dlltool`, we can build an import
library containing the missing entries and then add that library to `OS_LIBS`.

Differential Revision: https://phabricator.services.mozilla.com/D43157
2019-09-20 00:09:39 +00:00
Mike Hommey 823ae6c716 Bug 1579471 - Remove the in-tree .cargo/config. r=mshal
It was added in bug 1575760 and turns out to be causing a lot more
problems than anticipated.

However, the previous status quo is also not ideal, so we do
auto-generate .cargo/config.in instead, with a little trick that allows
to just copy it to .cargo/config instead of how individual scripts would
previously manually preprocess it.

Differential Revision: https://phabricator.services.mozilla.com/D46138
2019-09-20 00:47:22 +00:00
Nicholas Nethercote 339d055663 Bug 1579775 - Extend testing of #filter slashslash. r=glandium
Depends on D45152

Differential Revision: https://phabricator.services.mozilla.com/D45153
2019-09-18 02:44:32 +00:00
Nicholas Nethercote 8043a8acd3 Bug 1579775 - Improve some comments in preprocessor.py. r=glandium
In particular, there was some weird use of blank lines.

Differential Revision: https://phabricator.services.mozilla.com/D45152
2019-09-18 02:43:48 +00:00
Erica Wright 45ae3c4760 Bug 1581428 - Show tooltips for links in Protection Report. r=fluent-reviewers,johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D46215
2019-09-18 21:39:43 +00:00
Andrew Halberstadt e60a0d21ac Bug 1579455 - [mozbuild] Create distinct 'init' virtualenvs for Python 2 vs 3 r=nalexander,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D45419
2019-09-18 17:13:47 +00:00
Andrew Halberstadt f4e8390f35 Bug 1579455 - [mozbuild] Fix output issues with Python 3 in virtualenv.py r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D45418
2019-09-16 16:52:55 +00:00
Zibi Braniecki 040635ddea Bug 1581185 - Migrate pageActionContextMenu in browser.xhtml to Fluent. r=fluent-reviewers,bgrins,flod
Differential Revision: https://phabricator.services.mozilla.com/D45881
2019-09-18 16:53:54 +00:00
Zibi Braniecki 517f9988a1 Bug 1581185 - Fix relative paths in migration script generation. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D45880
2019-09-18 16:55:02 +00:00
Andreea Pavel 2d8f061258 Backed out 2 changesets (bug 1581185) for linting failure at xul.py on a CLOSED TREE
Backed out changeset 86f77b5cc705 (bug 1581185)
Backed out changeset 5bb71874a9f3 (bug 1581185)
2019-09-18 19:43:45 +03:00
Zibi Braniecki 586aab69e1 Bug 1581185 - Migrate pageActionContextMenu in browser.xhtml to Fluent. r=fluent-reviewers,bgrins,flod
Differential Revision: https://phabricator.services.mozilla.com/D45881
2019-09-18 16:25:27 +00:00
Zibi Braniecki 9298ab42fe Bug 1581185 - Fix relative paths in migration script generation. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D45880
2019-09-18 16:25:17 +00:00