fedepell
f4e1b59bbc
Fix install_from after suggestion of ita on how to do it better and make sure install_path is present as python requires it
2016-07-29 16:36:01 +02:00
Thomas Nagy
195a3e6562
Remove an unnecessary gccdeps verification #1784
2016-07-28 22:22:52 +02:00
Thomas Nagy
ce65dfb415
Node.search -> Node.search_node #1783
2016-07-28 22:03:39 +02:00
fedepell
7ade9796a6
Fix installation path for .py files that are generated on the fly in build
2016-07-28 18:13:26 +02:00
Thomas Nagy
3c2c6a62b0
Remove leftover 'print' statements
2016-07-27 20:22:48 +02:00
Thomas Nagy
7aaa7c14ba
Make gccdeps and msvcdeps compatible - #1780
2016-07-26 19:41:57 +02:00
Thomas Nagy
fe2f2b4fe6
Fix a docstring error
2016-07-25 23:27:05 +02:00
Thomas Nagy
1df8c148f6
Move pytest to the extras/ section
2016-07-25 23:23:44 +02:00
Thomas Nagy
8e68aa4ade
Python 2 fix
2016-07-25 23:10:10 +02:00
Thomas Nagy
c916febaf7
Update some old code
2016-07-25 22:12:35 +02:00
Thomas Nagy
9332a9c24d
Whitespace and Options.options for cppcheck
2016-07-25 20:18:49 +02:00
Thomas Nagy
f623675524
Fix an obsolete import
2016-07-25 19:05:36 +02:00
fedepell
d3367e9b0a
Clear up usage text
2016-07-23 14:24:57 +02:00
fedepell
5d8c8a2080
Fixes on comments
2016-07-23 14:22:26 +02:00
fedepell
ad356b3ed2
- Fixed identations
...
- Search for tools just in PATH not in other directories as for C++
- Remove options handling as there is none at the moment
- Use find_program instead of local find_bin
- Fix author
- Try to make documentation clearer
- Remove useless after_link decorator
2016-07-23 14:13:40 +02:00
fedepell
0c78c7ad8e
First version of the pyqt5 extra to add QT5 ui/resources translation to py to be used with pyqt5 or pyside2
2016-07-23 12:51:04 +02:00
Simon
04b7fb6086
Updated docs for xcode6 tool. Also, xcode6 tool tested for XCode 7 (successfully)
2016-07-18 14:01:29 +02:00
Thomas Nagy
ef48d49260
Remove update_outputs from the documentation
2016-06-25 22:48:47 +02:00
Thomas Nagy
6854fae055
Removed some annoying whitespace
2016-06-21 22:57:06 +02:00
Daniel Bartel
f88f13f0cf
Fix the Swig version detection message
2016-06-21 21:19:46 +02:00
Daniel Bartel
2241db8557
make check_swig_version similar to check_python_version
2016-06-20 21:38:46 +02:00
Thomas Nagy
d50017f693
Have Task.exec_command add tsk.env.PATH to os.environ in the child process
2016-06-16 20:07:40 +02:00
Thomas Nagy
4a09e1943a
Workaround for #1756
2016-06-13 19:19:00 +02:00
Thomas Nagy
04df9202fb
Reduce Swig verbosity for #1755
2016-06-11 22:23:06 +02:00
fedepell
1986391d79
Fixes #1748 : doxygen convert EXCLUDE_PATTERNS occourences of */ in **/ as internally globs are used
2016-06-05 22:11:18 +02:00
fedepell
e64061f6d2
DOXY_FILE_PATTERNS is generated as a string but then used as an array when using the RECURSIVE option, therefore the generated patterns for files to be searched are wrong. Convert it into an array with split() therefore to have correct patterns.
2016-06-04 08:51:09 +02:00
Thomas Nagy
ae243dd23b
Fix waflib/extras/syms.py
2016-05-29 16:58:41 +02:00
Thomas Nagy
5526a71695
Update batched_cc for waf 1.9
2016-05-29 16:45:42 +02:00
Thomas Nagy
6665a6ebdd
Update waflib/extras/stale.py
2016-05-29 14:11:05 +02:00
Thomas Nagy
02a8361149
Beautify Logs.{debug,error,info,warn} now that the formatting bug is fixed
2016-05-28 16:18:51 +02:00
Thomas Nagy
34bad1498f
Remove the preforks since we already have a version with subprocesses in Utils.py
2016-05-27 18:59:40 +02:00
Thomas Nagy
a2b7c639e8
cleanup
2016-05-27 18:23:04 +02:00
Thomas Nagy
67e7db41d9
Simplification x=x+1 -> x+=1
2016-05-22 00:45:47 +02:00
Thomas Nagy
c2646d2380
Provide md5_tstamp by default and make it easier to add more persistent BuildContext dicts
2016-05-21 11:58:47 +02:00
Thomas Nagy
5cb7b89ac1
typo
2016-05-16 20:11:00 +02:00
Thomas Nagy
da5c7d8b5c
Moved unnecessary constants out of Context.py
2016-05-11 21:59:16 +02:00
Thomas Nagy
b1f5c0f814
Create installation tasks directly
...
Task generators created from other task generators may be
skipped during partial builds. This change re-enables
install_task as a task attribute and provides a task
object with input and output nodes which can be re-used
by other tasks.
2016-05-06 15:54:36 +02:00
Thomas Nagy
fdc67d58f6
Fix an undefined variable in parallel_debug
2016-04-28 20:25:04 +02:00
Thomas Nagy
bf45d33f9e
Update parallel_debug
2016-04-28 20:14:02 +02:00
Thomas Nagy
9133dbc5c9
Cleanup: no need for keys() everywhere
2016-04-22 21:10:22 +02:00
Thomas Nagy
b87a761ead
Tuples in startswith/endswith (Python 2.5 feature)
2016-04-21 22:30:35 +02:00
Thomas Nagy
d2ba87b296
Duplicate code
2016-04-21 22:12:39 +02:00
Thomas Nagy
8520dd65bb
Code cleanup
2016-04-19 22:00:21 +02:00
Thomas Nagy
8114914e62
Colorgcc for other compilers? Issue 1732
2016-04-19 21:47:59 +02:00
Thomas Nagy
fd2981f91f
Remove Task.dep_vars as it is unnecessary
2016-04-16 13:05:27 +02:00
Thomas Nagy
fa8d8e2b45
Typo in platform_toolset_ver
2016-04-12 22:06:08 +02:00
James Harris
10a6e27872
Add PlatformToolset ver. to msvs proj template
...
This patch adds support for an easier syntax for customizing which
version of Visual Studio msvs.py targets. It also allows users to
specify the PlatformToolset property on projects generated by waf. This
is necessary in order to properly generate projects for newer versions
of Visual Studio such as 2013 and 2015.
Example Syntax:
To generate a solution targeted at visual studio 2013 use the following
example:
```Python
class msvs_2013(msvs.msvs_generator):
cmd = 'msvs2013'
numver = '13.00'
vsver = '2013'
platform_toolset_ver = 'v120'
```
This will populate the associated fields correctly for msvs 2013.
2016-04-12 19:06:41 +02:00
Thomas Nagy
d7a295ab0f
Simplification m.group(0) -> m.group()
2016-04-04 22:18:28 +02:00
Thomas Nagy
8717fa791f
outstanding.insert -> outstanding.append_left
2016-03-31 07:42:08 +02:00
Mac Clayton
19dc72e16d
Fix qt4.py to use deque instead of list
2016-03-30 19:04:57 -05:00
Gustavo Jose de Sousa
d46f541099
Use stash/revert/commit pattern for transactional configuration
...
Apply that pattern when relevant. That allows correct behavior if tools are
loaded inside a transaction.
2016-03-22 08:05:53 +01:00
Thomas Nagy
017d8fd39e
Use relative paths in apply_incpaths by default
...
Relative paths are usually best for for specialized compilers (emscripten),
so this is for convenience. Absolute paths are usually faster.
2016-03-17 22:56:34 +01:00
Daniel Bartel
015f522fb3
add option for line length to cpplint
2016-02-26 23:11:37 +01:00
Alexander Afanasyev
b99a82ddfe
Boost module enhancements and fixes
...
- Output detected version of boost in dot-form (e.g., 1.56.0, instead of 1_56)
- Fix Boost.Log library detection:
* when linking to shared library, BOOST_LOG_DYN_LINK needs to be defined
* when linking to non-multithreaded version, BOOST_LOG_NO_THREADS needs to be defined
(see http://www.boost.org/doc/libs/1_60_0/libs/log/doc/html/log/installation/config.html )
2016-02-26 21:04:50 +01:00
Thiago da Silva Andrade Soares =^.~=
4bea5a28ae
Cppcheck tool - Fix creation of invalid command on windows
...
The following error occurring when we try to run the cppcheck tool on windows.
As we see in the error message, the command is not well formed.
WafError:
Command "['C:\\\\Program Files (x86)\\\\Cppcheck\\\\cppcheck.exe'] --inconclusive --report-progress --verbose --xml ..."
returned 1
2016-02-24 21:53:15 +01:00
Thomas Nagy
9147e9128a
Cleanup: unnecessary semicolons in Python code
2016-02-19 23:26:40 +01:00
Thomas Nagy
7e16c7cb1e
Removed bld.returned_tasks
2016-02-15 23:52:11 +01:00
Thomas Nagy
6c372e24fc
Issue 1701 - cpplint
2016-02-13 00:21:37 +01:00
Guillaume Poirier-Morency
70e49cc038
valadoc: Include the '--vala-target-glib' flag
2016-02-12 07:21:28 +01:00
Guillaume Poirier-Morency
8c8b0d8f0b
Apply 'Utils.to_list' on 'vala_defines' and include it in 'valadoc' tool
2016-02-04 07:23:10 +01:00
Jérôme Carretero
bc80ea97ae
waflib: extras: rst: update scan to provide dependent directive type
2016-02-01 21:59:59 -05:00
Jérôme Carretero
c923c31031
extras: rst: extend parse_rst_node()
2016-01-30 13:07:29 -05:00
Thomas Nagy
2999a120a1
Missing cwd handling in exec_command
2016-01-30 16:59:35 +01:00
Ivan Tubert-Brohman
9a7381b20e
No-op in netcache run/post_run if nocache is true
...
When a task class has a true value for the nocache attribute,
setup_nocache doesn't decorate the run() and post_run() methods of the
class. In most cases, however, that's not enough to disable caching
because the base Task class is still modified; any class based on Task
which doesn't override these methods will still use caching even if it
sets nocache to True. This is solved by having the decorated versions of
run() and post_run() do nothing except call the original version of the
method when the task object has a true value for self.nocache.
2016-01-25 20:40:52 +01:00
Ivan Tubert-Brohman
2a7e0de018
Do chmod in netcache post_run
...
This ensures that, for example, executable files that are fetched from
the cache end up with the right permissions.
2016-01-25 20:21:15 +01:00
Bálint Aradi
d1ebc6f308
Fixing version flag for NAG compiler.
2016-01-15 00:14:37 +01:00
Thomas Nagy
adc1ce1375
Simplification: added Task.get_cwd()
2016-01-11 05:25:46 +01:00
Thomas Nagy
69e51290fd
Made this project build on Linux
2016-01-03 06:54:21 +01:00
Thomas Nagy
8083205b81
Additional merges from #1666
2016-01-03 05:08:10 +01:00
Thomas Nagy
43e26b5bef
cwd must be a Node object
2016-01-02 01:54:52 +01:00
Thomas Nagy
5a3a89b4de
Stop adding incompatible task data into the same dict objects
2015-12-24 18:36:48 +01:00
Thomas Nagy
06c7c09681
Provide node.exists() to increase filesystem abstraction
2015-12-24 18:36:42 +01:00
Thomas Nagy
ddaf29b78d
Process CPPFLAGS at the end of commands
2015-12-23 19:26:34 +01:00
Thomas Nagy
7681bddfb7
Remove Node.sig and Node.cache_sig
2015-12-23 17:55:44 +01:00
Thomas Nagy
2ab00f7f49
Removed Node.cache_sig
2015-12-23 17:55:44 +01:00
Thomas Nagy
e1d82be8a5
The tool kde4 is not included by default in waf 1.9
2015-12-23 17:55:44 +01:00
Thomas Nagy
972d8e4904
The tool qt4 is not included by default in waf 1.9
2015-12-23 17:55:44 +01:00
Thomas Nagy
d3f788da4c
Added the tool called 'nobuild' to help troubleshoot build scripts
2015-12-23 17:55:44 +01:00
Thomas Nagy
8b74beb233
Removed the split functions from Node.py
2015-12-23 17:54:41 +01:00
Thomas Nagy
a184a9e245
Experimental conf.define(key, val, comment='msg in config.h')
2015-12-20 14:26:14 +01:00
Thomas Nagy
95114ff205
wix.py - Issue 1666
2015-12-18 00:35:27 +01:00
Thomas Nagy
bdca245588
Replace backslashes in resx.py - Issue 1666
2015-12-17 23:53:41 +01:00
Thomas Nagy
4293b8e19a
Compat - shorter version
2015-12-07 23:36:07 +01:00
Thomas Nagy
d109ed4fc7
Additional fixes in extras/compat15.py
2015-12-05 14:00:56 +01:00
Thomas Nagy
2fb1e0cfb2
Let gccdeps work when a custom cwd is provided through bld.cwdx
2015-11-08 11:48:53 +01:00
Simon
f3a20e293c
Replaced 'source' arg to 'source_files'. Updated Docs and demo. Fixed bugs.
2015-11-08 10:06:03 +01:00
Thomas Nagy
8a3ff0e113
Missing Errors import in print_commands.py
2015-11-06 23:11:49 +01:00
Thomas Nagy
ac226635d0
Quote arguments that contain spaces in print_commands.py, and use the latest version of exec_command
2015-11-06 23:07:23 +01:00
Thomas Nagy
7d25369e6c
Removed a leftover print statement
2015-11-06 22:55:45 +01:00
Thomas Nagy
18204eb963
Additional compatibility helpers in compat15.py
2015-11-05 00:57:37 +01:00
Thomas Nagy
efbc47b434
Added a fake Constants module in compat15.py
2015-11-04 23:16:48 +01:00
Thomas Nagy
cf334db465
Use options.enable_gccdeps if provided by user scripts
2015-10-31 11:24:53 +01:00
ita1024
975fdde91b
Merge pull request #1648 from mimon/xcode6-gen
...
Xcode6 generator
2015-10-29 18:59:16 +01:00
Simon
f1da3b34ef
Updated useage and docs in xcode6
2015-10-29 11:53:19 +01:00
Simon
53cb70ec44
Renamed stuff in demos to xcode6
2015-10-29 11:52:58 +01:00
Simon
5fcda128b5
Updated documentation
2015-10-29 11:16:25 +01:00
Simon
24dbd3c43c
Changed name for the new Xcode tool to xcode6 and kept the original xcode tool
2015-10-29 11:16:05 +01:00
Thomas Nagy
963c3b62c9
docs: apply_incpaths_emscripten will be removed in waf 1.9
2015-10-25 09:00:51 +01:00
Thomas Nagy
02423e440a
Make the emscripten option behave
2015-10-25 01:50:37 +02:00
Jérôme Carretero
a0de0eacd5
extras: file_to_object: clean-up and fix issues (reported by Philippe Brais)
...
Changes:
- Use Node.read('rb') to get bytes (!)
- Remove use of binascii and generate better-looking C.
Binascii returns bytes if input is bytes, requiring a decode()...
There's not benefit in using it, especially if we want to make
better-looking code.
- Remove dead code
2015-10-20 08:19:41 -04:00