Jurko Gospodnetić
270b0a3d43
Corrected some minor memory leaks and avoided extra list copying in Boost Jam when processing piecemeal actions.
...
[SVN r79008]
2012-06-19 12:43:40 +00:00
Jurko Gospodnetić
5206ea3f95
Updated the Boost.Jam exec_cmd() interface to take its command parameter as a string object instead of a raw char *.
...
[SVN r79007]
2012-06-19 12:33:49 +00:00
Jurko Gospodnetić
9566ef7191
Removed a printf() statement in Boost Jam's execnt.c module leftover by accident from a previous debugging session.
...
[SVN r79006]
2012-06-19 12:28:30 +00:00
Jurko Gospodnetić
2fcbd23c3e
Cleaned up Boost Jam's exec_cmd() interface a bit to avoid its callback definition duplication. Minor stylistic changes.
...
[SVN r79005]
2012-06-19 12:13:42 +00:00
Jurko Gospodnetić
35133c5ce2
Minor stylistic changes - renamed command parameter in string_new_trimmed() in Boost Jam's execnt.c module to source.
...
[SVN r79004]
2012-06-19 12:07:23 +00:00
Jurko Gospodnetić
cc90cd9341
Added explicit checking for too long command-line arguments for running directly using the CreateProcessA() API.
...
[SVN r79000]
2012-06-19 00:55:44 +00:00
Jurko Gospodnetić
d8399d398e
Refactoring Boost Build's execnt.c module - can_spawn() now takes a string * instead of a char * argument. Minor stylistic changes.
...
[SVN r78999]
2012-06-19 00:51:37 +00:00
Jurko Gospodnetić
32e946d8d2
Minor stylistic changes.
...
[SVN r78998]
2012-06-19 00:48:27 +00:00
Jurko Gospodnetić
810e1408ab
Refactored Boost Build's execnt.c module - commands to execute are now trimmed of all their leading and trailing spaces up front instead of 'whenever that becomes needed', removed redundant extra splitting of directly executed command strings into arguments. This fixes a bug caused by this extra splitting removing quotes around the executable (argument 0) - e.g. when executing the program 'C:\Program Files\dummy.exe' this would cause the program 'C:\Program.exe' to be executed instead if it exists.
...
[SVN r78997]
2012-06-19 00:23:18 +00:00
Jurko Gospodnetić
7c73b8a69e
Cleaned up end-user debug messages related to Boost Build's execnt.c module (-d+4).
...
[SVN r78996]
2012-06-19 00:02:25 +00:00
Jurko Gospodnetić
631a07d531
Minor stylistic changes.
...
[SVN r78995]
2012-06-18 23:56:01 +00:00
Jurko Gospodnetić
f8d53a5a8c
Minor stylistic changes.
...
[SVN r78994]
2012-06-18 23:39:12 +00:00
Jurko Gospodnetić
f7fb4c909c
Minor stylistic end-user error message update in Boost Build's execnt.c module.
...
[SVN r78993]
2012-06-18 23:31:40 +00:00
Jurko Gospodnetić
63949e8b19
Added logging the exact command-line string passed to the CreateProcessA() Windows API in Boost Build's execnt.c module.
...
[SVN r78992]
2012-06-18 23:30:58 +00:00
Jurko Gospodnetić
6799d690ea
Code cleanup in Boost Build's execnt.c module - using the CreateProcessA() API directly instead of the CreateProcess() wrapper now & made some code more localized.
...
[SVN r78991]
2012-06-18 23:28:30 +00:00
Jurko Gospodnetić
8e12da8dff
Checking whether a command can be spawned directly (as opposed to invoking it via an external shell) in Boost Build's execnt.c module now correctly skips all leading whitespace characters and not just tabs and spaces.
...
[SVN r78990]
2012-06-18 23:17:33 +00:00
Jurko Gospodnetić
b6d2a40a3e
Refactored the Boost Build execnt.c module's maxline() function to cache its result instead of calling the GetVersionEx() Windows API on every call.
...
[SVN r78989]
2012-06-18 23:12:33 +00:00
Jurko Gospodnetić
f4840e83a6
Minor stylistic changes - standardized relative type name and const modifier positions in Boost Build's execnt.c C module.
...
[SVN r78988]
2012-06-18 23:08:52 +00:00
Jurko Gospodnetić
ec74666771
Minor stylistic changes.
...
[SVN r78987]
2012-06-18 23:02:48 +00:00
K. Noel Belcourt
3d7cdbc654
Fix off by one error that resulted in less than the
...
full amount of target output being output to the user.
[SVN r78874]
2012-06-10 23:05:25 +00:00
Jurko Gospodnetić
184ac58165
Minor stylistic changes. Removed some minor code duplication.
...
[SVN r78862]
2012-06-09 07:28:42 +00:00
K. Noel Belcourt
9ccc28c59c
Handle signals causing early returns from select
...
and waitpid. Should fix FreeBSD reported problem.
[SVN r78861]
2012-06-09 00:21:03 +00:00
K. Noel Belcourt
30130783cb
Add ability to limit amount of target output that is
...
output by bjam. Added bjam argument -mx where x is
the maximum amount of output to be captured from a
target, in kb.
This fix will enable, PGI, VACPP, and Clang to cycle
normally in the nightly testing.
[SVN r78847]
2012-06-07 15:36:46 +00:00
K. Noel Belcourt
3cf875e93b
Revert commit 76862, restore FreeBSD and other
...
unix testers that I broke with this commit.
[SVN r78800]
2012-06-02 18:26:35 +00:00
Jurko Gospodnetić
a08319aa92
Updated the SPLIT_BY_CHARACTERS builtin rule signature so invalid calls get rejected with a correct error message instead of silently causing the rule to return an empty list.
...
[SVN r78608]
2012-05-25 10:16:36 +00:00
Jurko Gospodnetić
a02dcab69a
Minor stylistic change - trimmed trailing whitespace.
...
[SVN r78576]
2012-05-24 09:56:23 +00:00
Jurko Gospodnetić
5effe42b98
Fixed Boost Jam crash when the SPLIT_BY_CHARACTERS rule gets passed an empty list as any of its arguments.
...
[SVN r78575]
2012-05-24 09:53:24 +00:00
Jurko Gospodnetić
357641decc
Explicitly flushed bjam's standard output after printing out '...patience...' lines. Without a fflush() call these lines may get buffered and displayed all at once only after the first actual target has been built. It seems that Visual C++ compiler's runtime does not use line buffering for its standard output stream if given a pipe as its standard output (encountered with bjam compiled using msvc 10 and run by piping its output through the Cygwin tee utility).
...
[SVN r78545]
2012-05-22 21:06:47 +00:00
Steven Watanabe
f0e48e6cc5
Avoid a spurious dependency.
...
[SVN r78302]
2012-05-02 06:55:44 +00:00
Steven Watanabe
249e005589
Replace ad hoc (incorrect) cycle detection code with a variation of Tarjan's algorithm.
...
[SVN r78287]
2012-05-01 06:45:35 +00:00
Steven Watanabe
9572adeada
Avoid a self-cycle in scc_root.
...
[SVN r78283]
2012-04-30 18:21:47 +00:00
Steven Watanabe
2020417354
Fix an infinite loop caused by creating a cycle in the strongly connected component links.
...
[SVN r78282]
2012-04-30 18:11:35 +00:00
Steven Watanabe
48e636feed
Don't assume that make1a processes targets in the same order as make0. It doesn't. Start a new stack when rescanning to avoid spurious cycles which cause a seg-fault.
...
[SVN r78281]
2012-04-30 16:49:42 +00:00
Steven Watanabe
49c19f649f
Handle cycles when determining target fate in make0.
...
[SVN r78259]
2012-04-30 01:21:04 +00:00
Steven Watanabe
fbc3382f18
Pass the correct argument to make1breakcycle and make sure that we don't add a spurious self-dependency.
...
[SVN r78252]
2012-04-29 04:27:55 +00:00
Steven Watanabe
71d542c0f9
Stop targets that depend on an include cycle from updating before all the required generated headers are built.
...
[SVN r78250]
2012-04-29 01:06:55 +00:00
Steven Watanabe
0090f72efa
Detect cycles created by rescanning.
...
[SVN r78249]
2012-04-28 22:05:28 +00:00
Steven Watanabe
26d2ae3aa3
Use a regular dependency instead of an include dependency for generated headers to allow correct rescanning of generated headers.
...
[SVN r78247]
2012-04-28 19:23:47 +00:00
Steven Watanabe
b15a1d6f8d
Don't rescan targets when their internal include node is updated.
...
[SVN r78246]
2012-04-28 18:19:12 +00:00
Steven Watanabe
530cc72343
make sure that we don't call make0 twice on the original include node.
...
[SVN r78244]
2012-04-28 17:39:06 +00:00
Steven Watanabe
34af818d6d
Be sure to use object_equal.
...
[SVN r77727]
2012-04-02 22:27:28 +00:00
Steven Watanabe
9c2d81a6ab
Fix cleanup in hcache_init.
...
[SVN r77726]
2012-04-02 22:24:14 +00:00
Steven Watanabe
9d2733c1f6
Fix memory errors with BJAM_NO_MEM_CACHE.
...
[SVN r77725]
2012-04-02 22:00:32 +00:00
Steven Watanabe
4a9683e49d
Combine -d+10 stats for INSTANCE modules by class. Make stats correct for a separate chaining hash table. The old version seems to have been for open addressing.
...
[SVN r77657]
2012-03-30 21:34:39 +00:00
Steven Watanabe
c9c8deaad8
Remove unused variable.
...
[SVN r77654]
2012-03-30 19:12:25 +00:00
Steven Watanabe
2b8b06a2b1
Remove unused variable.
...
[SVN r77647]
2012-03-30 14:05:22 +00:00
Steven Watanabe
de5a4a6e5e
Fix seg-fault.
...
[SVN r77645]
2012-03-30 13:49:00 +00:00
Steven Watanabe
01a2598c29
Workoround for xlc. Patch by Hubert Tong.
...
[SVN r77638]
2012-03-30 01:21:13 +00:00
Steven Watanabe
5417bb462d
Make list_new take one argument. Rename the two argument form to list_push_back.
...
[SVN r77522]
2012-03-24 23:03:10 +00:00
Steven Watanabe
97df984d07
Remove argument_list. It's unused.
...
[SVN r77521]
2012-03-24 22:15:42 +00:00