Commit Graph

730 Commits

Author SHA1 Message Date
Thomas Nagy 1b534ee8d2 ansiterm fix: use FillConsoleOutputCharacterW instead of FillConsoleOutputCharacterA 2014-01-25 19:59:51 +01:00
Krzysztof Kosiński 9a824a5649 Fix missing module import in compiler_c 2014-01-25 19:31:11 +01:00
Krzysztof Kosiński c38a4fb4f0 More consistent error messages in the generic compiler tools 2014-01-25 19:28:55 +01:00
Krzysztof Kosiński 86b87413c8 Always return a value which evaluates to True when check_cfg succeeds. 2014-01-25 19:12:44 +01:00
Krzysztof Kosiński ca60d62bed Modify the generic compiler tools to use the "Configuration options" group.
Add a mechanism to set the compiler precedence for D, for consistency.
2014-01-25 18:50:04 +01:00
Krzysztof Kosiński cffbb89cb4 Move the initialization of default options from opt_parser
to OptionsContext, so that tools can add options to the default
option groups without using black magic.
2014-01-25 18:28:14 +01:00
Krzysztof Kosiński f386392fb2 Change the option group for glib2 schema dir to be the same
as the one for gnu_dirs installation directories.
2014-01-25 18:24:51 +01:00
Krzysztof Kosiński 526abea553 Improve the directory descriptions in gnu_dirs 2014-01-25 18:23:07 +01:00
Thomas Nagy c395bffed8 Workaround for Issue 1401 - the progress bar cannot display the last character on windows 2014-01-25 02:02:28 +01:00
Thomas Nagy d413616400 The progress bar should always appear on stderr 2014-01-23 22:22:15 +01:00
Thomas Nagy 2943824c51 Issue 1399 - invalid cast in syms.py 2014-01-23 21:19:57 +01:00
Thomas Nagy 3498ef6773 info to stdout, warning and errors to stderr 2014-01-19 21:28:17 +01:00
Thomas Nagy fa8fed39a0
'x use y use AAA' will add the AAA flags to x, but 'x use y uselib AAA' will not 2014-01-18 01:46:53 +01:00
Thomas Nagy fbb7a0e720
Merge from Jerome's branch 2014-01-16 02:03:53 +01:00
Matt Fischer 2f2866a4cd msvs: Added support for MSVS 2012
With the addition of one new field, the project files generated by
the msvs command can be opened by 2012 as well as 2010.

