2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2025-01-26 18:20:22 +01:00

568 Commits

Author SHA1 Message Date
Thomas Nagy
e07529ad89 Issue 1348, gdc detection for gdc-msys 2013-09-11 07:52:27 +02:00
Thomas Nagy
487cc43df2 Issue 1354, clang compilation databases 2013-09-11 07:50:25 +02:00
Thomas Nagy
dedafdfa81 Disabled the pickle gc optimization by default (computers are fast enough now, and it can be reenabled if necessary) 2013-09-10 21:28:25 +02:00
Jérôme Carretero
f81e6c5499 extras: rst: little fixes 2013-09-09 01:01:57 -04:00
Thomas Nagy
fe1bbf536f Issue 1356 icl detection with python 3 2013-09-07 13:27:13 -04:00
Jérôme Carretero
00946bacdb extras: protoc: document protoc trickiness
I tried to quickly go through the protoc source to find how the include
paths are interpreted, but I'm sleepy now.
2013-09-05 01:10:20 -04:00
Jérôme Carretero
bf5ce8b30c extras: protoc: add dep scanner 2013-09-05 00:48:29 -04:00
Jérôme Carretero
12b5c2f2a4 TaskGen: create_task: allow passing attributes to task instance via kw
use case: some programs want to run in specific folders
2013-09-05 00:48:00 -04:00
Jérôme Carretero
863662fa65 extras: rst: fix typo 2013-09-05 00:18:15 -04:00
Jérôme Carretero
150d1ed0b5 extras: ocaml: env.OCAMLC is a list 2013-09-05 00:16:50 -04:00
Jérôme Carretero
8076e8d52e Tools: c_config: one more fix for the path, which can also be a string... 2013-09-05 00:12:45 -04:00
Jérôme Carretero
89358e70d4 Tools: flex: env.FLEX is a list 2013-09-05 00:08:00 -04:00
Jérôme Carretero
da5d43d418 Tools: perl: env.PERL is a list (+ simplifications) 2013-09-05 00:05:04 -04:00
Jérôme Carretero
5b97eefb66 Tools: vala: env.VALAC is a list 2013-09-04 23:53:30 -04:00
Jérôme Carretero
85e7df4ea1 Tools: c_config: fix mistake in previous commit 2013-09-04 23:47:47 -04:00
Jérôme Carretero
95679a89bb Tools: ruby: env.RUBY is a list 2013-09-04 23:36:21 -04:00
Jérôme Carretero
14ee893d20 Tools: qt4: command paths are lists already 2013-09-04 23:35:58 -04:00
Jérôme Carretero
8d37f79ea2 Tools: c_config: pkg-config is indeed a list of strings 2013-09-04 23:21:19 -04:00
Jérôme Carretero
d6dd3fd8ab Tools: unit test: fix indentation 2013-09-04 23:20:51 -04:00
Jérôme Carretero
dc75919559 extras: swig: env.SWIG is a list now 2013-09-04 23:15:12 -04:00
Jérôme Carretero
1f4c66f0c7 Tools: ruby: env.RUBY is a list 2013-09-04 23:13:34 -04:00
Jérôme Carretero
5064fd92ef always use the convention that commands are lists, remove find_perl_program, add interpreter 2013-09-04 23:10:10 -04:00
Jérôme Carretero
1fad148b2c Tools: python: allow passing PYTHON in environment 2013-09-04 00:35:49 -04:00
Thomas Nagy
e87782e58b removed Node.bld_base, used only once 2013-09-01 21:46:43 +02:00
Thomas Nagy
a1b8eb3831 Issue 1352, changed the default name for qt resources 2013-09-01 21:29:34 +02:00
Jérôme Carretero
24cc97f42e Utils: remove str_to_dict 2013-08-30 10:23:10 -04:00
Jérôme Carretero
2e08d80fce Utils: shave a few bytes from Timer 2013-08-30 01:10:29 -04:00
Thomas Nagy
f14314faa2 Mention that makeglossaries is a program when raising the error 2013-08-27 12:11:50 +02:00
Joe Steeve
4cbee2c4ed Issue 1342 Tools.tex, run 'makeglossaries' if 'glossaries' is used
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-08-27 11:54:16 +02:00
Jérôme Carretero
a67c8c9017 fix shlib vnum for OpenBSD 2013-08-26 16:09:19 -04:00
Jérôme Carretero
ccec98efc4 tools: tex: replace warnings by info as they are not warnings at all 2013-08-25 20:09:42 -04:00
Jérôme Carretero
459f04cbee extras: rst: fix scan regression 2013-08-25 18:33:53 -04:00
Jérôme Carretero
7f571e0a28 tools: tex: allow to pass a Node as manual dep 2013-08-25 15:37:11 -04:00
Jérôme Carretero
f9944a5ec7 rst: make parser overridable 2013-08-25 15:35:33 -04:00
Jérôme Carretero
e62d3771e1 extras: rst: add basic rst2latex support 2013-08-24 21:26:37 -04:00
Jérôme Carretero
f982e0461a tools: tex: scan (local) style files too 2013-08-24 20:24:02 -04:00
Jérôme Carretero
2b309cfb79 extras: rst: use to_list on rst options, use -o switch to make older rst2pdf happy 2013-08-21 01:21:17 -04:00
Jérôme Carretero
669094a51f extras: rst: add install_path processing (defaults to not installing) 2013-08-20 13:59:45 -04:00
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