Commit Graph

730 Commits

Author SHA1 Message Date
Jérôme Carretero 24abf4f08c extras: rst: pimp the scanner
Changes:
- update the include regexp to support the figure directive, and
  substitution targets.
- warn on missing files that would be included
2013-08-18 23:29:50 -04:00
Jérôme Carretero 5e16b5dbbc extras: add rst tool, for reStructuredText processing 2013-08-18 17:17:00 -04:00
Alexander Afanasyev 8e50cda867 extras/doxygen: Adding support for RECURSIVE and making detection non-mandatory by default
added: support for RECURSIVE, as well as for included and excluded files

changed: detection of doxygen is non-mandatory by default. If it is
         desired that doxygen is mandatory, user is expected to check
         bld|conf.env.DOXYGEN and bld|conf.env.TAR variables

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-08-18 21:31:22 +02:00
Thomas Nagy 135fed0830 Issue 1334 2013-08-17 20:24:21 +02:00
Thomas Nagy 20ae777428 disabled the check_exe validation by default and enabled invalid name detection 2013-08-17 18:19:10 +02:00
Alexander Afanasyev 9b75b843ae Tools/python: Extending python tool
add: show more command-line arguments to control which
     python is used and where py/pyext files should be installed.
     The new options are in addition to the existing PYTHON, PYTHONDIR,
     and PYTHONARCHDIR environment variable, providing the help messages
     to the user, so it can easily change parameters without second-guessing
     of what are they.

     Environmental parameters override command line arguments (is it right?)

updated: An extension to Configure.find_command to allow specification
         of the name for the searched command (using `msg` option). This is
         helpful when the search command is a huge list, as in the case of
         python's python-config case.

updated: Do not specify prefix for `get_python_lib`, since this way it
         can result in a wrong PYTHONDIR and PYTHONARCHDIR on certain platforms
         (e.g., OSX)

updated: Changing logic with byte-compilation of python files. Mow, files are
         compiled during the build stage, not install stage.  During the
         install stage files are simply copied to the requested
         location.

updated: If there is an error in python source code, byte-compilation
         phase will raise an exception and abort building process.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-08-17 18:15:05 +02:00
Jérôme Carretero b32ab8c7c5 utils: fix "typo" in check_exe()
Yeah, I was returning the directory name in some cases...
2013-08-14 17:57:26 -04:00
Thomas Nagy 19e624b5f4 Issue 1345 multibib support in tex/latex 2013-08-14 18:37:16 +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 30c10e85d5 Issue 1343, regression in qt4 support after some refactoring 2013-08-12 07:55:01 +02:00
Jerome Carretero 3c00a614d7 Revert "Issue 1334 - let FOO_ST:FOO return empty when FOO_ST is empty/undefined"
This reverts commit d4d33bba2a.

It breaks demos/c
2013-07-20 14:57:20 -04:00
Jerome Carretero edf26656ab Tools: ccroot: fix typo introduced in e5cd63a6 2013-07-20 14:52:19 -04:00
Thomas Nagy 007acd87cf Issue 1335 2013-07-16 21:10:32 +02:00
Thomas Nagy e9fd0660dc Undefined 'logger' variable 2013-07-16 21:00:02 +02:00
Matt Hoosier 1aad65b886 Add 'msvcdeps' tool
This tool operates similarly to 'gccdeps' by offloading the
flattening of the #include dependency tree to the compiler.

Change-Id: I5e58e8ca838f3d3dc65efa6ce4abf161110632ea

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-07-16 20:57:06 +02:00
Thomas Nagy f588f95a27 Issue 1339 detect the sun compiler version number 2013-07-13 19:06:08 +02:00
Thomas Nagy d4d33bba2a Issue 1334 - let FOO_ST:FOO return empty when FOO_ST is empty/undefined 2013-07-08 19:37:42 +02:00
Thomas Nagy a1d35c0a69 simplification in syms.py 2013-06-27 22:22:25 +02:00
Matt Hoosier 24983316d6 syms.py: allow environment to supply paths to dumpbin and nm
This is required when doing cross-compilation.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-06-27 22:18:59 +02:00
Thomas Nagy 5ea64b56ac Issue 1329 C# response file flag quoting issues 2013-06-21 18:22:43 +02:00
Thomas Nagy 3f78d2223a Issue 1328 forgot to use the maxdepth argument in ant_glob() 2013-06-21 18:16:37 +02:00
Thomas Nagy 58fe611bb9 Issue 1327 - typo 2013-06-09 09:47:39 +02:00
Thomas Nagy 319289ec3c Issue 1223 2013-06-09 09:47:18 +02:00
Thomas Nagy 3a285c62b1 Issue 1327 2013-06-09 09:47:01 +02:00
Thomas Nagy b241462a2a Issue 1327 2013-06-09 09:46:44 +02:00
Thomas Nagy 1e2e7f6074 Issue 1323 2013-06-01 03:53:06 +02:00
Thomas Nagy 4e8fda5644 Fix for systems without threading - Issue 1323
Conflicts:

	ChangeLog
