Commit Graph

489 Commits

Author SHA1 Message Date
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
Thomas Nagy 49ce7a489e add the FCFLAGS from the os environ 2012-05-09 00:35:24 +02:00
Thomas Nagy b188419d09 missing line for Issue 1164 2012-05-08 21:58:44 +02:00
Thomas Nagy 440fd37dfa Issue 1164 2012-05-08 19:01:30 +02:00
Thomas Nagy 6ecaf793a9 Add stdout/stderr parameters to exec_command to force the unbuffered output 2012-05-08 18:35:22 +02:00
Thomas Nagy bb25f417f8 simplification 2012-05-08 18:31:20 +02:00
Thomas Nagy d931b656f8 let Node.delete evict the node in question 2012-05-06 10:43:56 +02:00
Thomas Nagy 0d97220bd4 force gcc for gcc+asm support 2012-05-05 17:06:34 +02:00
Thomas Nagy f71406c404 Issue 1157 2012-05-04 23:53:51 +02:00
Thomas Nagy a0f0878886 Issue 1162 2012-05-04 23:13:13 +02:00
Thomas Nagy 574ba5fe39 Issue 1162 2012-05-04 19:43:13 +02:00
ita 5cd41c2a98 Issue 1162 2012-05-04 14:32:25 +02:00
ita b6455df988 use the unbuffered output for latex commands 2012-05-04 10:05:10 +02:00
ita 2c4d772e3d Issue 1162 2012-05-04 09:25:48 +02:00
ita ea12601932 Make sure g95.py gfortran.py and ifort.py can be used in a standalone manner 2012-04-30 11:07:08 +02:00
ita 12b66365d3 Issue 1159 2012-04-30 10:29:31 +02:00
Thomas Nagy bbe8624875 Issue 1155 2012-04-26 23:47:04 +02:00
Thomas Nagy 707fa06763 Issue 1154 2012-04-23 23:59:53 +02:00
Thomas Nagy af2c42f9b8 Issue 1153, fix the C# stuff 2012-04-23 19:16:56 +02:00
Thomas Nagy 692ab67591 typo 2012-04-21 10:22:22 +02:00
Thomas Nagy af2d8053cc Issue 1150, Apple broke java 2012-04-21 00:22:44 +02:00
Thomas Nagy b62c401299 Issue 1151 2012-04-21 00:00:56 +02:00
andreww 7515dab30e Add 'platform' argument for C# tasks.
Set the 'platform' argument on C# a task generator to select the
'/platform' option to pass to the compiler. Defaults to 'anycpu'.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-04-17 20:43:25 +02:00
Thomas Nagy 264b0ab5f5 for consistency, make ant_glob case sensitive everywhere by default 2012-04-16 20:20:49 +02:00
andreww 0328aa6847 Make ant_glob case insensitive on Windows
ant_glob now takes an optional keyword argument, ignorecase. It
defaults to True on Windows and False elsewhere.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-04-16 20:18:22 +02:00
Thomas Nagy d5c9b8f258 Issue 1117 2012-04-16 19:54:19 +02:00
Thomas Nagy d963163471 reverting the latest changes to Runner.py, there is a very good reason to use atexit 2012-04-14 19:52:38 +02:00
Thomas Nagy 661127acf3 Issue 1135 2012-04-13 23:11:17 +02:00
Thomas Nagy 2ed4e80f83 Issue 1146 2012-04-13 18:49:28 +02:00
Thomas Nagy 57a9ffd972 Issue 1145 2012-04-13 18:32:34 +02:00
Thomas Nagy f37a7bc698 cleanup 2012-04-13 08:37:48 +02:00
Thomas Nagy b32115aab1 Issue 1140 2012-04-13 08:36:02 +02:00
Thomas Nagy 315973e243 Build::get_all_task_gen 2012-04-13 01:24:43 +02:00
Thomas Nagy 9004b1fd95 Issue 1138, Issue 1139, Issue 1141 2012-04-13 00:48:34 +02:00
Thomas Nagy 37854f57a2 Issue 1144 2012-04-12 19:55:08 +02:00
Thomas Nagy 6db0d97fba Fix related to Issue 1124 2012-04-12 08:30:45 +02:00
Thomas Nagy 2703feddac Issue 1140 2012-04-11 19:23:57 +02:00
Thomas Nagy cc65ab9c8b Issue 1140 2012-04-11 19:05:46 +02:00
Thomas Nagy b75d3a1801 Issue 1140 2012-04-10 18:30:10 +02:00
Thomas Nagy 3a1a855ab5 another useful profiling value is 'cumulative' 2012-04-09 23:49:07 +02:00
Thomas Nagy 64c38485c0 fix the terminal width detection, Issue 1101 2012-04-09 23:34:23 +02:00
Thomas Nagy 5448e23e40 Python is getting a bit better at threading, we do not need to recycle threads anymore 2012-04-09 23:17:31 +02:00