d4201e6f4eFixed a bug in Boost Jam's UPDATE_NOW builtin rule causing it to disable the -q option when requested to disable the -n option. This was also causing the -q option to be permanently disabled when requested to disable both -q & -n options.
Jurko Gospodnetić
2012-06-25 15:34:17 +0000
85219521b8Boost Jam code cleanup - minor stylistic builtins.c module changes.
Jurko Gospodnetić
2012-06-25 15:27:38 +0000
6e9d78cddaBoost Jam code cleanup - minor stylistic builtins.c module changes.
Jurko Gospodnetić
2012-06-25 15:27:38 +0000
6d042d6039Boost Jam code cleanup - added support for exec*.c modules deciding that there is really no purpose in running the given 'do-nothing' command on their platform and simply telling the main build state machine to consider that command successfully executed. This is a preparation step for implementing a better 'raw command execution' criteria on Windows where attempting to execute an empty raw command would issue an error.
Jurko Gospodnetić
2012-06-25 14:54:18 +0000
e04c4eba68Boost Jam code cleanup - added support for exec*.c modules deciding that there is really no purpose in running the given 'do-nothing' command on their platform and simply telling the main build state machine to consider that command successfully executed. This is a preparation step for implementing a better 'raw command execution' criteria on Windows where attempting to execute an empty raw command would issue an error.
Jurko Gospodnetić
2012-06-25 14:54:18 +0000
cce2a98e9bMade Boost Jam preserve trailing whitespace when executing its raw commands on Windows same as it does for other OSs (just the leading whitespace and trailing all-whitespace lines get trimmed). Command files used with external shells now also again get the complete action content without any whitespace trimming. This partially reverts a recent change from revision 78997 and also fixes the module_actions.py Boost Build test broken by that revision.
Jurko Gospodnetić
2012-06-25 14:34:33 +0000
268ad706d5Made Boost Jam preserve trailing whitespace when executing its raw commands on Windows same as it does for other OSs (just the leading whitespace and trailing all-whitespace lines get trimmed). Command files used with external shells now also again get the complete action content without any whitespace trimming. This partially reverts a recent change from revision 78997 and also fixes the module_actions.py Boost Build test broken by that revision.
Jurko Gospodnetić
2012-06-25 14:34:33 +0000
411315fef4Boost Jam code cleanup - minor stylistic execnt.c module change.
Jurko Gospodnetić
2012-06-25 14:10:56 +0000
46076765edBoost Jam code cleanup - minor stylistic execnt.c module change.
Jurko Gospodnetić
2012-06-25 14:10:56 +0000
52e55fd455Boost Jam code cleanup - minor stylistic execnt.c module changes.
Jurko Gospodnetić
2012-06-25 14:06:35 +0000
97ce67e09cBoost Jam code cleanup - minor stylistic execnt.c module changes.
Jurko Gospodnetić
2012-06-25 14:06:35 +0000
d23202eeffBoost Jam code cleanup - added a new exec_check() exec*.c module platform specific functions and moved all command validation into them. MAXLINE macro is no longer needed globally for all platforms, and those platforms that do not have a fixed constant for their maximum command line length (e.g. Windows) may now hold that knowledge inside their exec*.c modules and not export it in any way. Windows execnt.c implementation still does some extra command-trimming that needs to be cleaned up.
Jurko Gospodnetić
2012-06-25 13:42:00 +0000
fad63f7d5aBoost Jam code cleanup - added a new exec_check() exec*.c module platform specific functions and moved all command validation into them. MAXLINE macro is no longer needed globally for all platforms, and those platforms that do not have a fixed constant for their maximum command line length (e.g. Windows) may now hold that knowledge inside their exec*.c modules and not export it in any way. Windows execnt.c implementation still does some extra command-trimming that needs to be cleaned up.
Jurko Gospodnetić
2012-06-25 13:42:00 +0000
16b3c77d72Boost Jam code cleanup - cmd_new() no longer does command string line length checking, removed duplicate cmd_new() invocation when a command was found to contain a too long line, corrected reusing targets & shell lists when constructing commands after rejecting a previously constructed one.
Jurko Gospodnetić
2012-06-25 11:46:06 +0000
a07f8fb37fBoost Jam code cleanup - cmd_new() no longer does command string line length checking, removed duplicate cmd_new() invocation when a command was found to contain a too long line, corrected reusing targets & shell lists when constructing commands after rejecting a previously constructed one.
Jurko Gospodnetić
2012-06-25 11:46:06 +0000
a1d76d06a2Boost Jam now first tries alternate command-file names before waiting for 250ms when it fails to open its intended command-file for writing (most likely due so some anti-virus software still holding it open). This speeds up command running in such 'overly eager anti-virus software' scenarios.
Jurko Gospodnetić
2012-06-25 09:39:46 +0000
b45c35b956Boost Jam now first tries alternate command-file names before waiting for 250ms when it fails to open its intended command-file for writing (most likely due so some anti-virus software still holding it open). This speeds up command running in such 'overly eager anti-virus software' scenarios.
Jurko Gospodnetić
2012-06-25 09:39:46 +0000
b1579a0ffeBoost Jam code cleanup - extracted running command counting out of platform specific exec*.c modules and moved it to the central make1.c module. Simplified upper running command count checking since with the new '-j' command-line parameter and the PARALLELISM built-in variable value checking we now know that globs.jobs is always in the [1, MAXJOBS] range.
Jurko Gospodnetić
2012-06-25 09:25:59 +0000
e413acfebbBoost Jam code cleanup - extracted running command counting out of platform specific exec*.c modules and moved it to the central make1.c module. Simplified upper running command count checking since with the new '-j' command-line parameter and the PARALLELISM built-in variable value checking we now know that globs.jobs is always in the [1, MAXJOBS] range.
Jurko Gospodnetić
2012-06-25 09:25:59 +0000
783dfad810Boost Jam code cleanup - ExecCmdCallback timing_info * parameter marked as pointer to const.
Jurko Gospodnetić
2012-06-25 08:09:07 +0000
4070a6957fBoost Jam code cleanup - ExecCmdCallback timing_info * parameter marked as pointer to const.
Jurko Gospodnetić
2012-06-25 08:09:07 +0000
7bc3bed307Boost Jam code cleanup - execnt.c module no longer outputs its 'argv' related -d+4 debug output since its argv structure is just an intermediate structure contructed while preparing the final command string for passing to the CreateProcessA() Windows API. Actual final constructed command string still does get displayed as -d+4 debug output.
Jurko Gospodnetić
2012-06-25 01:45:14 +0000
a06d5ddb4cBoost Jam code cleanup - execnt.c module no longer outputs its 'argv' related -d+4 debug output since its argv structure is just an intermediate structure contructed while preparing the final command string for passing to the CreateProcessA() Windows API. Actual final constructed command string still does get displayed as -d+4 debug output.
Jurko Gospodnetić
2012-06-25 01:45:14 +0000
69245164b9Boost Jam code cleanup - more standardized 'default shell' implementation in both execnt.c & execunix.c modules. This removes the knowledge duplication in code about what default shell we are using as well as allows us to process default & non-default shells equally.
Jurko Gospodnetić
2012-06-25 01:32:02 +0000
4a96c4dd2cBoost Jam code cleanup - more standardized 'default shell' implementation in both execnt.c & execunix.c modules. This removes the knowledge duplication in code about what default shell we are using as well as allows us to process default & non-default shells equally.
Jurko Gospodnetić
2012-06-25 01:32:02 +0000
f79fe7fd34Boost Jam code cleanup - removed a no longer useful constant_percent constant. Its one usage has been inlined, and even that is planned to be removed.
Jurko Gospodnetić
2012-06-25 01:10:27 +0000
ca60f1b981Boost Jam code cleanup - removed a no longer useful constant_percent constant. Its one usage has been inlined, and even that is planned to be removed.
Jurko Gospodnetić
2012-06-25 01:10:27 +0000
2541eb4cffBoost Jam code cleanup - updated Python related implementation to use the more efficient PyString_AS_STRING() API instead of PyString_AsString() when we already know we are passing it a valid Python string object.
Jurko Gospodnetić
2012-06-25 00:59:47 +0000
7979cd5012Boost Jam code cleanup - updated Python related implementation to use the more efficient PyString_AS_STRING() API instead of PyString_AsString() when we already know we are passing it a valid Python string object.
Jurko Gospodnetić
2012-06-25 00:59:47 +0000
fe6d47c464Updated Boost Jam's Cygwin-to-Windows path conversion implementation to use the new cygwin_conv_path() API introduced in Cygwin 1.7 when building using a new enough Cygwin version headers. This avoids depreciation warnings about the old cygwin_conv_to_win32_path() API being used when building with newer Cygwin versions. The new API seems to support paths longer than MAX_PATH and allows for much better error handling.
Jurko Gospodnetić
2012-06-25 00:57:40 +0000
d4e6d5a5a0Updated Boost Jam's Cygwin-to-Windows path conversion implementation to use the new cygwin_conv_path() API introduced in Cygwin 1.7 when building using a new enough Cygwin version headers. This avoids depreciation warnings about the old cygwin_conv_to_win32_path() API being used when building with newer Cygwin versions. The new API seems to support paths longer than MAX_PATH and allows for much better error handling.
Jurko Gospodnetić
2012-06-25 00:57:40 +0000
605bc82e86Boost Jam code cleanup - updated path_tmpdir() to return a string object instead of a raw C char pointer.
Jurko Gospodnetić
2012-06-25 00:41:37 +0000
7f30ec0101Boost Jam code cleanup - updated path_tmpdir() to return a string object instead of a raw C char pointer.
Jurko Gospodnetić
2012-06-25 00:41:37 +0000
58fb165500Boost Jam code cleanup - minor stylistic changes.
Jurko Gospodnetić
2012-06-25 00:33:54 +0000
2984c9dee7Boost Jam code cleanup - minor stylistic changes.
Jurko Gospodnetić
2012-06-25 00:33:54 +0000
bc8c2abb37Boost Jam code cleanup - minor stylistic changes.
Jurko Gospodnetić
2012-06-24 21:42:48 +0000
55efe7798dBoost Jam code cleanup - minor stylistic changes.
Jurko Gospodnetić
2012-06-24 21:42:48 +0000
d34ffa9d42Boost Jam code cleanup - refactored code in exec*.c module for executing child processes to reduce duplication and function size. The only externally visible change is in several debug (-d+4) messages.
Jurko Gospodnetić
2012-06-24 16:10:58 +0000
5fe0d49e68Boost Jam code cleanup - refactored code in exec*.c module for executing child processes to reduce duplication and function size. The only externally visible change is in several debug (-d+4) messages.
Jurko Gospodnetić
2012-06-24 16:10:58 +0000
e56812f2f7Boost Jam code cleanup - extracted code making the actual CreateProcessA() call in the execnt.c module into a separate invoke_cmd() function.
Jurko Gospodnetić
2012-06-24 14:57:41 +0000
34e522ed74Boost Jam code cleanup - extracted code making the actual CreateProcessA() call in the execnt.c module into a separate invoke_cmd() function.
Jurko Gospodnetić
2012-06-24 14:57:41 +0000
d8dac3dbe7Boost Jam now correctly reports an end-user error message when its pipe() system call fails on unix. Previously it just did a silent exit.
Jurko Gospodnetić
2012-06-24 14:24:40 +0000
3f8d389814Boost Jam now correctly reports an end-user error message when its pipe() system call fails on unix. Previously it just did a silent exit.
Jurko Gospodnetić
2012-06-24 14:24:40 +0000
d2146b0e4cBoost Jam code cleanup - minor stylistic change - pipes used to communicate with child processes no longer have their parent side descriptors inherited by the child process instead of being explicitly closed in the child process.
Jurko Gospodnetić
2012-06-24 14:22:38 +0000
c417befae9Boost Jam code cleanup - minor stylistic change - pipes used to communicate with child processes no longer have their parent side descriptors inherited by the child process instead of being explicitly closed in the child process.
Jurko Gospodnetić
2012-06-24 14:22:38 +0000
fd5a2cbc5dBoost Jam code cleanup - minor stylistic changes.
Jurko Gospodnetić
2012-06-24 14:19:54 +0000
6276126884Boost Jam code cleanup - minor stylistic changes.
Jurko Gospodnetić
2012-06-24 14:19:54 +0000
8481d42296Boost Jam code cleanup - minor stylistic change - added a const variable specifier.
Jurko Gospodnetić
2012-06-24 13:30:08 +0000
48148fe6a9Boost Jam code cleanup - minor stylistic change - added a const variable specifier.
Jurko Gospodnetić
2012-06-24 13:30:08 +0000
e18ae50fb5Boost Jam code cleanup - minor stylistic changes in the make1.c module.
Jurko Gospodnetić
2012-06-24 13:23:29 +0000
feba6a7d87Boost Jam code cleanup - minor stylistic changes in the make1.c module.
Jurko Gospodnetić
2012-06-24 13:23:29 +0000
748a9cf5c3Added the Boost Jam execcmd.c module that got skipped by accident in revision 79055.
Jurko Gospodnetić
2012-06-24 12:10:04 +0000
ec6dd61bdaAdded the Boost Jam execcmd.c module that got skipped by accident in revision 79055.
Jurko Gospodnetić
2012-06-24 12:10:04 +0000
6c34e331cbBoost Jam code cleanup - minor stylistic build script changes.
Jurko Gospodnetić
2012-06-24 12:06:44 +0000
856e76157cBoost Jam code cleanup - minor stylistic build script changes.
Jurko Gospodnetić
2012-06-24 12:06:44 +0000
7e6b310623Boost Jam code cleanup - added a new execcmd.c module to hold shared implementation between different exec*.c modules. Extracted external command process interrupt handling code into the new module.
Jurko Gospodnetić
2012-06-24 11:59:49 +0000
bd1a5eff25Boost Jam code cleanup - added a new execcmd.c module to hold shared implementation between different exec*.c modules. Extracted external command process interrupt handling code into the new module.
Jurko Gospodnetić
2012-06-24 11:59:49 +0000
041f665f19Boost Jam code cleanup - better checking and error reporting related to the -j command-line option and the PARALLELISM built-in variable.
Jurko Gospodnetić
2012-06-24 11:44:13 +0000
7c98902acdBoost Jam code cleanup - better checking and error reporting related to the -j command-line option and the PARALLELISM built-in variable.
Jurko Gospodnetić
2012-06-24 11:44:13 +0000
4ee4244d6bBoost Jam code cleanup - minor stylistic changes in jam.c & jam.h modules.
Jurko Gospodnetić
2012-06-24 11:33:05 +0000
6c27b48f73Boost Jam code cleanup - minor stylistic changes in jam.c & jam.h modules.
Jurko Gospodnetić
2012-06-24 11:33:05 +0000
d4b88e9cdbBoost Jam code cleanup - removed global exec*.c module exec_done() cleanup routines as they were either not doing anything (execnt.c) or just releasing memory that would get released automatically by the OS on the imminent process exit (execunix.c).
Jurko Gospodnetić
2012-06-24 10:58:58 +0000
ee3337d46cBoost Jam code cleanup - removed global exec*.c module exec_done() cleanup routines as they were either not doing anything (execnt.c) or just releasing memory that would get released automatically by the OS on the imminent process exit (execunix.c).
Jurko Gospodnetić
2012-06-24 10:58:58 +0000
0bc246eb32Boost Jam code cleanup - extracted functions for finding a free running tables command slot in execnt.c & execunix.c modules.
Jurko Gospodnetić
2012-06-24 10:42:19 +0000
ed1c4c1d1aBoost Jam code cleanup - extracted functions for finding a free running tables command slot in execnt.c & execunix.c modules.
Jurko Gospodnetić
2012-06-24 10:42:19 +0000
9f01d3d262Boost Jam code cleanup - removed an unused global variable in the execunix.c module.
Jurko Gospodnetić
2012-06-24 10:31:48 +0000
e0a2ffe343Boost Jam code cleanup - removed an unused global variable in the execunix.c module.
Jurko Gospodnetić
2012-06-24 10:31:48 +0000
bdac9aa723Boost Jam code cleanup - minor stylistic changes in the execunix.c module.
Jurko Gospodnetić
2012-06-24 10:29:30 +0000
e101463453Boost Jam code cleanup - minor stylistic changes in the execunix.c module.
Jurko Gospodnetić
2012-06-24 10:29:30 +0000
f62bd6b933Corrected a Boost Jam bug introduced in revision 79046 - the total running command count was not getting bumped correctly.
Jurko Gospodnetić
2012-06-24 10:23:28 +0000
89394668a0Corrected a Boost Jam bug introduced in revision 79046 - the total running command count was not getting bumped correctly.
Jurko Gospodnetić
2012-06-24 10:23:28 +0000
f86805e8efBoost Jam code cleanup - declared a couple of variables as const.
Jurko Gospodnetić
2012-06-24 08:41:02 +0000
93a71560b7Boost Jam code cleanup - declared a couple of variables as const.
Jurko Gospodnetić
2012-06-24 08:41:02 +0000
8e8a55d779Boost Jam code cleanup - execnt.c module code for registering its Ctrl-C related interrupt signal handler. Static variables no longer explicitly initialized to 0 since the compiler/loader does this for us.
Jurko Gospodnetić
2012-06-24 01:09:18 +0000
e616b0cfeaBoost Jam code cleanup - execnt.c module code for registering its Ctrl-C related interrupt signal handler. Static variables no longer explicitly initialized to 0 since the compiler/loader does this for us.
Jurko Gospodnetić
2012-06-24 01:09:18 +0000
6ae5f2e30dBoost Jam code cleanup - execnt.c module - minor stylistic changes.
Jurko Gospodnetić
2012-06-24 01:02:39 +0000
cf8af65e01Boost Jam code cleanup - execnt.c module - minor stylistic changes.
Jurko Gospodnetić
2012-06-24 01:02:39 +0000
3476bbc69eBoost Jam code cleanup - execnt.c module no longer frees its temporary command file name storage buffer since it reuses the same file name for the next command run from the same running commands table slot anyway and the final command's temporary file name storage buffer will get released on program exit anyway.
Jurko Gospodnetić
2012-06-24 00:41:24 +0000
e8ff660750Boost Jam code cleanup - execnt.c module no longer frees its temporary command file name storage buffer since it reuses the same file name for the next command run from the same running commands table slot anyway and the final command's temporary file name storage buffer will get released on program exit anyway.
Jurko Gospodnetić
2012-06-24 00:41:24 +0000
2a8058aff3Boost Jam code cleanup - execnt.c module no longer double-frees its running commands table slot's action & target variables when reusing the same slot for multiple commands.
Jurko Gospodnetić
2012-06-24 00:18:43 +0000
2d1af99dc3Boost Jam code cleanup - execnt.c module no longer double-frees its running commands table slot's action & target variables when reusing the same slot for multiple commands.
Jurko Gospodnetić
2012-06-24 00:18:43 +0000
49f1b006f8Updated Boost Jam's execnt.c module to report correct Windows API error messages instead of incorrectly expecting them to set the global errno C library variable and printing out error messages related to this invalid/random/unrelated value.
Jurko Gospodnetić
2012-06-24 00:12:41 +0000
bf9a2a9671Updated Boost Jam's execnt.c module to report correct Windows API error messages instead of incorrectly expecting them to set the global errno C library variable and printing out error messages related to this invalid/random/unrelated value.
Jurko Gospodnetić
2012-06-24 00:12:41 +0000
6b36cfa238Cleaned up and extended internal Boost Jam strings.c module unit tests.
Jurko Gospodnetić
2012-06-24 00:00:35 +0000
311d9a29d2Cleaned up and extended internal Boost Jam strings.c module unit tests.
Jurko Gospodnetić
2012-06-24 00:00:35 +0000
50fdc84a85Fixed a Boost Jam debug assertion bug encountered when creating string objects with embedded '\0' characters as done for example by the SPLIT_BY_CHARACTERS builtin rule implementation.
Jurko Gospodnetić
2012-06-23 23:48:14 +0000
8d2ea3c478Fixed a Boost Jam debug assertion bug encountered when creating string objects with embedded '\0' characters as done for example by the SPLIT_BY_CHARACTERS builtin rule implementation.
Jurko Gospodnetić
2012-06-23 23:48:14 +0000
d55d846b27Updated Boost Build's internal test system to not report an error as if it was not able to run the external diff tool when that tool returns 1 to indicate that the two files given to it are different.
Jurko Gospodnetić
2012-06-23 23:16:01 +0000
b2b495c285Updated Boost Build's internal test system to not report an error as if it was not able to run the external diff tool when that tool returns 1 to indicate that the two files given to it are different.
Jurko Gospodnetić
2012-06-23 23:16:01 +0000
559765ff88Minor stylistic change in the Boost Build test system.
Jurko Gospodnetić
2012-06-23 23:12:21 +0000
0561f77b48Minor stylistic change in the Boost Build test system.
Jurko Gospodnetić
2012-06-23 23:12:21 +0000
9f82cfe8c3Cleaned up the Boost Build module_actions.py test. Now the test's source file no longer needs to contain lines with trailing spaces.
Jurko Gospodnetić
2012-06-23 21:18:32 +0000
a810fcf5ebCleaned up the Boost Build module_actions.py test. Now the test's source file no longer needs to contain lines with trailing spaces.
Jurko Gospodnetić
2012-06-23 21:18:32 +0000
d1748e252eCorrected some minor memory leaks and avoided extra list copying in Boost Jam when processing piecemeal actions.
Jurko Gospodnetić
2012-06-19 12:43:40 +0000