Commit Graph
907 Commits
Author SHA1 Message Date
Carsten "Tomcat" Book 555fc49595 merge fx-team to mozilla-central a=merge 2014-07-03 13:54:51 +02:00
Wes Kocher 88633df933 Merge m-c to fx-team 2014-07-02 19:10:42 -07:00
Gregory Szorc 96c0ce82ef Bug 1033656 - Add reviewboard to mach mercurial-setup; version checking; r=smacleod
We want to make it turnkey for people to use reviewboard. So, we add
reviewboard and related functionality to |mach mercurial-setup|.

Since the reviewboard extension only works in Mercurial 3.0 and newer,
we add some version detection for the Mercurial version. This should
have been done months ago. We now have it.

I also took the opportunity to inform |mach bootstrap| that Mercurial
2.x is no longer modern.

I also updated the messaging around mq to encourage fewer new users to
use it. You may find this controversial. People can always ignore the
message.

Finally, I also added a histedit prompt to the mix, since a lot of
people don't know about that and many find it useful.

I could have broken this into multiple patches. Meh.
2014-07-02 14:05:42 -07:00
Mike Hommey 4b6cfb59e5 Bug 762358 - Fixup the fixup not to break on windows. r=me 2014-07-03 09:38:47 +09:00
Mike Hommey f5d5aedd31 Bug 762358 - Fixup test_objdir_config_status to use config.guess output as base. r=gps 2014-07-03 08:33:14 +09:00
Mike Hommey 52f2fae467 Bug 762358 - Re-run configure when mozconfig changed in a significant way. r=gps
This adds a format option to mach environment and uses it in client.mk to
create a .mozconfig.json in the objdir, containing all the relevant data
from mozconfig. If the mozconfig doesn't change in a way that alters that
data, we still skip configure.

At the same time, use mach environment in place of mozconfig2configure and
mozconfig2client-mk, which makes us now have only one mozconfig reader.

Also, in the mozconfig reader, keep track of environment variables (as
opposed to shell variables), so that changes such as a variable that was
exported not being exported anymore is spotted. At the opposite, in order
for irrelevant environment variable changes not to incur in re-running
configure, only a set of environment variables are stored when they are
unmodified. Otherwise, changes such as using a different terminal window,
or even rebooting, would trigger reconfigures.

Finally, make mach environment emit both MOZ_OBJDIR and OBJDIR for
client.mk, and cleanup some objdir-related things in client.mk..
At the same time, make the mozconfig reader take MOZ_OBJDIR from the
environment if it is defined there and not in the mozconfig.
2014-07-03 07:15:31 +09:00
Mike Hommey deb44483f4 Bug 1031132 - Refactor mach environment to use logic from MachCommandBase instead of its own. r=gps
Also don't print section titles when there is nothing under them, and move
move the ObjdirMismatchException handling to MachCommandBase.
2014-07-03 07:15:31 +09:00
Mike Hommey 4d4669852a Bug 1030717 - Don't try to create the mach state directory until it's actually needed. r=gps 2014-07-03 07:15:31 +09:00
Mike Hommey fb188f4dca Bug 1031129 - Fix ObjdirMismatchException logic to throw properly on m-c. r=gps 2014-07-03 07:15:30 +09:00
Nathan Froyd 3775c69de7 Bug 1025998 - part 1 - make convert_def_file.py handle the DATA keyword; r=glandium 2014-06-16 16:09:25 -04:00
Wes Kocher 86c9d658db Merge m-c to fx-team a=merge 2014-06-25 18:44:50 -07:00
Wes Kocher 837ce21431 Merge inbound to m-c a=merge 2014-06-25 18:18:43 -07:00
Nathan Froyd e6cb8e8843 Backout bcd72aabb661, 1ed1c6212f4c, and 8d6f286139ef (bug 1025998) for xpcshell bustage leading to this CLOSED TREE 2014-06-25 17:00:06 -04:00
Mike Hommey 915519914e Bug 1027890 - Reject builds with pymake. r=gps 2014-06-25 08:38:12 +09:00
Jason Orendorff 7b220a0ee9 Bug 1020514 - Make mach colorize lines that start with REFTEST TEST-UNEXPECTED-FAIL etc. r=gps. 2014-06-20 12:01:03 -05:00
Nathan Froyd 8810126be6 Bug 1025998 - part 1 - make convert_def_file.py handle the DATA keyword; r=glandium 2014-06-16 16:09:25 -04:00
Carsten "Tomcat" Book bda5b3a6d8 Merge mozilla-central to mozilla-inbound 2014-06-25 15:42:28 +02:00
Markus Stange 227f9e8049 Bug 1019944 - mach logging shouldn't eat whitespace at the start of the line. r=gps 2014-06-25 10:35:32 +02:00
Wes Kocher a15334253c Backed out 2 changesets (bug 1027890) for B2G Windows Build bustage on a CLOSED TREE
Backed out changeset bcd694f0e95d (bug 1027890)
Backed out changeset 49cadfcde709 (bug 1027890)
2014-06-24 18:33:46 -07:00
Mike Hommey 7354b8430e Bug 1027890 - Remove all sorts of build system code dedicated to pymake. r=gps 2014-06-25 08:38:28 +09:00
Mike Hommey 8ed8479977 Bug 1027890 - Reject builds with pymake. r=gps 2014-06-25 08:38:12 +09:00
Gregory Szorc e23db0706c Bug 1027215 - Add reftest manifests to build config; r=mshal
reftest and crashtest manifests can now be added to the build
configuration via REFTEST_MANIFESTS and CRASHTEST_MANIFESTS,
respectively.

The master manifest files have been added to layout/moz.build.

