Thomas Nagy
a550472fcb
Fix missing tg_idx_count attribute on task generators
2017-06-16 00:28:49 +02:00
Thomas Nagy
f49f162817
Rework the priority system
...
- Have Task.weight apply to the current task only
- Do not rely on object addresses to set the build order
- Introduce tg.tg_idx_count to count task generators
- Enable propagating/non-propagating weights through Task.tree_weight/Task.weight
2017-06-16 00:14:32 +02:00
Thomas Nagy
e5e8397154
Change producer.outstanding.appendleft to producer.outstanding.append
2017-06-14 19:53:01 +02:00
Thomas Nagy
23c0d41aff
Schedule tasks using a priority queue
2017-06-14 18:59:28 +02:00
Thomas Nagy
5ac6123e5e
Cleanup: Break multiple statements on multiple lines
2017-04-17 13:16:57 +02:00
Thomas Nagy
cfe9158664
Cleanup
2017-04-17 12:24:33 +02:00
Thomas Nagy
29b32f7a1a
Reflect the current build group in bld.current_group
2017-04-15 15:12:03 +02:00
Matt Selsky
b247ab1c83
Typos
2017-03-27 19:33:16 +02:00
Thomas Nagy
14197b713f
Cleanup
2017-03-02 20:43:44 +01:00
Thomas Nagy
8560c18ccb
Process a given task group exactly one
2017-02-20 19:01:33 +01:00
Thomas Nagy
63a53064a3
Provide TaskGroups to replace mem_reducer
2017-02-19 19:58:19 +01:00
Thomas Nagy
1c3c49d0fb
Simplify task.inputs/task.outputs usage
2017-02-19 11:05:44 +01:00
Thomas Nagy
d7822a04de
Make Task.Task.hcode a hashable value
2017-02-12 15:42:40 +01:00
Thomas Nagy
497f028a95
Implement a new priority system
2017-02-12 15:29:16 +01:00
Thomas Nagy
b7d93c3c4d
Update the year in headers to 2017
2017-02-11 16:13:37 +01:00
Thomas Nagy
5ac8e882e0
Remove the TaskBase class hierarchy level
2017-02-11 15:04:25 +01:00
Thomas Nagy
1a8e5c881d
Simplify task un-installation
2017-01-22 14:40:36 +01:00
Thomas Nagy
57b406aaff
Add a task status 'canceled'
...
The purpose is to skip safely the tasks that have
missing dependencies due to build errors.
2017-01-21 23:47:44 +01:00
Thomas Nagy
f1487eab44
iso8859-1 -> latin-1
2017-01-21 13:28:06 +01:00
Thomas Nagy
5c2db88730
Prevent accidental data sharing on ext_in/ext_out/before/after
2016-12-26 15:54:03 +01:00
Thomas Nagy
dbe1a4ad78
Include all vars in tuple rules #1883
2016-12-22 15:21:16 +01:00
Thomas Nagy
9be4fa2c0c
Avoid hash() and __class__ usage in Task.hash_constraints
2016-12-07 23:18:53 +01:00
Thomas Nagy
468f205bcd
Read variables from self.vars #1873
2016-12-07 19:09:30 +01:00
Thomas Nagy
ac2ebb2ccc
Remove Task.update_outputs, Task.always_run
2016-12-01 22:58:47 +01:00
Thomas Nagy
37388fda3b
Enable waf --zones=argfile to display @argfile contents
2016-10-03 14:08:42 +02:00
Jan Niklas Hasse
87419b3c6b
Less verbose output when a task failed if not running with -v
2016-09-26 12:44:23 +02:00
Thomas Nagy
9ed7d41488
Expand '--foo=' with shell=False - Issue #1814
2016-09-15 21:36:02 +02:00
Thomas Nagy
8797425153
Expose Python3 timeout on Task.timeout and bld(rule=..., timeout=...)
2016-09-10 12:32:01 +02:00
Thomas Nagy
62459e1147
Accept Task.cwd as str besides Node
2016-09-10 10:44:08 +02:00
Thomas Nagy
1721a505d9
Use the new syntax for sets
2016-09-02 20:20:43 +02:00
Thomas Nagy
7778868718
Set TaskBase.keep_last_cmd to keep the last command executed
2016-07-30 10:09:55 +02:00
Thomas Nagy
70e438393d
Add a parameter to keep the last command executed
2016-07-29 23:10:26 +02:00
Thomas Nagy
eaa83004c8
Api docs
2016-06-25 16:23:06 +02:00
Thomas Nagy
ef6525c0bf
Api docs
2016-06-25 14:49:27 +02:00
Thomas Nagy
7d5f6e4a59
Process tsk.env.PATH as lists or strings
2016-06-17 07:34:11 +02:00
Thomas Nagy
d50017f693
Have Task.exec_command add tsk.env.PATH to os.environ in the child process
2016-06-16 20:07:40 +02:00
Thomas Nagy
092712f001
Enable per-OS @argfile limits
2016-06-15 22:24:30 +02:00
Thomas Nagy
537d1fcd45
Simplify long command processing
2016-06-15 20:24:34 +02:00
Thomas Nagy
605952fe92
Remove redundant warnings
2016-06-11 22:26:34 +02:00
Thomas Nagy
e8ef5a89eb
More cleanup
2016-06-05 00:23:57 +02:00
Thomas Nagy
75b1423ce8
Winrc processing is almost certainly broken...
2016-06-05 00:01:01 +02:00
Thomas Nagy
062a5263a0
Update conf.check_waf_version to 1.9
2016-06-04 09:33:13 +02:00
Thomas Nagy
02a8361149
Beautify Logs.{debug,error,info,warn} now that the formatting bug is fixed
2016-05-28 16:18:51 +02:00
Thomas Nagy
80109eacbe
Improve error handling in the case of missing implicit dependencies
...
Avoid calling are_implicit_nodes_ready() twice.
Stop the build when files are missing or truncated.
Provide a better error message and avoid catching all exceptions.
2016-04-30 13:35:08 +02:00
Thomas Nagy
508b20679d
Do not truncate _task suffixes from Task class names
2016-04-26 18:33:03 +02:00
Thomas Nagy
b87a761ead
Tuples in startswith/endswith (Python 2.5 feature)
2016-04-21 22:30:35 +02:00
Thomas Nagy
8520dd65bb
Code cleanup
2016-04-19 22:00:21 +02:00
Thomas Nagy
fd2981f91f
Remove Task.dep_vars as it is unnecessary
2016-04-16 13:05:27 +02:00
Thomas Nagy
aeed691829
Fun with conditional expressions
2016-04-08 18:37:09 +02:00
Thomas Nagy
bd255ce641
Missing TaskBase.uid() method
2016-03-30 23:01:46 +02:00