2013-05-30 21:18:26 +02:00
Thomas Nagy 144f4a4d25 Issue 1321, more accurate task count for qt4 and build groups 2013-05-29 22:36:07 +02:00
Thomas Nagy fa5ed99a21 Removed the unused env parameter from conf.write_config_header() 2013-05-26 21:48:26 +02: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 5c6d626048 removed the cache from the task level, it usually degrades performance and is better implemented on the compiler level 2013-05-26 10:14:49 +02:00
Thomas Nagy e5cd63a670 Issue 1320, do not propagate external libraries uselib vars 2013-05-26 09:58:11 +02:00
Thomas Nagy 5b3dc2c5ab apidoc fixes 2013-05-25 22:49:22 +02:00
Thomas Nagy 5906f37447 Simple system for logging the outputs
Add the following to your wscript file:

def init(ctx):
    ctx.load('build_logs')
2013-05-25 17:39:41 +02:00
Thomas Nagy 856db9cc90 added export_includes/export_defines parameters to read_shlib/read_stlib 2013-05-25 15:17:25 +02:00
Thomas Nagy c9fa0b75b5 preparation for waf 1.7.11 2013-05-25 12:00:37 +02:00
Thomas Nagy 760d0f875c Issue 1319 Reduce the amount of paths for the unit test execution 2013-05-19 08:49:40 +02:00
Thomas Nagy c4685a8cb8 Issue 1310 use INCLUDE/LIB environment variables to detect boost libs on windows 2013-05-19 08:36:00 +02:00
Thomas Nagy 6d570f08bd use os.remove instead of os.unlink for consistency 2013-05-18 19:51:45 +02:00
Thomas Nagy 426637d10a Prevent unnecessary rebuilds in the qt processing
A list was changed during iteration, causing an unnecessary dependency to be
kept, and triggering subsequent rebuilds. This only occured with multiple .moc included.
2013-05-18 19:31:56 +02:00
Thomas Nagy 8267e7ae97 Issue 1318 reuse moc tasks 2013-05-18 14:08:41 +02:00
Thomas Nagy 29f80f4aeb Issue 1317 append to moc flags 2013-05-18 09:48:27 +02:00
Thomas Nagy 174b01bba9 Issue 1313 extra check_dir call causing uninstall failures 2013-05-16 08:33:05 +02:00
Thomas Nagy 621ffa83ed Issue 1315 QtDesigner library detection in qt4.py 2013-05-16 08:22:16 +02:00
yngwe 031e94ffa7 allow c_config to recognize clang as gcc 2013-05-13 20:07:25 +02:00
Thomas Nagy 7af8b2f268 slightly faster regexp for replacing c/c++ comments 2013-05-09 11:01:46 +02:00
Thomas Nagy b0bae3baa1 Merge branch 'master' of http://code.google.com/p/waf 2013-05-08 23:19:10 +02:00
Thomas Nagy 3934918217 Issue 1253 2013-05-08 23:18:53 +02:00
Thomas Nagy 57f0df2c8a Remove the requirement for opt.load('qt4') 2013-05-08 16:51:14 +02:00
Thomas Nagy 1da291a1e6 Force a fixed order in the link task inputs to prevent unnecessary rebuilds 2013-05-07 17:49:59 +02:00
Thomas Nagy 69f5f71120 Removed the annoying assert in msvs.py 2013-05-07 10:08:49 +02:00
Thomas Nagy 417b2c53cd deployment extension in msvs projects 2013-05-07 08:53:18 +02:00
Thomas Nagy 57eaf369c5 extend the subst task to support other copy modes such as hard linking 2013-05-05 22:54:19 +02:00
Thomas Nagy d151c86ad1 Issue 1262 2013-05-04 09:24:38 +02:00
Thomas Nagy 43caa85c5a Issue 1272 2013-05-01 10:55:26 +02:00
Alexander Afanasyev b059ce784d Correcting Darwin compilation
gcc, gxx, and fc_config for Darwin platform were specifying
-compatibility_version and -current_version compilation flags.  These
flags are actually are link flags and generate warnings by clang
compiler.

