Commit Graph

172 Commits

Author SHA1 Message Date
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
Thomas Nagy c14f00f4c1 Code mistakenly removed from the core classes 2012-09-26 18:41:58 +02:00
Thomas Nagy 8cd692474d update to waf 1.7.3 2012-09-13 06:10:28 +02:00
Thomas Nagy 72f6bce85c New release 1.7.2 2012-08-05 17:42:47 +02:00
Thomas Nagy 3ee50382fb use the compact pickle files (faster) 2012-07-30 18:35:17 +02:00
Thomas Nagy a0592ed9b1 Updated the ChangeLog file and the version to 1.7.1 2012-07-29 18:07:31 +02:00
Thomas Nagy 943d9c5b83 refactoring gone bad 2012-06-10 17:51:55 +02:00
Thomas Nagy 5de226d7ac docs and cosmetic changes 2012-06-09 09:42:11 +02:00
Thomas Nagy 6ecaf793a9 Add stdout/stderr parameters to exec_command to force the unbuffered output 2012-05-08 18:35:22 +02:00
Thomas Nagy 2477e19cbd do not output configuration errors to stderr (regression from Issue 1101) 2012-04-08 20:58:53 +02:00
Thomas Nagy d8f192fbc2 remove more except: lines 2012-02-11 14:31:00 +01:00
Thomas Nagy 2263d60b8d Issue 1101 2012-02-06 02:07:18 +01:00
Thomas Nagy 8fb1de97d8 do not load the compat15 tool by default in waf 1.7 2012-02-04 19:34:19 +01:00
Thomas Nagy 4b108e2f95 new release 1.6.11 2012-02-04 19:02:11 +01:00
Thomas Nagy 3561e05ed4 #1096 2012-01-02 20:26:06 +01:00
Thomas Nagy b8c19f423a future release 1.6.10 2011-12-17 09:28:02 +01:00
Thomas Nagy fd8bc22660 corner case with recurse(recurse(name=a)) 2011-12-06 03:43:15 +01:00
Thomas Nagy 977372d94a docs 2011-11-06 14:26:32 +01:00
Thomas Nagy dfd5872e62 new release - waf 1.6.8 2011-10-01 09:25:36 +02:00
Thomas Nagy 516a253cbd #1039 2011-10-01 09:20:36 +02:00
Thomas Nagy ce5241dc26 issue #856 2011-09-17 02:18:04 +02:00
Thomas Nagy 2efa1ed844 Remove the remaining references to svn. 2011-09-10 21:25:03 +02:00
Thomas Nagy 44a967e326 Initial commit 2011-09-10 11:13:51 +02:00