Commit Graph

172 Commits

Author SHA1 Message Date
Thomas Nagy a768c3114d
Simplify boolean comparisons 2017-04-22 22:08:00 +02:00
Thomas Nagy 89a37949c0
waf-2.0.0pre2 2017-04-22 15:53:00 +02:00
Thomas Nagy 5ac6123e5e
Cleanup: Break multiple statements on multiple lines 2017-04-17 13:16:57 +02:00
Thomas Nagy cfe9158664
Cleanup 2017-04-17 12:24:33 +02:00
Thomas Nagy 5d4074eb7f
Display commands as string with "WAF_CMD_FORMAT=string waf build -v" 2017-03-04 08:20:27 +01:00
Matt Selsky c46ee9bfe3 Typo 2017-02-15 18:36:13 +01:00
Thomas Nagy b7d93c3c4d
Update the year in headers to 2017 2017-02-11 16:13:37 +01:00
Thomas Nagy f1487eab44
iso8859-1 -> latin-1 2017-01-21 13:28:06 +01:00
Thomas Nagy cdfd5f03cf
Development branch for waf 2.0 2016-11-20 10:14:25 +01:00
Thomas Nagy b159ecc44f
waf-1.9.5 2016-10-09 16:28:59 +02:00
Thomas Nagy f02047b8ea
Add install_user and install_group to bld.install/bld.install_as/bld.symlink_as 2016-10-08 22:35:05 +02:00
Thomas Nagy 3686ac341d
Simplifications for #1823 2016-10-03 13:02:51 +02:00
Thomas Nagy eab0bd4c82
Simplifications 2016-09-30 21:36:28 +02:00
Jan Niklas Hasse bfcef62e45 Don't fail on output decoding errors 2016-09-30 14:25:49 +02:00
Thomas Nagy 9c50a30f94
waf 1.9.4 2016-09-10 12:33:21 +02:00
Thomas Nagy a91e7be005
Ignore subprocess timeouts on Python < 3.3 2016-09-03 18:36:19 +02:00
Thomas Nagy 9f14c9dda0
Kill process trees on timeouts (os.killpg) 2016-09-03 18:29:41 +02:00
Thomas Nagy 7719af7af1
Missing timeout settings 2016-09-02 20:06:26 +02:00
Thomas Nagy 8dba949014
Use the same logic as Python3.5 for handling timeouts #1807 2016-08-28 13:12:55 +02:00
Thomas Nagy e169da4227
waf 1.9.3 2016-08-21 15:35:44 +02:00
Thomas Nagy 332f3c5665
waf 1.9.2 2016-07-31 18:39:33 +02:00
Thomas Nagy 1fa2e6f7e1
waf-1.9.1 2016-07-03 09:51:45 +02:00
Thomas Nagy 39056a6ba5
waf 1.9 2016-06-26 13:45:21 +02:00
Thomas Nagy ccc77cd9f5
Api docs 2016-06-25 02:38:26 +02:00
Thomas Nagy e8ef5a89eb
More cleanup 2016-06-05 00:23:57 +02:00
Thomas Nagy 062a5263a0
Update conf.check_waf_version to 1.9 2016-06-04 09:33:13 +02:00
Thomas Nagy 6574fd7e40
waf 1.9.0 p3 2016-05-23 22:08:57 +02:00
Thomas Nagy 26b370f440
Remove a few more 'Exception:' lines 2016-05-14 12:15:15 +02:00
Thomas Nagy da5c7d8b5c
Moved unnecessary constants out of Context.py 2016-05-11 21:59:16 +02:00
Thomas Nagy 8520dd65bb
Code cleanup 2016-04-19 22:00:21 +02:00
Thomas Nagy cf9330a371
Remove Context.__hash__ 2016-04-01 23:27:46 +02:00
Thomas Nagy a08aff6bff
Format debug/info records lazily 2016-03-19 14:46:22 +01:00
Thomas Nagy b4437f3b51
Exception handling enhancements 2016-02-28 14:23:54 +01:00
Thomas Nagy 8207a878a9
Enable multiprocessing for faster subprocess execution 2016-02-25 20:03:07 +01:00
Thomas Nagy 6d6222bc18
Unnecessary variable duplication 2016-02-06 13:03:43 +01:00
Thomas Nagy 85157243c4
Version number for waf 1.9 2016-01-11 03:20:07 +01:00
Thomas Nagy 43e26b5bef
cwd must be a Node object 2016-01-02 01:54:52 +01:00
Thomas Nagy 4fdd8a520d Task cwd must be a node object 2015-12-24 23:10:56 +01:00
Thomas Nagy 7681bddfb7 Remove Node.sig and Node.cache_sig 2015-12-23 17:55:44 +01:00
Thomas Nagy e414ad08fd
Version 1.8.17 2015-11-10 21:52:54 +01:00
Thomas Nagy d2ade00ef8
waf 1.8.16 2015-10-26 22:58:04 +01:00
Thomas Nagy e3ac7630eb
Clearer error message when folders do not exist - Issue 1643 2015-10-21 01:08:14 +02:00
Thomas Nagy f340819d50
waf 1.8.15 2015-10-16 23:34:02 +02:00
Jérôme Carretero ce892773c6 context: fixup load_special_tools ban when using the zip 2015-10-13 00:58:39 -04:00
Thomas Nagy cf92a7bd24
waf 1.8.14 2015-09-20 12:18:01 +02:00
Thomas Nagy c5952e19ab
waf 1.8.13 2015-09-13 22:14:31 +02:00
Thomas Nagy 41bd22ebfa
Update use_config - Issue 1608 2015-08-29 10:31:02 +02:00
Thomas Nagy 34c6ee8c0e
loadFromSysPath -> with_sys_path 2015-08-28 22:43:38 +02:00
Thomas Nagy cadd260a9e
Always remove the timeout and input arguments from the Popen constructor 2015-08-23 18:52:45 +02:00
Thomas Nagy 03ad2fff74
Adding input to cmd_and_log/exec_command enables stdin=PIPE 2015-08-23 17:39:25 +02:00
Thomas Nagy 274fba398c
Fixed the invalid docstring 2015-08-23 17:05:57 +02:00
Thomas Nagy a08b9fe26a
Added new parameters input/timeout to cmd_and_log/exec_command 2015-08-23 17:01:25 +02:00
Nikolaus Lieb 64f557a17e Ensure restoration of sys.path in Context.load_module() 2015-07-28 16:47:46 +08:00
Nikolaus Lieb b22118a2de Add an option to skip searching the regular sys.path when loading waf tools.
Granting this control allows the avoidance of issues such as accidentally
loading the "cython" module from from Cython itself, rather than the
"cython" waf tool.
Conflicts:
	waflib/Configure.py
	waflib/Context.py
