Commit Graph

854 Commits

Author SHA1 Message Date
Ryan VanderMeulen
4a1ef4dfd0 Merge m-c to inbound. 2013-03-04 18:20:41 -05:00
Gregory Szorc
f757ba542c Bug 846409 - Add |mach mach-debug-commands|; r=jhammel
DONTBUILD (NPOTB)
2013-03-04 10:18:48 -08:00
Gregory Szorc
8442536e3f Backout 05914d4f27e3 and 231b7f8046d9 (bug 844635) for causing test failures 2013-03-02 17:36:53 -08:00
Gregory Szorc
e5ad4d7a1c Bug 844635 - Part 2: Don't require Makefile.in to exist; r=glandium 2013-03-01 14:44:09 -08:00
Gregory Szorc
75bfecd9a3 Bug 844635 - Part 1: mach command to find empty Makefile.in; r=glandium 2013-03-01 14:44:06 -08:00
Gary Kwong
e3f624c367 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
1d62e7e30f 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
26c3b82fb1 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
aea301eee3 Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Ed Morley
2f417022fb Merge mozilla-central to mozilla-inbound 2013-02-26 10:45:52 +00:00
Gregory Szorc
45faa95b04 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
0f670c7f48 Bug 805811 - Support bootstrapping with MacPorts; r=gps
DONTBUILD (NPOTB)
2013-02-25 19:52:36 -08:00
Gregory Szorc
c3f2ed9adf Bug 784841 - Part 18e: Convert /build, /config, and core build system; r=ted 2013-02-25 12:47:18 -08:00
Gregory Szorc
42c8470531 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
026abf6d83 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
43c3437c77 Bug 784841 - Part 12: Don't recurse into static tier directories; r=ted 2013-02-18 16:40:17 -08:00
Gregory Szorc
4b70ebe1d5 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
7c86473ca0 bug 833164 - consolodate the various makeDepend things in the tree r=ted 2013-02-14 07:06:16 -05:00
Matt Brubeck
9c6355b39f Bug 839786 - Print a more useful message for mach clobber errors [r=gps] 2013-02-14 11:49:52 -08:00
Chris Coulson
f4eee4a8f8 Bug 837631 - Refresh virtualenv.py to pick up the changes from 661f7866da20. r=gps 2013-02-06 16:58:09 -05:00
Edmund Wong
3123348099 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
7ce1446707 Bug 838384 - mozboot bootstrap.py does not recognize newer Xcode's clang. r=gps 2013-02-05 16:59:01 -08:00
Gregory Szorc
dd1d41aa45 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
abe0bea34f 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
3923d117c9 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
092a9fa25e 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
0d5b94986e 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
aec48ba2bc Bug 835309 - Fix JarFileReader.readlines() and make flake8 happier. r=gps 2013-02-03 07:18:55 +01:00
Gregory Szorc
7d40cd1974 Bug 794162 - Mach command to generate a .clang_complete file; r=ehsan
DONTBUILD (NPOTB)
2013-02-01 12:21:43 -08:00
Masatoshi Kimura
c59c86bf0c Bug 784841 - Deal with non-ASCII substs. r=gps 2013-01-31 00:21:43 +09:00
Gregory Szorc
716204f494 Merge mozilla-central into build-system 2013-01-29 20:27:15 -08:00
Gregory Szorc
026d59b6d0 Bug 784841 - Part 11b: Normalize paths in tests (fix test failure); r=me 2013-01-29 14:06:39 -08:00
Gregory Szorc
cde622b60d Bug 784841 - Part 11a: Normalize paths in tests (fix test failure); r=me 2013-01-29 08:55:35 -08:00
Gregory Szorc
155fdfa487 Bug 784841 - Part 11: Add CONFIGURE_SUBST_FILES to moz.build files; r=ted 2013-01-29 06:35:46 -08:00
Gregory Szorc
f018b82438 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
3f0e709c09 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
88203907e7 Bug 784841 - Part 8: Capture and save moz.build tree state; r=ted 2013-01-29 06:24:24 -08:00
Gregory Szorc
8a34faf22a Bug 784841 - Part 7: Implement recursive make backend; r=ted 2013-01-29 06:24:24 -08:00
Gregory Szorc
5dbdd4988c 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
70e5a71113 Bug 818789 - |mach build| can now control what is built; r=glandium
DONTBUILD (NPOTB)
2013-01-29 10:20:06 -08:00
Ryan VanderMeulen
3d06005920 Merge m-c to inbound. 2013-01-24 21:09:59 -05:00
Mike Hommey
7a21175d92 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
2acffd00d8 Bug 834176 - Use NON_OMNIJAR_FILES value in the new packager. r=gps 2013-01-25 00:38:47 +01:00
Zuhao(Joe) Chen
e901e82f40 Bug 831168 - Mach should handle a corrupted warnings database. r=gps 2013-01-24 18:10:27 -05:00
Mike Hommey
06559c6867 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
30605cdec8 Bug 780561 - Unit tests for the new packager code. r=ted,r=gps 2013-01-23 11:23:14 +01:00
Mike Hommey
0151c8b56a Bug 780561 - Import new packager code. r=gps 2013-01-23 11:23:14 +01:00
Jeff Hammel
8379e0acc9 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
3a824d7543 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
ef2ff3557a Merge mozilla-central into build-system 2013-01-16 12:37:21 -08:00
Gregory Szorc
8d20f87c62 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
ec7a8780bf 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
24daa1d8d8 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
e92c8e933a 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
63425cf9e5 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
9a3d3a3ef4 Merge mozilla-central into build-system 2013-01-04 21:21:29 +01:00
Ms2ger
4951adbb99 Merge mozilla-central into build-system 2013-01-03 10:46:16 +01:00
Chris Peterson
a70aae143a 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
28aed6452e Bug 818646 - Add mozbuild Python tests to |make check|; r=ted 2012-12-21 12:43:46 -08:00
Gregory Szorc
1ea7cbf0a3 Bug 818777 - Switch to NamedTemporaryFile from mozfile; r=ted
This version works with Windows.
2012-12-20 16:11:35 -08:00
Nicholas Nethercote
224415775c 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
e2ecc82c18 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
13efe6f3dc Bug 820117 - Remove XQuartz from OS X prerequisites; r=gps
DONTBUILD (NPOTB)
2012-12-11 14:02:27 -08:00
Richard Newman
a0ac8cef41 Bug 820179 - Mach command for packaging. r=gps 2012-12-11 11:42:11 -08:00
Gregory Szorc
b90f244f8b Bug 818649 - Ensure mach logs are written to log file; r=jhammel
DONTBUILD (NPOTB)
2012-12-07 11:44:11 -08:00
Gregory Szorc
eec5c26676 Bug 818656 - Normalize paths when loading mozconfigs; r=glandium
DONTBUILD (NPOTB)
2012-12-05 22:47:35 -08:00
Gregory Szorc
f718bace7a Bug 803400 - Add clobber mach command; r=glandium
DONTBUILD (NPOTB)
2012-12-05 22:46:01 -08:00
Gregory Szorc
4651a24498 Bug 818545 - Gracefully handle errors when loading mozconfigs; r=glandium
DONTBUILD (NPOTB)
2012-12-05 14:34:14 -08:00
Gregory Szorc
76c6d0c01e Bug 818366 - Ability to pass through file descriptors to child processes; r=jhammel 2012-12-05 14:22:58 -08:00
Gregory Szorc
047d37efb9 Bug 810742 - Handle callee thrown exceptions when invoking a mach command; r=jhammel 2012-12-05 14:21:58 -08:00
Gregory Szorc
5a8419ee85 Bug 818628 - Handle long exit code values; r=edmorley
DONTBUILD (NPOTB)
2012-12-05 12:32:09 -08:00
Gregory Szorc
d1484b4697 Bug 818554 - Handle empty variables when parsing mozconfig output; r=glandium
DONTBUILD (NPOTB)
2012-12-05 11:20:59 -08:00
Gregory Szorc
963b4c0ea2 Bug 818543 - Define topsrcdir in mozbuild evaluation environment; r=glandium
DONTBUILD (NPOTB)
2012-12-05 10:20:42 -08:00
Gregory Szorc
4727558096 Bug 808357 - Part 2: Implement mozconfig finding and loading in Python; r=glandium 2012-12-04 22:02:06 -08:00
Gregory Szorc
c96956b189 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
de90c16949 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
4c6884173e Bug 814075 - Remove reference to mach test, fix help usage; r=me
DONTBUILD (NPOTB)
2012-11-21 10:25:44 -08:00
Gregory Szorc
9eac13abf3 Bug 797471 - Handle mochitest failures gracefully in mach; r=Ms2ger 2012-11-14 12:56:02 -08:00
Ryan VanderMeulen
7bd581fd2e Merge m-c to inbound. 2012-11-07 20:48:51 -05:00
Ryan VanderMeulen
50c3369029 Merge the last PGO-green inbound changeset to m-c. 2012-11-07 20:08:02 -05:00
Cameron McCormack
379329a092 Bug 809650 - Handle mach @CommandArguments in the right order. DONTBUILD (NPOTB) r=gps 2012-11-08 10:21:43 +11:00
Gregory Szorc
ae6b6a8049 Bug 809544 - mach now prints elapsed time as MM:SS; r=jhammel 2012-11-07 11:54:41 -08:00
Gregory Szorc
26d1f2eb12 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
57be670bf6 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
fff0f2c942 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
262077ed01 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
2305a6fff8 Merge mozilla-central into mozilla-inbound 2012-11-07 17:24:27 -05:00
Ted Mielczarek
1f793ca130 bug 803654 - Import mock into virtualenv. r=jhammel 2012-10-29 11:12:30 -04:00
Ryan VanderMeulen
a7d45f8d16 Merge m-c to inbound. 2012-11-02 16:11:46 -04:00
Freddie F. Haddad
b857e39ff6 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
c896275503 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
eb32b8572e 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
39d79750c9 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
fdb27c7386 Bug 800633 - Clean up references to code moved out of mozbuild; r=jhammel
DONTBUILD (NPOTB)
2012-10-11 17:13:18 -07:00
Ms2ger
0b8c6fe6b1 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
f2f23df435 Bug 799648 - Followup: Remove a line accidentally left in; r=gps (NPOTB, DONTBUILD) 2012-10-11 21:47:11 +02:00
Gregory Szorc
5dc05ddbc1 Bug 799648 - Part 4: Temporarily disable settings file integration; r=jhammel
DONTBUILD (NPOTB)
2012-10-10 11:09:21 -07:00
Gregory Szorc
53f46d2389 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
41082edccd 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
f0bba46079 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
8529433a95 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
c998968a1b Bug 795427 - Part 3: Print more user friendly error messages; r=jhammel 2012-10-10 11:08:09 -07:00
Gregory Szorc
03f6510b34 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
035ceeeba3 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
Gregory Szorc
3dd8150678 Bug 799291 - Part 1: Move mach commands for test running into test runners; r=jhammel
The code interacting with the test runners now resides in closer
proximity to the code it is invoking. We also purge testing
functionality from mozbuild, which is where it never really belonged.

