Thomas Nagy
da3844b019
Obtain vala tasks directly
2017-09-14 22:47:27 +02:00
Thomas Nagy
e68bc5d65b
docs
2017-09-14 22:20:31 +02:00
Thomas Nagy
ad5dd18408
Use the 'with' syntax whenever possible
2017-09-12 19:36:43 +02:00
Mihai Moldovan
4f0c7dc44a
Backport old gfortran compiler support.
2017-09-05 07:58:46 +02:00
Karl Linden
01e017cfc2
Make unit testing interpreted scripts work.
2017-09-04 21:07:20 +02:00
Thomas Nagy
b5408091b3
Cleanup unused global statements
2017-09-02 23:34:15 +02:00
Thomas Nagy
d390d5a5ce
Typo
2017-08-31 20:19:31 +02:00
Adriano Scoditti
fa1a44c115
Fix 'shell' attribute on waf_unit_test:exec_command() Popen call using the same logic defined in Context:exec_command()
2017-08-28 20:23:41 +02:00
Thomas Nagy
ff0b65ff14
Split unit test commands by shlex
2017-08-27 10:56:06 +02:00
Thomas Nagy
5c15f6f39e
Prevent duplicates in c_preproc.py results
2017-08-26 12:24:22 +02:00
Thomas Nagy
b3e9ca89e6
Override the msvc linker through LINK_CXX
2017-08-25 20:23:16 +02:00
Thomas Nagy
0659657a8c
Remove old TODO notes
2017-08-25 20:22:46 +02:00
Thomas Nagy
57087471c1
Remove Utils.ex_stack - use traceback.format_exc()
2017-08-19 11:54:58 +02:00
Thomas Nagy
1cade2ba13
docs
2017-08-05 23:15:50 +02:00
fedepell
44a9a1f026
qt5: minor correction of uic tool search error message (wrong versions printed)
2017-08-01 22:41:45 +02:00
Thomas Nagy
6cfd7239c6
Support for old gcc compilers #2003
2017-07-30 19:57:04 +02:00
Thomas Nagy
e3a8e49cf2
TypeError -> ValueError #2002
2017-07-30 00:13:42 +02:00
Karl Linden
213068dc99
Better default uselib_store and define_name in check_cfg.
...
* Let default uselib_store and define_name be upper case of the first
word of package. This is a better default when package includes a
version specified.
* Remove undocumented *k argument extraction from check_cfg since it
breaks when the first argument includes a version specifier.
2017-07-21 23:35:10 +02:00
Karl Linden
dd3a173e46
Simplify logic in validate_cfg
...
* Validate msg in only on block.
* Reduce the number of places that set okmsg.
* Require exactly one action to be requested.
* Also print the detected version on successful modversion.
2017-07-17 21:26:40 +02:00
Sean Fisk
2c4ff3e28b
Docs: Avoid Qt re-builds by sorting set of includes
...
Because Python's set type is unordered, storing include paths in it
can produce unnecessary re-builds by generating different compiler
command lines between successive builds. Avoid this by using the
sorted() function on the includes.
The documentation for Python ≥ 2.7 guarantees that sorted() is stable,
while for Python 2.5–2.6 it uses the same algorithm as list.sort(),
which is stable [1].
[1]: https://stackoverflow.com/a/1915418
2017-07-06 07:47:48 +02:00
Thomas Nagy
cddc5552e4
Rename WindowsError to OSError in Python3
2017-06-23 16:51:54 +02:00
Thomas Nagy
4d7527b4c4
Clarify the exception type raised by cmd_and_log
2017-06-20 11:20:53 +02:00
Thomas Nagy
0c4b0592cd
Update some old code in waflib/Tools/fc.py
2017-06-20 10:59:52 +02:00
Thomas Nagy
8795ebc302
Decode vswhere output as utf8/replace when cp1252 fails
2017-06-20 10:02:26 +02:00
Thomas Nagy
af4a768775
Try to process link tasks as early as possible
2017-06-15 16:01:12 +02:00
Thomas Nagy
e5e8397154
Change producer.outstanding.appendleft to producer.outstanding.append
2017-06-14 19:53:01 +02:00
Seth Hinze
8410d4554a
Add xmldoc support to cs tool.
2017-06-04 09:18:16 +02:00
Seth Hinze
1d99aed103
Allow /noconfig to be used with csc
2017-06-04 09:18:10 +02:00
Seth Hinze
a3b6d7dcac
Fix pdb installation in cs tool.
2017-06-04 09:18:02 +02:00
Thomas Nagy
578230789a
Handle spaces in python paths on Windows #1973
2017-05-29 23:11:53 +02:00
Gustavo Sousa
bb9f4a3b82
javaw: run use_javac_files() before propagate_uselib_vars()
...
Updating the uselib attribute after propagate_uselib_vars() is called won't
yield the desired effect.
2017-05-23 21:23:30 +02:00
Thomas Nagy
07c47309de
Handle vswhere output encodings in Python2 #1965
2017-05-17 01:35:38 +02:00
Thomas Nagy
7a51f8f364
Detect older products with vswhere.exe
2017-05-08 19:12:17 +02:00
Refael Ackermann
37e2cf449c
Detect MSVS 15.0 Installation path (via vswhere)
...
Fixes : #1924
Inspired by the scripts from https://github.com/node4good/msvs-com-helper
2017-05-08 19:12:08 +02:00
Jan Niklas Hasse
579893f61f
Import library files need to be installed into lib/ on Windows
...
Fix #1860 .
2017-05-06 03:48:43 +02:00
Akira Baruah
45b11ef381
Remove undeclared `ve` variable for performance improvement #1950
2017-04-25 23:59:53 +02:00
Thomas Nagy
b37f37afcd
Improve waf -v speed in verbose mode #1950
2017-04-23 19:10:49 +02:00
Thomas Nagy
712fdf7765
Simplify token processing in c_preproc
2017-04-22 22:30:34 +02:00
Thomas Nagy
ae3d3c6b93
Override ConfigSet.__getattr__ properly in errcheck
2017-04-22 22:29:17 +02:00
Thomas Nagy
fbdc9fd5a3
Code simplifications
2017-04-22 22:12:11 +02:00
Thomas Nagy
a768c3114d
Simplify boolean comparisons
2017-04-22 22:08:00 +02:00
Thomas Nagy
e7ba84b8dd
Typo
2017-04-22 21:48:34 +02:00
Thomas Nagy
4b657a6b62
cleanup
2017-04-22 17:29:00 +02:00
Jiří Janoušek
585d7876f1
vala: support *.vapi as input files
...
Vala compiler can use *.vapi files also as input files alongside *.vala
files. If you build a library, these vapi files are not included ín
resulting *.deps files and are, therefore, suitable for internal
purposes.
Signed-off-by: Jiří Janoušek <janousek.jiri@gmail.com>
2017-04-21 22:31:17 +02:00
Thomas Nagy
5be20feee2
Exclude install vapi paths and empty installation tasks
2017-04-20 22:06:23 +02:00
Thomas Nagy
1d2f485230
Make the invalid uid task verification slightly less verbose
2017-04-20 22:03:38 +02:00
Thomas Nagy
5ac6123e5e
Cleanup: Break multiple statements on multiple lines
2017-04-17 13:16:57 +02:00
Thomas Nagy
cfe9158664
Cleanup
2017-04-17 12:24:33 +02:00
Thomas Nagy
9e9f41c613
Do not cast test outputs to integers with add_to_env
2017-04-14 02:47:44 +02:00
Thomas Nagy
98f051dfa4
Detect Python from conf.env.PYTHON
2017-04-14 02:47:30 +02:00