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

3816 Коммитов

Автор SHA1 Сообщение Дата
Zibi Braniecki 0c9f420314 Bug 1438375 - Refactor "extensionControlled" Preferences code to use Fluent. r=flod,Gijs
MozReview-Commit-ID: 9XJxyuMUCHV

--HG--
extra : rebase_source : 52cf0be82075f7bf12c3aec19df8fc46804ba12a
2018-04-17 15:31:50 -07:00
Myk Melez 07946d0eeb Bug 1323557 - preserve vendored crates when re-vendoring; r=ted.mielczarek
`mach vendor rust` currently removes third_party/rust before `cargo update`,
which prevents modifying vendored crates for local testing and try pushes.
It's also unnecessary.  So this patch removes the code that removes the dir.

MozReview-Commit-ID: IE0FZ3of8Py

--HG--
extra : rebase_source : 5236e2decd95f4c83b34430d5423b80e84acdf07
2018-04-20 11:53:10 -07:00
Brindusan Cristian 59f801793b Merge inbound to mozilla-central. a=merge 2018-04-25 00:50:59 +03:00
Chris Manchester ac074614a7 Backed out rust 1.25 in mach bootstrap (bug 1450077)
MozReview-Commit-ID: 6TXbyDvWGEP
2018-04-24 12:07:50 -07:00
Joel Maher b6b767f893 Bug 1425929 - test-verify jobs should pick a virtualization appropriate to the test. r=gbrown 2018-04-24 10:20:19 -04:00
Justin Wood d289c494d6 Bug 1455100 - Make devedition its own language pack addon id, by using MOZ_LANGPACK_EID again. r=nalexander,Pike
MozReview-Commit-ID: z1SJmCQflq

--HG--
extra : rebase_source : 4d5b6941f907e0e062a7f4466a246696290823fe
2018-04-19 14:48:11 -04:00
Justin Wood 335012b188 Bug 1453274 - Support esr version strings. r=rail
MozReview-Commit-ID: K7khNCzOwQK

--HG--
extra : rebase_source : 33225a5ecb879705327af505920d4db040a91d7b
2018-04-23 14:14:04 -04:00
Justin Wood 9e151c936d Bug 1453274 - Add testing for python/mozrelease/versions.py r=rail
for: taskgraph: Make update tasks support esr60

MozReview-Commit-ID: GUmAq3sBXGB

--HG--
extra : rebase_source : 0eaeb17809fede07f6b9fc4ee5d856d0078f83be
2018-04-23 12:40:26 -04:00
Sylvestre Ledru aefcd1c84b Bug 1448934 - Fix some spelling mistakes in locales/en-US r=flod
MozReview-Commit-ID: vGVudVgB31

--HG--
extra : rebase_source : cdc39375a3485a3133878c4dbbffe60c0b26e917
2018-04-24 10:26:35 +02:00
Dorel Luca 3409e8f9fb Merge mozilla-central to autoland
--HG--
rename : testing/mochitest/tests/SimpleTest/SpawnTask.js => testing/mochitest/tests/SimpleTest/AddTask.js
rename : testing/mozharness/mozharness/mozilla/testing/verify_tools.py => testing/mozharness/mozharness/mozilla/testing/per_test_base.py
extra : rebase_source : 6f474049dab2c2979e13ea87114b82d2b04715d0
2018-04-21 02:03:27 +03:00
Dorel Luca 65669dae30 Merge mozilla-inbound to mozilla-central. a=merge 2018-04-21 02:00:04 +03:00
Gregory Szorc b78a4e45de Bug 1446019 - Improve error message for LOCAL_INCLUDES pointing to topobjdir; r=froydnj
The old message is ambiguous as to why it failed. The new one tells
you why and hopefully gives you enough info to fix it.

MozReview-Commit-ID: 9cBpYLpCFmt

--HG--
extra : rebase_source : cf0899e8c5f5330d31c645cba27d1bd3fb19e814
2018-03-15 09:43:35 -07:00
Johann Hofmann a2ae3f4c19 Bug 1442542 - Make checkboxes in the clear site data dialog use a label attribute. r=dao,flod
MozReview-Commit-ID: 9yj90NirV9y

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

MozReview-Commit-ID: FQecuePM0zZ

--HG--
extra : rebase_source : 58eaa7324775cfaa39077871be0be0ef39ad7c11
2018-04-06 10:23:49 -04:00
Gregory Szorc 15ac1ad656 Bug 1451065 - Attempt to install Python 3 on Debian distros; r=mshal
Not all distros will have a "python3" package. But the modern ones
should.

Because many people install Python via other means, we only install
the system packages if a Python 3 executable can't be found.

MozReview-Commit-ID: 2ni7Ha92cRD

--HG--
extra : rebase_source : 681085855f785b4857ac1b569c2b0dc4ffb68cad
2018-04-03 10:57:07 -07:00
Gregory Szorc 8b3a5e4dd1 Bug 1451065 - Install Python 3 on Arch; r=mshal
MozReview-Commit-ID: Gg7gn72Xev9

--HG--
extra : rebase_source : c61fca33e29721b6a6f7c1281186f6935da193b7
2018-04-03 10:46:47 -07:00
Mike Hommey fd130aa298 Bug 1455065 - Shell quote environment variable values when dumping them in dump_env.py. r=mshal
The mozconfig output parsing code already handles shell quoted strings
to some extent (except for bug 818377), because that's what `set`
outputs. By quoting environment variable values, we avoid a bunch of
problems with "weird" values.

--HG--
extra : rebase_source : 7a45b99c3fee807da395fc42352296b000b7535f
2018-04-19 07:26:28 +09:00
Chris Manchester df340972e4 Bug 1449965 - Output directories during the build as we compile object files. r=ted
MozReview-Commit-ID: K4RrObGHXIC

--HG--
extra : rebase_source : 09e66caa36cd6bac1d5ac4bbf300ab4ee93fce27
2018-04-19 00:16:57 -07:00
Mike Shal b3030acebe Bug 1454825 - Tup backend: Handle dependent GENERATED_FILES better; r=chmanchester
Work around the fact that tup is bad at handling out-of-order rules by
delaying them based on what outputs we've already seen in rule().

MozReview-Commit-ID: G2tyeQr7MTh

--HG--
extra : rebase_source : d854b8b1633243177e03698c12271b11e06b0963
2018-04-17 19:52:39 -04:00
Zibi Braniecki d177238158 Bug 1453540 - Migrate the remaining DTD entries to FTL. r=flod,Gijs
MozReview-Commit-ID: Aw0a14zPRWk

--HG--
extra : rebase_source : 44548d957d0ee5b50887648188ff206514011f41
2018-04-17 13:17:22 -07:00
Mike Shal eb518d8912 Bug 1454826 - Tup backend: Use PYTHONDONTWRITEBYTECODE=1 instead of -B; r=froydnj
MozReview-Commit-ID: GJiqcfe2819

--HG--
extra : rebase_source : ac28c8bbc4c86f2a7242b51295c74eeedd71bd00
2018-04-17 19:51:56 -04:00
Mike Shal d744090885 Bug 1454811 - Update Tup backend due to chages in bug 1444745; r=chmanchester
The xpidl-process.py invocation now takes a --bindings-conf parameter,
and the final generated .cpp file uses a new python script and was
moved from xpcom/typelib/xpt/XPTInfo.cpp to
xptcom/reflect/xptinfo/xptdata.cpp

MozReview-Commit-ID: C3vK3VzgG6Q

--HG--
extra : rebase_source : d4a6b87a9fdde76d60aaf3876e8200e551ec958b
2018-04-18 08:52:41 -04:00
Chris Manchester 3722bcaf82 Bug 1453426 - Kill invoked process on keyboard interrupt in mach build. r=mshal
MozReview-Commit-ID: IdnVrK6Gqtk

