2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-11 12:49:06 +01:00
Commit Graph

91 Commits

Author SHA1 Message Date
Thomas Nagy
8cf982a766 Fix a deadlock with cython+subst tasks #2244 2019-06-27 09:38:49 +02:00
Mickaël Schoentgen
412a9b819e Fix all DeprecationWarning: invalid escape sequence
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
2019-01-05 12:02:42 +01:00
Romain Le Godais
b647ae76b2 Fix TaskGen idx attribution when 'path' argument is given.
When the 'path' argument was given at TaskGen creation, it was not taken
into account for attributing idx (the path of the build context was).

This is an issue when creating task generators from a waf tool because
their idxs were attributed as if they were in the project root directory,
even if another path was specified, which could lead to output files
collisions.
2018-11-11 14:32:22 +01:00
Matt Selsky
a10822f688 Fix typos 2018-07-28 19:47:10 -04:00
Thomas Nagy
1a43b608ac
Enable deep input dependencies as a task decorator 2018-02-17 18:40:29 +01:00
Thomas Nagy
d21446ff71
Update docs for 2018 2018-01-01 20:53:49 +01:00
Thomas Nagy
5996879673 Enable more advanced warnings of ant_glob on build folders in verbose mode 2017-12-23 20:36:14 +01:00
Thomas Nagy
f5f4218cda
Set task.stdout=task.stderr for long-running tasks 2017-12-10 21:27:09 +01:00
Thomas Nagy
b5408091b3
Cleanup unused global statements 2017-09-02 23:34:15 +02:00
Thomas Nagy
7874f8569f
Cache taskg_gen.idx by absolute path 2017-08-13 23:06:28 +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
0b5202a88b Simplify build order settings for "subst" tasks 2017-06-15 20:36:30 +02:00
Jan Niklas Hasse
73e7568165 Preserve modification time for is_copy=True 2017-05-24 19:14:54 +02:00
Thomas Nagy
5ac6123e5e
Cleanup: Break multiple statements on multiple lines 2017-04-17 13:16:57 +02:00
Matt Selsky
b247ab1c83 Typos 2017-03-27 19:33:16 +02:00
Thomas Nagy
90ab7a2ae9
Cleanup 2017-03-08 18:27:29 +01:00
Justin Israel
6a4091718e Extend ListContext to print TaskGen descriptions
Signed-off-by: Justin Israel <justinisrael@gmail.com>
2017-03-08 18:22:29 +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
f1487eab44
iso8859-1 -> latin-1 2017-01-21 13:28:06 +01:00
Thomas Nagy
1a0396ea88
Accept nested lists as bld(source=...) 2017-01-21 12:50:52 +01:00
Thomas Nagy
fa145ed653
Find the order that follows the alphabet 2017-01-05 03:44:36 +01:00
Thomas Nagy
e5cafe6c7a
Change TaskGen.prec into a map of sets 2017-01-05 01:59:51 +01:00
Thomas Nagy
2468850953 Improve process_rule cache accuracy 2016-12-22 18:14:36 +01:00
Thomas Nagy
2d6487883c Fix chmod with tuple rules #1884 2016-12-22 15:21:26 +01:00
Thomas Nagy
383fb61b0d
Fix the inconsistent partial detection for #1865 2016-11-26 19:39:46 +01:00
Thomas Nagy
1318c5f2d6
Cleanup for #1865 2016-11-26 11:54:27 +01:00
Gustavo J. A. M. Carneiro
ac55bf5bf7 Accept functools.partial() as a task rule #1862 (#1865)
Accept functools.partial() as task generator rules #1862
2016-11-26 11:54:18 +01:00
Thomas Nagy
2c8777ebc8
Keep sorted lists in TaskGen.prec[] 2016-11-20 10:22:40 +01:00
Thomas Nagy
6ecf6390a8
Better error message on method cycle detection 2016-11-05 11:56:08 +01:00
Thomas Nagy
86e9c0527c
Cleanup 2016-11-03 22:42:17 +01:00
Thomas Nagy
410d1568d5
Better error message for 'File %r has no mapping in %s' 2016-09-15 22:00:26 +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
ebc0048eb0
Use if/else blocks instead of and/or in python 2.5 2016-07-14 17:45:49 +02:00
Thomas Nagy
ef48d49260
Remove update_outputs from the documentation 2016-06-25 22:48:47 +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
02a8361149
Beautify Logs.{debug,error,info,warn} now that the formatting bug is fixed 2016-05-28 16:18:51 +02:00
Thomas Nagy
b1f5c0f814
Create installation tasks directly
Task generators created from other task generators may be
skipped during partial builds. This change re-enables
install_task as a task attribute and provides a task
object with input and output nodes which can be re-used
by other tasks.
2016-05-06 15:54:36 +02:00
Thomas Nagy
6c21deb583
install_task -> install_tg 2016-05-03 23:14:10 +02:00
Thomas Nagy
ba1932ebc2
Do not define the empty prec object on task_gen instances by default 2016-04-26 19:22:56 +02:00
Thomas Nagy
9133dbc5c9
Cleanup: no need for keys() everywhere 2016-04-22 21:10:22 +02:00
Thomas Nagy
44db1efc02
Enable regexp objects in @extension besides strings for file extensions 2016-04-22 19:27:22 +02:00
Thomas Nagy
fd2981f91f
Remove Task.dep_vars as it is unnecessary 2016-04-16 13:05:27 +02:00
Thomas Nagy
a64a8d1d29
Extend relative cwd processing to Task generators 2016-03-23 22:28:14 +01:00
Thomas Nagy
a08aff6bff
Format debug/info records lazily 2016-03-19 14:46:22 +01:00
Thomas Nagy
e19c0e7e77
Simplification, no need to use item ids anymore 2016-03-16 20:11:24 +01:00
Thomas Nagy
0970eb86cb
docs 2016-03-15 22:06:10 +01:00
Thomas Nagy
a167bcce5f
Better error message 2016-01-15 23:53:17 +01:00
Thomas Nagy
f73d3f1a2f Misleading attribute never_skip, replaced by always_run 2015-12-25 17:54:10 +01:00