Commit Graph

83 Commits

Author SHA1 Message Date
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