Commit Graph

2273 Commits

Author SHA1 Message Date
Thomas Nagy 3c22fd412e Fix chmod with tuple rules #1884 2016-12-22 12:07:08 +01:00
Thomas Nagy c78d53a7a2 Include all vars in tuple rules #1883 2016-12-22 12:02:25 +01:00
montonero e3e8e6b711 Fixed '-o' flag for emscripten/clang (#1882)
* correct static lib extension for emscripten

* added space after '-o' flag for emscripten/clang

* removed empty line
2016-12-22 11:16:34 +01:00
Thomas Nagy 0dd0e17ecc Optimize Node.path_from 2016-12-21 19:50:29 +01:00
Thomas Nagy ea032a73ae Update the gsettings schema cache without a shell 2016-12-20 14:01:17 +01:00
XZS f0c5c732a7 glib2: consider destdir when compiling schemas
When a destdir is set, the schemas are now not only installed below it,
but also compiled there.
2016-12-20 13:54:54 +01:00
cconverse711 ec3bf9d046 Fix boost library naming conventions 2016-12-17 14:29:07 +01:00
Ricardo Crudo b9dfbf3caf Tools/python: add option --nopycache (#1878)
Add option to not use __pycache__ dir when installing python objects.
2016-12-15 19:03:29 +01:00
montonero 0143b86505 correct static lib extension for emscripten (#1876) 2016-12-13 16:23:10 +01:00
Thomas Nagy 4095f1403a
waf-1.9.7 2016-12-13 10:26:11 +01:00
Thomas Nagy ade48ed52e
Conceal Python 2.6 subprocess errors 2016-12-08 22:43:58 +01:00
Thomas Nagy de7e8b758e
Read variables from self.vars #1873 2016-12-07 19:04:46 +01:00
Thomas Nagy ad8f681072
docs 2016-12-04 01:37:18 +01:00
Matt Selsky 70899622e2 Fix grammar in ConfigSet pydoc (#1872) 2016-12-02 18:23:37 +01:00
Thomas Nagy 0bca3987ad
docs - waf 1.9.6 2016-11-27 14:23:37 +01:00
Thomas Nagy dbcda7ec6a
Fix the inconsistent partial detection for #1865 2016-11-26 19:30:53 +01:00
Thomas Nagy 8dae660ec7
Allocate Utils.lru_cache lazily 2016-11-26 18:14:28 +01:00
Thomas Nagy f0ef5624cc
waf 1.9.6 2016-11-26 15:27:18 +01:00
Thomas Nagy 283e7953cb
More cleanup for #1865 2016-11-26 14:23:04 +01:00
Thomas Nagy aa88cd86a5
Update the -source version in java examples 2016-11-26 12:02:41 +01:00
Thomas Nagy 906bf781ac
Cleanup for #1865 2016-11-26 11:51:20 +01:00
Gustavo J. A. M. Carneiro 421e0e3ab9 Accept functools.partial() as a task rule #1862 (#1865)
Accept functools.partial() as task generator rules #1862
2016-11-26 11:00:01 +01:00
Thomas Nagy 57ee30760a
Increase the cache size for #1833 and #1859 2016-11-22 20:34:58 +01:00
Thomas Nagy 15c6d75393
./waf-light --interpreter "#! /usr/bin/env python3" - for #1856 2016-11-20 21:25:22 +01:00
Thomas Nagy 6c48f08e97
Simplify waflib/extras/force_build_directory.py 2016-11-20 13:47:31 +01:00
Thomas Nagy c142062d69
docs 2016-11-20 10:11:09 +01:00
Thomas Nagy c9b1329675
docs 2016-11-19 10:11:11 +01:00
Thomas Nagy e1f700aee8
Missing ut_cwd value in example 2016-11-19 10:02:59 +01:00
Thomas Nagy 4699a7871d
Warn of single dots in ant_glob #1853 2016-11-19 09:12:33 +01:00
Thomas Nagy af66a27da3
Specify shell usage in test script execution 2016-11-19 00:11:46 +01:00
Thomas Nagy bdb18e8394
Changed --dump-test-runner to --dump-test-scripts 2016-11-19 00:03:55 +01:00
fedepell e8942d7f22 waf_unit_test: add new option --dump-test-runner that creates python scripts to manually run or debug test executions
this can be very useful when debugging unit test problems as when run outside waf then the LD_LIBRARY_PATH (or PYTHONPATH if used with pytest extra) is set dynamically by waf and therefore running the executable manually or via gdb is not immediate
all the environment will be dumped in python script that can then be executed to run manually tests.
2016-11-18 23:40:59 +01:00
Thomas Nagy 24cc1dc057
missing import 2016-11-14 22:20:57 +01:00
Thomas Nagy af7716f014
docstring for #1851 2016-11-14 22:13:26 +01:00
Thomas Nagy 0454ee677e
docs 2016-11-08 21:31:11 +01:00
Thomas Nagy 8bea637dc7
docs 2016-11-06 18:29:16 +01:00
Thomas Nagy 9ddb8c27ef
docs 2016-11-06 12:10:39 +01:00
Thomas Nagy 058b8f7f39
simplifications 2016-11-06 12:00:35 +01:00
Federico Pellegrin 90b66a4f04 cppcheck: fix extra forn multiple build rules are in a single wscript (#1844)
* cppcheck: fix extra forn multiple build rules are in a single wscript

When executed the output from cppcheck will be put inside cppcheck.xml and
then the generated error output inside cppcheck/index.html (and related
subfiles). Of course if two separate build rules are present the files
will clash with each other and data will be lost.

So this will not work in previous version:

bld.program(source=bld.path.ant_glob('src/ex-prog-*.cpp'), includes='src/', target='ex-prog-c')
bld.program(source=bld.path.ant_glob('src/ex-prog2-*.cpp'), includes='src/', target='ex-prog2-c')

In the output just one of the two results will be there (or in worst case
we will have files being deleted/garbled) as they both try to work on
cppcheck.xml and index.html (in build and build/cppcheck respectively)

With this commit the xml/html files have a reference to the task name (so
appended with a dash) so they are unique and don't clash. Also all the
messages to the user are corrected accordingly so the user is pointed to
the correct name of the file (and so are the internal links generated in
the html file).

In the previous case we will have:

ccpcheck detected (possible) problem(s) in task 'ex-prog2-c', see report for details:
    file:///home/fede/waf/cppc/build/cppcheck/index-ex-prog2-c.html

ccpcheck detected (possible) problem(s) in task 'ex-prog-c', see report for details:
    file:///home/fede/waf/cppc/build/cppcheck/index-ex-prog-c.html

* cppcheck: Provide as an option also old way of single index.html file for compatibility
2016-11-06 11:33:25 +01:00
Thomas Nagy 6ecf6390a8
Better error message on method cycle detection 2016-11-05 11:56:08 +01:00
Thomas Nagy 076d9202ba
Append tex configuration outputs to config.log 2016-11-04 06:10:17 +01:00
Thomas Nagy 86e9c0527c
Cleanup 2016-11-03 22:42:17 +01:00
fedepell 572cd98aab cppcheck: add possibility to use -j option for multiple parallel threads, speeds up drastically when executing on multiple source files 2016-11-03 22:02:10 +01:00
fedepell 655217384a cppcheck: check very ugly if code checking for configuration mode 2016-10-27 18:36:34 +02:00
fedepell c6ebd2547c cppcheck: do not execute task when in configuration mode as this can break other tools (ie qt5) which do a test build. see also #1840 2016-10-26 22:41:02 +02:00
fedepell 54a5ebe46a pytest extra: add more graceful and informative error if parameter is pointing to no valid source files 2016-10-24 11:17:21 +02:00
Thomas Nagy 0db417ac1a
docs - #1836 2016-10-20 18:44:55 +02:00
Thomas Nagy 152f40f51a
Test for #1834 2016-10-18 18:20:27 +02:00
Thomas Nagy cd50b17e7b
Wrong cwd path for unity.py 2016-10-18 18:09:44 +02:00
Thomas Nagy 287046547b
Let unity builds use relative paths for msys #1834 2016-10-17 20:06:39 +02:00