2015-07-28 16:47:35 +08:00
Sean Bartell 03a510f480 Fix exec_command and cmd_and_log when cmd is tuple 2015-06-28 14:59:49 -05:00
Thomas Nagy f8a3d56775
Preparations for Waf 1.8.12 2015-06-27 12:41:16 +02:00
Thomas Nagy a336bb1b8b
waf 1.8.11 2015-06-20 22:24:30 +02:00
Thomas Nagy 3886c70929
waf 1.8.10 2015-05-24 15:39:46 +02:00
Thomas Nagy 3d6a35070a
waf-1.8.9 2015-04-26 21:32:12 +02:00
Thomas Nagy 41c7b2dcf8
docs 2015-04-06 17:55:40 +02:00
Thomas Nagy fb1d5440ea
cleanup 2015-03-12 19:24:02 +01:00
Thomas Nagy e49afff0fe
waf 1.8.7, coming soon 2015-02-27 21:16:03 +01:00
Thomas Nagy d17bb06e36
waf 1.8.6 2015-02-14 12:07:13 +01:00
Thomas Nagy 18ce4bdc21
waf 1.8.5 2014-12-14 16:22:24 +01:00
Thomas Nagy e048bed13d
More tests for the Waf preprocessor 2014-11-02 00:16:48 +01:00
Thomas Nagy 28ebd858d5
waf 1.8.3 2014-10-31 22:56:47 +01:00
Thomas Nagy 7ffd53b803
Use EnvironmentError more often 2014-10-30 19:09:53 +01:00
Thomas Nagy 293612bcf9
waf 1.8.2 2014-10-12 01:32:19 +02:00
Thomas Nagy 037cb7af78
waf 1.8.1 2014-10-11 11:49:00 +02:00
Thomas Nagy 1979e7425c
Cosmetic changes 2014-10-04 02:02:38 +02:00
Thomas Nagy 388d94cca2
Ensure that Python scripts are read in the desired encoding 2014-09-28 01:30:00 +02:00
Thomas Nagy ee1f04770d
waf-1.8.0rc1 2014-09-21 21:04:48 +02:00
Thomas Nagy c427ab45af
Issue 1392 - extras/use_config.py 2014-09-21 20:50:43 +02:00
Thomas Nagy 7e84079cc7
docs 2014-09-14 20:26:07 +02:00
Thomas Nagy 905d0295f6
Issue 1452 2014-05-17 00:11:34 +02:00
Thomas Nagy 97b1dca7b8
Issue 1374 - close config.log 2014-04-01 23:06:10 +02:00
Thomas Nagy 40673e8860 api fix - Issue 1410 2014-02-20 22:38:22 +01:00
Thomas Nagy 8faafeb913 Issue 1276 - suppress configuration outputs 2014-02-02 04:04:21 +01:00
Thomas Nagy fbb7a0e720
Merge from Jerome's branch 2014-01-16 02:03:53 +01:00
Thomas Nagy a29f775851 Merge from Jerome's branch 2014-01-14 02:31:08 +01:00
Thomas Nagy c09de54b82 Issue 1384 - pickle changes in Python 3.4 2013-12-07 20:17:43 +01:00
Thomas Nagy 2f43179c39 1.7 -> 1.8 2013-10-28 21:32:25 +01:00
Thomas Nagy 20ae777428 disabled the check_exe validation by default and enabled invalid name detection 2013-08-17 18:19:10 +02:00
Jérôme Carretero 8c2c8f1615 Context: simplify waf tool loading error handling
- Assuming that an exception could have been raised, the worst thing
  we do is presenting the wrong exception to the user.
