Commit Graph
1785 Commits
Author SHA1 Message Date
Gregory Szorc 92a507f3f6 Bug 1071012 - Extract Sphinx variables via AST reading; r=glandium
The in-tree Sphinx docs have been broken since bug 1041941 because
processing moz.build files outside their context doesn't work.
Specifically, templates aren't loaded (because this information usually
comes from a parent moz.build file). A new execution mode is needed.

I tried to implement a proper execution mode. However, I kept running
into walls. While we should strive for a proper execution mode, this can
be a follow-up, tracked in bug 1058359.

This patch implements extraction of Sphinx variables from ast walking.
It is extremely low-level and definitely a one-off. But it solves the
problem at hand: |mach build-docs| will work after this patch is
applied.
2014-10-07 10:36:27 -07:00
Bill McCloskey 2b10dbf23d Bug 930243 - Add a processType flag to chrome manifest directives (r=froydnj) 2014-10-07 11:46:24 -07:00
Mark Hammond d41d206fbb Bug 1074507 - Avoid pre-filtering tests so we can have e10s-only tests. r=ted 2014-10-01 17:06:00 -04:00
Wes Kocher 9a9d0048ac Merge m-c to inbound a=merge CLOSED TREE 2014-10-06 20:59:17 -07:00
Wes Kocher e9f3c5a025 Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Mike Hommey 711c2629f1 Bug 1076649 - Remove the '+' prefixing from mach commands with allow_all_arguments=True. r=gps
The reason to use '+' prefixing was to distinguish between options to the
mach command itself, and options that are passed down to whatever the
command does (like mach run passing down args to the built application).
That makes things unnecessarily awkward, and quite non-standard.

Instead, use standard '-' prefixing, and pass all the unknown arguments
down. If there is overlap between the known arguments and arguments supported
by the underlying tool (like -remote when using mach run), it is possible to
use '--' to mark all following arguments as being targetted at the underlying
tool.

For instance:
    mach run -- -remote something
would run
    firefox -remote something
while
    mach run -remote something
would run
    firefox something

As allow_all_arguments is redundant with the presence of a argparse.REMAINDER
CommandArgument, allow_all_arguments is removed. The only mach command with a
argparse.REMAINDER CommandArgument without allow_all_arguments was "mach dmd",
and it did so because it didn't want to use '+' prefixes.
2014-10-07 07:36:27 +09:00
Nick Alexander e4e2c26181 Bug 1077381 - Follow-up: Try to fix Windows bustage. r=me
a=bustage on a CLOSED TREE
2014-10-06 12:38:12 -07:00
Nick Alexander 683cb21550 Bug 1077381 - Encode generate_browsersearch verbose output as utf-8. r=gps
We need codecs for the print function and unicode_literals to let the
format() string stay undecorated.
2014-10-06 11:32:24 -07:00
Eric Rahm 6be971b90e Bug 806819 - Part 1: Remove FORCE_PR_LOG unified build restriction. r=gps 2014-10-06 13:06:55 -07:00
Nicholas Nethercote e64ae4d11d Bug 1066680 (follow-up) - Unbreak |mach dmd|. r=me. 2014-10-05 20:13:09 -07:00
Nicholas Nethercote 2e4ef63638 Bug 1044709 - DMD: emit JSON output and use Python for post-processing. r=mccr8. 2014-09-02 20:34:58 -07:00
Wes Kocher 82c4743407 Merge m-c to inbound a=merge 2014-10-23 18:09:47 -07:00
Nicholas Nethercote b8036ed928 Bug 1076446 - Make the DMD test work on Windows. r=glandium. 2014-10-09 19:28:33 -07:00
Ryan VanderMeulen 04699c4122 Merge fx-team to m-c. a=merge 2014-10-02 13:00:31 -04:00
Andrew Halberstadt 70597265c9 Bug 1054809 - Add ability to open support files in gtests, r=ted
In moz.build:
TEST_HARNESS_FILES.gtest += ['foo']     # fopen('foo')
TEST_HARNESS_FILES.gtest.bar += ['foo'] # fopen('bar/foo')
2014-10-02 09:01:34 -04:00
Nick Alexander eaed6f3be5 Bug 1065306 - Post: Handle utf-8 files in DotProperties. r=gps 2014-10-01 23:23:30 -07:00
Nick Alexander 4d8687bd04 Bug 1065306 - Part 4: Write localized res/raw-*/browsersearch.json. r=mshal 2014-10-01 23:23:29 -07:00
Nick Alexander 8ee0759709 Bug 1065306 - Part 3: Extract DotProperties helper. r=lucasr,mshal
The only substantive change here is to stop stripping the
'browser.suggestedsites.' prefix from each line when reading
region.properties.
2014-10-01 23:23:28 -07:00
Panos Astithas 08a74f88d6 Bug 1066680 - mach run should provide an option to start without a profile. r=gps 2014-09-12 18:45:53 +03:00
Stephen Pohl 1088e58cd4 Mac v2 signing - Bug 1060562 - Update xpcshell-tests for the new v2 bundle structure on OSX. r=jmaher 2014-09-29 11:51:29 -07:00
Nick Alexander 51a5d2dac0 Bug 1069648 - Add instrumentation manifests to moz.build. r=ted
These manifests are special in that they don't package their test files
into the test package.  Each test listed in an instrumentation manifest
serves as an identifier rather than a file.
2014-09-26 11:44:58 -07:00
Nick Alexander b110b32d13 Bug 1070057 - Make TestResolver.resolve_tests filter by subsuite. r=ted 2014-09-26 11:44:57 -07:00
Mike Hommey c122678d09 Bug 1063437 - Remove MozbuildSandbox.normalize_path. r=gps 2014-10-02 09:14:08 +09:00
Mike Hommey 88bb1257b4 Bug 1063437 - Use SourcePath smart type for sandbox includes. r=gps 2014-10-02 09:14:08 +09:00
Mike Hommey af29e70f00 Bug 1063432 - Do type coercion on sandbox function arguments. r=gps 2014-10-02 09:14:08 +09:00
Mike Hommey 83f73d825f Bug 1063414 - Make DIRS relative to the file they were added from. r=gps 2014-10-02 09:14:07 +09:00
Mike Hommey 0320cf40de Bug 1063414 - Move sandbox execution stack to context.Context. r=gps 2014-10-02 09:14:07 +09:00
Mike Hommey ac19917717 Bug 1063414 - Add infrastructure to follow what the current file being processed is in a Context. r=gps 2014-10-02 09:14:07 +09:00
Mike Hommey e3cf9a679a Bug 1062221 - Change how DIRS and TEST_DIRS are handled. r=gps
Up to now, DIRS and TEST_DIRS were dumb values. This change makes them
a list of ContextDerivedValues, and handles the fact that some types of
paths are relative to the current source directory and others to the
topsrcdir.