--HG--
extra : rebase_source : 2599a6c236b2c624d74f399ff3b5af3e7a574dc8
2018-04-17 15:30:27 -07:00
Nika Layzell be8b24333a Bug 1444991 - Part 1: Read webidl's Bindings.conf, and pass it into xpidl, r=mccr8
This information is read in order to handle correctly selecting the native
type and header files for WebIDL types.
2018-04-17 19:20:58 -04:00
Nika Layzell 95b7d44e5d Bug 1444745 - Part 3: Replace the XPT file format with a JSON based one, r=mccr8
This patch adds a python script based on the old typelib.py script which takes
in a parsed XPIDL file, and generates a json-based XPT file to use as a build
intermediate. I did my best to keep the generated format simple.
2018-04-17 19:20:53 -04:00
Zibi Braniecki d0d244a954 Bug 1453800 - Move the container removal dialog strings to preferences.ftl. r=flod
MozReview-Commit-ID: JAAfviRvbJb

--HG--
extra : rebase_source : b47ca189151543abebec60b2550a2e18277deb9b
2018-04-12 14:17:28 -07:00
Zibi Braniecki 2dc52ab911 Bug 1453480 - Migrate Fluent resources to use DOM Overlays v2. r=flod
MozReview-Commit-ID: IsaYQFyPAxd

--HG--
extra : source : 46a634d6853c680bbee9d2be12bab971058ba281
2018-04-11 16:09:31 -07:00
Coroiu Cristina 7e1be34a07 Backed out 4 changesets (bug 1453480) for failing browser-chrome at browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_site_data.js on a CLOSED TREE
Backed out changeset 623b37fe0fe8 (bug 1453480)
Backed out changeset a3c36fa7ac0c (bug 1453480)
Backed out changeset 46a634d6853c (bug 1453480)
Backed out changeset 658fedb903d0 (bug 1453480)
2018-04-13 19:49:14 +03:00
Zibi Braniecki fbc7e77db2 Bug 1453480 - Migrate Fluent resources to use DOM Overlays v2. r=flod
MozReview-Commit-ID: IsaYQFyPAxd

--HG--
extra : rebase_source : 1ceb33dde40fa15a2405b39addf835c70177cfc6
2018-04-11 16:09:31 -07:00
Coroiu Cristina 5061cec60a Backed out 3 changesets (bug 1453480, bug 1453878) for c2 failures at intl/l10n/test/dom/test_domloc_overlay.htm and browser-chrome failures at browser/components/preferences/in-content/tests/browser_fluent.js on a CLOSED TREE
Backed out changeset 8dd86546cc66 (bug 1453878)
Backed out changeset 6b5e7c13eb8c (bug 1453480)
Backed out changeset 385de3e4dca0 (bug 1453480)
2018-04-13 08:51:13 +03:00
Zibi Braniecki fc0ea828d6 Bug 1453480 - Migrate Fluent resources to use DOM Overlays v2. r=flod
MozReview-Commit-ID: IsaYQFyPAxd

--HG--
extra : rebase_source : 41600ee7277cbe0559cf8c96b18a0f286d06e7f8
2018-04-11 16:09:31 -07:00
Zibi Braniecki d06d126e5d Bug 1451992 - Migrate Preferences::Subdialogs::Translation to Fluent. r=gijs,stas
MozReview-Commit-ID: JfBdle6i5wL

--HG--
extra : amend_source : 79e96b14339550e5dd6cbe72f98efa7be28326c0
2018-04-05 22:55:44 +02:00
Zibi Braniecki 6b595c6539 Bug 1451992 - Migrate Preferences::Subdialogs::SiteData to Fluent. r=jaws,flod
MozReview-Commit-ID: KzEP0iCfzGf

--HG--
extra : amend_source : 15bca3b8ca44950e1284427726e037a22fbfc7e5
2018-04-05 22:37:59 +02:00
Zibi Braniecki 2021285e2a Bug 1451992 - Migrate Preferences::Subdialogs::SelectBookmark to Fluent. r=gijs,flod
MozReview-Commit-ID: BR74Gq4ULUD

--HG--
extra : amend_source : 29b46dd465a0d4ecb1a2f8ae367df1b267fe9a4e
2018-04-05 22:16:34 +02:00
Zibi Braniecki e6a8910e64 Bug 1451992 - Migrate Preferences::Subdialogs::Permissions to Fluent. r=gijs,gandalf
MozReview-Commit-ID: 12JINAX1Ttd
2018-04-05 22:09:13 +02:00
Zibi Braniecki 5f8d6040ce Bug 1451992 - Migrate Preferences::Subdialogs::Languages to Fluent. r=gijs,flod
MozReview-Commit-ID: 96C1P3ZbJeH

--HG--
extra : amend_source : fbc969a6a5862f461bb4612c02030a0d50d8dab9
2018-04-05 21:43:11 +02:00
Zibi Braniecki 1f13efaede Bug 1451992 - Migrate Preferences::Subdialogs::Fonts to Fluent. r=jaws,stas
MozReview-Commit-ID: LwNCJJIVobl

--HG--
extra : amend_source : 146982d0b918463c3bd6eea7f9a18a8f2e9be3e2
2018-04-05 21:28:32 +02:00
Zibi Braniecki ec51e6c910 Bug 1451992 - Migrate Preferences::Subdialogs::Connection to Fluent. r=gijs,gandalf
MozReview-Commit-ID: 6N4dE8V37l
2018-04-05 14:14:51 +02:00
Zibi Braniecki bf66c39e72 Bug 1451992 - Migrate Preferences::Subdialogs::Colors to Fluent. r=gijs,gandalf
MozReview-Commit-ID: KlA7gS9D2W5
2018-04-05 03:17:01 +02:00
Zibi Braniecki 276dbeb028 Bug 1451992 - Migrate Preferences::Subdialogs::ClearSiteData to Fluent. r=jaws,flod
MozReview-Commit-ID: 4geJkI3OACq

--HG--
extra : amend_source : 9b31ed04f736fc03517245af0ad60c7c2f845787
2018-04-05 02:39:59 +02:00
Zibi Braniecki 529d7466ef Bug 1451992 - Migrate Preferences::Subdialogs::Blocklists to Fluent. r=gijs,flod
MozReview-Commit-ID: IXacqfUnZ2q

--HG--
extra : amend_source : dfa7ab6d368a5b5564c48a2013ad40d7869fc607
2018-04-03 04:29:25 +02:00
Zibi Braniecki b423327766 Bug 1451992 - Migrate Preferences::Subdialogs::ApplicationManager to Fluent. r=jaws,flod
MozReview-Commit-ID: JZmQtwimYsO

--HG--
extra : amend_source : 07b544b7009b7e0237a51872c42531a6a891e775
2018-03-27 01:52:09 +02:00
arthur.iakab bbca7c7700 Merge mozilla-central to inbound 2018-04-11 01:17:20 +03:00
Nika Layzell 4d3a49a4fb Bug 1445668 - Don't hide includes when -showIncludes is explicitly passed to cl.exe, r=gps 2018-04-10 17:49:51 -04:00
Dave Hunt 4d1d1447df Bug 1447057 - Document policies for using third-party Python packages; r=gps
MozReview-Commit-ID: 8eJt84pEKlv

--HG--
extra : rebase_source : 88ff3693be50954f28bb9e5a46f412e8dd2432ff
2018-03-19 17:53:33 +00:00
Chris Manchester b53e658206 Bug 1451521 - Generate built_in_addons.json in the Tup backend. r=mshal
MozReview-Commit-ID: LdYtRMopfJM

--HG--
extra : rebase_source : 24db64ad56a928ea28408c92434c8966dfc9a3dd
2018-04-06 14:38:05 -07:00
Chris Manchester beec30d4f3 Bug 1451529 - Install shared libs in the Tup backend. r=mshal
MozReview-Commit-ID: Jn9Uk5XmFxJ

--HG--
extra : rebase_source : 3a23b7e8530c6215614dccfb12e0b2cc799d63f4
2018-04-04 15:28:39 -07:00
Andrew Halberstadt 84797ec831 Bug 1373368 - [mozlint] Lint whole tree if using --workdir/--outgoing and support-file was modified, r=standard8
Previously, using --workdir or --outgoing could miss errors when modifying a
support file since those could affect unmodified files.

This patch allows linters to define support-files in their .yml configuration.
If using --outgoing or --workdir and a file matching one of those patterns was
modified, we'll lint the entire tree.

MozReview-Commit-ID: CuGLYwQwiWr