--HG--
rename : python/mozbuild/mozbuild/testing/reftest.py => layout/tools/reftest/mach_commands.py
rename : python/mozbuild/mozbuild/testing/mochitest.py => testing/mochitest/mach_commands.py
rename : python/mozbuild/mozbuild/testing/xpcshell.py => testing/xpcshell/mach_commands.py
2012-10-10 11:08:09 -07:00
Gregory Szorc
875a861646 Bug 799262 - Formal API for loading mach command modules; r=jhammel 2012-10-10 11:08:09 -07:00
Gregory Szorc
399732ddbe Bug 822103 - Support 'LinuxMint' distro in mozboot; r=edmorley
DONTBUILD (NPOTB)
2012-12-31 10:12:15 -08:00
Masatoshi Kimura
a456be81da Bug 795670 - Don't raise exception on convertion failure. r=gps DONTBUILD (NPOTB) 2012-10-07 16:30:13 -07:00
Gregory Szorc
121d387bf6 Bug 794509 - Part 3: Automatically discover mach commands in sys.path; r=jhammel
DONTBUILD (NPOTB)
2012-10-05 12:19:19 -07:00
Gregory Szorc
0fdac85994 Bug 794509 - Part 2: Move mach command modules into a mach.commands sub-module; r=jhammel
This patch on its own will break mach. Part 3 will refactor mach's
loader to discover and load modules using a modified module finding
method.

