Commit Graph

12124 Commits

Author SHA1 Message Date
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ć
b45ec34c91 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ć
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ć
09e976d0cb 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ć
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ć
fd4d69acd6 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ć
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ć
f658bf410a 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ć
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ć
838568f286 Minor Boost Build test system Python code cleanup - removed unnecessary trailing semicolons.
[SVN r79003]
2012-06-19 10:08:33 +00:00
Jurko Gospodnetić
92bd9e3a71 Minor Boost Build test system Python code cleanup - removed unnecessary trailing semicolons.
[SVN r79003]
2012-06-19 10:08:33 +00:00
Jurko Gospodnetić
283e2bf18e Added support for explicitly failing Boost Build tests without displaying the changes caused by the last build command.
[SVN r79002]
2012-06-19 10:06:12 +00:00
Jurko Gospodnetić
a2a8daaec6 Added support for explicitly failing Boost Build tests without displaying the changes caused by the last build command.
[SVN r79002]
2012-06-19 10:06:12 +00:00
Jurko Gospodnetić
a3ebc8fd9c Minor stylistic changes.
[SVN r79001]
2012-06-19 10:01:37 +00:00
Jurko Gospodnetić
33794c942a Minor stylistic changes.
[SVN r79001]
2012-06-19 10:01:37 +00:00
Jurko Gospodnetić
a9d0cdd8e2 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ć
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ć
2dfef646c3 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ć
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ć
360d573e96 Minor stylistic changes.
[SVN r78998]
2012-06-19 00:48:27 +00:00
Jurko Gospodnetić
32e946d8d2 Minor stylistic changes.
[SVN r78998]
2012-06-19 00:48:27 +00:00
Jurko Gospodnetić
5c9c05e42b 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ć
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ć
0a2eb316a6 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ć
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ć
18e5ffe6cc Minor stylistic changes.
[SVN r78995]
2012-06-18 23:56:01 +00:00
Jurko Gospodnetić
631a07d531 Minor stylistic changes.
[SVN r78995]
2012-06-18 23:56:01 +00:00
Jurko Gospodnetić
9ee9f351d4 Minor stylistic changes.
[SVN r78994]
2012-06-18 23:39:12 +00:00
Jurko Gospodnetić
f8d53a5a8c Minor stylistic changes.
[SVN r78994]
2012-06-18 23:39:12 +00:00
Jurko Gospodnetić
a639ea7188 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ć
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ć
c63206558f 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ć
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ć
92296ee7a4 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ć
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ć
3f6421cd91 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ć
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ć
992931ee90 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ć
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ć
e25c77fc7d 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ć
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ć
8bdc35427c Minor stylistic changes.
[SVN r78987]
2012-06-18 23:02:48 +00:00
Jurko Gospodnetić
ec74666771 Minor stylistic changes.
[SVN r78987]
2012-06-18 23:02:48 +00:00
Jurko Gospodnetić
bcbfaa30e9 Updated the Boost Build core_arguments.py test to test all of the supported 19 Boost Jam positional arguments instead of only 9.
[SVN r78984]
2012-06-18 12:59:42 +00:00
Jurko Gospodnetić
e0adb511d5 Updated the Boost Build core_arguments.py test to test all of the supported 19 Boost Jam positional arguments instead of only 9.
[SVN r78984]
2012-06-18 12:59:42 +00:00
Jurko Gospodnetić
147252d9e1 Boost Build's core_arguments.py test now correctly tests whether or not specific arguments passed to a rule cause Boost Jam to exit with an error code.
[SVN r78981]
2012-06-18 11:53:56 +00:00
Jurko Gospodnetić
ec328ac75f Boost Build's core_arguments.py test now correctly tests whether or not specific arguments passed to a rule cause Boost Jam to exit with an error code.
[SVN r78981]
2012-06-18 11:53:56 +00:00
Jurko Gospodnetić
83b5bd6332 Cleaned up the Boost core_arguments.py test code to reduce duplication.
[SVN r78980]
2012-06-18 11:52:09 +00:00
Jurko Gospodnetić
06a23803ea Cleaned up the Boost core_arguments.py test code to reduce duplication.
[SVN r78980]
2012-06-18 11:52:09 +00:00
Jurko Gospodnetić
304712946d Removed redundant module import in Boost Build's core_arguments.py test.
[SVN r78977]
2012-06-18 11:19:32 +00:00