--HG--
extra : rebase_source : 00d4107c41404f5e6ab05e0106d5cd377e25652f
2018-02-16 17:46:04 -05:00
Andrew Halberstadt e04895a098 Bug 1373368 - [mozlint] Raise if a non-existant path is specified in a lint config, r=standard8
Since I left the next two patches to bitrot, I realized that a path I had added
didn't exist anymore. We should definitely error out if non-existant paths are
specified, otherwise the lists will become outdated and it will be possible to
accidentally disable linting on some files.

I discovered a few instances of this already in our existing definitions.

MozReview-Commit-ID: 8jsTKLI0nFE

--HG--
extra : rebase_source : acceb0b129fc472fb456ff527e4c8c52228edd59
2018-03-29 14:50:17 -04:00
David Teller abfa5517f9 Bug 1437004 - Introducing BinSource parser generator;r=froydnj,jorendorff
This crate contains a parser generator as a Rust crate. The parser generator is used to generate
BinSource-auto.h, BinSource-auto.cpp, BinToken.h. As of this changeset, to limit yak shaving,
the parser generator is not part of the build system. Making it part of the build system
is delegated to bug 1439645.

MozReview-Commit-ID: 1lODDSIsz8W

--HG--
extra : rebase_source : 2b09675167c12e33f5951ea00dc6df54dad11832
2018-04-05 15:21:17 +02:00
Andrew Halberstadt 960a002f77 Bug 1451501 - Fix error trying to run python-tests via |mach test|, r=gps,whimboo
MozReview-Commit-ID: LNedxcqQ1NC

--HG--
extra : rebase_source : cc005ab40e55955d74bbe2432e19ad5b6fef0038
2018-04-04 17:30:22 -04:00
Zibi Braniecki c87312a040 Bug 1445694 - Migrate the "Sync" section of Preferences to the new Localization API. r=flod,markh,stas
MozReview-Commit-ID: EeLV9dJ5cc5

--HG--
extra : rebase_source : 47aeef38b554d4bb42a678bf196d8873baae34c2
2018-03-14 12:21:14 -07:00
Mike Shal e44a8cb1da Bug 1450877 - Update tup backend to support new XPIDL model; r=chmanchester
We no longer build .xpts in dist/bin/components and list them in an
interfaces file. Instead, they are build as intermediate files, and a
new XPTInfo.cpp is generated from *.xpt.

MozReview-Commit-ID: J05oYFK3adc

--HG--
extra : rebase_source : ad2bebfcb7877430b78441af1f41aac30c1607a9
2018-04-03 11:30:11 -04:00
Chris AtLee f6faa1ea52 Bug 1442330: Remove android old-id builds r=jlorenzo
MozReview-Commit-ID: 9o3iXM5oHQM

--HG--
extra : rebase_source : c851970eb629285ee741dec0c177e4a0d9c674e0
2018-03-29 17:19:33 -04:00
Andrew McCreight e80864c94c Bug 1438688, part 3 - Remove XPT files from the packaging process. r=glandium
Now that XPT files are not loaded from files at runtime, code for
packaging XPT files can be removed.

This means that a couple of test XPIDL interfaces will get shipped in
builds to users that weren't before, but I don't think that matters
much.

This also puts XPT files into the local objdir for the XPIDL makefile,
instead of dist/bin, because they are no longer part of the
distribution.

MozReview-Commit-ID: 7gWj8KWUun3

--HG--
extra : rebase_source : 65bac47c2cd1a20b3c675a01b44a25a1d2d3ab7a
2018-03-05 14:27:29 -08:00
Jeff Gilbert afd77f7fd5 Bug 1444274 - Require GCC 6.1+. - r=glandium
MozReview-Commit-ID: 7alNSIhhbLI
2018-04-02 17:05:43 -07:00
Chris Manchester d27e8e527c Bug 1450077 - Download rust 1.25 in mach bootstrap. r=mshal
MozReview-Commit-ID: IrU4Pzn9Iz

--HG--
extra : rebase_source : ddd68550303569a70d983e3c4922213733148fd4
2018-03-30 10:16:09 -07:00
Francesco Lodolo (:flod) fd5218c9fa Bug 1450693 - Fix migration for containers-window-update in containers.ftl r=gandalf
MozReview-Commit-ID: L40niDNlG7D

--HG--
extra : rebase_source : 4e6d8c54eef5f341bf01c24ce3717a36f6708147
2018-04-02 18:31:51 +02:00
Zibi Braniecki 0b78e57817 Bug 1446180 - Migrate the "Privacy" section of Preferences to the new Localization API. r=flod,jaws
MozReview-Commit-ID: 2Hp6ZNry6dK

--HG--
extra : rebase_source : 6955908cc444fa47e9efad7c97cefb6fcff17b25
2018-03-15 14:57:55 -07:00
Jeff Gilbert d4045513ea Bug 1428214 - Prune unnecessary packages from mozboot bootstrappers. - r=gps
MozReview-Commit-ID: GwNfUFFwkBQ

--HG--
extra : rebase_source : d6a464d6591de3a171984882b2729b18a33092a4
2018-01-04 15:51:45 -08:00
Justin Wood 4540d3a335 Bug 1441359 - Make langpack version include buildid. r=mshal
For Automated submission to AMO we need unique language pack versions for every submitted build.

This will produce versions that are not valid for AMO on nightly (61.0a1buildid2018...) but that's ok, we're not ready to
submit these automatically on the nightly channel yet, they do still install fine into Firefox manually.

On beta/release/esr the version will however be ok for AMO "60.0buildid2018..." and will be reasonably unique per push.

This patch has the intent that, outside of automation, users who don't set a buildid get a langpack version without that
specified (rather than a buildid being automatically generated for them).

The releng scriptworker (addonscript) that will do the publishing to AMO will additionally sanity check that the string
'buildid' is present in the version part, so we don't accidentally break this functionality in production.

This patch is also intended to be uplifted to Gecko 60 to support ESR60 needs.

MozReview-Commit-ID: KuvwMyD6bwd

--HG--
extra : rebase_source : 04ecd87a15d5640f510b1f6123ba9467ccc4592a
2018-03-29 14:10:47 -04:00
Mike Shal 379ad678f3 Bug 1449623 - Export MOZ_BUILD_DATE for buildid.h; r=chmanchester
MozReview-Commit-ID: HnlTcIKQwJC

--HG--
extra : rebase_source : 912a6dd3d2cf5e4761c4ae602e2d952a4e79c36f
2018-03-28 14:30:02 -04:00
Mike Shal 40c491ba27 Bug 1449623 - Rework exports in the tup backend; r=chmanchester
In some cases we need to export other environment variables, so make it
easier to track them.

MozReview-Commit-ID: 82OOlRTdhH0

--HG--
extra : rebase_source : 1256098d1bdae9ab13bfe5a149ee33d509ead3f4
2018-03-27 17:26:56 -04:00
Chris Manchester dce6a4a7b6 Bug 1382982 - Accept artifacts from autoland when performing an artifact build in automation. r=nalexander
MozReview-Commit-ID: cVd8GqSuAn

--HG--
extra : rebase_source : d9530d1a25a9956c422021226a062f232b240b80
2018-03-28 11:22:34 -07:00
Geoff Lankow 29234a8525 Bug 1444219 - Remove unnecessary call to MozbuildObject.from_environment r=froydnj
MozReview-Commit-ID: 4KP2H9HVQbG

--HG--
extra : rebase_source : b2a7a8b8c382ad00487081c3ec99b7dc095283ba
2018-03-11 21:55:45 +13:00
Chris Manchester d4fc213fdc Bug 1419892 - Link programs and libraries in the tup backend. r=mshal
MozReview-Commit-ID: 26Yb0QdCn5H

--HG--
extra : rebase_source : 830253545964b14780fe5330fd33f1bd050a89ee
2018-03-26 15:29:51 -07:00
Andi-Bogdan Postelnicu 62c9697c80 Bug 1447817 - correlate mach static-analysis documentation with configuration file. r=sylvestre
MozReview-Commit-ID: FB296IBeKOk