--HG--
rename : python/mach/mach/settings.py => python/mach/mach/commands/settings.py
rename : python/mach/mach/build.py => python/mozbuild/mach/commands/build.py
rename : python/mach/mach/testing.py => python/mozbuild/mach/commands/testing.py
rename : python/mach/mach/warnings.py => python/mozbuild/mach/commands/warnings.py
2012-10-05 12:13:18 -07:00
Gregory Szorc
ad06cd046e Bug 794509 - Part 1: mach subcommands are now defined through Python decorators; r=jhammel 2012-10-05 12:12:51 -07:00
Gregory Szorc
5f3beb48f2 Bug 795427 - Part 2: Terminate mach silently when KeyboardInterrupt is raised; r=jhammel
DONTBUILD (NPOTB)
2012-10-04 17:43:56 -07:00
Gregory Szorc
66a56c8a6b Bug 795427 - Part 1: Proper exit codes from mach; r=jhammel 2012-10-04 17:43:54 -07:00
Gregory Szorc
7b9cdd0f3b Bug 796840 - Don't have mozprocess worry about process children when running make; r=jhammel
DONTBUILD (NPOTB)
2012-10-04 17:23:06 -07:00
Ehsan Akhgari
d3c97746ef Bug 797093 - Fix running mochitests through mach; r=gps
DONTBUILD
2012-10-02 17:03:31 -04:00
Ms2ger
388bca7c1d Bug 780698 - Part c: Support mochitest-a11y, reftest, crashtest in mach; r=gps 2012-10-02 10:24:12 +02:00
Ms2ger
962ca363fa Bug 780698 - Part b: Fix mochitest runners; r=gps 2012-10-02 10:24:11 +02:00
Ms2ger
f838deea24 Bug 780698 - Part a: Give _run_make append_env and explicit_env arguments; r=gps 2012-10-02 10:24:11 +02:00
Ms2ger
30159adc3b Bug 795034 - Fix append_env argument to mozbuild's _run_command; r=gps 2012-10-02 10:24:11 +02:00
Gregory Szorc
786ec14573 Bug 795394 - Default to utf-8 encoding when no encoding is specified; r=jhammel
DONTBUILD (NPOTB)
2012-10-01 11:12:33 -07:00
Gregory Szorc
2f77dd77e6 Bug 795477 - Install NullHandler on root logger; r=jhammel 2012-10-01 11:08:53 -07:00
Gregory Szorc
bf236c89e7 Bug 795491 - Improve mach's help text; r=jhammel 2012-10-01 11:06:40 -07:00
Gregory Szorc
d759b79ad8 Bug 794713 - Convert process output to Unicode; handle Unicode in logger properly; r=glandium
DONTBUILD (NPOTB)
2012-09-28 10:29:32 -07:00
Gregory Szorc
2b947c3c7f Bug 794729 - Run config.guess and mozconfig through shell; r=glandium
DONTBUILD (NPOTB)
2012-09-27 10:12:48 -07:00
Gregory Szorc
a87cda10c4 Bug 751795 - Part 5: mach can now build the tree, record compiler warnings; r=jhammel
This is meant to be a stop-gap until more robust tree building lands in
mozbuild. It simply proxies building through client.mk and captures
compiler warnings using the existing mechanism in mozbuild.

