2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-29 21:41:44 +01:00
waf/ChangeLog

64 lines
3.6 KiB
Plaintext
Raw Normal View History

2016-05-30 22:31:44 +02:00
NEW IN WAF 1.9
--------------
2016-03-06 13:19:14 +01:00
* General enhancements:
2016-06-24 13:21:32 +02:00
- Detect Clang first on many platforms, in particular on FreeBSD #1528
- Remove Node.cache_sig and Node.sig so that dependencies involve file contents by default #1580
2016-03-06 13:19:14 +01:00
- Change cflags in the beginning / cppflags at the end #1505
2016-06-24 13:21:32 +02:00
- Merge ${FOO}${BAR} flags in commands executed without a shell (no spaces inserted)
- Interpret empty command-line defines as integer values for dependency calculation #1704
2016-03-07 23:38:14 +01:00
- Waf tools are not cached on "waf configure" by default anymore; pass conf.load(.., cache=True)
- Enable a consistent progress bar output #1641
- 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
2016-04-22 19:54:42 +02:00
- Match extensions in the order of last definition
2016-05-06 09:11:31 +02:00
- Task generators are now processed group-by-group, so the next task generators are
processed when all tasks in a previous group are complete; bld.post_mode=POST_LAZY
becomes thus the default (playground/dynamic_build/ examples)
- Process Qt5 files in the way suggested by the Qt documentation
2016-05-01 21:21:04 +02:00
- Installation methods install_files/install_as/symlink_as create regular task generators
and regular tasks so that installation outputs can be re-used easily
- Subclass waflib.Build.ConfiguredContext to enable configuration-dependent user commands
2016-06-24 13:21:32 +02:00
- Enable @argfile procesing in Task.exec_command when argument limits are exceeded
- Apply optional tsk.env.PATH values in Task.exec_command
- Enable ut_str to process scriptlet expressions for C/C++ unit tests
- Minimize the amount of paths added to unit test environment variable
2016-06-18 01:28:09 +02:00
- Restore configuration values with Configure.autoconfig='clobber' #1758
2016-03-06 13:19:14 +01:00
* Performance highlights:
- Reduce the key size in bld.task_sigs by adding bld.node_sigs and bld.imp_sigs
2016-04-01 23:27:46 +02:00
- Remove __hash__ and __eq__ from Context, Node and Task #1629
2016-06-24 13:21:32 +02:00
- Detect visual studio versions lazily by default
2016-05-01 21:21:04 +02:00
- Remove the uses of run_once that can consume a lot of memory; add a proper LRU cache
- Enable pre-forked builds by default to achieve faster builds, up to 2x speedup on short-lived processes
2016-05-01 21:21:04 +02:00
- Enable faster consumers in Runner.py
- Add the tool 'nobuild.py' to help with performance troubleshooting
- Enable profiling with the --profile command-line option
2016-03-06 13:19:14 +01:00
* API changes:
- The minimum Python version required is Python 2.5
2016-05-01 21:21:04 +02:00
- Add Task.get_cwd()
2016-03-06 13:19:14 +01:00
- Remove the command called "update"
- Remove unused variables and functions:
- TaskBase.attr()
- Build.POST_BOTH
- Options.platform
- Options.cmds
- Task.dep_vars (define Task.vars on instances if necessary)
- Utils.nogc
- Configure.err_handler
- All duplicate split() functions from Utils
2016-05-01 21:21:04 +02:00
- Remove the unused attribute 'mac_resources', use 'mac_files' instead (see demos/mac_app)
- Remove qt4 and kde4 from the default modules
- Refactor msvc.py
- Task.sig_vars, Task.sig_explit_deps and Task.sig_implicit_deps return None
2016-05-01 21:21:04 +02:00
- Use relative paths in apply_incpaths by default (and absolute ones when paths cross drives)
- Modify Utils.run_once so that it accepts a list of *args
- Better consistency between check_cfg and check_cc variables
- task_gen.mapping and task_gen.prec are 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/precedences must be present. These features were not used in Waf 1.8.
2016-06-24 13:21:32 +02:00
- Do not truncate _task suffixes from Task class names if present
2016-06-16 21:39:50 +02:00