Also, these flags were specified in non-standard way, which was
confusing clang compiler.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-04-28 10:11:17 +02:00
Alexander Afanasyev 522e3fb43a protoc: small correction
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-04-28 10:08:42 +02:00
Thomas Nagy 01ef0ed313 Issue 1297 2013-04-28 00:15:32 +02:00
Thomas Nagy 1caaec653a Issue 1299 2013-04-27 09:19:16 +02:00
Thomas Nagy 230d35c9c3 Issue 1300 2013-04-27 02:10:15 +02:00
Thomas Nagy 345f6bc99f Issue 1278 2013-04-16 17:19:30 +02:00
Caitlin Potter 1c562a034a Explicitly execute python binary (sys.executable) in distcheck
Signed-off-by: Caitlin Potter <snowball@defpixel.com>
Signed-off-by: Thomas Nagy <tnagy1024@gmail.com>
2013-04-15 14:52:15 +02:00
Stian Selnes 336c3f2e3f msvc: fix check of intel composer version with visual studio 2010
Signed-off-by: Thomas Nagy <tnagy1024@gmail.com>
2013-04-02 17:04:44 +02:00
Thomas Nagy c3cbd4c353 New version 1.7.10 2013-03-22 15:47:41 +01:00
Thomas Nagy 7eef6588af Use Utils.readf/Utils.writef whenever possible 2013-03-14 13:45:10 +01:00
Oliver Sauder 813a1aff14 Exclude auto-generated .intlcache
Signed-off-by: Thomas Nagy <tnagy1024@gmail.com>
2013-03-13 11:52:08 +01:00
Thomas Nagy 77dc8ea368 Issue 1266 2013-03-12 14:10:12 +01:00
Thomas Nagy 0f64aea102 Issue 1261 2013-03-04 17:13:31 +01:00
yngwe 7aab452acb Merge branch 'master' of https://code.google.com/p/waf 2013-02-17 15:11:25 +01:00
Thomas Nagy 526fe68773 Issue 1231 2013-02-17 14:29:41 +01:00
yngwe 46f51a3925 Added support for Windows Phone 8 compilers; added feature support for Windows Desktop Application and Windows Phone Application compilation 2013-02-17 14:09:32 +01:00
Thomas Nagy 582a1a59f1 Issue 1255 2013-02-15 10:35:20 +01:00
Thomas Nagy a308c89c35 Issue 1180 2013-02-10 11:45:35 +01:00
Thomas Nagy 89ae826782 New codelite plugin 2013-02-02 11:06:20 +01:00
Thomas Nagy fd1305af1d Issue 1248 2013-02-01 23:52:13 +01:00
Thomas Nagy ba984b57b7 Issue 1248 2013-02-01 23:45:30 +01:00
Thomas Nagy bf27d10fd5 Issue 982 2013-02-01 23:01:53 +01:00
Thomas Nagy 17aff345ea New release 1.7.9 2013-01-13 11:51:07 +01:00
Harald Klimach 2d29dfc528 Issue 1245 2013-01-08 19:45:14 +01:00
Daniel Welty 9e92489dbc gccdeps: Cache path to node lookup
The find_resource call is slow, so caching the resulting Node object
gives a significant speed up, about twice as fast.

Issue: 1244

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-01-04 18:24:40 +01:00
Thomas Nagy 99919342f0 Merge branch 'master' of https://code.google.com/p/waf 2013-01-04 02:28:51 +01:00
Thomas Nagy 67b8e27c34 Issue 1237 2013-01-04 02:27:42 +01:00
Matt Hoosier 3b699e3fed Make msvc.py behave itself when other toolchains are loaded
Chain down to the pre-existing Task.exec_command() implementation if
task.env.CC_NAME indicates that the current taskgen isn't building using
Microsoft tools.

Attempt #2. The previous version (9b443a4e, reverted in 148598a8) was
found in Issue 1243 to lead to unusual infinite regress if the
monkeypatching code executed more than once in a Python interpreter
lifetime. This version uses dynamic subclassing to avoid that problem.