There are some DRY violations for how the compiler database is managed.
The more robust tree building code contains consolidated compiler
database logic. The DRY violations should disappear when that lands.

DONTBUILD (NPOTB)
2012-09-26 16:42:38 -07:00
Gregory Szorc
c02cbd5bdc Bug 751795 - Part 4: Add flags to _run_make to control behavior; r=jhammel 2012-09-26 16:40:14 -07:00
Gregory Szorc
74643c5201 Bug 751795 - Part 3: Testing module; r=jhammel DONTBUILD (NPOTB)
mach can now run some tests.
2012-09-26 09:46:27 -07:00
Gregory Szorc
6a39b9e0a4 Bug 751795 - Part 2: Add settings module; r=jhammel 2012-09-26 09:44:38 -07:00
Gregory Szorc
60111d5545 Bug 751795 - Part 1: mach, the new frontend to mozilla-central; r=jhammel 2012-09-26 09:43:54 -07:00
Gregory Szorc
04214faefe Bug 780329 - Part 6: Add testing modules to mozbuild; r=jhammel 2012-09-26 09:43:53 -07:00
Gregory Szorc
26650da24d Bug 780329 - Part 5: Add base modules to mozbuild; r=glandium, jhammel 2012-09-26 09:43:53 -07:00
Ryan VanderMeulen
a740bd1b17 Merge the last PGO-green inbound changeset to m-c. 2012-09-21 22:38:53 -04:00
Gregory Szorc
03c0d80db3 Bug 780329 - Part 4: Define CompilerWarning.__cmp__; r=jhammel DONTBUILD (NPOTB) 2012-09-21 12:05:37 -07:00
Gregory Szorc
b6dc6ae676 Bug 780329 - Part 3: Ability to register structured loggers; r=jhammel 2012-09-21 12:05:12 -07:00
Gregory Szorc
6f67f8661e Bug 780329 - Part 2: Add generic settings/config module; r=jhammel 2012-09-21 12:05:12 -07:00
Gregory Szorc
a909f8d0c2 Bug 780329 - Part 1: Python 3 compatibility; r=jhammel
This makes existing mozbuild code compatible with Python 2.7 and Python
3.2. Future additions to this package will be compatible with both
Python versions.
2012-09-21 12:05:12 -07:00
Gregory Szorc
26bcfc7817 Bug 792135 - Part 1: Add which Python package; r=glandium
Version 1.1.0 obtained from https://code.google.com/p/which/ and added
to tree without modifications aside from the removal of which.exe, which
has no reason to be in the tree.
2012-09-20 20:54:46 -07:00
Gregory Szorc
9a00da21c4 Bug 783727 - Part 4: Add psutil Python package; r=glandium
Version 0.6.1 obtained from
https://psutil.googlecode.com/files/psutil-0.6.1.tar.gz
2012-09-19 11:20:16 -07:00
Gregory Szorc
1194436ba8 Bug 774109 - Fix typos in OS X mozboot backend; r=me DONTBUILD
Typos were trivial and weren't worth finding a reviewer for.

