2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-26 11:51:20 +01:00
waf/ChangeLog

45 lines
2.4 KiB
Plaintext

NEW IN WAF 1.9 preview 1
------------------------
* General enhancements:
- Add the tool 'nobuild.py'
- Remove qt4 and kde4 from the default modules
- Have Clang detected first on many platforms, in particular on FreeBSD #1528
- Remove Node.cache_sig and Node.sig so that dependencies are on file contents #1580
- Change cflags in the beginning / cppflags at the end #1505
- Merge ${FOO}${BAR} flags in commands executed without a shell (no space added)
- Interpret empty command-line defines as integer values #1704
- Waf tools are not cached on "waf configure" by default anymore; pass conf.load(.., cache=True)
- Enable a consistent progress bar output #1641
- New --profile command-line option
- Add ${VAR?X} constructs in script expressions to enable simple conditional outputs
- Enable 'waf dist' to package arbitrary symlinks in tarballs #1719
- Enable regexp objects in @extension besides strings for file extensions
* Performance highlights:
- Reduce the key size in bld.task_sigs by adding bld.node_sigs and bld.imp_sigs
- Remove __hash__ and __eq__ from Context, Node and Task #1629
- Make lazy visual studio detection the default
- Remove the uses of run_once that can consume a lot of memory
- Enable pre-forked builds by default to achieve faster builds, up to 2x speedup on short-lived processes
* API changes:
- The minimum Python version required is Python 2.5
- Remove the duplicate split() functions from Utils
- Remove the command called "update"
- Add Task.get_cwd()
- Remove Utils.nogc
- Modify Utils.run_once so that it accepts a list of *args
- Rewrote the main task consumer in Runner.py for performance purposes
- Use relative paths in apply_incpaths by default (and absolute ones when paths cross drives)
- Remove Configure.err_handler
- Remove TaskBase.attr() which was never used
- Task.sig_vars, Task.sig_explit_deps and Task.sig_implicit_deps return None
- Better consistency between check_cfg and check_cc variables
- Subclass waflib.Build.ConfiguredContext to enable configuration-dependent user commands
- Remove Task.dep_vars as it is never used (define Task.vars on instances if necessary)
- task_gen.mapping is not defined by default on instances anymore, but instances can
still define their own mappings to override the defaults, but in that case all mappings
must be present. This feature was not used in Waf 1.8.