This also makes us one step closer to fixing bug 991983.
2014-10-02 09:14:07 +09:00
Mike Hommey 7a86cf7f73 Bug 1062221 - Replace add_tier_dir with DIRS. r=gps 2014-10-02 09:14:07 +09:00
Mike Hommey fd1c7c8b09 Bug 1062221 - Add a TypedList type and refactor mozbuild.util lists. r=gps 2014-10-02 09:14:06 +09:00
Nicholas Nethercote fc873016f1 Bug 1072778 (part 2) - Use '-' instead of '_' in |mach dmd| flags. r=erahm.
DONTBUILD because |mach dmd| is NPOTB.
2014-09-25 17:20:12 -07:00
Nicholas Nethercote 5e9894b630 Bug 1072778 (part 1) - Make |mach dmd| work on Linux. r=erahm. 2014-09-25 17:19:53 -07:00
Mike Hommey 9fdb0246fb Bug 837846 - Respect MOZ_MAKE_FLAGS when running make commands from mach. r=mshal 2014-09-26 07:35:28 +09:00
Ryan VanderMeulen 1ac7c5d571 Merge m-c to inbound. a=merge
CLOSED TREE
2014-09-24 16:08:33 -04:00
Carsten "Tomcat" Book 84cb15937d Backed out changeset aa8972afcbe5 (bug 1065306) 2014-09-24 08:30:34 +02:00
Carsten "Tomcat" Book 2f09bfa07a Backed out changeset c4ecd64d8b95 (bug 1065306) 2014-09-24 08:30:30 +02:00
Nick Alexander 51a744d4c0 Bug 1065306 - Part 4: Write localized res/raw-*/browsersearch.json. r=mshal 2014-09-23 09:52:47 -07:00
Nick Alexander dce2564089 Bug 1065306 - Part 3: Extract DotProperties helper. r=lucasr,mshal
The only substantive change here is to stop stripping the
'browser.suggestedsites.' prefix from each line when reading
region.properties.
2014-09-23 09:52:46 -07:00
Wes Kocher dceba30035 Merge m-c to inbound a=merge 2014-09-23 16:48:23 -07:00
Mike Hommey 3e60d1cc8b Bug 837846 - Fix MOZ_MAKE_FLAGS handling for client.mk. r=mshal
After bug 762358 mk_add_options MOZ_MAKE_FLAGS was simply ignored in client.mk
processing. At the same time, mach environment was expecting a list of options
while the mozconfig reader returned a single string, so straighten this up at
the same time.
2014-09-24 07:56:58 +09:00
Wes Kocher c0c9b801d7 Merge m-c to inbound a=merge 2014-09-22 20:05:22 -07:00
Dave Townsend 2fa34afa9a Bug 1035512: Add a new common JS testing harness based on the mochitest test runner. r=gps, ted, erikvold, jmaher 2014-09-22 11:08:06 -07:00
Eric Rahm 0cffa56551 Bug 1058851 - Add ability to launch with DMD enabled with |mach dmd|. r=njn, r=mshal 2014-08-26 15:25:18 -07:00
Nick Alexander d5e9aff2f1 Bug 1069569 - Complain about missing test files for all suites. r=mshal 2014-09-19 11:19:37 -07:00
Ted Mielczarek c2bd6a764f bug 1052744 - Add mozbuild.makeutil.write_dep_makefile. r=gps 2014-08-26 11:55:47 -04:00
Nathan Froyd febf1acc75 Bug 1062518 - ensure that |mach python-test| considers $PWD when finding tests; r=mshal 2014-09-15 13:25:41 -04:00
Nathan Froyd 5972ac594d Bug 1067499 - make build error for misspelled variables more helpful; r=mshal 2014-09-15 13:23:53 -04:00
Nathan Froyd f31555fb53 Bug 976733 - part 3 - convert testing/mozbase/ to use TEST_HARNESS_FILES; r=gps 2014-08-29 11:03:11 -04:00
Nathan Froyd 243a79d4d6 Bug 976733 - part 2 - add TEST_HARNESS_FILES and convert testing/mochitest/ to use it; r=gps 2014-08-15 14:28:26 -04:00