Change-Id: I27c3a04ec156029f7a6690b27cf27013f5816d2f

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2014-01-14 20:26:09 +01:00
Thomas Nagy 9f7ceb0e91 Issue 1395 2014-01-14 20:11:11 +01:00
Thomas Nagy 3581b89fbb
Enable custom regexp in bld(features='subst', re_m4=...) 2014-01-14 19:58:45 +01:00
Thomas Nagy a29f775851 Merge from Jerome's branch 2014-01-14 02:31:08 +01:00
Thomas Nagy b11454526d Fixed the KeyError for multiple dependencies on the same task 2014-01-12 21:19:49 +01:00
Thomas Nagy 010b944062 typo 2014-01-12 19:49:31 +01:00
Jérôme Carretero 0e7df22ad5 Utils: check_exe() to return an absolute path so it can be called
Because there cases where subprocess.Popen'ing the [result] can fail.
2014-01-08 01:58:11 -05:00
Thomas Nagy 12b1212f4d
command-line options override environment variables, and not the other way around 2014-01-06 15:00:45 +01:00
Thomas Nagy 0cc696faa3
Invalid parameter type c_int passed to FillConsoleOutputCharacterA 2014-01-06 01:14:21 +01:00
Thomas Nagy 5c85d5907d
FillConsoleOutputCharacterA seems to be requiring a c_char, not a c_wchar 2014-01-06 01:01:10 +01:00
Thomas Nagy 001488b8d3
Signatures for the rest of ctype functions 2014-01-06 00:54:35 +01:00
Jérôme Carretero 33a60e79e7 treecleaner: 'in [...]' replaced by 'in (...)' where appropriate 2014-01-05 16:27:06 -05:00
Thomas Nagy d01f7f36e0
Stop creating range objects in ansiterm 2014-01-05 21:47:21 +01:00
Thomas Nagy 8d8ba52810
Removed the workaround in ansiterm.py 2014-01-05 21:39:39 +01:00
Thomas Nagy e01695d536
Trying to get rid of the invalid handle errors in ansiterm 2014-01-05 21:31:54 +01:00
Thomas Nagy 107ebc9251
Trying to get rid of the invalid handle errors in ansiterm 2014-01-05 21:30:52 +01:00
Thomas Nagy ece779b5ed
Temporary workaround for ctype errors (invalid handle is returned sometimes) 2014-01-05 20:53:13 +01:00
Thomas Nagy 68acc6a2b9
Return the column count on windows 2014-01-05 11:23:49 +01:00
Thomas Nagy f8b24e70a9
Forgot to change always/never by yes/no in Options.py 2014-01-05 10:54:18 +01:00
Thomas Nagy 85bfd3eded
Minor changes in the logging system 2014-01-05 10:51:24 +01:00
Thomas Nagy 3deaeb241a
it turns out that writeconsole in ansiterm.py is not needed 2014-01-05 10:18:57 +01:00
Thomas Nagy 4107a0e29d
New option --color to control the coloring, and split the coloring from the output synchronization code 2014-01-05 01:39:32 +01:00
Thomas Nagy fa5f149775
removed the is_vista verification, write the text by chunks and default to the default stream writer when not a tty 2014-01-04 23:20:17 +01:00
Thomas Nagy 526620f16d
Cleanup in ansiterm.py 2014-01-04 17:20:19 +01:00
Thomas Nagy 4ce22a6fa2
Typo 2014-01-04 12:15:21 +01:00
Thomas Nagy 1b34dadd88
Re-added Parallel.error_handler 2014-01-04 11:04:59 +01:00
Thomas Nagy 8ae91879ce
Revert 2f7d561cb0 - there are regressions and the performance improvement is in Pypy only 2014-01-03 22:32:58 +01:00
Thomas Nagy 5032695f26
Simplified the error handling on task status in Runner.py (API change) 2014-01-03 18:22:34 +01:00
Jérôme Carretero f462fd9f31 extras: clang_compilation_database: python3 fixes 2014-01-02 18:26:10 -05:00
Thomas Nagy f098a0dde4
make mem_reducer.py ready for python 3 2014-01-02 23:56:31 +01:00
Thomas Nagy 2f7d561cb0
Runtime improvements in Runner.py by using deques by default (python >= 2.4) 2014-01-02 23:35:17 +01:00
Thomas Nagy 5fc835639e
Encapsulate task skipping in a method to help with the shrinking sets feature 2014-01-02 20:21:45 +01:00
Thomas Nagy 44720924b6 case when c classes are brough by msvc but no c compiler is required, demos/c++/wscript on windows 2014-01-02 18:12:35 +01:00
Jérôme Carretero a99ddb808f extras: gccdeps: fix for CXX_NAME (but some issues remain) 2014-01-02 06:24:52 -05:00
Jérôme Carretero 6546e34176 Tools: ar: support for ARFLAGS environment variable
For instance, to make deterministic archives::