--HG--
extra : rebase_source : 40f039121aa5efd710449cff726ac5521f92b7fe
2012-09-18 16:55:20 -07:00
Gregory Szorc
d2ae2988b7 Bug 792202 - Make mozboot work with Python 2.6.1; r=jhammel DONTBUILD
Python 2.6.1 is what ships on OS X 10.6 and we want to support mozboot
there.

We include 3 fixes:

1) optparse doesn't like unicode as its initial argument
2) __init__(**kwargs) doesn't like unicode keys
3) subprocess does not have check_output

We took the easy solution of removing unicode_literals. This should have
no significant consequences.
2012-09-18 14:45:21 -07:00
Gregory Szorc
8dfad419ea Bug 790995 - Part 2: Tie stdin to executed processes; r=me DONTBUILD 2012-09-13 17:51:01 -07:00
Landry Breuil
cc09789768 Bug 790750 - Add OpenBSD backend to mozboot; r=gps DONTBUILD 2012-09-13 17:22:13 -07:00
Gregory Szorc
1a8267d453 Bug 790995 - Change how root commands are executed; r=jhammel
os.system has been replaced with subprocess.check_call. We also check
the effective UID to determine whether to run via sudo.
2012-09-13 17:21:49 -07:00
Gregory Szorc
a737815069 Bug 774109 - Bootstrap support for OS X; r=rnewman DONTBUILD
This implements the OS X backend for the bootstrapper. It ensures that
the system is in the proper state to build Firefox by installing
required packages.

