Thomas Nagy
7ffd53b803
Use EnvironmentError more often
2014-10-30 19:09:53 +01:00
Thomas Nagy
1979e7425c
Cosmetic changes
2014-10-04 02:02:38 +02:00
Thomas Nagy
6ffde12338
Use os.path.join to enable builds from drive letters X:\
2014-08-30 13:05:46 +02:00
Thomas Nagy
81ce0b6c17
max path limitation in file installation - Issue 1469
2014-08-04 15:17:28 +02:00
Thomas Nagy
e48ed4d37a
Issue 1465
2014-07-14 19:59:01 +02:00
Syl
2db34905bd
fixed --make-waf with python3
2014-07-06 17:41:54 +02:00
Matt Hoosier
78c9384e1c
Improve support for BuildContext.install_*() to overwrite exiting files
...
A request such as:
def build(bld):
bld.install_files('/usr/share/foo/', bld.path.find_node('foo.txt'),
chmod=0444)
Will currently cause an IOError (especially on Windows) upon repeated
requests to invoke 'waf install'. This is due to a wedged state in
which the first 'waf intall' makes the destination file with 0444
permissions, but the OS (again, especially Windows) refuses to honor
subsequent attempts to write the file as the current
InstallContext.do_install() handles this attempt.
This changeset adjusts InstallContext.do_install() so that its
behavior is more similar to the familiar 'install' program used during
an Autotools programs' "make install" phase. That is, we now
explicitly attempt to temporarily adjust the permissions of the target
file to include user-writability (0644) for the moment of overwrite.
This has no observable effect on the end result; the last bit of
InstallContext.do_install() forcibly resets the target file to the
user's requested permission mask anyway.
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2014-06-29 22:25:16 +02:00
Thomas Nagy
f4185e7a26
Added global file installation pointcut
2014-02-17 00:26:58 +01:00
Thomas Nagy
d413616400
The progress bar should always appear on stderr
2014-01-23 22:22:15 +01:00
Thomas Nagy
fbb7a0e720
Merge from Jerome's branch
2014-01-16 02:03:53 +01:00
Thomas Nagy
a29f775851
Merge from Jerome's branch
2014-01-14 02:31:08 +01:00
Thomas Nagy
9ec230fb4d
cleanup
2013-09-29 23:45:36 +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
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
5b3dc2c5ab
apidoc fixes
2013-05-25 22:49:22 +02:00
Thomas Nagy
6d570f08bd
use os.remove instead of os.unlink for consistency
2013-05-18 19:51:45 +02:00
Thomas Nagy
174b01bba9
Issue 1313 extra check_dir call causing uninstall failures
2013-05-16 08:33:05 +02:00
Thomas Nagy
7eef6588af
Use Utils.readf/Utils.writef whenever possible
2013-03-14 13:45:10 +01:00
Thomas Nagy
083b6e138e
Issue 1234
2012-12-15 00:32:20 +01: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
85d863bd52
Issue 1205
2012-10-02 03:43:58 +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
3ee50382fb
use the compact pickle files (faster)
2012-07-30 18:35:17 +02:00
Thomas Nagy
315973e243
Build::get_all_task_gen
2012-04-13 01:24:43 +02:00
Thomas Nagy
6db0d97fba
Fix related to Issue 1124
2012-04-12 08:30:45 +02:00
Thomas Nagy
898872699d
removed the macro DLL_EXPORT for gcc/g++ on windows and cleaned up a few TODO entries
2012-04-07 10:54:40 +02:00
Thomas Nagy
19f6fb2595
Issue 1124
2012-04-07 09:59:05 +02:00
Thomas Nagy
c7a41fc9f6
Issue 1128
2012-03-25 10:33:57 +02:00
Thomas Nagy
67a3320c4a
accept lists in bld.add_manual_dependency
2012-03-24 11:37:48 +01:00
Thomas Nagy
1134de1bb5
Issue 1120
2012-02-25 16:47:30 +01:00
Thomas Nagy
d8f192fbc2
remove more except: lines
2012-02-11 14:31:00 +01:00
Thomas Nagy
19adba7841
added a warning for ant_glob on the build directory
2011-12-02 19:13:30 +01:00
Thomas Nagy
a115091e20
docs
2011-11-18 00:33:25 +01:00
Thomas Nagy
71efd9b435
a more robust way of loading environment variants
2011-10-16 08:41:21 +02:00
Thomas Nagy
44a967e326
Initial commit
2011-09-10 11:13:51 +02:00