Commit Graph

46 Commits

Author SHA1 Message Date
Siddharth Agarwal
2ba368816d Bug 780612 - Add a list of characters which probably indicate shell scripts but native commands won't reject. r=khuey
--HG--
extra : rebase_source : 38ffd729c2972e142673fbca50584c241b4eade0
2012-08-08 00:49:02 +05:30
Gregory Szorc
07fa777702 Bug 778495 - Part 2: Add query related APIs for functions and expansions
khuey gave permission to land without review.

--HG--
extra : rebase_source : f76f8ae43efa9719f71ca6b6b2223ada1e18a6cd
2012-08-06 10:24:10 -07:00
Gregory Szorc
be9db1c891 Bug 778495 - Part 1: Add BaseExpansion class and new methods for expansions
khuey gave permission to land without review.

--HG--
extra : rebase_source : 18d741488cf93e6eaf4d553badad840cc620a4fd
2012-08-06 10:23:58 -07:00
Gregory Szorc
5e7c6406e2 Bug 769976 - Statement reformatting and equality operators
You can now call to_source() on Expansion, StringExpansion, Function
(and derived), Statement (and derived), Condition (and derived), and
StatementList to obtain make "source code" for that entity. This means
you can write out make files by constructing an appropriate set of
Statement instances.

This also implements __eq__ and __ne__ on all of the above. This is
being used in the tests to verify that the reformatting code works
properly (produces an equivalent StatementList).

khuey gave permission to land without review.

--HG--
extra : rebase_source : ffc16e930279fc4a6978117efabf5483d7087b53
2012-08-06 10:23:25 -07:00
Mike Hommey
7a50b770cf Fixup whitespaces from bug 777379. DONTBUILD 2012-08-06 15:31:10 +02:00
Mike Hommey
a195685a40 Bug 777379 - Ensure that default is always the default target. r=ted 2012-08-06 15:21:10 +02:00
Siddharth Agarwal
152872b738 The correct fix for bug 780497. Missed a backslash. 2012-08-06 02:16:00 +05:30
Siddharth Agarwal
d7e70f8548 Bug 780497 - Pymake build broken because it thinks touch {uuid}/Makefile contains shell metacharacters. r=khuey 2012-08-06 00:45:59 +05:30
Siddharth Agarwal
cda3e7de9e Bug 780407 - Pymake: Export variables in MAKEFLAGS, including those passed over the command-line. r=khuey 2012-08-05 03:22:00 +05:30
Siddharth Agarwal
1b00f2f47d Bug 770165 - Fix a test to reflect the reality that Pymake works with Windows paths but MSYS make works with Unix paths. r=khuey
--HG--
extra : rebase_source : 75be29ad11113ead1a16ed212e745759ee2fc4d6
2012-07-25 22:40:07 +05:30
Gregory Szorc
23d566d043 Bug 774558 - Fix typo in SubstitutionRef.__repr__; r=khuey
--HG--
extra : rebase_source : d3ed1a34ef61e0f23c2166c4c1071474494c93ac
2012-07-20 10:50:51 -07:00
Siddharth Agarwal
b2ace89d27 Bug 772186 - Support return values from pymake native commands. r=khuey
If the return value is an integer, treat it like an exit code. Otherwise, if
it is None, treat it like 0. Otherwise treat it as an error. This behaviour is
equivalent to that of sys.exit. Also fix our own sys.exit handling to match
this, and add tests for everything.

