Commit Graph

721 Commits

Author SHA1 Message Date
Cameron McCormack
31a9b91a59 Add documentation about the lldb commands and type summaries available; no bug. (DONTBUILD) rs=ehsan 2014-01-16 17:51:55 +11:00
Cameron McCormack
172451b3fa Fix ftl lldb alias; no bug. (DONTBUILD) 2014-01-16 17:51:55 +11:00
Cameron McCormack
f72979cfc5 Bug 959922 - Add lldb command to print an object refcount. (DONTBUILD) r=ehsan 2014-01-16 17:51:54 +11:00
Cameron McCormack
7ae60ecf84 Bug 959921 - Add lldb command to print an Element's tag name. (DONTBUILD) r=ehsan 2014-01-16 17:51:54 +11:00
Cameron McCormack
24e5d24f45 Bug 959480 - Add lldb synthetic children for nsTArray and friends. r=ehsan 2014-01-15 11:30:10 +11:00
Cameron McCormack
6390db2fff Bug 959452 - Add lldb summaries for nsACString and nsAString. r=ehsan 2014-01-15 11:29:36 +11:00
Cameron McCormack
0e72d82cc2 Bug 959445 - Add lldb summaries for nsIAtoms, nsTextNodes and nsTextFragments showing their text content. r=ehsan 2014-01-15 11:29:36 +11:00
Cameron McCormack
7a2dc7c7ea Bug 959016 - Add lldb Python command handlers for debugging Gecko, starting with frametree and frametreelimited. (DONTBUILD) r=ehsan 2014-01-14 09:24:22 +11:00
Mike Hommey
71a7b66679 Bug 950298 - Make the js build system use top-level as its root objdir. r=gps 2014-01-14 07:38:40 +09:00
Mike Hommey
874f160d0d Bug 958437 - Build static directories as part of compile instead of libs and tools; r=gps
--HG--
extra : rebase_source : dc082b833582972af27adab1e553e4b079fac458
2014-01-10 18:09:14 +09:00
Gregory Szorc
696d8e1c29 Bug 909522 - Run mach's unit tests as part of make check; r=mshal
test_entry_point.py is not enabled because the test fails. This is
tracked by bug 958196.

--HG--
extra : rebase_source : 1f326a9bbd7ee0e8e12ff33f49d8484cc244c42d
2014-01-09 11:20:41 -08:00
Gregory Szorc
62c47d4190 Bug 957856 - Synchronize mach with upstream repository; r=ahal
The test changes and setup.py are NPOTB. base.py and main.py
added a new feature to declare global arguments.