ARFLAGS=rcsD waf configure
2014-01-02 06:24:39 -05:00
Thomas Nagy 80bc0a65ce
moved the TINY_STEP variable to the module level 2014-01-01 19:59:59 +01:00
Thomas Nagy 118bbfbf4d let ansiterm write to the standard error on windows 2014-01-01 15:11:32 +01:00
Thomas Nagy 4445b7e0b6 Issue 1391 xrange 2013-12-24 15:32:09 +01:00
Thomas Nagy 29252511d0 Issue 1390 - conf.check(lib='several libs') 2013-12-21 17:29:06 +01:00
Thomas Nagy 69f73f9625 Issue 1388 2013-12-20 18:16:41 +01:00
Thomas Nagy a34eda4e8f Issue 1389 fc scanner improvements 2013-12-20 18:02:03 +01:00
Thomas Nagy d2fcc7b7be special case of files created in the source directory in combination with update_outputs 2013-12-18 23:21:34 +01:00
Thomas Nagy 2048f0fb89 another optimization spot for the shrinking sets system 2013-12-15 17:21:02 +01:00
Thomas Nagy f9536abbb8 shrinking sets for the memory reducer 2013-12-15 12:47:12 +01:00
Thomas Nagy a4b03b0fd6 removed the set copy to enable faster iterations 2013-12-15 12:19:01 +01:00
Thomas Nagy 6d05e237d2 Memory usage reducer, based on a post to the mailing-list by Christian Nilsendahl 2013-12-12 15:26:56 +01:00
Thomas Nagy c09de54b82 Issue 1384 - pickle changes in Python 3.4 2013-12-07 20:17:43 +01:00
Thomas Nagy 6fb96036f0 Issue 1382, hash randomization on python 3.3 causes reconfigurations 2013-11-28 20:00:50 +01:00
Thomas Nagy 16c0bc9d2b problem when merging qt5.py (no run method) 2013-11-24 18:24:03 +01:00
Thomas Nagy 5664664a1a regression in qt4.py when adding qt5.py 2013-11-24 17:58:50 +01:00
Thomas Nagy cf75dc3308 qt5 tool 2013-11-24 14:19:28 +01:00
Thomas Nagy bccf38b50a Issue 1381 - moc file caching 2013-11-23 12:50:39 +01:00
Thomas Nagy c7c299ddf0 unused variable 2013-11-17 13:24:14 +01:00
Thomas Nagy 2226ee472f notes 2013-11-17 01:09:04 +01:00
Thomas Nagy c521b1d076 Issue 1379, nasm trailing slashes 2013-11-16 20:13:41 +01:00
Thomas Nagy 346601b103 handle empty defines when pasting tokens 2013-11-15 23:24:51 +01:00
Thomas Nagy 797b935305 Issue 1377 2013-11-15 18:20:25 +01:00
Thomas Nagy fb022f4787 do not convert to png anymore, and added a templating engine to replace the string appending 2013-11-14 22:44:12 +01:00
Thomas Nagy 4953daf3d4 Issue 1376: Hide commands starting by _ 2013-11-12 21:25:09 +01:00
Thomas Nagy 7b6c4e2c9d inconsistent tabs/spaces 2013-11-10 19:53:56 +01:00
Thomas Nagy cc6de0b989 Guess the console columns in the general case by trying stderr and then stdout 2013-11-10 06:02:04 +01:00
Thomas Nagy ecc1f63a63 moved imports to the top 2013-11-10 05:32:50 +01:00
Thomas Nagy 6055744a5f Use explicit imports in ansiterm.py 2013-11-10 05:27:18 +01:00
Thomas Nagy 8571c15a1b missing change 2013-11-08 22:46:51 +01:00
Thomas Nagy dcd6184d3f Issue 1372 version detection for old and buggy sun compilers 2013-11-08 22:45:34 +01:00
Thomas Nagy 067ade9a40 Issue 1375, doxygen and paths containing spaces 2013-11-07 23:11:57 +01:00
Thomas Nagy de94ba37c9 enable dist/distcheck on windows, Issue 1373 2013-11-07 22:07:05 +01:00
Thomas Nagy 3884124886 Issue 1371 2013-11-03 00:14:04 +01:00
Thomas Nagy 2f43179c39 1.7 -> 1.8 2013-10-28 21:32:25 +01:00
Thomas Nagy feaad909d5 Missing folders for Issue 1325 2013-10-28 21:25:58 +01:00
Thomas Nagy 12cade1ec8 typo 2013-10-28 21:05:57 +01:00
Thomas Nagy ff820ccf49 Extract rpath flags into use variables 2013-10-27 14:56:04 +01:00
Thomas Nagy ed661ed41c have distclean remove the waf cache on windows 2013-10-27 14:01:38 +01:00
Thomas Nagy b13e98f1e4 Match file extensions in the order of declaration 2013-10-27 12:42:41 +01:00
Thomas Nagy 8f24d28534 recompile swig files if the swig version changes 2013-10-27 10:17:38 +01:00
Matt Fischer f381bfd901 syms.py: Fix dep_nodes manipulation
Fixed a line in syms.py to append to the dep_nodes list instead of
forcibly overwriting it.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-10-25 00:02:48 +02:00
Thomas Nagy 84c9aa9a04 another regression caused by find_program changes 2013-10-23 00:10:28 +02:00
Thomas Nagy 50737b138a Python 3.4 now provides non-inheritable file handles by default 2013-10-21 20:58:00 +02:00
Thomas Nagy 0f0f36b040 Issue 1367, python 2.4 and boost.py 2013-10-20 19:39:28 +02:00
Thomas Nagy b0ec707975 Issue 1366, swig defines 2013-10-17 21:37:30 +02:00
7f2fe42579 implicit cython dependency pyx->pxd, Issue 1363 2013-10-15 00:42:13 +02:00
Dariusz Pelowski 53ab568fe5 fix for missing package name argument for 'pkg-config' call during fetching custom variables
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-10-15 00:25:26 +02:00
Thomas Nagy 455e22838a Issue 1361, syms.py and python3 2013-09-30 17:56:48 +02:00
Thomas Nagy 90b491e834 moved the parser function definition out of the while loop 2013-09-30 00:05:36 +02:00
Thomas Nagy 9ec230fb4d cleanup 2013-09-29 23:45:36 +02:00
Thomas Nagy 54d4ff7ce0 'is not None' is unnecessary 2013-09-28 23:55:08 +02:00