This patch enables the deprecation of master reftest manifests but stops
short of doing it. In the future, we could declare reftest and crashtest
manifests in their nearest moz.build file and generate the master
manifest (consisting of a bunch of "include" directives) as part of
config.status.
2014-06-17 17:59:03 -07:00
Nick Alexander 1c120007ec Bug 1029232 - Follow-up: Fix busted test. r=bustage 2014-06-24 20:05:01 -07:00
Nick Alexander af287ee2c5 Bug 1029232 - Part 3: Call Eclipse builder plugin before Android build steps. r=bnicholson 2014-06-24 19:14:35 -07:00
Philippe Chassagnard 967d07a4c8 Bug 1024471 - Default user is now created in objdir/tmp/scratch_user. r=gps 2014-07-01 23:57:00 +02:00
Birunthan Mohanathas 254f890e2e Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Mike Hommey 3a7e38ad03 Bug 978211 - Seemlessly support make 4 output buffering for automation/% steps. r=mshal 2014-06-19 09:06:13 +09:00
Ryan VanderMeulen 1eaa17e14b Bug 1025918 - Add support for the .cxx extension to mozbuild. r=ted 2014-06-16 22:36:24 -04:00
Nathan Froyd 6d1982eeb6 Bug 1018375 - part 2 - make db/sqlite3/src/ produce a version script for Linux-like OSes; r=glandium 2014-05-30 14:12:51 -04:00
Nathan Froyd a1351056d0 Bug 1018375 - part 1 - add LD_VERSION_SCRIPT build variable; r=glandium 2014-05-30 14:12:20 -04:00
Armen Zambrano Gasparnian 4171140899 Bug 989583 - Install all tests (even disabled) from manifests. r=jmaher 2014-06-16 14:51:22 -04:00
Mike Shal 656ae5bdaa Bug 978211 - add an automation/build target for post-build steps; r=glandium 2014-05-16 14:37:31 -04:00
Abdul Qadeer 0f24ebefe5 Bug 972329 - Install setuptools as part of bootstrap. r=gps 2014-06-11 11:22:00 -07:00
Ryan VanderMeulen ac2722f92e Backed out changeset ec353cd772b1 (bug 989583) for B2G emulator mochitest mass-fail. 2014-06-11 13:55:44 -04:00
Armen Zambrano Gasparnian 0241b82e2b Bug 989583 - Include all tests upon build time (even disabled ones) & only run enabled ones during run time. r=jmaher 2014-06-11 12:16:10 -04:00
Jan Beich af48d494b3 Bug 1022686: Don't pull libIDL for |mach bootstrap|, it's unused since bug 687766. r=gps 2014-06-11 09:42:19 +02:00
Marcos Caceres d8e9cf7c2c Bug 1011695 - At the end of the build suggest running |mach run| rather than app_path; r=glandium 2014-05-29 11:59:00 +01:00
Jan Beich df784e8650 Bug 1022747: Add |mach bootstrap| support for DragonFly/DPorts. r=gps 2014-06-09 22:11:06 +02:00
Jan Beich ccbb4595a3 Bug 1022739: Unbreak |mach bootstrap| with recent FreeBSD packages. r=gps 2014-06-09 22:11:00 +02:00
Nathan Froyd 838951e4de Bug 996061 - part 0 - make tests use [scriptable] interfaces; r=ted
Smart xpt linking will keep around [scriptable] interfaces and anything
those interfaces depend on.  Modify the tests that deal with xpt linking
so they use [scriptable] interfaces, ensuring that the tests continue to
work in the face of smarter linkers.
2014-05-19 12:35:21 -04:00
Mike Hommey 6ccc9056fa Bug 1027890 - Remove all sorts of build system code dedicated to pymake. r=gps 2014-06-25 08:38:28 +09:00
Joshua Cranmer 64b69990d4 Backed out changeset b83296ec51b3 (bug 832112) for comm-central bustage, r=glandium. 2014-06-02 20:05:22 -05:00
Shih-Chiang Chien dbd62b3dc7 Bug 1012510 - xulrunner for Mac is under XUL.framework instead of XULRunner.app/Contents/MacOS. r=gps 2014-05-19 12:26:34 +08:00
Mike Shal 78f963fd57 Bug 1015443 - make test_iter_modules_in_path case insensitive; r=glandium
From d2c5353da28b5134eeea078a6fac09f023b220ab Mon Sep 17 00:00:00 2001
---
 python/mozbuild/mozbuild/test/test_pythonutil.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2014-05-27 13:07:24 -04:00
Mike Shal 4caf1092de Bug 832112 - add mach support for MOZ_OBJDIR; r=glandium
From e8d4f5a17e217ab10677812c6c8960f4e61daed3 Mon Sep 17 00:00:00 2001
---
 python/mozbuild/mozbuild/mozconfig.py           |  2 +-
 python/mozbuild/mozbuild/test/test_base.py      |  1 +
 python/mozbuild/mozbuild/test/test_mozconfig.py | 17 +++++++++++++++++
 3 files changed, 19 insertions(+), 1 deletion(-)
2014-05-16 14:33:01 -04:00
Wes Kocher 0d58303449 Merge m-c to inbound 2014-05-23 17:37:56 -07:00
Wes Kocher 4fa2d5340a Merge fx-team to m-c 2014-05-23 17:04:56 -07:00
Lucas Rocha 2c78b1cc97 Bug 1011620 - Generate suggestedsites.json from region.properties (r=nalexander) 2014-05-23 13:29:18 +01:00
Nickolay Ponomarev 7cc6374426 Bug 957186 - Only 'port select clang' after installing it with port; r=gps
DONTBUILD (NPOTB)
2014-05-10 17:11:00 -07:00
Mike Hommey 1808ddd54a Bug 996823 - Let mach pass-through subprocesses handle Ctrl-C themselves. r=mshal 2014-05-23 07:22:51 +09:00