--HG--
extra : rebase_source : 625ddccd273739c87fd47fac068f8c56f188b4d0
2018-03-24 13:01:04 +02:00
Chris Manchester fcf16fe1e7 Bug 1445398 - Do not re-generate buildid.h for every Tup build. r=mshal
MozReview-Commit-ID: ErkTDOU8lYH

--HG--
extra : rebase_source : 085b0cb43b625fbb2691aa6bc788b62549927a02
2018-03-22 16:03:12 -07:00
Noemi Erli b32b2756aa Merge inbound to mozilla-central. a=merge 2018-03-23 00:53:07 +02:00
Francesco Lodolo (:flod) 688142f207 Bug 1448068 - Update Fluent migrations in mozilla-central to run against gecko-strings r=Pike
Also remove temporary string from preferences.ftl (search-input). This was added
to avoid removing the string when running migrations against mozilla-central

MozReview-Commit-ID: IDgTNoANPyV

--HG--
extra : rebase_source : a2fe06f2214dfb6189351cd9a0eef4e41869b639
2018-03-22 19:00:40 +01:00
David Major a96f691565 Bug 1447728 Part 1: Add CC_TYPE to mozinfo. r=ted 2018-03-22 11:40:00 -04:00
David Major 9b78fd3f22 Bug 1447750 - Point MACH_ERROR's URL at the new Bugzilla component r=nalexander 2018-03-21 11:09:00 +02:00
arthur.iakab 11989aa12a Merge mozilla-central to autoland 2018-03-22 02:00:17 +02:00
arthur.iakab 24af737f4c Merge inbound to mozilla-central. a=merge 2018-03-22 01:46:39 +02:00
arthur.iakab 5e8092339a Merge mozilla-central to inbound
--HG--
rename : browser/base/content/test/general/bug364677-data.xml => browser/components/feeds/test/bug364677-data.xml
rename : browser/base/content/test/general/bug364677-data.xml^headers^ => browser/components/feeds/test/bug364677-data.xml^headers^
rename : browser/base/content/test/general/test_bug364677.html => browser/components/feeds/test/test_bug364677.html
rename : services/sync/tps/extensions/tps/bootstrap.js => services/sync/tps/extensions/tps/components/tps-cmdline.js
rename : testing/talos/talos/pageloader/bootstrap.js => testing/talos/talos/pageloader/components/tp-cmdline.js
rename : testing/talos/talos/startup_test/sessionrestore/addon/bootstrap.js => testing/talos/talos/startup_test/sessionrestore/addon/SessionRestoreTalosTest.js
rename : testing/talos/talos/talos-powers/bootstrap.js => testing/talos/talos/talos-powers/components/TalosPowersService.js
rename : tools/quitter/bootstrap.js => tools/quitter/QuitterObserver.js
extra : rebase_source : 5801e95a945b54754f27571e7b211e1eac132d67
2018-03-21 22:27:21 +02:00
Zibi Braniecki 735a746866 Bug 1419547 - Migrate the "Containers" section of Preferences to the new Localization API. r=flod,Gijs
MozReview-Commit-ID: IA3GFardEHs

--HG--
extra : rebase_source : e052f13c44e58d9b1cb90c7bcc5e9bd795bfd43d
extra : intermediate-source : 48060f354ac1b9be5a1b6a24668c35c33d8faa86
extra : source : 606cc17a4e1110223f4e81ee2a84e8e4b7cfc1fe
2018-03-12 18:08:24 -07:00
Mike Shal c6aa9fc9af Bug 1447329 - fix preprocessor jar.mn entries in the tup backend; r=chmanchester
The source filename should only be used as the destination filename if
we don't have a target_basename entry for the file. For most cases
there is no difference, but in browser/components/places/jar.mn, the
same source file (bookmarkProperties.xul) is used to two different
destination files (bookmarkProperties.xul and bookmarkProperties2.xul).

MozReview-Commit-ID: LCwncq4wxtU

--HG--
extra : rebase_source : 0a86da0879d4e516013c664fbc0eb422d4be9efa
2018-03-19 20:20:24 -04:00
Nick Alexander 93c505b07a Bug 1443208 - Pre: Add force flag to GENERATED_FILES. r=ted.mielczarek
The forces on the system are such that I really need to be able to
FORCE a few RecursiveMake targets in order to make Android and Gradle
use GENERATED_FILES and LOCALIZED_GENERATED_FILES.  Over time, I hope
to avoid FORCE, but that time is not now.

MozReview-Commit-ID: 453FpnihSRK

--HG--
rename : python/mozbuild/mozbuild/test/backend/data/generated-files/foo-data => python/mozbuild/mozbuild/test/backend/data/generated-files-force/foo-data
rename : python/mozbuild/mozbuild/test/backend/data/generated-files/generate-bar.py => python/mozbuild/mozbuild/test/backend/data/generated-files-force/generate-bar.py
rename : python/mozbuild/mozbuild/test/backend/data/generated-files/generate-foo.py => python/mozbuild/mozbuild/test/backend/data/generated-files-force/generate-foo.py
rename : python/mozbuild/mozbuild/test/backend/data/generated-files/moz.build => python/mozbuild/mozbuild/test/backend/data/generated-files-force/moz.build
rename : python/mozbuild/mozbuild/test/backend/data/localized-generated-files/en-US/localized-input => python/mozbuild/mozbuild/test/backend/data/localized-generated-files-force/en-US/localized-input
rename : python/mozbuild/mozbuild/test/backend/data/localized-generated-files/foo-data => python/mozbuild/mozbuild/test/backend/data/localized-generated-files-force/foo-data
rename : python/mozbuild/mozbuild/test/backend/data/localized-generated-files/generate-foo.py => python/mozbuild/mozbuild/test/backend/data/localized-generated-files-force/generate-foo.py
rename : python/mozbuild/mozbuild/test/backend/data/localized-generated-files/moz.build => python/mozbuild/mozbuild/test/backend/data/localized-generated-files-force/moz.build
rename : python/mozbuild/mozbuild/test/backend/data/localized-generated-files/non-localized-input => python/mozbuild/mozbuild/test/backend/data/localized-generated-files-force/non-localized-input
rename : python/mozbuild/mozbuild/test/frontend/data/generated-files/moz.build => python/mozbuild/mozbuild/test/frontend/data/generated-files-force/moz.build
rename : python/mozbuild/mozbuild/test/frontend/data/localized-generated-files/moz.build => python/mozbuild/mozbuild/test/frontend/data/localized-generated-files-force/moz.build
extra : rebase_source : 6820ac4b377ac596cafbdf065112738376cc473e
2018-03-08 16:04:06 -08:00
Emilio Cobos Álvarez 24cf27d33c Bug 1447611: Remove --enable-stylo and --enable-stylo-build-bindgen. r=froydnj
Will remove the prefs and stuff in a followup.

MozReview-Commit-ID: HVyfbHOEQYI
2018-03-21 19:13:26 +01:00
Csoregi Natalia d6c6d38406 Backed out 4 changesets (bug 1447611) for mass failures due to --enable-stylo removal. CLOSED TREE
Backed out changeset c6193142bbcf (bug 1447611)
Backed out changeset 01ada1c5a95f (bug 1447611)
Backed out changeset 86c9fed44da2 (bug 1447611)
Backed out changeset bb84ac6e1468 (bug 1447611)
2018-03-21 19:01:07 +02:00
Emilio Cobos Álvarez 330ddd82bf Bug 1447611: Remove --enable-stylo and --enable-stylo-build-bindgen. r=froydnj
Will remove the prefs and stuff in a followup.

MozReview-Commit-ID: HVyfbHOEQYI
2018-03-21 17:24:41 +01:00
Tarek Ziadé 0081c14e07 Bug 1401879 - sort mach-commands output - r=gps
MozReview-Commit-ID: KgocEmTy4wR

--HG--
extra : rebase_source : 211c03cd533abd1325f6e671523fdd7b5ee8b824
2018-03-21 20:27:42 +01:00
Emilio Cobos Álvarez 48957d62c0 Bug 1446954: Cleanup !stylo and styloVsGecko test expectations. r=xidorn
MozReview-Commit-ID: J2glxiCWBVn
2018-03-20 11:29:51 +01:00
Ted Mielczarek e2218ff804 bug 1255485 - add some tests for building programs in dist/bin. r=nalexander
MozReview-Commit-ID: 94uOsInnWmT
2018-01-17 11:19:19 -05:00
Marco Zehe 2d82c3eb62 Bug 1447632 - Make sure that TLB files are included in Windows artifact builds, r=ted.mielczarek
MozReview-Commit-ID: 6hdEqaJvuZl