This was tested with a fresh install of OS X 10.8. Basic support for OS
X 10.6 and 10.7 is implemented, but not thorougly tested.
2012-09-12 21:29:20 -07:00
Gregory Szorc
0c82fd22e5 Bug 774112 - Part 2b: Add missing files to download manifest; r=me 2012-09-11 16:43:13 -07:00
kmm
47cef56b88 Bug 774112 - Part 2: Implement bootstrap support for popular Linux distros; r=gps 2012-09-11 16:27:26 -07:00
Gregory Szorc
29579e5a7c Bug 774112 - Part 1: Skeleton for one-line system bootstrapping; r=jhammel 2012-09-11 16:27:20 -07:00
Ehsan Akhgari
f22f8b7a49 Bug 579517 - Part 4: Manually rewrite some parts of the code base not covered by the automated conversion; r=bsmedberg 2012-08-22 11:59:54 -04:00
Gregory Szorc
a87a0c6b27 Bug 777233 - Add warning module to mozbuild to track compiler warnings; r=vlad 2012-08-03 11:45:43 -07:00
Gregory Szorc
06b34efa25 Bug 777231 - Add skeleton for mozbuild package; r=vlad 2012-08-03 11:44:16 -07:00
Gregory Szorc
960affcc55 Bug 777068 - Move simplejson to python/; r=glandium
--HG--
rename : other-licenses/simplejson-2.1.1/CHANGES.txt => python/simplejson-2.1.1/CHANGES.txt
rename : other-licenses/simplejson-2.1.1/LICENSE.txt => python/simplejson-2.1.1/LICENSE.txt
rename : other-licenses/simplejson-2.1.1/PKG-INFO => python/simplejson-2.1.1/PKG-INFO
rename : other-licenses/simplejson-2.1.1/conf.py => python/simplejson-2.1.1/conf.py
rename : other-licenses/simplejson-2.1.1/docs/_sources/index.txt => python/simplejson-2.1.1/docs/_sources/index.txt
rename : other-licenses/simplejson-2.1.1/docs/_static/contents.png => python/simplejson-2.1.1/docs/_static/contents.png
rename : other-licenses/simplejson-2.1.1/docs/_static/default.css => python/simplejson-2.1.1/docs/_static/default.css
rename : other-licenses/simplejson-2.1.1/docs/_static/doctools.js => python/simplejson-2.1.1/docs/_static/doctools.js
rename : other-licenses/simplejson-2.1.1/docs/_static/file.png => python/simplejson-2.1.1/docs/_static/file.png
rename : other-licenses/simplejson-2.1.1/docs/_static/interface.js => python/simplejson-2.1.1/docs/_static/interface.js
rename : other-licenses/simplejson-2.1.1/docs/_static/jquery.js => python/simplejson-2.1.1/docs/_static/jquery.js
rename : other-licenses/simplejson-2.1.1/docs/_static/minus.png => python/simplejson-2.1.1/docs/_static/minus.png
rename : other-licenses/simplejson-2.1.1/docs/_static/navigation.png => python/simplejson-2.1.1/docs/_static/navigation.png
rename : other-licenses/simplejson-2.1.1/docs/_static/plus.png => python/simplejson-2.1.1/docs/_static/plus.png
rename : other-licenses/simplejson-2.1.1/docs/_static/pygments.css => python/simplejson-2.1.1/docs/_static/pygments.css
rename : other-licenses/simplejson-2.1.1/docs/_static/rightsidebar.css => python/simplejson-2.1.1/docs/_static/rightsidebar.css
rename : other-licenses/simplejson-2.1.1/docs/_static/searchtools.js => python/simplejson-2.1.1/docs/_static/searchtools.js
rename : other-licenses/simplejson-2.1.1/docs/_static/sphinxdoc.css => python/simplejson-2.1.1/docs/_static/sphinxdoc.css
rename : other-licenses/simplejson-2.1.1/docs/_static/stickysidebar.css => python/simplejson-2.1.1/docs/_static/stickysidebar.css
rename : other-licenses/simplejson-2.1.1/docs/_static/traditional.css => python/simplejson-2.1.1/docs/_static/traditional.css
rename : other-licenses/simplejson-2.1.1/docs/genindex.html => python/simplejson-2.1.1/docs/genindex.html
rename : other-licenses/simplejson-2.1.1/docs/index.html => python/simplejson-2.1.1/docs/index.html
rename : other-licenses/simplejson-2.1.1/docs/objects.inv => python/simplejson-2.1.1/docs/objects.inv
rename : other-licenses/simplejson-2.1.1/docs/search.html => python/simplejson-2.1.1/docs/search.html
rename : other-licenses/simplejson-2.1.1/docs/searchindex.js => python/simplejson-2.1.1/docs/searchindex.js
rename : other-licenses/simplejson-2.1.1/docs/searchindex.json => python/simplejson-2.1.1/docs/searchindex.json
rename : other-licenses/simplejson-2.1.1/ez_setup.py => python/simplejson-2.1.1/ez_setup.py
rename : other-licenses/simplejson-2.1.1/index.rst => python/simplejson-2.1.1/index.rst
rename : other-licenses/simplejson-2.1.1/scripts/make_docs.py => python/simplejson-2.1.1/scripts/make_docs.py
rename : other-licenses/simplejson-2.1.1/setup.cfg => python/simplejson-2.1.1/setup.cfg
rename : other-licenses/simplejson-2.1.1/setup.py => python/simplejson-2.1.1/setup.py
rename : other-licenses/simplejson-2.1.1/simplejson/__init__.py => python/simplejson-2.1.1/simplejson/__init__.py
rename : other-licenses/simplejson-2.1.1/simplejson/_speedups.c => python/simplejson-2.1.1/simplejson/_speedups.c
rename : other-licenses/simplejson-2.1.1/simplejson/decoder.py => python/simplejson-2.1.1/simplejson/decoder.py
rename : other-licenses/simplejson-2.1.1/simplejson/encoder.py => python/simplejson-2.1.1/simplejson/encoder.py
rename : other-licenses/simplejson-2.1.1/simplejson/ordered_dict.py => python/simplejson-2.1.1/simplejson/ordered_dict.py
rename : other-licenses/simplejson-2.1.1/simplejson/scanner.py => python/simplejson-2.1.1/simplejson/scanner.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/__init__.py => python/simplejson-2.1.1/simplejson/tests/__init__.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_check_circular.py => python/simplejson-2.1.1/simplejson/tests/test_check_circular.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_decimal.py => python/simplejson-2.1.1/simplejson/tests/test_decimal.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_decode.py => python/simplejson-2.1.1/simplejson/tests/test_decode.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_default.py => python/simplejson-2.1.1/simplejson/tests/test_default.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_dump.py => python/simplejson-2.1.1/simplejson/tests/test_dump.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_encode_basestring_ascii.py => python/simplejson-2.1.1/simplejson/tests/test_encode_basestring_ascii.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_encode_for_html.py => python/simplejson-2.1.1/simplejson/tests/test_encode_for_html.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_fail.py => python/simplejson-2.1.1/simplejson/tests/test_fail.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_float.py => python/simplejson-2.1.1/simplejson/tests/test_float.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_indent.py => python/simplejson-2.1.1/simplejson/tests/test_indent.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_pass1.py => python/simplejson-2.1.1/simplejson/tests/test_pass1.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_pass2.py => python/simplejson-2.1.1/simplejson/tests/test_pass2.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_pass3.py => python/simplejson-2.1.1/simplejson/tests/test_pass3.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_recursion.py => python/simplejson-2.1.1/simplejson/tests/test_recursion.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_scanstring.py => python/simplejson-2.1.1/simplejson/tests/test_scanstring.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_separators.py => python/simplejson-2.1.1/simplejson/tests/test_separators.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_speedups.py => python/simplejson-2.1.1/simplejson/tests/test_speedups.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_unicode.py => python/simplejson-2.1.1/simplejson/tests/test_unicode.py
rename : other-licenses/simplejson-2.1.1/simplejson/tool.py => python/simplejson-2.1.1/simplejson/tool.py
2012-07-26 13:07:28 -07:00
Gregory Szorc
4147feb77f Bug 777068 - Move virtualenv into python/; r=glandium
--HG--
rename : other-licenses/virtualenv/AUTHORS.txt => python/virtualenv/AUTHORS.txt
rename : other-licenses/virtualenv/LICENSE.txt => python/virtualenv/LICENSE.txt
rename : other-licenses/virtualenv/MANIFEST.in => python/virtualenv/MANIFEST.in
rename : other-licenses/virtualenv/PKG-INFO => python/virtualenv/PKG-INFO
rename : other-licenses/virtualenv/docs/index.txt => python/virtualenv/docs/index.txt
rename : other-licenses/virtualenv/docs/news.txt => python/virtualenv/docs/news.txt
rename : other-licenses/virtualenv/scripts/virtualenv => python/virtualenv/scripts/virtualenv
rename : other-licenses/virtualenv/setup.cfg => python/virtualenv/setup.cfg
rename : other-licenses/virtualenv/setup.py => python/virtualenv/setup.py
rename : other-licenses/virtualenv/virtualenv.py => python/virtualenv/virtualenv.py
rename : other-licenses/virtualenv/virtualenv_embedded/activate.bat => python/virtualenv/virtualenv_embedded/activate.bat
rename : other-licenses/virtualenv/virtualenv_embedded/activate.csh => python/virtualenv/virtualenv_embedded/activate.csh
rename : other-licenses/virtualenv/virtualenv_embedded/activate.fish => python/virtualenv/virtualenv_embedded/activate.fish
rename : other-licenses/virtualenv/virtualenv_embedded/activate.ps1 => python/virtualenv/virtualenv_embedded/activate.ps1
rename : other-licenses/virtualenv/virtualenv_embedded/activate.sh => python/virtualenv/virtualenv_embedded/activate.sh
rename : other-licenses/virtualenv/virtualenv_embedded/activate_this.py => python/virtualenv/virtualenv_embedded/activate_this.py
rename : other-licenses/virtualenv/virtualenv_embedded/deactivate.bat => python/virtualenv/virtualenv_embedded/deactivate.bat
rename : other-licenses/virtualenv/virtualenv_embedded/distribute_setup.py => python/virtualenv/virtualenv_embedded/distribute_setup.py
rename : other-licenses/virtualenv/virtualenv_embedded/distutils-init.py => python/virtualenv/virtualenv_embedded/distutils-init.py
rename : other-licenses/virtualenv/virtualenv_embedded/distutils.cfg => python/virtualenv/virtualenv_embedded/distutils.cfg
rename : other-licenses/virtualenv/virtualenv_embedded/ez_setup.py => python/virtualenv/virtualenv_embedded/ez_setup.py
rename : other-licenses/virtualenv/virtualenv_embedded/site.py => python/virtualenv/virtualenv_embedded/site.py
rename : other-licenses/virtualenv/virtualenv_support/__init__.py => python/virtualenv/virtualenv_support/__init__.py
rename : other-licenses/virtualenv/virtualenv_support/distribute-0.6.27.tar.gz => python/virtualenv/virtualenv_support/distribute-0.6.27.tar.gz
rename : other-licenses/virtualenv/virtualenv_support/pip-1.1.tar.gz => python/virtualenv/virtualenv_support/pip-1.1.tar.gz
rename : other-licenses/virtualenv/virtualenv_support/setuptools-0.6c11-py2.4.egg => python/virtualenv/virtualenv_support/setuptools-0.6c11-py2.4.egg
rename : other-licenses/virtualenv/virtualenv_support/setuptools-0.6c11-py2.5.egg => python/virtualenv/virtualenv_support/setuptools-0.6c11-py2.5.egg
rename : other-licenses/virtualenv/virtualenv_support/setuptools-0.6c11-py2.6.egg => python/virtualenv/virtualenv_support/setuptools-0.6c11-py2.6.egg
rename : other-licenses/virtualenv/virtualenv_support/setuptools-0.6c11-py2.7.egg => python/virtualenv/virtualenv_support/setuptools-0.6c11-py2.7.egg
2012-07-26 13:06:54 -07:00
Gregory Szorc
46b94b69ce Bug 777068 - Move blessings Python package to python/; r=glandium
--HG--
rename : build/pylib/blessings/LICENSE => python/blessings/LICENSE
rename : build/pylib/blessings/MANIFEST.in => python/blessings/MANIFEST.in
rename : build/pylib/blessings/PKG-INFO => python/blessings/PKG-INFO
rename : build/pylib/blessings/README.rst => python/blessings/README.rst
rename : build/pylib/blessings/blessings/__init__.py => python/blessings/blessings/__init__.py
rename : build/pylib/blessings/blessings/tests.py => python/blessings/blessings/tests.py
rename : build/pylib/blessings/setup.cfg => python/blessings/setup.cfg
rename : build/pylib/blessings/setup.py => python/blessings/setup.py
rename : build/pylib/blessings/tox.ini => python/blessings/tox.ini
2012-07-24 23:59:54 -07:00
Gregory Szorc
5a64a1eca1 Bug 775243 - Create top-level directory for Python; r=brendan 2012-07-24 13:59:37 -07:00