- Actually, the exception is more precise now:

  - if we want to load('pouet'), the error will always be::

      ``No module named pouet``.

  - if we want to load('pouet.coin') the error will always be::

      ``No module named pouet.coin``

    Before it could be either::

      ``No module named pouet.coin``

    or::

      ``No module named coin``
2013-08-14 11:31:44 -04:00
Jérôme Carretero 5db6202ce1 context: "fix" waf tool loading with python 3.3 2013-08-14 11:20:01 -04:00
Jérôme Carretero f3f9e9f99d provide a clearer error message in case Popen'ed executable is not executable
subprocess.Popen() will give a proper error message if the first
argument is an absolute path, but if it's a bare command name, it will
complain with a "Permission Denied" error.

This change provides a clear error every time.

If speed is proven to have an impact on this code, we could add
the "Logs.verbose > 0" precondition or add memoization.
2013-08-12 20:00:47 -04:00
Jerome Carretero a40dbe073b waf-zip: zip-packed waf
Ability to use a waflib.zip file with waf-zip entry point

Changes:

- created waf-zip entry point
- waflib.zip can created by doing::

     zip waflib -9 waflib/*.py waflib/Tools/*.py waflib/extras/*.py

- the wscript also builds waflib.zip
- allow selecting which core tools to use (saves 31k for C/C++ only)
  By default, everything is included.
- altered module loading functions to allow loading modules from a zip file.
2013-08-12 19:34:43 -04:00
Thomas Nagy e8eafe4b9b removed Node.search (use Node.search_node) and an old compiler_cc references 2013-05-26 21:43:27 +02:00
Thomas Nagy c9fa0b75b5 preparation for waf 1.7.11 2013-05-25 12:00:37 +02:00
Thomas Nagy c3cbd4c353 New version 1.7.10 2013-03-22 15:47:41 +01:00
Thomas Nagy 17aff345ea New release 1.7.9 2013-01-13 11:51:07 +01:00
Thomas Nagy 148598a815 reverted the changes from #1212 and #1237 2012-12-28 21:58:37 +01:00
Thomas Nagy 0e243e4212 New release 1.7.8 2012-12-17 18:08:43 +01:00
Thomas Nagy f42b9410c2 documentation update, and preparation for the release 2012-12-16 17:18:10 +01:00
Thomas Nagy c0575b8528 New release 1.7.7 2012-12-16 17:08:08 +01:00
Thomas Nagy e0820153c8 Make demos/subst work in Python 3.2 2012-11-11 22:58:50 +01:00
Thomas Nagy 704f85f131 New release 1.7.6 2012-11-11 22:44:11 +01:00
Thomas Nagy b022f8a314 no more file() in python 3.3 2012-10-31 02:00:01 +01:00
Thomas Nagy 85d863bd52 Issue 1205 2012-10-02 03:43:58 +02:00
Thomas Nagy 4c23f80a7c waf-1.7.4 2012-09-26 18:43:10 +02:00