--HG--
extra : rebase_source : 80fd3d6fdb1dc3db5be8a0133bc64f5526592f2d
2018-03-21 14:17:50 -04:00
Chris Manchester 0a830e8691 Bug 1429875 - Implement OBJ_SUFFIX overriding for the profile generation phase on linux in mozbuild. r=glandium
MozReview-Commit-ID: 8PtgxfbxuE

--HG--
extra : rebase_source : fd8934ee2c70883e30a7b51d4b64944d3ce7e6ee
2018-03-20 16:44:12 -07:00
Chris Manchester de12a7992b Bug 1429875 - Remove expandlibs and instead generate list files in the mozbuild backend. r=glandium
MozReview-Commit-ID: 5eLwnh1HHGj

--HG--
extra : rebase_source : cd308adc4542be0f9b33b64d31a2d0dc0310fcd4
2018-03-20 16:31:05 -07:00
Chris Manchester 47f253d6f9 Bug 1429875 - Add a unit test for linkage variables in the make backend. r=glandium
MozReview-Commit-ID: HREobMhWTwg

--HG--
extra : rebase_source : a4d96b8a0b02790633ff65b320585334493e84ae
2018-03-20 16:31:05 -07:00
Chris Manchester 3f63e1bbdb Bug 1429875 - Add a "name" property to Library and Program objects that corresponds to the output basename. r=glandium
MozReview-Commit-ID: J4gt1fGUzOa

--HG--
extra : rebase_source : 94491f7e9d6f2afb44fcae9627f206292481405c
2018-03-20 16:31:05 -07:00
Ted Mielczarek dcdf597820 bug 1255485 - build PROGRAMs directly in dist/bin instead of copying them. r=nalexander
Historically we built all our binaries in directories in the objdir, then
symlinked them into dist/bin. Some binaries needed to be copied instead
so that certain relative path lookups work properly, so we resorted to
sprinkling `NSDISTMODE=copy` around Makefiles.

This change makes it so we build PROGRAMs (not any other sort of targets)
directly in dist/bin instead. We could do the same for our other targets
with a little more work.

There were several places in the tree that were copying built binaries to
some other place and needed fixup to match the new location of binaries.

On Windows pdb files are left in the objdir where the program was
originally linked. symbolstore.py needs to locate the pdb file both to
determine whether it should dump symbols for a binary and also to copy
the pdb file into the symbol package. We fix this by simply looking for
the pdb file in the current working directory if it isn't present next
to the binary, which matches how we invoke symbolstore.py.

MozReview-Commit-ID: 8TOD1uTXD5e
2018-01-10 14:26:12 -05:00
Andrew Halberstadt 35ace05949 Bug 1369711 - [mozlint] Make sure KeyboardInterrupts are handled well wherever they happen r=gps
There a few pieces needed here to properly handle KeyboardInterrupts.

1. All in-progress work needs to abort. Ideally the underlying linters will be
able to catch KeyboardInterrupt, and return partial results (like the flake8
linter does). Linters may alternatively allow the KeyboardInterrupt to
propagate up. Mozlint will catch and handle this appropriately, though any
results found will be lost. The only change to this behaviour was fixing a bug
in the flake8 linter.

2. Any unstarted jobs need to be canceled. In concurrent.futures, there are two
different queues. First, jobs are placed on the work queue, which is just a list
maintained by the parent process. As workers become available, jobs are moved
off the work queue, and onto the call queue (which is a multiprocessing.Queue).
Jobs that live on the work queue can be canceled with 'future.cancel()', whereas
jobs that live on the call queue cannot. The number of extra jobs that are stored
on the call queue is determined by this variable:
https://hg.mozilla.org/mozilla-central/file/deb7714a7bcd/third_party/python/futures/concurrent/futures/process.py#l86

In this patch, the parent process' sigint handler (which will be called on Ctrl-C)
is responsible for canceling all the jobs on the work queue. For the jobs on the
call queue, the best we can do is set a global variable that tells workers to
abort early.

3. Idle workers should exit gracefully. When there are no more jobs left, workers
will block on the call queue (either waiting for more jobs, or waiting for the
executor to send the shutdown signal). If a KeyboardInterrupt is received while a
worker is blocking, it isn't possible to intercept that anywhere (due to quirks
of how concurrent.futures is implemented). The InterruptableQueue class was
created to solve this problem. It will return None instead of propagating
KeyboardInterrupt. A None value will wake the worker up and tell it to gracefully
shutdown. This way, we avoid cryptic tracebacks in the output.

With all of these various pieces solved, pressing Ctrl-C appears to always exit
gracefully, sometimes even printing partial results.

MozReview-Commit-ID: 36Pe3bbUKmk

--HG--
extra : rebase_source : d4c312ee5cc3679eeee1407c5521aed679f84ad4
extra : source : a93a00141bf62f6bc9e30934c0e56f6b2e434bf0
2018-02-23 08:55:06 -05:00
Andrew Halberstadt 028cd9d73f Bug 1369711 - [mozlint] Refactor concurrent.futures ProcessPoolExecutor code for readability r=gps
This commit doesn't change any behaviour, just attempts to make this a little
more readable.  The workers will call '_collect_results' for each WorkItem they
process (either because it is finished or because it was canceled).

This also differentiates between setup failures and run failures.

MozReview-Commit-ID: 36Pe3bbUKmk

--HG--
extra : rebase_source : 873167512b745ccdc52de7e7f1ecf66b094e063d
2018-02-23 09:02:16 -05:00
Gregory Szorc 1ab2bad8aa Bug 1446471 - Remove unused import; r=nalexander
MozReview-Commit-ID: JviugCf0TTE

--HG--
extra : rebase_source : 080b0d71a16ad230bc239b371d2b6f7b181ff45c
2018-03-06 19:15:42 -08:00
Gregory Szorc e6191d0614 Bug 1446471 - Remove unused --stop argument from `mach python-test`; r=nalexander
This argument does nothing. While that's arguably a bug, I have
no desire to fix it. So remove dead code.

MozReview-Commit-ID: 9tToF66I7HE

--HG--
extra : rebase_source : 2ea86681a102d3a82fc547f52e473f4a46a60467
2018-03-06 19:04:04 -08:00
Gregory Szorc 6e392d444d Bug 1446471 - Remove unused find_tests_by_path function; r=nalexander
I was too lazy to find the commit that orphaned this. But it is most
definitely not referenced in the code base.

MozReview-Commit-ID: 8gYBJQxIWIR

--HG--
extra : rebase_source : eda4f601ba71380b41a1cc6182d21996d15ea4e6
2018-03-06 19:02:01 -08:00
Zibi Braniecki 4629cdb598 Bug 1445084 - Migrate search results pane of Preferences to Fluent. r=flod,Gijs
MozReview-Commit-ID: BNeocrSY5Fa

--HG--
extra : rebase_source : 16ffb5e756567591471ce18a98eaee9315be6c89
2018-03-12 16:27:32 -07:00
Sebastian Hengst d247fb5f4e Bug 1445763 - Update moz.build meta data with "Firefox Build System". r=froydnj
MozReview-Commit-ID: 3FrWJ6441pe

--HG--
extra : rebase_source : c8f1dc45041132252e28869ada6a386270267431
2018-03-14 21:44:46 +01:00
Csoregi Natalia cbbe5a1135 Backed out changeset 32f45689f033 (bug 1445084) for frequently failing browser-chrome's browser_search_within_preferences_1.js (bug 1446186), remove obsolete file. a=backout 2018-03-16 15:00:25 +02:00
Zibi Braniecki 4a7d971409 Bug 1415733 - Migrate the "Search" section of Preferences to the new Localization API. r=flod,Gijs a=reland
MozReview-Commit-ID: ltXNOkdnOV

