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
dee0932fb0
No need to paste /Fo flags as the command system does not insert spaces anymore
2016-06-16 19:42:29 +02:00
Thomas Nagy
27b2c3b8c4
Task.exec_command already sets the cwd, no need to repeat it
2016-06-16 17:08:53 +02:00
Thomas Nagy
537d1fcd45
Simplify long command processing
2016-06-15 20:24:34 +02:00
fedepell
d202190cd0
Fix: when using the ut_cmd or Option --testcmd, if the test command line has parameters (added for example with the ut_fun method as in the examples)
...
this will be lost as just ut_exec[0] was used. Now join the command line before using it in substition.
2016-06-12 23:59:07 +02:00
Thomas Nagy
605952fe92
Remove redundant warnings
2016-06-11 22:26:34 +02:00
fedepell
32bd21a77f
qt5: Fix usage examples as libraries in qt5 are named QT5XXX and not QTXXX as in qt4 (ie. QT5WIDGETS instead of QTWIDGETS)
2016-06-05 22:10:38 +02:00
Thomas Nagy
f71fe257ff
Make c_preproc.filter_comments a method so that it is easier to override
2016-06-05 00:53:25 +02:00
Thomas Nagy
e8ef5a89eb
More cleanup
2016-06-05 00:23:57 +02:00
Thomas Nagy
75b1423ce8
Winrc processing is almost certainly broken...
2016-06-05 00:01:01 +02:00
Thomas Nagy
062a5263a0
Update conf.check_waf_version to 1.9
2016-06-04 09:33:13 +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
d3471d6171
Adjustments for the msvc configuration structure changes
2016-05-22 18:39:44 +02:00
Thomas Nagy
c3af6e3fad
Simplify the data structures in msvc.py
2016-05-22 18:27:57 +02:00
Thomas Nagy
1eb45162b1
Bind setup_msvc and setup_ifort as configuration methods
2016-05-22 17:11:29 +02:00
Thomas Nagy
9c44a4b360
Remove print_all_msvc_detected
2016-05-22 17:10:21 +02:00
Thomas Nagy
315d94ec24
Typo conf->self
2016-05-22 17:06:53 +02:00
Thomas Nagy
0c945f9e0a
Simplifications
2016-05-22 16:57:22 +02:00
Thomas Nagy
25fc153658
Improve ifort logging
2016-05-22 16:48:14 +02:00
Thomas Nagy
201118736e
Error handling simplifications
2016-05-22 12:40:51 +02:00
Thomas Nagy
76c9d3356b
Remove msvc.get_compiler_env which does not get anything
2016-05-22 12:12:32 +02:00
Thomas Nagy
c46ffd1a4a
Typo
2016-05-22 12:09:46 +02:00
Thomas Nagy
e3d1da421f
Remove one level of object nesting in msvc configuration
2016-05-22 12:04:23 +02:00
Thomas Nagy
dbad47244b
Cleanup
2016-05-22 11:15:00 +02:00
Thomas Nagy
bae3e35af5
Cleanup
2016-05-22 10:58:24 +02:00
Thomas Nagy
56b84dc5a5
Cleanup
2016-05-22 03:13:28 +02:00
Thomas Nagy
15985db73d
Refactor ifort.py like msvc.py
2016-05-22 03:07:44 +02:00
Thomas Nagy
7fadda584a
Add a __repr__ method for MSVC_INSTALLED_VERSIONS
2016-05-22 02:50:02 +02:00
Thomas Nagy
df6e88f2f5
Typo
2016-05-22 02:45:12 +02:00
Thomas Nagy
929f89c0bb
Simplify msvc.py
2016-05-22 02:43:35 +02:00
Thomas Nagy
67e7db41d9
Simplification x=x+1 -> x+=1
2016-05-22 00:45:47 +02:00
Thomas Nagy
75a011f81c
docs
2016-05-21 12:08:28 +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
74e54322c5
Use try-else-finally in Python >= 2.5
2016-05-18 22:01:37 +02:00
Thomas Nagy
fd05cff103
Missing installation fixes
2016-05-17 19:49:44 +02:00
Thomas Nagy
441ed98a3d
Better error messages in Qt5
2016-05-09 22:33:01 +02:00
Thomas Nagy
145dba3fd1
Unused variable
2016-05-06 20:59:40 +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
6c21deb583
install_task -> install_tg
2016-05-03 23:14:10 +02:00
Thomas Nagy
16082a4c3e
docs
2016-05-03 21:27:15 +02:00
Thomas Nagy
b70692dbb3
Add a configuration test to add /usr/local/lib in linkflags on FreeBSD
2016-05-01 17:03:55 +02:00
Thomas Nagy
568cd6881d
Set the Qt5 search path on FreeBSD
2016-05-01 16:21:23 +02:00
Thomas Nagy
e7aa8349be
Changed the moc_foo.cpp file name to moc_foo.n.cpp to protect against name clashes
2016-05-01 14:49:55 +02:00
Thomas Nagy
ae8253f571
Process Qt files according to the Qt documentation
2016-05-01 14:21:46 +02:00
Thomas Nagy
6b2e837bc2
Issue 1726
2016-05-01 13:21:06 +02:00
Thomas Nagy
dd81cb74dc
Pass the vala environment for installation (not modified so it should be fine)
2016-04-28 00:29:12 +02:00
Thomas Nagy
09f67a3b3a
Remove the private Scripting._can_distclean function
2016-04-27 18:42:38 +02:00
Thomas Nagy
e77b8dc24b
Catch errors in format_defines
2016-04-26 19:38:19 +02:00
Thomas Nagy
8b32d93ec3
cleanup: '%s' -> %r
2016-04-26 19:35:46 +02:00
Thomas Nagy
0ba6b042d5
Remove mac_resources processing, use mac_files instead
2016-04-25 22:35:58 +02:00
Thomas Nagy
9133dbc5c9
Cleanup: no need for keys() everywhere
2016-04-22 21:10:22 +02:00
Thomas Nagy
b0954282e9
Remove the -DDLL_EXPORT flag which was added by default to fortran link on windows platforms
2016-04-21 22:37:27 +02:00
Thomas Nagy
b87a761ead
Tuples in startswith/endswith (Python 2.5 feature)
2016-04-21 22:30:35 +02:00
Thomas Nagy
8520dd65bb
Code cleanup
2016-04-19 22:00:21 +02:00
Shawn Hoover
ac3a332b03
Enable lazy Visual Studio detection by default: one missed spot.
2016-04-15 13:41:53 -04:00
Thomas Nagy
e0080e9f58
Identify java tasks more accurately and add build order on non-jar tasks - Issue 1725
2016-04-11 00:08:20 +02:00
christophe.duvernois
49ed1e0c0a
java tool : allow manifest to be a node
2016-04-05 19:23:32 +02:00
Thomas Nagy
2c06f0acd6
Simplification
2016-04-05 19:22:54 +02:00
Thomas Nagy
d7a295ab0f
Simplification m.group(0) -> m.group()
2016-04-04 22:18:28 +02:00
Thomas Nagy
e8cf059004
Do not strip / from conf.check(x=, uselib_store=Y) stored arguments
2016-04-04 19:00:31 +02:00
Thomas Nagy
a1a24c8456
Use define_name in check_cfg(define_name=, global_define=1)
2016-04-03 13:20:42 +02:00
Thomas Nagy
e790f6d40f
Added a deprecation warning for the case conf.check_cfg(atleast_version=)
2016-04-03 12:40:00 +02:00
Thomas Nagy
89d5b5462f
Enable define_name in conf.check(modversion=,define_name=)
2016-04-03 12:09:22 +02:00
Thomas Nagy
c0c0da2e92
Set DEFINES=[X=1] with conf.check_cfg(define_name=X) to override the defaults
2016-04-03 11:42:59 +02:00
Thomas Nagy
00c955d8fa
Option for adding HAVE_X to conf.env - conf.check(add_have_to_env=1)
2016-04-03 11:08:00 +02:00
Thomas Nagy
ee0778a76f
Extra parenthesis around assert message
2016-04-01 23:14:26 +02:00
Thomas Nagy
8717fa791f
outstanding.insert -> outstanding.append_left
2016-03-31 07:42:08 +02:00
Thomas Nagy
c563396afe
Do not add defines to config.h when global_define is 0
2016-03-28 17:49:27 +02:00
Thomas Nagy
6089893e40
Simplify the assignment of configuration test execution to defines
2016-03-28 16:19:36 +02:00
Thomas Nagy
9fd2683095
Let conf.check/conf.check_cfg set HAVE_x in config.h by default
2016-03-28 16:16:30 +02:00
Thomas Nagy
1eaa5e7a0f
parse_flags code cleanup
2016-03-28 14:46:29 +02:00
Thomas Nagy
b585594d4d
For consistency, cast HAVE_X to integer values
2016-03-28 09:59:24 +02:00
Thomas Nagy
6579592065
re_cpp matches are never empty
2016-03-27 19:25:12 +02:00
Thomas Nagy
026bae9601
Reduce the amount of function calls in include extraction
2016-03-25 13:30:32 +01:00
Thomas Nagy
df7fc838ce
Do not capture unused regexp groups
2016-03-25 12:56:25 +01:00
Thomas Nagy
5d8d7bf700
Save a few function calls in waflib/Tools/c_preproc.py
2016-03-25 12:22:00 +01:00
Thomas Nagy
a64a8d1d29
Extend relative cwd processing to Task generators
2016-03-23 22:28:14 +01: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
85e403516c
Issue 1632
2016-03-19 18:14:08 +01:00
Thomas Nagy
e8bf2731d1
Increase the default cache size for c_preproc
2016-03-19 15:18:16 +01:00
Thomas Nagy
a08aff6bff
Format debug/info records lazily
2016-03-19 14:46:22 +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
Thomas Nagy
0970eb86cb
docs
2016-03-15 22:06:10 +01:00
Thomas Nagy
89ac2f0215
Issue 1594
2016-03-09 22:25:52 +01:00
Thomas Nagy
64af7a67bb
clang quirks - Issue 1714
2016-03-04 19:23:14 +01:00
Thomas Nagy
0ce499c24c
Revert "Make D dependency scanner aware of package.d files"
...
This reverts commit a61528efc3
.
2016-02-26 21:05:13 +01:00
Thomas Nagy
f56f22bb50
Prefix by # to have the artifacts at the root of the build directory
2016-02-26 19:25:23 +01:00
Thomas Nagy
e176101c8c
Nicer configuration message on ruby detection
2016-02-24 07:16:04 +01:00
Thomas Nagy
df8e144631
Smarter detection of programs passed to the command-line
2016-02-23 22:59:29 +01:00
Thomas Nagy
9147e9128a
Cleanup: unnecessary semicolons in Python code
2016-02-19 23:26:40 +01:00
Thomas Nagy
a02a0b54b3
Limit caching unnecessary data in preproc.py
2016-02-19 23:26:19 +01:00
Thomas Nagy
2d89937205
-DFOO in compiler commands - Issue 1704
2016-02-18 21:56:02 +01:00
Thomas Nagy
7e16c7cb1e
Removed bld.returned_tasks
2016-02-15 23:52:11 +01:00
Guillaume Poirier-Morency
c4bfce0fe7
vala: Initialize 'VALAFLAGS' with OS flags
2016-02-15 21:54:35 +01:00
Thomas Nagy
4e09a1bc5a
New lru caches in preproc.py to limit memory overconsumption
2016-02-15 00:46:44 +01:00
Thomas Nagy
22fae4ebef
From now on, ensure that buildcontext classes have a producer
2016-02-15 00:46:39 +01:00
SirNickolas
a61528efc3
Make D dependency scanner aware of package.d files
2016-02-11 21:43:32 +01:00
Thomas Nagy
70df345c3f
Use the lru implementation when present (Python3)
2016-02-10 23:42:30 +01:00
Thomas Nagy
82b3ade500
Clear the c dependency scanner cache to prevent excessive memory consumption
2016-02-10 00:07:07 +01:00
Kenneth Zhao
b8a1675123
Add SUN cc compiler version 5.0
2016-02-04 07:23:34 +01:00