Ryan VanderMeulen
f9b7785a5b
Merge inbound to m-c.
2013-05-15 21:14:58 -04:00
Matt Brubeck
71b9c103eb
Bug 799680 - Add a bash completion script for mach [r=gps]
...
DONTBUILD (not part of the build)
2013-05-15 17:00:01 -07:00
Matt Brubeck
7fb83a0361
Bug 872807 - Make mach command names case-insensitive [r=gps]
...
DONTBUILD (not part of the build)
2013-05-15 16:58:11 -07:00
Joey Armstrong
3d35ce4a1b
bug 869135: move ASFILES to moz.build (logic only). r=gps
2013-05-15 16:02:32 -04:00
Matt Brubeck
03136caf41
Bug 863709 - Add a +remote option to "mach run" and "mach debug" to disable -no-remote [r=gps]
...
DONTBUILD (not part of the build)
2013-05-13 14:09:09 -07:00
Ed Morley
345c8d111b
Merge latest green inbound changeset and mozilla-central
2013-05-10 09:13:03 +01:00
Ms2ger
a527150731
No bug - Fix mach's highlighting of 'TEST-UNEXPECTED-FAIL'; oy-r=gps
2013-05-10 09:13:32 +02:00
Gregory Szorc
db1ebbb165
Bug 870575 - Upgrade psutil to 0.7.1; rs=me
...
Archive obtained from
https://psutil.googlecode.com/files/psutil-0.7.1.tar.gz and checked in
with no modifications.
2013-05-09 15:39:30 -07:00
Nick Hurley
be89950349
bug 870168 - make mach handle multiple logged-in users properly r=gps DONTBUILD (NPOTB)
2013-05-08 18:06:17 -07:00
Gregory Szorc
408aacec08
Bug 856392 - Categorize mach commands; r=jhammel
...
DONTBUILD (NPOTB)
2013-05-08 17:56:30 -07:00
Dave Vasilevsky
1766ad0b6d
Bug 862562 - Fix mozboot on 10.6. r=gps
2013-05-02 12:51:10 -04:00
Brian O'Keefe
2186ab5dce
Bug 862986 - Part 2a: Migrate PROGRAM from Makefile.in to moz.build. r=gps
2013-05-01 14:05:40 -04:00
Gregory Szorc
9a91ad615e
Bug 863069 - Part 3: Allow limited type coercion in moz.build sandbox; r=ted
...
We now differentiate between the stored and incoming types on global
variables. If an incoming type is not the stored type but is an allowed
type, we construct the stored type from the incoming value.
2013-05-16 09:53:14 -07:00
Ryan VanderMeulen
8f6a6c8d87
Merge m-c to inbound.
2013-05-15 21:17:10 -04:00
Mike Hommey
732376fded
Bug 871080 - Send chrome manifest entries first to package formatters, before e.g. resource manifest entries. r=gps
2013-05-15 19:22:46 +02:00
James Willcox
1645bb6a28
Bug 867966 - Add --jobs,-j option to 'mach build' r=gps
...
--HG--
extra : rebase_source : a1c1e0b371c11446a45025e03332a165699c78bf
2013-05-02 17:05:24 -04:00
Ryan VanderMeulen
e895c0f228
Merge m-c to inbound.
2013-05-02 07:39:49 -04:00
Edmund Wong
7b96bf5ea5
Bug 867033 - Check self.wall_time for being zero. r=gps
2013-05-02 13:05:53 +08:00
Nick Alexander
9dbb4cbc2c
Bug 677452 - Add smartmake-like functionality to |mach build DIR|. r=gps
2013-05-01 15:36:05 -07:00
Benoit Girard
4cc837ff5d
Bug 867372 - Mach gtest doesn't work with default test filter on windows. r=gps NPOTB
2013-05-01 16:54:08 -04:00
Ryan VanderMeulen
9e80ef1555
Backed out changesets c7937fb5f4bb and cf8db9b6bd61 (bug 862986) for bustage.
...
CLOSED TREE
2013-04-30 21:09:41 -04:00
Brian O'Keefe
6cb4a9b9be
Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps
2013-04-30 20:46:10 -04:00
Ryan VanderMeulen
d1a59f8eab
Backed out changesets 64c7ba1d3d04 and 7e9d5bb4a9af (bug 862986) for test failures.
2013-04-30 10:08:38 -04:00
Brian O'Keefe
43eddbd12b
Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps
2013-04-30 09:08:31 -04:00
Joey Armstrong
4c9698d3cd
bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS
2013-04-29 14:48:59 -04:00
Brian O'Keefe
bc040e83d4
Bug 865445 - Add 'configure' command to mach to rebuild the backend. r=gps
2013-04-26 10:11:00 -04:00
Ed Morley
541c2de1f0
Bug 863091 - Followup: Fix test to expect correct return code after clobber
...
CLOSED TREE
2013-04-25 14:43:53 +01:00
Ed Morley
da2e785663
Bug 863091 - Make auto clobbering opt-in rather than opt-out; r=glandium
...
To avoid surprises for devs building locally, auto clobbering is now opt-in, via
the use of |mk_add_options AUTOCLOBBER=1| in the mozconfig. Our automation uses
build/mozconfig.common which specifies this, so auto clobber will remain enabled
for our buildbot machines.
2013-04-25 13:41:17 +01:00
Jacek Caban
67c9de8826
Bug 865216 - Recognize exacutables on WINNT in is_executable. r=glandium
2013-04-25 10:02:37 +02:00
Ehsan Akhgari
912cb1e117
Bug 863092 - Make mach run and mach debug run firefox -no-remote; r=gps
...
DONTBUILD
2013-04-19 09:03:09 -04:00
Mike Hommey
b926643870
Bug 861453 - Restore empty substs after bug 857557, but put them in a separate file, unlisted as a dependency for everything. r=gps
2013-04-16 08:23:18 +02:00
Mike Hommey
8fc54f8a52
Backout changeset 0ff383d4a899 (bug 861453) for universal builds bustage
2013-04-16 09:18:06 +02:00
Mike Hommey
0b2ff3e67c
Bug 861453 - Restore empty substs after bug 857557, but put them in a separate file, unlisted as a dependency for everything. r=gps
2013-04-16 08:23:18 +02:00
Ted Mielczarek
43005554c1
bug 857383 - Don't try to print the app path for a partial build. r=gps
2013-04-10 11:39:46 -04:00
Mike Hommey
b6708e5695
Bug 857557 - Avoid autoconf.mk being modified for new other-platform-specific variables. r=gps
2013-04-10 09:02:11 +02:00
Mike Hommey
5ec0f35978
Bug 462463 - Stop using mddepend.pl. r=ted
2013-04-09 15:10:25 -07:00
Mike Shal
504b25c49d
Bug 846634 - Part 1: Support EXPORTS[_NAMESPACES] in moz.build; r=gps
...
---
python/mozbuild/mozbuild/backend/recursivemake.py | 22 ++++++
python/mozbuild/mozbuild/frontend/data.py | 12 +++
python/mozbuild/mozbuild/frontend/emitter.py | 5 ++
.../mozbuild/mozbuild/frontend/sandbox_symbols.py | 16 ++++
python/mozbuild/mozbuild/test/backend/common.py | 5 ++
.../mozbuild/test/backend/data/exports/moz.build | 8 ++
.../mozbuild/test/backend/test_recursivemake.py | 22 ++++++
.../mozbuild/test/frontend/data/exports/moz.build | 15 ++++
.../mozbuild/test/frontend/test_emitter.py | 37 +++++++++
.../mozbuild/test/frontend/test_sandbox.py | 8 ++
python/mozbuild/mozbuild/test/test_util.py | 71 +++++++++++++++++
python/mozbuild/mozbuild/util.py | 81 ++++++++++++++++++++
12 files changed, 302 insertions(+)
create mode 100644 python/mozbuild/mozbuild/test/backend/data/exports/moz.build
create mode 100644 python/mozbuild/mozbuild/test/frontend/data/exports/moz.build
2013-04-09 13:00:06 -04:00
Ehsan Akhgari
1125f5e698
Bug 857600 - Add a mach command for debugging using gdb; r=gps
...
--HG--
extra : rebase_source : 85d0d7e717eb8ee92a61bd0ce7fd310ac2d3d715
2013-04-03 11:16:03 -04:00
Gregory Szorc
0cbb99ce0a
Bug 857984 - mach mochitest now colorizes and prints failure summary; r=Ms2ger
2013-04-04 15:17:23 -07:00
Matt Brubeck
c4cb1c452d
Bug 859349 - Saving .mozbuild/warnings.json fails if .mozbuild doesn't exist [r=gps]
2013-04-08 11:14:33 -07:00
Gregory Szorc
224d5bb176
Bug 837323 - Automatically clobber when CLOBBER is updated; r=ted, glandium
2013-03-29 10:34:58 -07:00
Ryan VanderMeulen
f7ffa9c846
Backed out changesets 206bb159d62f, a6ab3e11f721, and a61aa08ab4ac (bug 837323) for frequent Windows fatal clobber errors on a CLOSED TREE.
2013-04-08 09:59:45 -04:00
Mike Hommey
e31b72a869
Bug 858393 - Avoid race condition creating directories in config.status. r=gps
2013-04-08 08:35:14 +02:00
Ms2ger
439fc61f53
Backout changeset e1bddda508fe for double logging when running mochitests through mach.
2013-04-07 10:11:11 +02:00
Gregory Szorc
91afcc54b5
Bug 857984 - mach mochitest now colorizes and prints failure summary; r=Ms2ger
...
--HG--
extra : rebase_source : 97900c2bf0aaa83a3a9fa5e4dc88901140f66e60
2013-04-04 15:17:23 -07:00
Matt Brubeck
1e6307fe01
Bug 855593 - Support ac_add_app_options in mozbuild.mozconfig [r=gps]
2013-04-03 15:42:16 -07:00
Ryan VanderMeulen
ffa352698a
Merge m-c to inbound.
2013-04-03 13:47:31 -04:00
Timur Timirkhanov
cd2d4b4929
Bug 843492 - Bootstrapping fails using Python 3x due to urllib2; r=gps
...
DONTBUID (NPOTB)
2013-04-03 05:38:00 -07:00
Matt Brubeck
a4f3fa155f
Bug 857332 - Normalize topobjdir to an absolute path in mozbuild.base [r=gps]
2013-04-03 10:15:12 -07:00
Kyle Machulis
5aa83c3e11
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Ms2ger
aed84cf476
Bug 837323 - Followup: fix silly bug.
2013-04-01 09:47:45 +02:00
Kyle Machulis
c79ccc0693
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Gregory Szorc
662d64f970
Bug 837323 - Bustage followup; r=me
2013-03-29 11:23:07 -07:00
Gregory Szorc
1587b16d98
Bug 837323 - Automatically clobber when CLOBBER is updated; r=ted
2013-03-29 10:34:58 -07:00
Benoit Girard
a663f5f856
Bug 844292 - Add a mach target for GTest. r=gps DONTBUILD as NPOTB
...
--HG--
extra : rebase_source : f1d1ad8c736f3c5bc42526b00b34ca0fba153861
2013-03-27 19:15:18 -04:00
Gregory Szorc
49244782db
Bug 854545 - Don't validate Fennec binary exists; r=ted
...
--HG--
extra : rebase_source : 20ac79f0abf8662f58bb40c4382dbce9e6720751
2013-03-27 11:02:17 -07:00
Matt Brubeck
b5510862dd
Bug 841445 - Make 'mach help <command>' call print_help directly [r=gps]
...
DONTBUILD (not part of the build)
2013-03-26 11:15:08 -07:00
Matt Brubeck
f878fe7142
Bug 841445 - Add a 'mach run' command to launch the compiled binary [r=gps]
...
DONTBUILD (not part of the build)
2013-03-26 11:15:08 -07:00
Gregory Szorc
1512dc87cf
Bug 854057 - Look for binaries in the proper path; r=trivial
2013-03-23 12:18:38 -07:00
Daniel Holbert
7d492e6c97
Bug 854058: Fix typo in mach error message: s/occured/occurred/. r=gps DONTBUILD
2013-03-22 22:02:37 -07:00
Gregory Szorc
0ea22cf695
Bug 648681 - OS X bustage; r=bustage CLOSED TREE
2013-03-22 15:28:10 -07:00
Gregory Szorc
6640727f90
Bug 648681 - Bustage; r=bustage CLOSED TREE
...
--HG--
extra : rebase_source : ae176b2810212112b8d59f7bce2621f6308ed0b1
2013-03-22 15:18:50 -07:00
Gregory Szorc
19d05b7bb0
Bug 648681 - Print useful information after building the tree; r=ted
2013-03-08 09:42:34 -08:00
Matt Brubeck
218eb89cb2
Bug 853225 - Fix the mach usage line for subcommands [r=gps]
...
DONTBUILD (not part of the build)
2013-03-20 17:53:34 -07:00
Mike Hommey
06e12b8a99
Bug 852950 - Use signature sniffing for Elf and Mach-O binaries for dependentlibs.py. r=ted
2013-03-20 20:11:16 +01:00
Mike Shal
fda83f85b9
Bug 844654 - Part 1: Support MODULE in moz.build; r=gps
2013-03-19 11:46:00 -07:00
Mike Hommey
1523d24857
Fixup for bug 852103. r=me
2013-03-19 06:59:53 +01:00
Mike Hommey
5d2379ab60
Bug 852103 - Fix race condition with .deps directory creation. r=ted
2013-03-19 06:29:48 +01:00
Kyle Huey
de9bae661d
Back out Bug 462463 for massively regressing pymake depend build speed. CLOSED TREE
2013-03-18 12:57:35 -07:00
Gregory Szorc
891fe621e3
Bug 844635 - Part 2: Don't require Makefile.in to exist; r=glandium
2013-03-17 18:01:10 -07:00
Gregory Szorc
abcca325c4
Bug 851975 - Don't use conditionals in backend.mk; r=ted
2013-03-17 16:57:44 -07:00
Mike Hommey
48307a4b44
Bug 462463 - Stop using mddepend.pl. r=ted
2013-03-17 07:43:35 +01:00
Paul Adenot
c32954c4a7
Bug 847918 - install
command for mach. r=gps
2013-03-05 17:27:37 +01:00
Gregory Szorc
f00fc20124
Bug 844204 - Report high Finder CPU usage when building; r=ted
2013-03-14 12:42:06 -07:00
Gregory Szorc
8fd2008684
Bug 846523 - Relax Unicode encoding requirements in moz.build files; r=ted
...
This should be only until bug 844509 is addressed.
2013-03-14 12:42:03 -07:00
Gregory Szorc
35c97142e2
Bug 851141 - Use appropriate config.status for external moz.build files; r=gps
2013-03-14 12:42:01 -07:00
Matt Brubeck
ee2c0bedfd
Bug 840690 - Improve handling of relative paths when running mach in subdirectories [r=gps]
2013-03-14 11:09:00 -07:00
Gregory Szorc
2c3e072f0a
Merge mozilla-central into inbound
2013-03-13 09:03:20 -07:00
Gregory Szorc
94e8454958
Merge mozilla-central into build-system
...
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Mike Shal
5fe6812133
Bug 818246 - Part 8: Support XPIDL_FLAGS in moz.build; r=gps
2013-03-12 10:09:00 -07:00
Mike Shal
3768c843ed
Bug 818246 - Part 6: Support XPIDL_MODULE in moz.build; r=gps
2013-03-12 10:08:00 -07:00
Gregory Szorc
55e2c13ea6
Bug 818246 - Part 3: Build system support for XPIDLSRCS in moz.build; r=glandium
2013-03-12 10:15:24 -07:00
Ted Mielczarek
da7bb6eff4
bug 824396 - implement mach buildsymbols. r=gps
...
--HG--
extra : rebase_source : 3c0a4ebaa2d5537368e40e4dbac2fcf784ad41be
2013-03-13 11:39:35 -04:00
Ryan VanderMeulen
d838471680
Backed out changeset 432f32e842dd (bug 648681) for test failures on a CLOSED TREE.
2013-03-08 14:19:42 -05:00
Gregory Szorc
13714c1f14
Bug 648681 - Print useful information after building the tree; r=ted
2013-03-08 09:42:34 -08:00
Gregory Szorc
723c59fd18
Bug 818246 - Part 2: Support moz.build -> Makefile variable passthru; r=glandium
...
--HG--
extra : rebase_source : c9a914e1466e74d079383ef1162a4d1f9959a05c
2013-03-07 05:05:03 -08:00
Mike Hommey
4d7f38e8cb
Bug 846740 - Treat chrome searchplugins as non-chrome when doing l10n-repack. r=gps
2013-03-06 07:28:41 +01:00
Mike Hommey
9266f3c3e8
Bug 846740 - Move most l10n-repack code under mozpack.packager, refactor it, and add a unit test. r=gps
...
--HG--
rename : toolkit/mozapps/installer/l10n-repack.py => python/mozbuild/mozpack/packager/l10n.py
2013-03-06 07:26:32 +01:00
Mark Hammond
bfa4872f35
Bug 840568 - mach: handle @CONFIG_GUESS@ in MOZ_OBJDIR. r=gps
2013-03-12 10:04:51 +11:00
Nick Alexander
fb765b967b
Bug 836208 - Part 3: Make tests handle Windows path separators. r=gps
2013-03-05 22:18:32 -08:00
Nick Alexander
64623dfbe6
Bug 836208 - Part 2: Make |mach build some/Makefile| start one level up. r=glandium
2013-03-05 10:45:43 -08:00
Nick Alexander
d61146eff7
Bug 836208 - Part 1: Factor resolve_target_to_make out of mozbuild.mach_commands. r=glandium
2013-03-05 10:45:41 -08:00
Ryan VanderMeulen
323865437c
Backed out changesets 64bad42e13b7 and 1e2fc9c3b3c5 (bug 836208) for Windows test failures on a CLOSED TREE.
2013-03-05 15:31:45 -05:00
Nick Alexander
3c9a66facf
Bug 836208 - Part 2: Make |mach build some/Makefile| start one level up. r=glandium
2013-03-05 10:45:43 -08:00
Nick Alexander
b847d7e527
Bug 836208 - Part 1: Factor resolve_target_to_make out of mozbuild.mach_commands. r=glandium
2013-03-05 10:45:41 -08:00
Ryan VanderMeulen
56bc50cdde
Merge m-c to inbound.
2013-03-04 18:20:41 -05:00
Gregory Szorc
eeedb5018f
Bug 846409 - Add |mach mach-debug-commands|; r=jhammel
...
DONTBUILD (NPOTB)
2013-03-04 10:18:48 -08:00
Gregory Szorc
474cb7b617
Backout 05914d4f27e3 and 231b7f8046d9 (bug 844635) for causing test failures
2013-03-02 17:36:53 -08:00
Gregory Szorc
6efd502869
Bug 844635 - Part 2: Don't require Makefile.in to exist; r=glandium
2013-03-01 14:44:09 -08:00
Gregory Szorc
382fa39995
Bug 844635 - Part 1: mach command to find empty Makefile.in; r=glandium
2013-03-01 14:44:06 -08:00
Gary Kwong
58181a4d38
Bug 846519 - Running bootstrap.py throws a "NameError: global name HOMEBREW_PACKAGES is not defined" error. r=gps DONTBUILD (NPOTB)
2013-02-28 14:52:18 -08:00
Gregory Szorc
6d336e0204
Bug 845089 - Followup: Handle Windows paths when detecting external source directories; r=khuey
...
This is related to work that landed in part 20 of bug 784841.
2013-02-28 14:25:10 -08:00
Gregory Szorc
cfadb02e2c
Bug 784841 - Part 20: Fixes to support building external projects; r=glandium
...
This is extremely hacky. It will likely need many refinements as we
figure out how we want external projects to be handled.
2013-02-28 12:56:40 +01:00
Ms2ger
cd9c6150fe
Merge m-c to b-s.
2013-02-26 19:09:25 +01:00
Ed Morley
53600c9d44
Merge mozilla-central to mozilla-inbound
2013-02-26 10:45:52 +00:00
Gregory Szorc
faf262c4ee
Merge mozilla-central into build-system
...
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Zuhao(Joe) Chen
27508912b9
Bug 805811 - Support bootstrapping with MacPorts; r=gps
...
DONTBUILD (NPOTB)
2013-02-25 19:52:36 -08:00
Gregory Szorc
aa1ef1d3f8
Bug 784841 - Part 18e: Convert /build, /config, and core build system; r=ted
2013-02-25 12:47:18 -08:00
Gregory Szorc
39ec7e4cdf
Bug 784841 - Part 16: Use moz.build files to build the tree; r=ted, glandium
2013-02-25 12:47:11 -08:00
Mike Hommey
ab10e4ced9
Bug 840094 - Change how nsZipArchive logging works. r=taras,r=gps
...
Now log in a single file given by the MOZ_JAR_LOG_FILE environment variable.
Log entries contain the URI of the Zip archive, followed by the path in the
archive.
* * *
Bug 840094 - Fixup for debug builds failure because of nsZipArchive::CloseArchive being called several times
2013-02-19 11:02:12 +01:00
Gregory Szorc
e9a445bdfd
Bug 784841 - Part 12: Don't recurse into static tier directories; r=ted
2013-02-18 16:40:17 -08:00
Gregory Szorc
c01a900ada
Bug 847073 - Record and print detailed summary of moz.build execution; r=glandium
...
--HG--
extra : rebase_source : 7d88cea873764650e62368ba40305f8cfff9d864
2013-03-04 10:32:57 -08:00
Trevor Saunders
7c8cb0d304
bug 833164 - consolodate the various makeDepend things in the tree r=ted
2013-02-14 07:06:16 -05:00
Matt Brubeck
540032b8f0
Bug 839786 - Print a more useful message for mach clobber errors [r=gps]
2013-02-14 11:49:52 -08:00
Chris Coulson
b895d692b8
Bug 837631 - Refresh virtualenv.py to pick up the changes from 661f7866da20. r=gps
2013-02-06 16:58:09 -05:00
Edmund Wong
916d905670
Bug 838463 - make check failing in test_mozconfig at test_read_new_variables. pop env. vars. CC and CXX. r=gps
2013-02-06 17:46:13 +08:00
Gary Kwong
425f124580
Bug 838384 - mozboot bootstrap.py does not recognize newer Xcode's clang. r=gps
2013-02-05 16:59:01 -08:00
Gregory Szorc
89d00353f6
Bug 837631 - Part 2: Unbust virtualenv on Debians; r=glandium
...
This is a cherry-pick of Git commit 813fc02af8723421eeeadcb13eb361e2e44416ca
from the Virtualenv repo. It fixes https://github.com/pypa/virtualenv/issues/378 .
2013-02-04 09:34:03 -08:00
Gregory Szorc
7f7b365009
Bug 837631 - Part 1: Upgrade virtualenv to 1.8.4; r=glandium
...
python/virtualenv now matches the upstream 1.8.4 release.
2013-02-04 09:33:30 -08:00
Mike Hommey
0560de1fee
Bug 835214 - Avoid re-stripping executables already stripped. r=ted
...
Also rework UnifiedExecutableFile so that it leaves stripping to ExecutableFile.
2013-02-03 07:20:33 +01:00
Mike Hommey
a1d0600a34
Bug 836218 - Always copy files instead of skipping when destination is newer when doing l10n-repacks. r=ted
2013-02-03 07:20:24 +01:00
Mike Hommey
14518a8c34
Bug 835309 - Look at .xpi file contents when unifying them for universal builds. r=gps
2013-02-03 07:19:15 +01:00
Mike Hommey
b84461d56c
Bug 835309 - Fix JarFileReader.readlines() and make flake8 happier. r=gps
2013-02-03 07:18:55 +01:00
Gregory Szorc
e895a434f3
Bug 794162 - Mach command to generate a .clang_complete file; r=ehsan
...
DONTBUILD (NPOTB)
2013-02-01 12:21:43 -08:00
Masatoshi Kimura
7ffcc1fd49
Bug 784841 - Deal with non-ASCII substs. r=gps
2013-01-31 00:21:43 +09:00
Gregory Szorc
cff9cbca5e
Merge mozilla-central into build-system
2013-01-29 20:27:15 -08:00
Gregory Szorc
591fa02a7f
Bug 784841 - Part 11b: Normalize paths in tests (fix test failure); r=me
2013-01-29 14:06:39 -08:00
Gregory Szorc
6abeba85a6
Bug 784841 - Part 11a: Normalize paths in tests (fix test failure); r=me
2013-01-29 08:55:35 -08:00
Gregory Szorc
24a155b5ef
Bug 784841 - Part 11: Add CONFIGURE_SUBST_FILES to moz.build files; r=ted
2013-01-29 06:35:46 -08:00
Gregory Szorc
03f7fd6579
Bug 784841 - Part 10: Add warning() and error() functions to moz.build files; r=ted
2013-01-29 06:24:25 -08:00
Gregory Szorc
dca820ca95
Bug 784841 - Part 9: Ability to define external projects in moz.build files; r=ted
2013-01-29 06:24:24 -08:00
Gregory Szorc
8ea64c159d
Bug 784841 - Part 8: Capture and save moz.build tree state; r=ted
2013-01-29 06:24:24 -08:00
Gregory Szorc
410cad6930
Bug 784841 - Part 7: Implement recursive make backend; r=ted
2013-01-29 06:24:24 -08:00
Gregory Szorc
bddcff9d72
Bug 784841 - Part 6: Move some functions from ConfigStatus to mozbuild; r=ted
...
--HG--
rename : build/tests/unit-ConfigStatus.py => python/mozbuild/mozbuild/test/backend/test_configenvironment.py
2013-01-29 06:24:24 -08:00
Gregory Szorc
803a3ae1ac
Bug 818789 - |mach build| can now control what is built; r=glandium
...
DONTBUILD (NPOTB)
2013-01-29 10:20:06 -08:00
Ryan VanderMeulen
2a6786e231
Merge m-c to inbound.
2013-01-24 21:09:59 -05:00
Mike Hommey
ed0f20173e
Bug 834228 - Force a stage-package to run before buildsymbols on universal builds. r=ted,gps
...
Also, always strip and elfhack executables, so that running make package after
a PKG_SKIP_STRIP=1 stage-package does strip ; but disable both for l10n-repacks
and unpack.
2013-01-25 00:40:13 +01:00
Mike Hommey
e0f8eca4b4
Bug 834176 - Use NON_OMNIJAR_FILES value in the new packager. r=gps
2013-01-25 00:38:47 +01:00
Zuhao(Joe) Chen
da20af9e51
Bug 831168 - Mach should handle a corrupted warnings database. r=gps
2013-01-24 18:10:27 -05:00
Mike Hommey
7154aa95f6
Bug 833946 - Don't scan the entire tree for a root manifest in the packager. r=gps
2013-01-23 23:49:25 +01:00
Mike Hommey
b9c0439866
Bug 780561 - Unit tests for the new packager code. r=ted,r=gps
2013-01-23 11:23:14 +01:00
Mike Hommey
a92c86884e
Bug 780561 - Import new packager code. r=gps
2013-01-23 11:23:14 +01:00
Jeff Hammel
1d750124e7
Bug 831381 - ASCII vs unicode error in mozconfig.py _parse_loader_output();r=gps
...
--HG--
extra : rebase_source : 5db4d95239c9bde3228bd0820fb1147d7b52f437
2013-01-24 14:50:27 -08:00
Gregory Szorc
f92f1b79dc
Bug 808280 - Remove unused imports from mozconfig.py; r=ted
...
By preventing the import of pymake, multiprocessing is no longer
imported and BSDs should no longer choke when trying to import it.
DONTBUILD
2013-01-17 11:02:16 -08:00
Gregory Szorc
5607e0ec9e
Merge mozilla-central into build-system
2013-01-16 12:37:21 -08:00
Gregory Szorc
2331cac89d
Bug 784841 - Part 3: Implement sandbox to data translation layer; r=ted,glandium
...
This patch takes MozbuildSandbox instances emitted from BuildReader and
converts them to data structures.
2013-01-15 22:21:23 -08:00
Gregory Szorc
7b60d0322a
Bug 784841 - Part 2: Implement sandboxing for Python build files; r=ted,glandium
...
This is the beginning of Mozilla's new build system.
In this patch, we have a Python sandbox tailored for execution
of Python scripts which will define the build system. We also have a
build reader that traverses a linked set of scripts.
More details are available in the thorough README.rst files as part of
this patch.
* * *
Bug 784841 - Part 2b: Option to not descend into child moz.build files; r=ted
2013-01-15 22:21:21 -08:00
Gregory Szorc
5fd23db1f9
Bug 784841 - Part 1: Create generic container classes; r=jhammel
...
We create some specialized dicts that will be used in later patches.
2013-01-15 22:21:18 -08:00
Jeff Hammel
41cef6ac12
Bug 829664 - make check
fails on mozbuild/test/test_mozconfig.py with MOZCONFIG set;r=gps
...
--HG--
extra : rebase_source : 528f17303eaf11fe92f430c79b21a410aac50251
2013-01-15 12:54:20 -08:00
Ms2ger
91829e5485
Merge mozilla-central into build-system
...
--HG--
rename : content/html/content/public/nsHTMLCanvasElement.h => content/html/content/public/HTMLCanvasElement.h
rename : content/html/content/src/nsHTMLCanvasElement.cpp => content/html/content/src/HTMLCanvasElement.cpp
2013-01-06 11:58:19 +01:00
Ms2ger
971eab6d17
Merge mozilla-central into build-system
2013-01-04 21:21:29 +01:00
Ms2ger
ba6e4f2ea3
Merge mozilla-central into build-system
2013-01-03 10:46:16 +01:00
Chris Peterson
f9bfdced1f
Bug 826120 - mach's warning parser should not stop at first '['. r=gps
...
--HG--
extra : rebase_source : b752099f4f6da4ea05220f8120a5518ee39994ed
2013-01-02 16:33:46 -08:00
Gregory Szorc
5a690a1cd8
Bug 818646 - Add mozbuild Python tests to |make check|; r=ted
2012-12-21 12:43:46 -08:00
Gregory Szorc
5c61973a81
Bug 818777 - Switch to NamedTemporaryFile from mozfile; r=ted
...
This version works with Windows.
2012-12-20 16:11:35 -08:00
Nicholas Nethercote
9ce715e6a9
Bug 825820 - Call WarningsDatabase.prune at the end of Build(). r=gps.
...
--HG--
extra : rebase_source : aefe3d3e1e3f5edacbb83bb0c44031c1cfb200a1
2013-01-02 17:20:47 -08:00
Jorge Luis Mendez
1b4efeceac
Bug 820285 - Use distutils.version.StrictVersion in OSX version tests; r=gps
...
DONTBUILD (NPOTB)
2012-12-12 19:56:48 -05:00
Jorge Luis Mendez
3476dafc79
Bug 820117 - Remove XQuartz from OS X prerequisites; r=gps
...
DONTBUILD (NPOTB)
2012-12-11 14:02:27 -08:00
Richard Newman
e84b1132f7
Bug 820179 - Mach command for packaging. r=gps
2012-12-11 11:42:11 -08:00
Gregory Szorc
6bab6057b3
Bug 818649 - Ensure mach logs are written to log file; r=jhammel
...
DONTBUILD (NPOTB)
2012-12-07 11:44:11 -08:00
Gregory Szorc
f804a536e7
Bug 818656 - Normalize paths when loading mozconfigs; r=glandium
...
DONTBUILD (NPOTB)
2012-12-05 22:47:35 -08:00
Gregory Szorc
df0532a8b2
Bug 803400 - Add clobber mach command; r=glandium
...
DONTBUILD (NPOTB)
2012-12-05 22:46:01 -08:00
Gregory Szorc
6659946d35
Bug 818545 - Gracefully handle errors when loading mozconfigs; r=glandium
...
DONTBUILD (NPOTB)
2012-12-05 14:34:14 -08:00
Gregory Szorc
9158bfc2db
Bug 818366 - Ability to pass through file descriptors to child processes; r=jhammel
2012-12-05 14:22:58 -08:00
Gregory Szorc
3966850da2
Bug 810742 - Handle callee thrown exceptions when invoking a mach command; r=jhammel
2012-12-05 14:21:58 -08:00
Gregory Szorc
0709bbd909
Bug 818628 - Handle long exit code values; r=edmorley
...
DONTBUILD (NPOTB)
2012-12-05 12:32:09 -08:00
Gregory Szorc
bb08951147
Bug 818554 - Handle empty variables when parsing mozconfig output; r=glandium
...
DONTBUILD (NPOTB)
2012-12-05 11:20:59 -08:00
Gregory Szorc
848129b269
Bug 818543 - Define topsrcdir in mozbuild evaluation environment; r=glandium
...
DONTBUILD (NPOTB)
2012-12-05 10:20:42 -08:00
Gregory Szorc
29d97599de
Bug 808357 - Part 2: Implement mozconfig finding and loading in Python; r=glandium
2012-12-04 22:02:06 -08:00
Gregory Szorc
f49dc5effc
Bug 808357 - Part 1: Split mozconfig code into own Python module; r=glandium
...
--HG--
rename : python/mozbuild/mozbuild/base.py => python/mozbuild/mozbuild/mozconfig.py
2012-12-04 22:02:03 -08:00
Benedict Singer
490b7d3fb6
Bug 794180 - Rich comparison operators instead of __cmp__; r=gps
...
DONTBUILD (NPOTB)
--HG--
extra : rebase_source : ae42b4711af58fdc04a55e00f3454c3825c1b311
2012-11-30 15:36:27 -05:00
Gregory Szorc
6d009d273e
Bug 814075 - Remove reference to mach test, fix help usage; r=me
...
DONTBUILD (NPOTB)
2012-11-21 10:25:44 -08:00
Gregory Szorc
2c33633e4d
Bug 797471 - Handle mochitest failures gracefully in mach; r=Ms2ger
2012-11-14 12:56:02 -08:00
Ryan VanderMeulen
e271999620
Merge m-c to inbound.
2012-11-07 20:48:51 -05:00
Ryan VanderMeulen
12c86d585c
Merge the last PGO-green inbound changeset to m-c.
2012-11-07 20:08:02 -05:00
Cameron McCormack
e8e734d118
Bug 809650 - Handle mach @CommandArguments in the right order. DONTBUILD (NPOTB) r=gps
2012-11-08 10:21:43 +11:00
Gregory Szorc
905ffa541b
Bug 809544 - mach now prints elapsed time as MM:SS; r=jhammel
2012-11-07 11:54:41 -08:00
Gregory Szorc
f1aa153dda
Bug 807974 - Handle make errors more gracefully; r=jhammel
...
We now return the status code from executed processes. The API to
require a successful status code has been changed from ignore_errors to
ensure_exit_code. The build mach command no longer spews a stack trace
if make fails.
DONTBUILD (NPOTB)
2012-11-06 17:01:08 -08:00
Gregory Szorc
3d61e6990c
Bug 808346 - Don't scan sys.path to discover mach commands; r=jhammel
...
All mach modules are now explicitly listed in the mach driver.
--HG--
rename : python/mozbuild/mach/commands/build.py => python/mozbuild/mozbuild/mach_commands.py
2012-11-06 17:00:19 -08:00
Gregory Szorc
576af377e9
Bug 808336 - Part 2: Discover mach settings providers via decorators; r=jhammel
...
With this patch, mach is now decoupled from the build system and is
truly a generic command dispatching framework.
2012-11-06 16:58:13 -08:00
Gregory Szorc
cb927ab20b
Bug 808336 - Part 1: Refactor mach command handler management; r=jhammel
...
Previously we were tighly coupled with MozbuildObject. This was not in
the spirit of mach being a generic tool. Now, instead of passing multiple
arguments to __init__ of the class providing the mach command we either
pass 0 or 1. The number of arguments is detected when processing the
@CommandProvider decorator. The optional argument is a named tuple
containing mach run-time state.
Capturing of mach command provider information is now captured in a
class (as opposed to an anoymous tuple). We also capture these in a rich
data structure which is passed as part of the run-time data to the
command provider class. This allows mach commands to inspect the mach
environment.
Mach decorators have been moved to mach.decorators. mach.base is
reserved for generic mach data/container classes.
Existing mach command classes derived from MozbuildObject have been
replaced with either object or mozbuild.base.MachCommandBase. This
latter class translates the mach context instance passed to __init__
into the constructor arguments for MozbuildObject.__init__.
Support for registering function handlers with mach has been removed.
All handlers must be inside classes.
--HG--
rename : python/mach/mach/base.py => python/mach/mach/decorators.py
2012-11-06 16:57:41 -08:00
Ehsan Akhgari
7155c4fc5f
Merge mozilla-central into mozilla-inbound
2012-11-07 17:24:27 -05:00
Ted Mielczarek
30e96e220f
bug 803654 - Import mock into virtualenv. r=jhammel
2012-10-29 11:12:30 -04:00
Ryan VanderMeulen
d716366c32
Merge m-c to inbound.
2012-11-02 16:11:46 -04:00
Freddie F. Haddad
0a6b114f46
Bug 803990 - Add Gentoo to mozboot; r=gps
...
DONTBUILD (NPOTB)
--HG--
extra : rebase_source : f5c73f1942b71bd0f47a43241c13ef7d7a4fd8d4
2012-11-01 17:06:00 -07:00
Gregory Szorc
608b173b2e
Bug 805835 - Update virtualenv to fix lib64 path issues; r=glandium
...
The following commits were cherry-picked from virtualenv's Git
repository from the develop branch:
0da2c50eafbf6841afad078e04aa873780905b99
e1ec5f3b9f5c3cfa533f5ce440d7ac251c14ad7d
da95f04065328a98d16bcad1e9ad0e89f3a41ebe
These should hopefully be part of virtualenv 1.8.3, whenever it is
released.
--HG--
extra : rebase_source : c759ea0d2874c17e39436780d5953f0c2cfaadee
2012-11-02 10:33:56 -07:00
Gregory Szorc
926d445c63
Bug 795769 - Add "bootstrap" command to mach; r=ted
...
The command is currently just a proxy into mozboot.
DONTBUILD (NPOTB)
2012-10-10 17:17:00 -07:00
Gregory Szorc
440c757a16
Bug 805127 - Upgrade virtualenv to 1.8.2; r=ted
...
Upstream tarball uncompressed in python/virtualenv. egg-info directory
was deleted. All other files are unchanged.
2012-10-24 14:25:40 -07:00
Gregory Szorc
1e4fb0952e
Bug 800633 - Clean up references to code moved out of mozbuild; r=jhammel
...
DONTBUILD (NPOTB)
2012-10-11 17:13:18 -07:00
Ms2ger
24ce3ba492
Bug 799648 - Followup followup: Add the line back where it was meant to be; r=gps (NPOTB, DONTBUILD)
2012-10-11 22:00:37 +02:00
Ms2ger
97856fb3c5
Bug 799648 - Followup: Remove a line accidentally left in; r=gps (NPOTB, DONTBUILD)
2012-10-11 21:47:11 +02:00
Gregory Szorc
7768a5b156
Bug 799648 - Part 4: Temporarily disable settings file integration; r=jhammel
...
DONTBUILD (NPOTB)
2012-10-10 11:09:21 -07:00
Gregory Szorc
ea245139b0
Bug 799648 - Part 3: Move config module from mozbuild to mach; r=jhammel
...
--HG--
rename : python/mozbuild/mozbuild/config.py => python/mach/mach/config.py
rename : python/mozbuild/mozbuild/test/test_config.py => python/mach/mach/test/test_config.py
2012-10-10 11:08:10 -07:00
Gregory Szorc
7d2bfa0293
Bug 799648 - Part 2: Move mozbuild's log manager into mach; r=jhammel
...
--HG--
rename : python/mozbuild/mozbuild/logger.py => python/mach/mach/logging.py
rename : python/mozbuild/mozbuild/test/test_logger.py => python/mach/mach/test/test_logger.py
2012-10-10 11:08:09 -07:00
Gregory Szorc
67b2fa8c27
Bug 799648 - Part 1: Move process execution and logging methods into Mach mixin classes; r=jhammel
2012-10-10 11:08:09 -07:00
Gregory Szorc
515005b397
Bug 799312 - Implement |mach help <command>|; r=jhammel
...
Previously you had to |mach <command> --help|. Both forms now work.
2012-10-10 11:08:09 -07:00
Gregory Szorc
5ae4239630
Bug 795427 - Part 3: Print more user friendly error messages; r=jhammel
2012-10-10 11:08:09 -07:00
Gregory Szorc
2bb5606ff3
Bug 799291 - Part 3: Move mozbuild.testing into testing/; r=jhammel
...
--HG--
rename : python/mozbuild/mozbuild/testing/test.py => testing/moztesting/util.py
2012-10-10 11:08:09 -07:00
Gregory Szorc
6ded76c4e2
Bug 799291 - Part 2: Remove "test" command from mach; r=jhammel
...
The command was practically worthless and will likely be reborn as a
generic "run a test by specific a path or special name" command. But,
that requires a more intelligent build system first.
2012-10-10 11:08:09 -07:00