--HG--
extra : rebase_source : 4b14487d9aff98247464e0b0c08b4fc5cfbd862a
2014-01-08 16:14:39 -08:00
Gregory Szorc
c5265350aa NO BUG - Synchronize mach documentation with upstream repo
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 07831414dcc182b57a6d7844f8eb2e136f1b636d
extra : amend_source : b8bc9cd1146f82d3e36bbd2846442d13989eefe4
2014-01-08 15:29:43 -08:00
Max Li
76d6faf2c0 Bug 935196 - Bootstrap doesn't have MacPorts url for 10.9. r=gps 2014-01-07 20:48:31 -08:00
Gregory Szorc
069d1b3681 Bug 952606 - Don't leave temporary files when executing test_preprocessor.py; r=mshal
--HG--
extra : rebase_source : e8084a91a297732f66e9a981f9b787c7b5300e2e
extra : amend_source : 5c9db101f05af8be37a0f6881e4313b03c9172d7
2013-12-20 15:59:37 -08:00
James Graham
f7a080f278 Bug 951733 - Support passing an existing argparse.ArgumentParser to mach in order to populate the command arguments. r=gps 2014-01-03 11:32:53 +00:00
Benjamin Peterson
15ef9298ed Bug 953195 - Print filename in unused warning. r=gps 2014-01-02 16:34:40 -06:00
Ehsan Akhgari
61d8af7ca4 Bug 955699 - Try lowering the path length tolerance some more 2014-01-02 13:44:44 -05:00
Ehsan Akhgari
ea7bcb12bf Bug 955699 - Try lowering the path length tolerance on Windows for comm-central builds 2014-01-02 12:54:35 -05:00
Brian O'Keefe
f2c0466119 Bug 935987 - Part 1: Give the preprocessor a better API; r=gps 2013-11-11 08:50:42 -05:00
Ehsan Akhgari
30a4d139fa Bug 940708 - Part 4: Limit the length of the unified file name prefix to 50 characters so that we don't blow up the Windows path name limit; r=glandium
--HG--
extra : rebase_source : cc3e9238dcda8e0bb49e10407d4bafa4e5be4594
2013-12-18 21:55:19 -05:00
Ehsan Akhgari
83dedf78d9 Bug 940708 - Part 3: Handle asm sources for unified webrtc builds; r=gps
--HG--
extra : rebase_source : 517c6e73002b288d2d16bc4c516096ff1a0caf72
2013-12-18 21:52:21 -05:00
Mike Hommey
f19a06ebfc Bug 940708 - Part 2: Build webrtc in unified mode; r=gps
--HG--
extra : rebase_source : b4a4fd21c65851e8e9377218ec19181f5f86e8b8
2013-12-18 15:40:03 +09:00
Gregory Szorc
fce7b45cdf Bug 952280 - mach python commands now use virtualenv APIs; r=mshal
The Python-related mach commands were written before we had a virtualenv
API exposed to the mach command context. This patch updates those
commands to use the newer APIs. As a bonus, these commands now work
without running configure!

--HG--
extra : rebase_source : ea394d6fc0c5fa2d3a3a6ed25fc59ce6be40690c
extra : amend_source : e841d57a2578c93b778ef73c68c35a8cc7cfde44
2013-12-19 13:48:37 -08:00
Gregory Szorc
fe4a7a2ab1 Bug 951352 - Disallow XPIDL_MODULE if XPIDL_SOURCES isn't defined; r=glandium
Once upon a time XPIDL_MODULE and MODULE were kind of the same and
MODULE got mass-converted into XPIDL_MODULE with the removal of MODULE
in bug 939044. Unfortunately, we forgot to add a check for XPIDL_MODULE
being defined if XPIDL_SOURCES isn't (a build config that makes no sense
and only results in cargo culting).

This patch corrects that oversight.

--HG--
extra : rebase_source : d609e2baa8d16df97c944bc9def26ad05527d937
2013-12-17 12:45:56 -08:00
Ehsan Akhgari
8c2572ef3c Backed out 4 changesets (bug 940708) for ASAN bustage
Backed out changeset 8b081bf3d16c (bug 940708)
Backed out changeset 8d1da29cee34 (bug 940708)
Backed out changeset aedcac877ab0 (bug 940708)
Backed out changeset d4aec392a165 (bug 940708)

