Commit Graph

313 Commits

Author SHA1 Message Date
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