Issue 1237.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-01-04 02:11:26 +01:00
Kevin Ollivier 13ad17f96c Add support for parsing more MSVC command line options to check_cfg. 2013-01-01 12:13:23 -08:00
Thomas Nagy 148598a815 reverted the changes from #1212 and #1237 2012-12-28 21:58:37 +01:00
Thomas Nagy ed52334a57 Issue 1232 2012-12-19 02:51:33 +01:00
Matt Clarkson 6e87e321bf Change the apply_vnum installation tasks to be created only if there is already an install_task. It checked to see if self.bld.is_install was not False but that can lead to exceptions being thrown when a shared library is created but install_path=None
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-12-19 02:04:10 +01:00
Thomas Nagy 0e243e4212 New release 1.7.8 2012-12-17 18:08:43 +01:00
Matt Clarkson 8c566d1a42 Fixed up a bug in the gather_intel_composer_versions that results in an exception being thrown on windows systems with no intel composer versions installed. Raise in issue 1239
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-12-17 18:07:25 +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 59363114c3 Issue 1232 2012-12-16 16:58:55 +01:00
Thomas Nagy 083b6e138e Issue 1234 2012-12-15 00:32:20 +01:00
Thomas Nagy fc9d6f4200 Issue 1222 2012-12-14 23:43:28 +01:00
Matt Hoosier 9b443a4e88 Make msvc.py behave itself when other toolchains are loaded
Chain down to the pre-existing Task.exec_command() implementation
if task.env.CC_NAME indicates that the current taskgen isn't building
using Microsoft tools.