--HG--
extra : rebase_source : dec5c491a2233dfe7fe2153559e01313d3583a33
2013-12-20 13:05:29 -05:00
Gregory Szorc
9e82078bdb Bug 952395 - Update Homebrew bootstrap URL to reflect upstream changes
DONTBUILD (NPOTB)
2013-12-20 10:02:06 -08:00
Ehsan Akhgari
002501e54b Bug 940708 - Part 4: Limit the length of the unified file name prefix to 50 characters so that we don't blow up the Windows path name limit; r=glandium
--HG--
extra : rebase_source : 7f28ada75a26132af951893137127e0f1517995b
2013-12-18 21:55:19 -05:00
Ehsan Akhgari
6da57e25bc Bug 940708 - Part 3: Handle asm sources for unified webrtc builds; r=gps
--HG--
extra : rebase_source : 75f72fa64c0cde4c63b3ef5c09964cdf99fb32a2
2013-12-18 21:52:21 -05:00
Mike Hommey
2168897d54 Bug 940708 - Part 2: Build webrtc in unified mode; r=gps
--HG--
extra : rebase_source : db1315634af0cab9cd47ff38ad0fac703c04f452
2013-12-18 15:40:03 +09:00
Ehsan Akhgari
073724df42 Bug 949704 - Turn off the useless warning about swapping after the build finishes until we have better reasons to display it; r=gps
--HG--
extra : rebase_source : e056be92cba60b970db1b6887a18bff018ef68a0
2013-12-19 15:59:10 -05:00
Mike Hommey
ff3c3e3db5 Bug 944551 - Handle unicode in mozbuild.util.shell_quote. r=gps 2013-11-30 18:46:13 +09:00
Martin Thomson
7bd44eecd2 Bug 950957 - Use ${COMP_WORDS[0]} for completion in mach. r=gps 2013-12-19 11:42:19 -05:00
Mike Hommey
57508a1ca7 Bug 951010 - Move ConfigStatus.py under mozbuild. r=gps
--HG--
rename : build/ConfigStatus.py => python/mozbuild/mozbuild/config_status.py
2013-12-18 08:07:11 +09:00
Gregory Szorc
e396fc159d Bug 774572 - Part 2: Define JAR_MANIFESTS in moz.build files; r=glandium
Every directory with a jar.mn now has JAR_MANIFESTS defined in its
moz.build file.

We also removed the may_skip special consideration of jar.mn files
because this information is now available during tier traversal by the
reader courtesy of the variables being present in moz.build files.

--HG--
extra : rebase_source : 21049b15e6bd9cf65b0805ccaccc4ba5aae93c98
extra : amend_source : 0b1ea866d725beef92d37c6f6d475369ac002e19
2013-12-10 16:18:11 +09:00
Gregory Szorc
40438af67c Bug 774572 - Part 1: Support for defining JAR manifests in moz.build; r=glandium
JAR_MANIFESTS can now be defined in moz.build files. However, due to
limitations in rules.mk, only 1 file may be defined at a time. In the
future, this restriction will be lifted. But first, better support for
JAR manifests in the build config must be built.

rules.mk will be updated in the subsequent conversion patch so this
patch applied alone doesn't break the build.

--HG--
extra : rebase_source : 2521d49a1731b659dd720769e4685715925be590
2013-12-13 00:47:02 +09:00
Mike Hommey
77936722b3 Bug 950296 - Turn the map for variable passthrough into a list. r=gps 2013-12-17 11:14:17 +09:00
Mike Hommey
ef13decc2d Bug 950290 - Move python scripts from build/autoconf into a mozbuild submodule. r=gps
--HG--
rename : build/autoconf/check_debug_ranges.py => python/mozbuild/mozbuild/configure/check_debug_ranges.py
rename : build/autoconf/libstdcxx.py => python/mozbuild/mozbuild/configure/libstdcxx.py
2013-12-17 11:13:08 +09:00
Mike Hommey
2328a3a998 Bug 950279 - Expose int() to moz.build sandbox, and use it in build/gyp.mozbuild. r=gps 2013-12-17 11:12:15 +09:00
Nick Alexander
709a4a7087 Bug 923950 - Fix Android single locale repacks. r=glandium
There are two parts to this.  The first is to add AndroidManifest.xml
as a dependency to the "no dependencies" ap_ built during packaging.
The aapt call requires it.  So "no dependencies" is more accurately
"no *resource* dependencies".

The second is to avoid including the Android res/ directory in the
language repack step.  What happens is that the l10n.py script sees
the Android res/ files left in the dist/ directory after unpacking and
expects to find them in the objdir.  They're not there, so the script
fails.  To avoid this, we delete them after unpacking.  See the
comments in packager.mk describing this process.

--HG--
extra : rebase_source : 35c3c125dddcd575c1a5e8ad58f9aa13ff2db4c3
2013-12-14 15:36:17 -08:00
Gregory Szorc
c2b654599f Bug 950370 - Capture WebIDL example interfaces in moz.build; r=glandium
Previously, the set of WebIDL example interfaces to build was hardcoded
in the mozwebidlcodegen Python package. Unfortunately, the example
interfaces in that set were dependent on test-only bindings files,
resulting in build failures when tests were disabled (because those
test-only bindings were defined in a test directory).

