Commit Graph
5290 Commits
Author SHA1 Message Date
Edouard Oger fddfd3485f Bug 1588793 - Load Sync Now string at startup. r=flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D49296
2019-10-15 17:17:52 +00:00
Dorel Luca 91de557f00 Backed out changeset 7f353853da83 (bug 1588793) as requsted by the dev. CLOSED TREE 2019-10-15 18:43:25 +03:00
Edouard Oger 838f8d43c9 Bug 1588793 - Load Sync Now string at startup. r=flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D49296
2019-10-15 15:26:24 +00:00
Andi-Bogdan Postelnicu e2703d1876 Bug 1584468 - for review-time static analysis try to match files from the obj directory to files from the repo. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D48702
2019-10-15 11:36:12 +00:00
Ms2ger 20970b00a0 Bug 1194860 - Remove dom/imptests; r=jgraham
This leaves the testharness files, because they are used in various mochitests.

Differential Revision: https://phabricator.services.mozilla.com/D49132
2019-10-15 08:22:15 +00:00
shindli 81c0b5c13b Backed out changeset 8fb923925923 (bug 1194860) for causing perma mda3 failures in dom/media/webaudio/test/test_convolverNodeChannelInterpretationChanges.html CLOSED TREE 2019-10-14 19:27:08 +03:00
Ms2ger a4ba3dc799 Bug 1194860 - Remove dom/imptests; r=jgraham
This leaves the testharness files, because they are used in mochitest-chrome
tests in dom/animation/test.

Differential Revision: https://phabricator.services.mozilla.com/D49132
2019-10-14 15:13:32 +00:00
shindli fb392b69ff Backed out changeset 73cbc0f61053 (bug 1194860) for causing lint failure in /builds/worker/checkouts/gecko/dom/imptests/testharness.js CLOSED TREE 2019-10-14 16:43:11 +03:00
Ms2ger 7ae91ed1f7 Bug 1194860 - Remove dom/imptests; r=jgraham
This leaves the testharness files, because they are used in mochitest-chrome
tests in dom/animation/test.

Differential Revision: https://phabricator.services.mozilla.com/D49132
2019-10-14 12:59:10 +00:00
Kenny Levinsen 11890702b9 Bug 1583582 - Mach should not depend on fields in /etc/os-release. r=kvark
Some fields of /etc/os-release are optional, so do not throw KeyError's when they're missing.

Differential Revision: https://phabricator.services.mozilla.com/D48984
2019-10-11 19:27:14 +00:00
Edouard Oger e83405078d Bug 1549049 - Unify Sync Now buttons logic. r=markh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D48410
2019-10-11 17:06:57 +00:00
Andrew Halberstadt 9945a3a92e Bug 1587206 - [lint.flake8] Enable E117 across the tree, r=sylvestre
Prevents over-indentation.

Depends on D48611

Differential Revision: https://phabricator.services.mozilla.com/D48612
2019-10-10 18:51:45 +00:00
Andrew Halberstadt 5f18b3ecd9 Bug 1587206 - [lint.flake8] Enable F811 across the tree, r=sylvestre
This prevents redefinition of unused variables.

Depends on D48610

Differential Revision: https://phabricator.services.mozilla.com/D48611
2019-10-10 18:51:20 +00:00
Andrew Halberstadt 92b0c03ba9 Bug 1587206 - [lint.flake8] Enable F632 across the tree, r=sylvestre
This ensures we use ==/!= to strings and ints (instead of is/is not).

Differential Revision: https://phabricator.services.mozilla.com/D48609
2019-10-10 18:50:33 +00:00
Andreea Pavel fc6a865f03 Backed out changeset 4695136f7e82 (bug 1549049) for assertion failures at ErrorResult.h on a CLOSED TREE 2019-10-11 00:53:42 +03:00
Edouard Oger 8cc6f44e0d Bug 1549049 - Unify Sync Now buttons logic. r=markh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D48410
2019-10-10 21:08:01 +00:00
Brendan Dahl 45063c4e17 Bug 1510785 - Support disabling XBL related tests. r=gbrown
Adds a way for mochitest, reftest, and crashtests to skip XBL related
tests when XBL is disabled. Also, add an app constant so JS can
check whether XBL is enabled.

Depends on D45614

Differential Revision: https://phabricator.services.mozilla.com/D45615
2019-10-08 23:52:33 +00:00
Mike Shal cbaf10a483 Bug 1581279 - Fix ./mach clobber --full for Python3; r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D48615
2019-10-08 22:49:07 +00:00
Mark Banner 8e90da4d67 Bug 1563026 - Migrate search one-offs xul fragment to use fluent. r=fluent-reviewers,mak,flod
Differential Revision: https://phabricator.services.mozilla.com/D47078
2019-10-08 10:05:54 +00:00
Bastien Abadie 67bd756048 Bug 1584452 - Remove $SRCDIR prefix in chrome map generation, r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D48069
2019-10-07 08:04:47 +00:00
Geoff Lankow 5618b00b80 Bug 1585828 - Replace is_firefox_or_android condition with has_build condition on mach run/mach install r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D47992
2019-10-04 13:20:07 +00:00
Nick Alexander 997b7d1148 Bug 1580356 - Remove Fennec (Firefox for Android). r=snorp,mshal
This does many things:

1) stops producing (and consuming) `FennecJNI*` JNI wrappers
2) removes the :app and :thirdparty Gradle projects
3) removes relevant pieces of the Gradle target configuration
4) updates lints
5) purges old configurations

After this commit, the `mobile/android` project/application builds
only GeckoView.

Differential Revision: https://phabricator.services.mozilla.com/D46536
2019-10-04 20:55:11 +00:00
Anmol Agarwal 542e3c2852 Bug 1433941 - Passed remainder arguments as it is |mach python-test| r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D47832
2019-10-04 18:32:37 +00:00
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