Issue 1237.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-12-14 22:20:22 +01:00
Thomas Nagy 4b4aaf7dc5 Issue 1236 2012-12-12 20:09:40 +01:00
Thomas Nagy 2da7b2f549 missing r for strings containing \ 2012-12-10 19:32:25 +01:00
Matt Clarkson c7529b3a09 Added a warning message about the intel compilervars_arch.bat file because it only searches for \IDE\VSWinExpress.exe to determine if VS Express is installed. However, Microsoft have changed up VS2012 with differnt SKUs that install with different executable names. I have filed this on the Intel forums at http://software.intel.com/en-us/forums/topic/328487 and hoping for a fix in 2013.03 C++ composer. In the meantime it checks the compilervars_arch.bat to see if the VS2012 express SKU it is searching for is not installed and prints a warning, only once, about patching the batch script. Without the patch the intel compiler cannot be found for command line processing with any Visual Studio Express SKU other than the one for Windows 8
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-12-10 19:29:02 +01:00
Matt Clarkson 3723b8bdbe Added a new function gather_intel_composer_versions and fixed up get_msvc_version so that it correctly strips the output of intel batch files. Also added new supported compilers too the comments at the top of the file as I have tested the configure and it finds VS2012, Intel 13 and WSDK 7.1 compilers
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-12-10 19:27:39 +01:00
Thomas Nagy 597e4a4f4c import libraries should go to LIBDIR along with the 2012-12-10 19:23:34 +01:00
Thomas Nagy a71ca54558 Issue 1232 2012-12-09 05:29:59 +01:00
Thomas Nagy 072edeb396 possible fix for python 3 IO issues on windows 2012-12-05 01:23:52 +01:00
Thomas Nagy e9d5d29ce1 missing change 2012-12-05 00:40:50 +01:00
Thomas Nagy f824ab8481 Issue 1230 2012-12-05 00:38:58 +01:00
Thomas Nagy 79e2901e4e typo in the API documentation 2012-12-01 17:36:53 +01:00
Thomas Nagy df67c02a0e simple tool for unity builds 2012-11-30 21:21:22 +01:00
Thomas Nagy e21ec6a3fe Merge branch 'master' of https://code.google.com/p/waf 2012-11-28 01:02:20 +01:00
Thomas Nagy 07c5337f8b possible osx fixes 2012-11-28 01:02:07 +01:00
Harald Klimach 04eb20b1e1 Fixed fc_xlf to import Errors 2012-11-12 17:36:32 +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 82b49862e2 Issue 1220 2012-11-04 10:29:36 +01:00
Thomas Nagy 5eed580a0c Merge branch 'master' of https://code.google.com/p/waf 2012-11-04 10:28:44 +01:00
Thomas Nagy 6635a9788b Issue 1220 2012-11-04 10:28:34 +01:00
immerrr 54464995c6 Avoid possible "unused parameter" warnings in check_c/check_cc boilerplates
When CFLAGS/CXXFLAGS contains '-Wextra -Werror', such warnings are reported
and become errors, which causes respective checks to fail.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-11-04 10:24:34 +01:00
alexrp ba6718fb05 Add more stuff to the macro-to-DEST_CPU list. 2012-11-01 14:14:08 +01:00
Thomas Nagy b022f8a314 no more file() in python 3.3 2012-10-31 02:00:01 +01:00
Thomas Nagy 5ce68b696a Issue 1218 2012-10-26 22:54:53 +02:00
Thomas Nagy 27aeab577c Issue 1218 2012-10-25 21:36:41 +02:00
Thomas Nagy 689fe3c0b9 Merge branch 'master' of https://code.google.com/p/waf 2012-10-21 11:29:49 +02:00
Thomas Nagy 85698bdb53 support for python modules in fortran -_- 2012-10-21 11:29:40 +02:00
alexrp b3b0383840 Add output file patterns for D tasks on Darwin. 2012-10-21 02:13:33 +02:00
Thomas Nagy 1350ebc7a5 Issue 1212 2012-10-20 23:45:16 +02:00
Thomas Nagy a1d0f9c13e force a stable name in bld(rule=...) 2012-10-17 18:50:20 +02:00
Thomas Nagy c85678dc4a hash subst_fun 2012-10-10 22:52:30 +02:00
Anthony Baire 57b555b5fe allow using the flex shipped with MSYS
(it expects path separated by / instead of \)

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-10-10 18:39:51 +02:00
Thomas Nagy 6499810aec Issue 1209 2012-10-09 22:35:58 +02:00
Thomas Nagy 43277c8e77 provide bld(features='subst', subst_fun= fun(task, text)) for convenience 2012-10-08 18:30:47 +02:00
Thomas Nagy 294050ff41 Potential fix for #1204 2012-10-05 00:21:27 +02:00
Anthony Baire 2c22ec2a59 fixed `waf clean` to preserve config files from all environments
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-10-05 00:07:59 +02:00
Thomas Nagy 0856e2492b Issue 1207 2012-10-05 00:06:24 +02:00
Thomas Nagy 85d863bd52 Issue 1205 2012-10-02 03:43:58 +02:00
Thomas Nagy 0d6cd93f95 empty --prefix 2012-09-29 17:32:46 +02:00
Thomas Nagy 9c7c864fcc Merge branch 'master' of https://code.google.com/p/waf 2012-09-27 21:08:37 +02:00
Thomas Nagy b52d97adff Issue 1184 2012-09-27 21:08:26 +02:00
Thomas Nagy d3210ea74b configuration fix for kde4 2012-09-27 19:48:30 +02:00
alexrp c62073538b The fsc tool should set FS_NAME, not CS_NAME. 2012-09-27 14:47:41 +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 ab385ea63c #1202 2012-09-23 19:49:17 +02:00
Thomas Nagy 665aff8a57 cabal script by Anton Feldmann 2012-09-23 10:19:44 +02:00
Thomas Nagy 57afd10abc stupid race condition, issue #1200 2012-09-19 08:11:42 +02:00
alexrp cc048dc574 Fill out DEST_CPU for MSVC. 2012-09-18 23:57:17 +02:00
alexrp cf4a6abbd2 Use ASMPATH_ST for for assembler includes. 2012-09-18 23:54:02 +02:00
Thomas Nagy 56636cf5ff Removed a function too early - this is what happens when no example is present 2012-09-17 23:30:22 +02:00
Thomas Nagy 41c52e3f4e return the task generator instance (much more intuitive) 2012-09-15 21:27:50 +02:00
Thomas Nagy 54e3a901dd docs 2012-09-15 12:53:47 +02:00
Thomas Nagy 69edfa1675 bld.func -> bld.rule() 2012-09-15 12:16:53 +02:00
Anthony Baire c5bc3197f0 added Build.func to allow creating task generator using the decorator notation
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-09-15 12:14:25 +02:00
Thomas Nagy 7895f84852 Issue 1199 2012-09-15 08:30:51 +02:00
Thomas Nagy 8cd692474d update to waf 1.7.3 2012-09-13 06:10:28 +02:00
Thomas Nagy ecfd580227 Issue 1194 2012-09-13 06:07:26 +02:00
Thomas Nagy 5bc516a08d Dead code: __hash__ does return the id of the current object by default 2012-09-11 00:03:54 +02:00
Thomas Nagy b5c043ef49 optimization 2012-09-02 19:55:54 +02:00
Thomas Nagy 220c438320 Issue 1193 2012-08-29 18:23:29 +02:00
Thomas Nagy 0f6ee2a0cf Issue 1192 2012-08-24 22:53:07 +02:00
Thomas Nagy e67b593eee Issue 1191 2012-08-23 17:33:36 +02:00
Thomas Nagy fcfeaed70c let the feature 'includes' propagate INCLUDES and FRAMEWORKPATH variables 2012-08-19 11:50:11 +02:00
Thomas Nagy 25a076d254 prevent accidental race conditions with conf.env / msvc 2012-08-09 19:05:05 +02:00
Thomas Nagy 72f6bce85c New release 1.7.2 2012-08-05 17:42:47 +02:00
Thomas Nagy da45e165fb missing install_path processing on bld.subst targets 2012-08-05 17:35:17 +02:00
Thomas Nagy 8096ba1be2 Issue 1186, run midl tasks before winrc ones 2012-08-05 01:36:12 +02:00
Thomas Nagy fb0f6ed5ea Issue 1186 2012-08-05 01:33:11 +02:00
Jerome Carretero 2072e65e6f qt4: use os.environ, not conf.environ 2012-08-04 16:33:47 -04:00
Thomas Nagy 2d6fed4101 Issue 1188 2012-08-04 02:26:08 +02:00
Thomas Nagy f79e057f5d Prevent typos on bld.subst(iscopy/is_copy) 2012-08-03 19:38:50 +02:00
Thomas Nagy b45a4f1db4 Issue 1187 2012-08-02 19:58:39 +02:00
Thomas Nagy 72248961c8 Issue 1178 2012-08-02 01:04:58 +02:00
Thomas Nagy a93a2c552f Issue 1185 2012-08-01 01:14:43 +02:00
Thomas Nagy a3a8eea2cb Optimization 2012-07-31 09:49:20 +02:00
Thomas Nagy 3ee50382fb use the compact pickle files (faster) 2012-07-30 18:35:17 +02:00
Thomas Nagy a0592ed9b1 Updated the ChangeLog file and the version to 1.7.1 2012-07-29 18:07:31 +02:00
Thomas Nagy 5b542ef5e5 update the exclusion regexps for waf 1.7 folders 2012-07-29 17:58:38 +02:00
Thomas Nagy 33dfd7d03d uselib vars for asm 2012-07-28 10:52:00 +02:00
Thomas Nagy 1946acc1d8 response files for c#, Issue 1182 2012-07-26 07:05:46 +02:00
Thomas Nagy 8c0126d6a1 resx tool for compiling .net resource files from Issue 1183 2012-07-25 19:02:34 +02:00
Thomas Nagy 6ab04926e6 get rid of the -framework flags during the compilation (bad request from someone...) 2012-07-24 19:40:29 +02:00
Thomas Nagy c5d0daf11f add frameworks during the compilation 2012-07-24 19:35:03 +02:00
Thomas Nagy a9dbb17502 --help 2012-07-24 07:06:24 +02:00
Thomas Nagy b6771c2055 better error message 2012-07-20 20:16:25 +02:00
Thomas Nagy 070669067a https://github.com/nenolod/pkgconf/issues/24 pkgconf is not totally compatible with pkg-config 2012-07-20 18:22:37 +02:00
Thomas Nagy 2d05d44f16 Cleanup for Issue 1179 2012-07-13 19:56:38 +02:00
Matt Hoosier c92db8a77e Allow gccdeps to work with other compilers too (Issue 1179)
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-07-13 19:52:16 +02:00
Harald Klimach 74f3bbd8a6 Synchronize the xlf version detection to the xlc one. 2012-07-13 01:03:03 +02:00
Thomas Nagy e2b65f029d Another fix for the AIX compiler detection 2012-07-09 18:39:34 +02:00
Thomas Nagy b05ab4d00d Better detection of the XLC compilers 2012-07-09 18:11:48 +02:00
Johan Boule 6c74f1051b It was meant to be a try-finally block, to ensure file is closed. 2012-07-09 03:39:59 +02:00
Harald Klimach 149c122db3 Missing line ending "):" in for loop. 2012-07-08 22:53:57 +02:00
Harald Klimach 312229d7bd Made the XLF version parsing consistent with the XLC one. 2012-07-08 22:49:30 +02:00
Thomas Nagy 8d1ff034df test the compilation of a pyembed program, not a pyembed shlib 2012-07-05 16:10:10 +02:00
Thomas Nagy e8675232fd AIX compiler detection improvements 2012-07-05 11:24:46 +02:00
Thomas Nagy 1ca31f8ddf Re-enabled sequential builds for the build farm 2012-07-05 10:37:29 +02:00
Thomas Nagy 31da29c1b1 potential hpux fixes 2012-07-05 09:57:52 +02:00
Thomas Nagy f9f31d77c2 Fixed the apidocs of parse_flags 2012-07-05 09:57:34 +02:00
Thomas Nagy c2aef04b0e Fixed the configuration tests for Issue 915 2012-07-04 19:11:09 +02:00
Thomas Nagy 62613ddefc Issue 915 2012-07-03 15:42:17 +02:00
Thomas Nagy f13f90768b Issue 1177 2012-07-01 10:28:15 +02:00
Thomas Nagy ec3295c1a4 let conf.define() cast bool and None values to int 2012-06-30 18:15:56 +02:00
alexrp d2d31c69a0 Extend the dmd tool to handle dmd2. 2012-06-21 18:31:52 +02:00
Thomas Nagy 2367a224c1 TypeError->AttributeError on Issue 1174 2012-06-20 19:12:38 +02:00
Thomas Nagy 62862a143d Issue 1174 2012-06-20 19:10:34 +02:00
Thomas Nagy 183388abce python detection fix for hp-ux (build farm) 2012-06-19 18:02:04 +02:00
Thomas Nagy bf2b2fa982 add the -framework flags for the compilation too 2012-06-16 21:36:07 +02:00
Thomas Nagy 4f6b76ff9e log more outputs 2012-06-16 02:43:02 +02:00
Thomas Nagy 95b33a342f Win32 fixes for Python 2.5 and 3.2 2012-06-15 19:02:32 +02:00
Jerome Carretero 28b5d25a55 readf_win32: fix small typo 2012-06-14 22:51:54 -04:00
Thomas Nagy 1ae1fef31e Provide a way to bypass the default class registration in all Task subclasses 2012-06-14 00:43:10 +02:00
Thomas Nagy efad53b370 docs 2012-06-12 19:24:53 +02:00
Thomas Nagy 943d9c5b83 refactoring gone bad 2012-06-10 17:51:55 +02:00
Thomas Nagy 5de226d7ac docs and cosmetic changes 2012-06-09 09:42:11 +02:00
alexrp fb815d0c8a Copy/pasta is evil and I should feel bad. 2012-06-09 09:20:22 +02:00
alexrp 2318c294dd And another! 2012-06-08 23:01:54 +02:00
alexrp fdf234c2a6 Fix silly syntax error. 2012-06-08 22:58:38 +02:00
alexrp 78aa2f3e92 Some changes to the D support:
* Added ldc2 as a separate tool. It can be detected/used with --check-d-compiler in the compiler_d tool now.
* Added code to make sure that the compilers we find actually are the right ones (heuristics).
* Correct some old comments.
2012-06-08 21:38:40 +02:00
Thomas Nagy a78a146365 Merge branch 'master' of https://code.google.com/p/waf 2012-06-07 17:35:26 +02:00
Thomas Nagy f19e7cb3c8 typo 2012-06-07 17:32:01 +02:00
alexrp 0ce8e8b5ca Clarify error message (ldc is not a dmd2 replacement, ldc2 is). 2012-06-06 23:17:24 +02:00
Thomas Nagy 1d0f1c9b21 Python 3 makes the 'encoding' parameter mandatory on all I/O operations 2012-06-05 04:31:31 +02:00
Thomas Nagy 4d56d7039f enable static and shared libraries with the same extension (use -v to catch the mistakes) 2012-06-04 19:55:37 +02:00
Thomas Nagy 5915ae6d59 cosmetic changes 2012-06-02 09:29:30 +02:00
Thomas Nagy 214c28da7b Merge remote-tracking branch 'remotes/origin/zougloub-fixes' 2012-06-02 08:34:05 +02:00
Jerome Carretero c67653fff3 go: whitespace/tab sanitation 2012-06-01 22:29:31 -04:00
Jerome Carretero 879181f361 cs: indentation fix 2012-06-01 22:17:12 -04:00
Jerome Carretero 719dc32539 javaw: indentation fix 2012-06-01 22:04:59 -04:00
Thomas Nagy a5c4b29ec4 Do not prevent Logs.error/warn/debug from getting replaced 2012-06-01 04:26:44 +02:00
Thomas Nagy 71c10abe7f removed an unused variable (cosmetic change) 2012-05-29 22:47:33 +02:00
Thomas Nagy 4f20b48c14 this may work for visual studio 2011 2012-05-29 22:44:00 +02:00
Jerome Carretero d00883c172 scripting: print successful completion of a task even with a progress bar, and with a better grammar 2012-05-29 09:10:00 -04:00
Thomas Nagy 34bb10d935 use colors only if stdout and stderr are both ttys 2012-05-27 23:43:43 +02:00
Thomas Nagy 3557c4caf3 docs 2012-05-27 23:42:38 +02:00
Thomas Nagy 87255223ad cleanup 2012-05-22 18:43:28 +02:00
Thomas Nagy fb1addeaf2 cleanup 2012-05-21 20:23:43 +02:00
Thomas Nagy 2e19a6bb28 Issue 1166 2012-05-19 16:32:37 +02:00
Thomas Nagy 7f77cab6bf Issue 1044 2012-05-19 11:24:42 +02:00
Thomas Nagy 0927ddde28 Provide safer readf/writef/h_file functions on win32 2012-05-19 10:29:44 +02:00
Thomas Nagy 10d3ecdc34 add the missing finally block to open() 2012-05-19 10:27:47 +02:00
Thomas Nagy 3ff3c02092 reuse Utils.h_file in waflib/extras/md5_tstamp.py 2012-05-19 10:26:34 +02:00
Thomas Nagy ed56a01764 cleanup 2012-05-19 09:45:57 +02:00
Thomas Nagy df865701e2 Remove some redundant code from Node.py 2012-05-17 19:54:36 +02:00
Thomas Nagy cf773b89de return the value of opt.add_option() 2012-05-17 14:57:58 +02:00
Thomas Nagy 5d6c12be1f cleanup on the write functions 2012-05-17 13:49:09 +02:00
Thomas Nagy 5ec0cbed4c self.env->env when looking for defines in parse_flags 2012-05-17 11:16:16 +02:00
Thomas Nagy 66172d53d3 Issue 1165 2012-05-16 08:29:13 +02:00
Jerome Carretero 91802ba41f Allow cross-compiling of qt4 applications (plz2review)
I'm cross-compiling the qt4 demo with::

   export QT4_ROOT=/path/to/win32/qt4
   QT4_INCLUDES=$QT4_ROOT/include QT4_XCOMPILE=1 QT4_BIN="$PWD" QT4_LIBDIR=$QT4_ROOT/lib \
    CXX=i686-pc-mingw32-g++ CC=i686-pc-mingw32-gcc CFLAGS=-g CXXFLAGS=-g waf configure

