fedepell
5cc784aabd
correct the documentation example for colon
2017-09-15 21:06:52 +02:00
Thomas Nagy
4e387de1ce
Follow-up on #2028
2017-09-15 21:00:15 +02:00
Federico Pellegrin
4df813941e
protoc: extend extra to support also Python language ( #2028 )
...
* protoc: extend extra to support also Python language
* protoc: fix ext_out, unite c++/python generation, fix protoc_includes name
2017-09-15 21:00:08 +02:00
Thomas Nagy
da3844b019
Obtain vala tasks directly
2017-09-14 22:47:27 +02:00
Thomas Nagy
e68bc5d65b
docs
2017-09-14 22:20:31 +02:00
Thomas Nagy
ddbc9726b0
Fixup: read the relevant lock file with --top
2017-09-12 20:22:13 +02:00
Adriano Scoditti
f0c8b0c283
When '--top' is specified there is no reason to climb
2017-09-12 20:20:22 +02:00
Thomas Nagy
ad5dd18408
Use the 'with' syntax whenever possible
2017-09-12 19:36:43 +02:00
Thomas Nagy
dcefc468bb
Python3 fixes
2017-09-10 20:59:59 +02:00
Thomas Nagy
be05b6ee8b
Accept relative prefix/bindir/libdir paths from launch_dir
...
Additionally:
- Scripting.parse_options is back for compatibility reasons
- The help message should only be displayed when this is intended
- OptionsContext is responsible for the full initialization, so
the framework should be usable without requiring Scripting.py
- Make it clear that Options.options is an optparse.Values object
- Get rid of the state in Options.options
2017-09-10 20:59:29 +02:00
Adriano Scoditti
3cea04e829
Improve options management
2017-09-10 19:11:27 +02:00
Thomas Nagy
8c3a281746
Fix Configure.autoconfig='clobber' when no previous configuration is present
2017-09-09 17:49:48 +02:00
Mihai Moldovan
4f0c7dc44a
Backport old gfortran compiler support.
2017-09-05 07:58:46 +02:00
Thomas Nagy
82df9d14fd
Remove an unused variable in buildcopy
2017-09-04 21:18:41 +02:00
Calle Rosenquist
82fd4054a7
pytest: Added better support for normal and pyext library dependencies.
...
This also includes the `buildcopy` feature that allows construction of complete Python packages in the build dir.
2017-09-04 21:08:10 +02:00
Karl Linden
01e017cfc2
Make unit testing interpreted scripts work.
2017-09-04 21:07:20 +02:00
Thomas Nagy
53af0cfaef
Remove unused traceback import
2017-09-02 23:34:58 +02:00
Thomas Nagy
b5408091b3
Cleanup unused global statements
2017-09-02 23:34:15 +02:00
captainmalloc
5d4cd9e13c
Default ignore Vim swap and Python Compiled files ( #2020 )
...
* Default ignore Vim swap and Python Compiled files
* Only Vim swap file accepted, removing Python compiled from default ignore
2017-08-31 20:25:18 +02:00
Thomas Nagy
d390d5a5ce
Typo
2017-08-31 20:19:31 +02:00
Adriano Scoditti
fa1a44c115
Fix 'shell' attribute on waf_unit_test:exec_command() Popen call using the same logic defined in Context:exec_command()
2017-08-28 20:23:41 +02:00
Adriano Scoditti
28594b3824
Fix Context.launch_dir init to point on user working directory
2017-08-28 20:13:13 +02:00
Thomas Nagy
ff0b65ff14
Split unit test commands by shlex
2017-08-27 10:56:06 +02:00
Thomas Nagy
755a1bf6a5
Simplify task error handling
2017-08-27 10:11:56 +02:00
Thomas Nagy
5c15f6f39e
Prevent duplicates in c_preproc.py results
2017-08-26 12:24:22 +02:00
Thomas Nagy
5b935a1e6a
Optimize fast_partial.is_stale
2017-08-26 11:13:04 +02:00
Thomas Nagy
b3e9ca89e6
Override the msvc linker through LINK_CXX
2017-08-25 20:23:16 +02:00
Thomas Nagy
0659657a8c
Remove old TODO notes
2017-08-25 20:22:46 +02:00
Thomas Nagy
4438aeadcb
Additional fixes for #2013
2017-08-19 12:58:40 +02:00
Thomas Nagy
57087471c1
Remove Utils.ex_stack - use traceback.format_exc()
2017-08-19 11:54:58 +02:00
Thomas Nagy
d865bffd88
Change the .pickle file storage from waf 1.9
2017-08-19 10:21:40 +02:00
Thomas Nagy
bfe1512a55
Exclude waf-2 folders in waf-2.0
2017-08-19 10:11:36 +02:00
Adriano Scoditti
0e06d4730e
Add distclean compatibility with '--no-lock-in-top' command line option
2017-08-19 09:57:53 +02:00
Roman C. Podolski
d2f48b5d89
Fix protoc #2009
...
Fix bug described in #2009 and extend example in playground to include
described scenario.
2017-08-17 19:56:07 +02:00
Thomas Nagy
c3fee6620c
Update protoc #2009
2017-08-16 19:45:03 +02:00
Thomas Nagy
03a3c604c4
Provide an example of build context sharding
2017-08-13 23:09:35 +02:00
Thomas Nagy
7874f8569f
Cache taskg_gen.idx by absolute path
2017-08-13 23:06:28 +02:00
Thomas Nagy
28846d6f34
Remove one Node class assumption in Task.py
...
Tasks cannot assume that additional dependency (deps_man) belong
to the same Node object class before obtaining their signatures
2017-08-12 16:31:51 +02:00
Thomas Nagy
43d6363177
Re-enable the timestamp cache previously removed
2017-08-09 00:27:13 +02:00
Thomas Nagy
e22390ee44
Obtain store timestamps in a dedicated structure
2017-08-08 22:21:54 +02:00
Thomas Nagy
a28f9475f3
Fixup
2017-08-08 01:01:48 +02:00
Thomas Nagy
dcc09cb0df
Obtain the exact wscript file path
2017-08-07 08:28:03 +02:00
Thomas Nagy
6ed9a9231f
Split fast_partial data storage from the main pickle file
2017-08-06 11:48:25 +02:00
Thomas Nagy
ee3f706bb7
Encapsulate bld.producer.is_dirty behind an interface
2017-08-06 10:51:59 +02:00
Joshua Watt
174f66c523
syms: Improve symbol processing
...
The export symbol regular expression processing is updated to make
several improvements:
* The export expression (export_symbols_regex) now applies to both
functions and global variables
* A named capture group is used to match symbols. This allows the
export expression to contain capture groups without disrupting the
expression matching
2017-08-05 23:17:54 +02:00
Thomas Nagy
1cade2ba13
docs
2017-08-05 23:15:50 +02:00
Thomas Nagy
6d96b245cc
Invalidate the cache if a file is missing in fast_partial
2017-08-02 20:05:00 +02:00
Thomas Nagy
7003858752
Detect configuration changes
2017-08-02 01:23:32 +02:00
Thomas Nagy
5468e0031b
Typo process_uselib_vars -> propagate_uselib_vars #2005
2017-08-02 00:42:42 +02:00
Simon
fe1bb1b58a
Fixed a crash when building a subset of xcode6 targets
...
E.g. when running 'waf xcode6 --targets=some-target'
File "/waf/waflib/Scripting.py", line 167, in waf_entry_point
run_commands()
File "/waf/waflib/Scripting.py", line 268, in run_commands
ctx = run_command(cmd_name)
File "/waf/waflib/Scripting.py", line 252, in run_command
ctx.execute()
File "/waf/waflib/extras/xcode6.py", line 679, in execute
self.post_group()
File "/waf/waflib/Build.py", line 767, in post_group
if self.current_group < self._min_grp:
AttributeError: 'xcode' object has no attribute '_min_grp'
2017-08-02 00:24:11 +02:00