--HG--
extra : rebase_source : e36155d8fbe555e76effd182979cd6b1000a6ece
2012-07-12 09:52:25 +05:30
Gregory Szorc
ec932f822e Bug 769700 - Add docstrings to pymake.parserdata classes; r=bsmedberg 2012-07-10 17:20:15 -07:00
Gervase Markham
638c878b13 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Kyle Huey
a217bb3d44 Update pymake snapshot to pull Bug 755828 and remove incorrectly added MPL 2 headers. 2012-05-25 12:14:16 -07:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Mark Hammond
b2ae182f53 Bug 737245 followup: backout chunk of pymake that slipped in with this bug's patch. DONTBUILD 2012-04-06 10:31:47 +10:00
Bobby Holley
12f76c4989 Bug 737245 - Typed Arrays should handle cross-compartment wrappers; part3. r=luke 2012-04-05 09:39:41 +10:00
Ted Mielczarek
db4efed29c bug 714347 - pymake sort function should remove duplicates. r=khuey
--HG--
extra : rebase_source : 0a39a2a1578856f7c9c15b4e43b58961dc8088a7
2012-01-03 12:54:21 -05:00
Kyle Huey
ad6b1c9560 Bug 700203: Followup because python is insane. 2011-11-07 07:16:24 -05:00
Kyle Huey
90c85d5540 Update to pymake tip to pick up bug 700203. 2011-11-06 21:53:30 -05:00
Kyle Huey
83a904d1e4 Update pymake snapshot to r300. 2011-10-31 13:16:21 -04:00
Kyle Huey
e5338dd619 Pull an updated pymake snapshot. 2011-10-26 15:07:47 -04:00
Kyle Huey
9485b4b948 Commit pymake test that got missed on the recent update. 2011-08-26 08:07:30 -04:00
Kyle Huey
b98f68714b Update pymake snapshot. 2011-08-26 07:43:13 -04:00
Kyle Huey
3e149c974c And add the new tests. 2011-07-21 11:50:25 -07:00
Kyle Huey
78a77c7ac1 Update pymake snapshot to r293. 2011-07-21 11:48:23 -07:00
Mitchell Field
3890a98c74 Bug 637034 - Add a native mkdir to pymake.builtins. r=ted 2011-03-20 20:12:36 +11:00
Neil Rashbrook
238e6a0eb0 Bug 616810 Remove extraneous CRs r=khuey a=bsmedberg 2011-01-05 23:46:04 +00:00
Kyle Huey
4859ca23ca Update in-tree pymake to tip. a=NPOTB 2010-10-18 09:50:27 -04:00
Kyle Huey
ec0f0943fa Bug 604279: Handle spacing in front of define and endef when inside a define block. r=ted a=NPOTB 2010-10-14 17:04:26 -04:00
Mitchell Field
52d9113c02 Bug 542582 - pymake should support -s. r=khuey, a=NPOTB 2010-09-08 02:06:55 +10:00
Benjamin Smedberg
c71b401114 Import a new rev of pymake which fixes, among other things, bug 576914 2010-07-10 20:56:38 -07:00
Ginn Chen
c31fc239f4 Bug 538723: run_for_effect is not portable for Bourne shell r=ted.mielczarek 2010-03-08 17:30:40 +08:00
Robert O'Callahan
8763894793 Bug 536524. Normalize paths when possible/necessary to keep them under MAX_PATH limits. r=bsmedberg 2010-03-05 11:52:59 +13:00
Benjamin Smedberg
3bbf52cdfb Update pymake for additional fixes, including making it work in MozillaBuild 1.4 without manually exporting SHELL, not printing warnings for -include files which don't exist, and parsing errors in browser/locales/Makefile. 2009-10-26 14:08:20 -04:00
Benjamin Smedberg
4dafcde401 Update pymake to pick up the fix for bug 523691 and some other stuff, NPODB. 2009-10-23 11:16:27 -04:00
Benjamin Smedberg
008e309c7f Bug 513032 - remove empty conditionals in our makefiles, r=ted 2009-08-27 10:48:18 -07:00
Benjamin Smedberg
cd2c007c60 Additional followup #3 to bug 398573 - remove more REQUIRES by fixing another bug in the script 2009-08-27 09:09:31 -07:00
Benjamin Smedberg
0df64c6bc4 Additional followup to bug 398573 - remove REQUIRES from the tree even when they are in makefile conditional blocks
--HG--
extra : rebase_source : cc65c34a414e6c67a5651fc9cf0b6bd709ebcdbd
2009-08-27 08:53:13 -07:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Benjamin Smedberg
0ba8d594a1 Update pymake 2009-04-02 12:26:17 -04:00
Benjamin Smedberg
e9a284b15d Update pymake for better memory usage and faster execution. 2009-04-01 16:13:55 -04:00
Benjamin Smedberg
21a20179b4 Update pymake with --keep-going and other fixes 2009-03-31 17:10:23 -04:00
Benjamin Smedberg
241c1b5040 Update pymake to tip of my repo, NPODB. 2009-03-26 16:24:51 -04:00
Benjamin Smedberg
5e6515d97a Import pymake into Mozilla. This is not used by default (yet), but this snapshot should be good enough for doing relative-srcdir builds on Windows. r=ted 2009-03-19 10:19:38 -04:00