--HG--
extra : source : 647154f3033288e3cc3552f86d92eb1ad5f8f742
2018-03-12 17:17:13 -07:00
Csoregi Natalia 4cc6d868c9 Backed out changeset 647154f30332 (bug 1415733) for frequently failing browser-chrome's browser_search_within_preferences_1.js (bug 1446186). a=backout 2018-03-16 14:09:23 +02:00
Zibi Braniecki 07171ff48a Bug 1415733 - Migrate the "Search" section of Preferences to the new Localization API. r=flod,Gijs
MozReview-Commit-ID: ltXNOkdnOV

--HG--
extra : rebase_source : b75176b4e526ace545d1483606aa21dd8af76b58
2018-03-12 17:17:13 -07:00
Zibi Braniecki 45c410eacb Bug 1445084 - Migrate search results pane of Preferences to Fluent. r=flod,Gijs
MozReview-Commit-ID: BNeocrSY5Fa

--HG--
extra : rebase_source : 237685e47ea88376561b58434fac474fd963e475
2018-03-12 16:27:32 -07:00
Jan Beich b2c12ddb46 Bug 1445193 - Use notify-send on Tier3 platforms as well. r=gps
MozReview-Commit-ID: 4ONdrhqc6zf

--HG--
extra : rebase_source : 6773d64fb7dc3cfa56c148a9b455ac03e81b465d
2018-03-13 10:29:11 +00:00
Ryan VanderMeulen 0bd3547b12 Bug 1424281 - Require Visual Studio 2017 15.6.0 and Win SDK 10.0.15063.0 to build on Windows. r=froydnj
--HG--
extra : rebase_source : 0de2c47bb978ae92128fc00390649a327612890f
2018-03-12 19:24:44 -04:00
Ryan VanderMeulen dde54aa578 Bug 1424281 - Use Visual Studio 2017 15.6.0 for Windows builds. r=froydnj
--HG--
extra : rebase_source : 2d5abb19c1f2b2e2f142b849bd4d0ba9ab46ccbe
2018-03-12 19:24:44 -04:00
Nick Alexander c9cc551b04 Bug 1444534 - Part 1: Allow "locales/en-US" relative paths in localized inputs. r=ted.mielczarek
This cleans up a few things, including simplifying the look of
backend.mk by keeping the relsrcdir in MERGE_RELATIVE_FILE similar to
the source path in the tree.  Before, the locales/ floated around,
which is hard to understand but doesn't matter, since it's stripped by
MERGE_RELATIVE_FILE.

This also tests both relative and topsrcdir-absolute paths.

MozReview-Commit-ID: 1v3y9xGiNfL

--HG--
rename : python/mozbuild/mozbuild/test/backend/data/localized-generated-files-AB_CD/inner/locales/en-US/localized-input => python/mozbuild/mozbuild/test/backend/data/localized-generated-files-AB_CD/locales/en-US/localized-input
extra : rebase_source : 302d7cb638974fc5ec71513f47ce98222c5e3bb6
2018-03-08 14:12:44 -08:00
Francesco Lodolo (:flod) aea4be56a6 Bug 1444969 - Fix Fluent migration code for home-page-header r=gandalf
MozReview-Commit-ID: 4jpOLumAiRL

--HG--
extra : rebase_source : 1852f0529c485fc97fb21665261d70239fb677ae
2018-03-12 19:45:06 +01:00
Gabriele Svelto a41a01a61f Bug 1444881 - Make |mach bootstrap| use the latest version of Oracle's JDK when bootstrapping Fennec on Gentoo; r=nalexander
MozReview-Commit-ID: BnRJC95sSEr

--HG--
extra : rebase_source : 82db88a83191f7e837c000d3701df8b3ee941259
2018-03-12 14:31:05 +01:00
Matt Brubeck f4e41f6114 Bug 1443271 - Remove outdated comment from vendor_rust.py. r=ted
MozReview-Commit-ID: s9CnYvQcJP

--HG--
extra : rebase_source : 8256ce6a7534ffd78ec796dbb1c246c5d12c6c9a
2018-03-05 12:03:15 -08:00
Nick Alexander 713d88d96a Bug 1443204 - Pre: Clean-up unused Android data structures in mozbuild frontend. r=chmanchester
MozReview-Commit-ID: 5ympxk0jSJq

--HG--
extra : rebase_source : cc368d42eed182cc595858effd08517c6ec25168
2018-03-06 14:53:04 -08:00
Gregory Szorc 1c982ae418 Bug 1439727 - Purge untracked files in python/ and third_party/python/; r=nalexander
`mach clobber python` currently purges Python files with known
extensions globally.

The python/ and third_party/python/ directories may also contain random
ignored/untracked files. Let's purge those as well.

Note: if someone has untracked but not ignored files, this will delete
them. This is possibly unwanted. But people shouldn't have untracked
but not ignored files sitting around in VCS. We don't run this command
by default, so I think it is safe to be aggressive in our purging of
these untracked files.

MozReview-Commit-ID: 8ql8QR6lP6j

--HG--
extra : rebase_source : 644eccee25913502ed4daa55e54aec9618ebe547
2018-03-07 15:06:21 -08:00
Gregory Szorc da0cad58ef Bug 1439727 - Add a docstring for `mach clobber`; r=nalexander
This makes `mach help clobber` more useful.

MozReview-Commit-ID: GsIUqhUzVGP

--HG--
extra : rebase_source : bde88c0f9275a6dded83b8332faf2188583f663e
2018-03-07 08:49:13 -08:00
Gregory Szorc d2a511149f Bug 1439727 - Also delete .pyd files; r=nalexander
`mach clobber python` is supposed to remove autogenerated Python files.
Let's add .pyd files (compiled C extensions on Windows) to the list
for good measure.

MozReview-Commit-ID: EbHvBYB7hj3

--HG--
extra : rebase_source : 2736c3d1077c6f371df20b3854840612693117f8
2018-03-07 08:44:18 -08:00
Cosmin Sabou af65a84060 Backed out 2 changesets (bug 1443204) for build bustages at mozbuild/test/frontend/test_emitter.py on a CLOSED TREE
Backed out changeset eb1dfa51050f (bug 1443204)
Backed out changeset e3a7560b4206 (bug 1443204)
2018-03-07 23:58:00 +02:00
Nick Alexander a03b697b4d Bug 1443204 - Pre: Clean-up unused Android data structures in mozbuild frontend. r=chmanchester
MozReview-Commit-ID: 5ympxk0jSJq

--HG--
extra : rebase_source : cc0f5ab2f4f3b4b39bae7baa96ebaea2b7738e23
2018-03-06 14:53:04 -08:00
Dorel Luca 4884b868ae Backed out changeset 5ceb1365ae75 (bug 1421734) for build Bustage on MinGW 2018-03-07 05:45:52 +02:00
Chris AtLee 698a2a7006 Bug 1421734 - Download and unpack toolchain artifacts in parallel; r=nalexander
MozReview-Commit-ID: BMe6zqIqNHP

--HG--
extra : rebase_source : f347fe9de0117fc858a3de7be2079445af374929
2018-02-12 15:07:36 -05:00
Nick Alexander 82f173d48c Bug 1443222 - Remove python/mozbuild/mozbuild/backend/templates. r=froydnj
MozReview-Commit-ID: FXqLPrAQpNF

--HG--
extra : rebase_source : 4f134f13c06acfec78a2bfb7d9127a27dc21a9ee
2018-03-05 10:26:29 -08:00
Matt Brubeck be08cdcdc1 Bug 1381576 - Use a Cargo workspace for rust crates. r=ted
MozReview-Commit-ID: K6B9SifddXu

--HG--
extra : source : bbae7807c164273f6bb123d680a4fc31202d7a61
extra : amend_source : 53505e25f63a8eb228e62a0a9f3bd3ed98950296
extra : histedit_source : 597464181d4b79f5ac1a511d23e2a05aefb266da%2C63b89f3699e0e9598c8355e7293f10795acc80e7
2018-03-01 14:33:35 -08:00
shindli 0ba01aed1b Backed out 3 changesets (bug 1381576) for Bugzilla linting failure on a CLOSED TREE
Backed out changeset 3bc1743ad418 (bug 1381576)
Backed out changeset bbae7807c164 (bug 1381576)
Backed out changeset 1ea18b70b170 (bug 1381576)
2018-03-02 21:17:20 +02:00
Matt Brubeck c94fb26dea Bug 1381576 - Use a Cargo workspace for rust crates. r=ted
MozReview-Commit-ID: K6B9SifddXu

