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

102 Commits

Author SHA1 Message Date
Thomas Nagy
283e7953cb
More cleanup for #1865 2016-11-26 14:23:04 +01:00
Thomas Nagy
906bf781ac
Cleanup for #1865 2016-11-26 11:51:20 +01:00
Gustavo J. A. M. Carneiro
421e0e3ab9 Accept functools.partial() as a task rule #1862 (#1865)
Accept functools.partial() as task generator rules #1862
2016-11-26 11:00:01 +01:00
Thomas Nagy
f02047b8ea
Add install_user and install_group to bld.install/bld.install_as/bld.symlink_as 2016-10-08 22:35:05 +02:00
Thomas Nagy
fc2946ce64
Re-raise TimeoutExpired from process executors 2016-09-03 22:36:41 +02:00
Thomas Nagy
af172413f4
Python 3.3 fix 2016-09-03 22:24:29 +02:00
Thomas Nagy
71aed22539
Call killpg only if setsid is enabled 2016-09-03 20:22:43 +02:00
Thomas Nagy
9f14c9dda0
Kill process trees on timeouts (os.killpg) 2016-09-03 18:29:41 +02:00
Thomas Nagy
8dba949014
Use the same logic as Python3.5 for handling timeouts #1807 2016-08-28 13:12:55 +02:00
Thomas Nagy
fdc3b47067
Python3 - Kill processes in subprocess timeouts #1807 2016-08-25 07:48:14 +02:00
Thomas Nagy
a4e7cb1930
Copy os.environ because Python3 cannot serialize it 2016-07-31 18:48:36 +02:00
Thomas Nagy
3e08a19a56
Use the parent os.environ value as default in pre-forked processes #1791 2016-07-31 15:55:47 +02:00
Gustavo Jose de Sousa
9a0932951f Fallback to run_regular_process if we can't pickle arguments 2016-06-27 20:49:37 -03: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
2c76187d41
Api docs 2016-06-25 12:50:04 +02:00
Thomas Nagy
e8ef5a89eb
More cleanup 2016-06-05 00:23:57 +02:00
Thomas Nagy
062a5263a0
Update conf.check_waf_version to 1.9 2016-06-04 09:33:13 +02:00
Thomas Nagy
ab9609c0d8
docs 2016-05-21 12:01:48 +02:00
Thomas Nagy
158bc72e8e
Remove the old shutil.copy override on Windows 2016-05-14 11:29:06 +02:00
Thomas Nagy
12c7609802
Removed some dead code 2016-05-14 00:16:29 +02:00
Thomas Nagy
bc3915c90a
Close process.py for running processes - Issue 1735 2016-04-27 18:35:02 +02:00
Thomas Nagy
304935bb9f
Remove popitem() which was added for the lru cache 2016-04-23 23:02:16 +02:00
Thomas Nagy
3899c150e3
Provide a more performant LRU cache implementation 2016-04-22 19:43:18 +02:00
Thomas Nagy
d2cd1ebd0b
Provide our own version of ordered_iter_dict
Python OrderedDict does not provide a C implementation, so it
is just best to use our own implementation by default.
We also want the iteration order from the end for the purposes
of matching files by extension.
2016-04-22 19:36:35 +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
c917e1af63
Remove empty entries in windows path splitting 2016-03-27 21:41:21 +02:00
Thomas Nagy
1fb3645493
Simplifications 2016-03-18 18:26:25 +01:00
Thomas Nagy
b63ae9b2ef
Code simplification 2016-03-16 22:37:18 +01:00
Thomas Nagy
333aec0b96
Removed Utils.nogc as it is unused 2016-03-05 11:45:16 +01:00
Thomas Nagy
0ab704f5a4 Minor optimization in Utils.h_list 2016-02-29 18:40:44 +01:00
Thomas Nagy
b4437f3b51
Exception handling enhancements 2016-02-28 14:23:54 +01:00
Thomas Nagy
3ced4c6695
Utils.ex_stack is the same as traceback.format_exc as we are no longer on Python 2.3 2016-02-28 12:23:18 +01:00
Thomas Nagy
220ac6de5e
Pre-fork processes for Python2 2016-02-28 00:12:50 +01:00
Thomas Nagy
1f95d2c4cb
Popen objects provide pid (not getpid) 2016-02-26 21:23:49 +01:00
Thomas Nagy
5bf16d51d8
Lockless list of processes 2016-02-26 21:09:50 +01:00
Thomas Nagy
1ee5adc3b3
Error handling enhancements 2016-02-26 20:11:58 +01:00
Thomas Nagy
d131a37ac9
No new processes needed on IronPython 2016-02-26 18:52:43 +01:00
Thomas Nagy
75e9735a22
Python3 fixes 2016-02-26 18:36:38 +01:00
Thomas Nagy
023c540b80
Simplifications - child processes will exit on broken pipes 2016-02-25 22:58:11 +01:00
Thomas Nagy
e0b080b7c6
Jython fix 2016-02-25 22:28:00 +01:00
Thomas Nagy
b2bcee43cb
Python 3 fixes 2016-02-25 21:53:17 +01:00
Thomas Nagy
8207a878a9
Enable multiprocessing for faster subprocess execution 2016-02-25 20:03:07 +01:00
Thomas Nagy
0bafa590f3
Trim less in lru_cache 2016-02-15 23:23:34 +01:00
Thomas Nagy
0441d01545
Added the missing __getitem__ method on lru_cache 2016-02-15 21:13:48 +01:00
Thomas Nagy
4e09a1bc5a
New lru caches in preproc.py to limit memory overconsumption 2016-02-15 00:46:44 +01:00
Thomas Nagy
6bbcce206b
Better value for Utils.SIG_NIL 2016-02-14 11:15:52 +01:00
Thomas Nagy
5580e8c69f
Use subprocess32 when possible 2016-02-10 23:46:55 +01:00
Thomas Nagy
6648d3e6e7 Docs 2015-12-24 18:36:45 +01:00