2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-12-03 07:21:12 +01:00
Commit Graph

70 Commits

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