--HG--
extra : rebase_source : 75fae593e8765ec5b1e616d10eda0bc52f1f7194
extra : histedit_source : 21b38586bcc4576fce5eadff9a3c77ccf5e21341
2018-03-01 14:33:35 -08:00
Kevin Brosnan a7f87eaf46 Kevin Brosnan - Bug 1441579 - Install ncurses-compat-libs for Fedora as part of mach bootstrap r=nalexander
MozReview-Commit-ID: 6TsufMMzjIc

--HG--
extra : rebase_source : 569d4f50184cc2134e0b12b65abb99ad5fd4391f
2018-02-28 08:23:39 -08:00
Zibi Braniecki 4a44620118 Bug 1435912 - Migrate Preferences::General XUL part to the new Localization API. r=flod,jaws
MozReview-Commit-ID: J5Rr8Gc0oCx

--HG--
extra : rebase_source : df83a089c572be0ed8301edb93777d2aacd0f1f6
2018-02-27 21:20:54 -08:00
Ciure Andrei 52f18c2eac Backed out 2 changesets (bug 1435912, bug 1441733) for for Fluent in Preferences::General::XUL bc failures. a=backout on a CLOSED TREE
Backed out changeset 95eb6ee7690b (bug 1441733)
Backed out changeset 6ba30e000664 (bug 1435912)
2018-02-28 06:17:21 +02:00
Zibi Braniecki 15d8394912 Bug 1435912 - Migrate Preferences::General XUL part to the new Localization API. r=flod,jaws
MozReview-Commit-ID: J5Rr8Gc0oCx

--HG--
extra : rebase_source : fc16a0ead225d63330100ac83bdf94b6e22d6f3b
2018-01-22 15:38:06 -08:00
Zibi Braniecki 6c6256c87c Bug 1432338 - Introduce sync-brand.ftl. r=flod
MozReview-Commit-ID: Hs48yFaCMPf

--HG--
extra : rebase_source : 5797ca2dbc123108686f48bab3579a719f532c93
2018-02-12 11:29:13 -08:00
Nick Alexander d825eb0d47 Bug 1439742 - Allow {AB_CD} and {AB_rCD} in LOCALIZED_GENERATED_FILES. r=ted.mielczarek
There are a lot of choices and moving pieces in this commit.  I elected
to include the mechanics and the target use case in the same commit so
that readers can compare and contrast the implementation and final
expression in one review window.

- Initially, I wanted to make the {AB_CD} substitutions in
LOCALIZED_FILES and not in LOCALIZED_GENERATED_FILES.  However, I ran
into conceptual blockers doing this.  Fundamentally, LOCALIZED_FILES
is FINAL_TARGET_FILES, and my use case should _not_ be putting files
anywhere near dist/bin.  In addition, LOCALIZED_FILES
(FINAL_TARGET_FILES) is handled using manifests, which would need to
grow locale-aware functionality to handle this.  That's not desirable.
In addition, if we use manifests, then we lose the powerful locality
of |mach build mobile/android{/base}| re-generating changed
locale-dependent resources.  This is similar to how the build system
plumbs dist/idl manifest processing throughout the build: we're
repairing local workflows after moving work into a global process.
For these reasons, this doesn't support {AB_CD} in LOCALIZED_FILES.

- There is even another layer of complexity!  There are two axes
involved with these files: AB_CD controls localization and the Make
target controls destination.  For the record, it is:

regular builds - AB_CD unset
multi-locale builds - AB_CD set
single-locale repacks - AB_CD set

For the record, the existing logic (before any changes) is:

regular builds - Make target is `libs` in mobile/android/base/locales
multi-locale builds - Make target is `chrome-%` in mobile/android/base/locales
single-locale repacks - Make target is `libs` in mobile/android/base/locales

This commit adds targets for both destinations, and uses Make
chrome-%:: and libs:: magic to control what is invoked in the various
situations.  Tricky!

- I added MERGE_RELATIVE_FILES in order to be able to follow-up this
patch with more patches that will get rid of
m/a/base/locales/{moz.build,Makefile.in} altogether, and fold this work
into m/a/base.  As it stands, we're already reaching from
m/a/base/locales all the way out to
mobile/locales/.../region.properties, so the existing code doesn't
follow the layout expected between mozilla-central and
l10n-central/$(AB_CD).  But that'll impedance will get worse as we
improve the build system dependencies, not better, so we should grow
support for localized resources that aren't exactly as expected.

- I chose to follow Python's syntax for string substitutions.  I
would have preferred to mark files that should be localized with a
leading '%'... but I took that for filesystem absolute paths in
moz.build files already.  I also considered @AB_CD@ to echo the
preprocessor, but didn't want to open the door to an expecation that
_all_ preprocessor DEFINEs will work in the way {AB_CD} does.

- The generate_*py script changes required a bit of a hack to "turn
off" locale dependent resources.  This would have been nicer if we had
marked localized resources with '%'... but we didn't.  See the
--fallback flag.  The real reason this is needed is that we're doing
work which is more like the work of compare-locales (merging
locale-dependent resources) at build-time rather than repack time.  I
don't know why that's the case -- probably when we (I) implemented it,
compare-locales and the whole l10n process was entirely opaque.  It's
not worth changing it now, so we use this --fallback flag approach.

- I didn't get to tup support.  This should gently fail without
breaking tup builds: any {AB_CD} substitutions just won't be
expanded.  I haven't a clue how this should work in tup in the future
(or, more generally, how to make any sense of repacks without
declaring the full set of expected locales at configure time.)

- strings.xml can't be a LOCALIZED_PP_FILES, since we need to
customize the output location based on AB_rCD, and since we need a
little more flexibility than PP_FILES gives for our inputs.

MozReview-Commit-ID: MyfIkNSEzt

--HG--
rename : python/mozbuild/mozbuild/test/backend/data/localized-generated-files/en-US/localized-input => python/mozbuild/mozbuild/test/backend/data/localized-generated-files-AB_CD/en-US/localized-input
rename : python/mozbuild/mozbuild/test/backend/data/localized-generated-files/foo-data => python/mozbuild/mozbuild/test/backend/data/localized-generated-files-AB_CD/foo-data
rename : python/mozbuild/mozbuild/test/backend/data/localized-generated-files/generate-foo.py => python/mozbuild/mozbuild/test/backend/data/localized-generated-files-AB_CD/generate-foo.py
rename : python/mozbuild/mozbuild/test/backend/data/localized-generated-files/en-US/localized-input => python/mozbuild/mozbuild/test/backend/data/localized-generated-files-AB_CD/inner/locales/en-US/localized-input
rename : python/mozbuild/mozbuild/test/backend/data/localized-generated-files/moz.build => python/mozbuild/mozbuild/test/backend/data/localized-generated-files-AB_CD/moz.build
rename : python/mozbuild/mozbuild/test/backend/data/localized-generated-files/non-localized-input => python/mozbuild/mozbuild/test/backend/data/localized-generated-files-AB_CD/non-localized-input
extra : rebase_source : 816b6f220758f2bb3bdd3ec81a2cb02269c6de5b
2018-02-21 17:12:17 -08:00
Mike Shal e43bc408dc Bug 1441275 - ignore js/src/shell OBJDIR_FILES in the tup backend; r=chmanchester
Without linking support in the tup backend, we don't produce a js
binary, so we can't copy it via OBJDIR_FILES yet.

MozReview-Commit-ID: AxqhHi84HIg

--HG--
extra : rebase_source : 1011bc6296be81646004a6bd6572193c34f367d8
2018-02-22 16:15:18 -05:00
Ralph Giles ef7e020a97 Bug 1440449 - Remove codegen-units limit for debug builds. r=froydnj
Starting with Rust 1.24, the default codegen-units limit is 16,
with jobserver control to avoid overprovisioning. Remove our
previous fixed limit of 4 threads for debug builds.

For release, retain codegen-units=1 to make sure we get the
most complete optimization results.