I made a simple wrapper for the qt tools::

   lrwxrwxrwx 1 cJ cJ     7 May 12 14:08 moc -> wrapper*
   lrwxrwxrwx 1 cJ cJ     7 May 12 14:02 qmake -> wrapper*
   lrwxrwxrwx 1 cJ cJ     7 May 12 14:09 rcc -> wrapper*
   lrwxrwxrwx 1 cJ cJ     7 May 12 14:04 uic -> wrapper*
   -rwxrwxr-x 1 cJ cJ   318 May 12 14:04 wrapper*

Wrapper contents::

   #!/usr/bin/env python
   # Calls win32 Qt tools via wine (too lazy to install the same version)

   import sys, os, subprocess

   QT4_ROOT = os.environ["QT4_ROOT"]
   tool = os.path.basename(sys.argv[0])
   args = sys.argv[1:]
   cmd = [
    "wine",
    "%s/bin/%s" % (QT4_ROOT, tool),
   ] + args

   sys.exit(subprocess.call(cmd))

Note: disabled localization in qt4 demo wscript as I don't need it.
2012-05-12 14:56:09 -04:00
Thomas Nagy f486c0a391 Merge branch 'master' of https://code.google.com/p/waf 2012-05-11 07:27:04 +02:00
Thomas Nagy 556eabd0af new include guard for write_config_header 2012-05-11 07:26:50 +02:00
Harald Klimach 677e9d4c9c Included the fc_add_flags call in the fc_ tools of the extras directory. 2012-05-09 06:55:43 +02:00