In this patch, we now declare example interfaces in moz.build files
so the set of example interfaces lives next to the set of defined
bindings files. The example interfaces are defined in a test moz.build
file - in the same file declaring the bindings files that contain the
interfaces - so the example interfaces only get picked up if the
corresponding bindings are defined.

We could probably switch WebIDL moz.build variables to use lists with
flags. That would be good followup fodder. For now, let's fix the build.

--HG--
extra : rebase_source : 00070a6d560625bc84ab9b10d6848ea037f8f5ed
extra : amend_source : 0890ecef444ba58533fcfaa333773d78deafd7f3
2013-12-15 11:43:47 -08:00
Mark Hammond
5ac8fedf48 Bug 948258 - Move browser tests from dom/indexedDB/test/Makefile.in to browser.ini. r=ted 2013-12-16 15:07:44 +11:00
Geoff Brown
d74ea70de7 Bug 945975 - Add mach support for Android xpcshell tests; r=ted 2013-12-13 21:20:39 -07:00
Mike Hommey
34b94bf852 Bug 949334 - Use FINAL_LIBRARY for webrtc. r=gps 2013-12-14 11:38:53 +09:00
Gregory Szorc
8167b5ca6f Bug 949304 - Print Makefile counts during config.status; r=glandium
We now capture and print the number of Makefile.in and the number of
generated Makefile as part of config.status. This should give us a nice,
easy to extract metric going forward.

Pushing on a CLOSED TREE because this patch didn't deserve to get backed
out.

--HG--
extra : amend_source : 36028b17fd09c57455aef681bbe459891f5ed607
2013-12-13 00:03:55 +09:00
Carsten "Tomcat" Book
27f0f88f29 Backed out changeset 273e7ed05fa3 (bug 949304) for Windows Bustage on a CLOSED TREE 2013-12-13 12:46:03 +01:00
Gregory Szorc
abf326e01b Bug 949906 - Add a callback to modify evaluated moz.build sandboxes, fix Sphinx docs; r=glandium
--HG--
extra : rebase_source : 9ef2219145fb754a9cbe9e7e30b6f2841910f13f
2013-12-13 16:06:53 +09:00
Gregory Szorc
09c13814b1 Bug 949304 - Print Makefile counts during config.status; r=glandium
We now capture and print the number of Makefile.in and the number of
generated Makefile as part of config.status. This should give us a nice,
easy to extract metric going forward.

--HG--
extra : rebase_source : 48a3e9f66975505dec76746703875b2364dedc87
2013-12-13 00:03:55 +09:00
Gregory Szorc
b47eeb6ab3 Bug 928195 - Part 4: Rewrite WebIDL build system integration; r=bz, r=glandium
WebIDL build system integration has been rewritten from the ground up.
Changes:

* GlobalGen.py, BindingGen.py, and ExampleGen.py have been removed in
  favor of mozwebidl.py.

* Static .webidl files are now processed directly in their original location
  and aren't copied to the object directory.

* Generated events <stem>.cpp files are now compiled into the unified
  sources. Previously, only the <stem>Binding.cpp files were compiled
  into unified sources.

* Exported .h files are now generated directly into their final location.
  Previously, they were generated into the local directory then
  installed in their final location.

* The list of globalgen-generated files now lives in Python and isn't
  duplicated in 3 places.

* The make dependencies are much simpler as a result of using a single
  command to perform all code generation. The auto-generated .pp file from
  code generation sets up all dependencies necessary to reinvoke code
  generation and Python takes care of dependency management.

--HG--
extra : rebase_source : e4918878274b22a412329c7cb18cc7138daf5dc6
2013-12-12 16:26:38 +09:00
Mike Hommey
f31e7b8bc4 Bug 778236 - Remove EXTERNAL_MAKE_DIRS and PARALLEL_EXTERNAL_MAKE_DIRS. r=gps 2013-12-12 23:41:06 +09:00