Thanks to Simon Sapin for the suggestion.

MozReview-Commit-ID: FmYF4DcmBvt

--HG--
extra : rebase_source : 307ad8fad2874636adb3ce95a5cd47339e83f40c
2018-02-22 11:58:50 -08:00
Nick Alexander 5e6cdade8e Bug 1440428 - Fix: Don't install Proguard JAR in |mach bootstrap|. r=jchen
MozReview-Commit-ID: EOvKSE5z28P
2018-02-26 11:37:41 -08:00
Nick Alexander daf2cc6ccf Bug 1440428 - Remove Proguard JAR entirely. r=jchen
The Proguard dependency is now managed by Gradle.

MozReview-Commit-ID: EOvKSE5z28P

--HG--
extra : rebase_source : 760b117f500cc639cc8c24e9c02933990f358dd7
2018-02-26 11:37:41 -08:00
Nick Alexander 665e41ac95 Bug 1440432 - Remove AAR exploding from configure. r=jchen
The moz.build Java JAR definitions are, of course, broken, but they
will be removed soon enough.

MozReview-Commit-ID: KIxqLDwd9I7

--HG--
extra : rebase_source : 8312b3f125793f73d3e835d1c0a5c7cabd4ebc0c
2018-02-23 12:16:51 -08:00
Nick Alexander b9e726131c Bug 1440757 - Don't invoke aapt in mobile/android/base/Makefile.in. r=jchen
I choose to clean a bunch of ANDROID_* moz.build cruft here, too,
since it's just passing dependencies between moz.build and
Makefile.in.  The replacement for all of this is to just use
GENERATED_FILES in moz.build, but it'll still take some work to get to
that.  (Why does this stuff exist?  GENERATED_FILES didn't exist and
was resisted when I built this stuff.)

MozReview-Commit-ID: D3GJqJNL0Ih

--HG--
extra : rebase_source : 07351f9d3702cfc42c58bd317885d07882c45c3a
2018-02-23 11:57:28 -08:00
Nick Alexander 03710dc7d0 Bug 1440743 - Part 2: Remove most of MOZ_BUILD_MOBILE_ANDROID_WITH_GRADLE. r=jchen
This is the easy stuff -- everything but mobile/android/base/Makefile.in.

MozReview-Commit-ID: 5x2z97AHUrR

--HG--
extra : rebase_source : 531fd41d367cad071b209b85ca5b5602fd7cbf7b
2018-02-22 11:45:51 -08:00
Nick Alexander 1ff0250889 Bug 1440433 - Part 2: Remove ANDROID_APK_{NAME,PACKAGE}. r=jchen
The last APK produced using the ANDROID_APK_* moz.build/Makefile.in
mechanism was Robocop, so we can get rid of these now.

MozReview-Commit-ID: 9b08ZvvOAoC

--HG--
extra : rebase_source : ac4fea057bf6e731b0f26a1b6902f17a7362076d
2018-02-22 13:36:49 -08:00
Gregory Wlodarek f2c2d6213b Bug 1434427 - Replace string for preferences confirmRestartPrompt to use "cancel" instead of "revert". r=flod
* Removed the revertNoRestartButton entry from the migration script as this no longer exists after this change

MozReview-Commit-ID: AGJ2OfYVPok

--HG--
extra : rebase_source : df7f383f51e4d72c493e4cc43696eff2ee0034fa
2018-02-16 13:34:18 -05:00
Sebastian Hengst bfb77aa998 merge mozilla-central to mozilla-inbound on a CLOSED TREE 2018-02-24 03:11:04 +02:00
Coroiu Cristina 30b07a253a Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-02-23 20:05:10 +02:00
Zibi Braniecki 0270c3b8f4 Bug 1439452 - Use `width` instead of `min-width` for `Find in Preferences` box. r=flod
MozReview-Commit-ID: qCLLsXA9bG

--HG--
extra : rebase_source : 85c8b9275c6f151a6420cb7a3a827021f4229914
2018-02-22 22:57:36 -08:00
Ben Hearsum 0d4b578055 bug 1398799: mozharness script to create update verify configs without relying on patcher configs. r=nthomas 2018-02-23 06:00:02 -05:00
Chris Manchester 7dfc0e5eaf Bug 1436959 - Use the correct case-insensitive sorted iterator when sorting lists in generated GN moz.build files. r=dminor
MozReview-Commit-ID: 9NY4cPF1awQ

--HG--
extra : rebase_source : d57ebb30ebbc1921bea02407466fa139a4d5beb4
2018-02-22 12:04:53 -08:00
Andrew Halberstadt 2f6a0dfa63 Bug 1434974 - [mozlint] Create a SummaryFormatter to help triage paths, r=jmaher
This formatter is useful for triaging paths when enabling new linters or
expanding existing ones. It works well with the -n/--no-filter option.

For example, if I wanted to look for candidates of new directories to enable
the codespell linter on, I could run:

./mach lint -l codespell -nf summary

This will print something like:
accessible: 429
dom: 142
layout: 15
testing: 53
etc..

If desired, you can also specify a depth by setting MOZLINT_SUMMARY_DEPTH. A
depth of 2 means results will be aggregated further down, e.g:

accesible/build: 129
accesible/ipc: 300
dom/indexedDB: 100
dom/workers: 42
etc..

The depth is always relative to the common path prefix of all results, so
running:

./mach lint -l codespell -nf python/mozbuild

Would expand all the directories under python/mozbuild (not topsrdir).

MozReview-Commit-ID: OiihLTpULA

--HG--
extra : rebase_source : eaaabc1d5cdc8e3942808d01b24e22081fea752e
2018-01-29 16:37:21 -05:00
Narcis Beleuzu 2d9816273c Merge inbound to mozilla-central. a=merge 2018-02-16 11:49:59 +02:00
Ralph Giles 07d65e6e07 Bug 1430928 - mozboot: install rust 1.24. r=froydnj DONTBUILD
Have `./mach boostrap` update users to at least rust 1.24.0,
which is the current stable release.

MozReview-Commit-ID: 2sma2p3BktJ
2018-02-15 17:07:37 -08:00
Zibi Braniecki 415c5ab35f Bug 1424682 - Migrate the chrome of Preferences to the new Localization API. r=flod,jaws
MozReview-Commit-ID: ALnFUmnJMDB

--HG--
extra : rebase_source : 24c452a69b4db76db9f623122ce63a73df579fed
2017-12-18 23:19:13 -08:00
Nick Alexander e15e1e942d Bug 1437201 - Part 2: Install llvm on macOS when bootstrapping mobile/android. r=froydnj
This was just an oversight when adding Stylo bindgen support to |mach
bootstrap| (I assume).

MozReview-Commit-ID: 89N6omXGUdy

--HG--
extra : rebase_source : bcc4fc72ce49390e1200eb5efbe6ee14fccd016c
2018-02-09 14:33:30 -08:00
Zibi Braniecki 551e153581 Bug 1424683 - Introduce brand.ftl and migrate brand-short-name to it. r=Pike
MozReview-Commit-ID: Cl0jQEkuD8q

--HG--
extra : rebase_source : 6c183503c1f4e693229aa5afface4f8a9f991ea5
2017-12-18 21:46:49 -08:00
Chris Manchester d9c25ac16f Bug 1437182 - Take IPDL/WebIDL generated sources into account when associating object files with linkables in the emitter. r=gps
MozReview-Commit-ID: BHABdAk3Esm

--HG--
extra : rebase_source : 83e344b3b5ab792731ebc137acf24ec2b40059ee
2018-02-12 18:41:43 -08:00
Chris Manchester d0d19d5199 Bug 1437182 - Note object files associated with linkables in the emitter. r=gps
MozReview-Commit-ID: 3IR8TolZpKs

--HG--
extra : rebase_source : 94dce395470de1c78750302892c88ab891de5103
2018-02-12 18:41:43 -08:00
Andreea Pavel 318bf3315d Backed out 2 changesets (bug 1437182) for gecko decision task failure
Backed out changeset 588efc6f3520 (bug 1437182)
Backed out changeset 19497c8c5b6f (bug 1437182)
2018-02-13 03:55:56 +02:00