Jurko Gospodnetić
|
3f05f021da
|
Fixed 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.
[SVN r79084]
|
2012-06-25 15:34:17 +00:00 |
|
Jurko Gospodnetić
|
85219521b8
|
Boost Jam code cleanup - minor stylistic builtins.c module changes.
[SVN r79083]
|
2012-06-25 15:27:38 +00:00 |
|
Jurko Gospodnetić
|
6d042d6039
|
Boost 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.
[SVN r79082]
|
2012-06-25 14:54:18 +00:00 |
|
Jurko Gospodnetić
|
cce2a98e9b
|
Made 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.
[SVN r79081]
|
2012-06-25 14:34:33 +00:00 |
|
Jurko Gospodnetić
|
411315fef4
|
Boost Jam code cleanup - minor stylistic execnt.c module change.
[SVN r79080]
|
2012-06-25 14:10:56 +00:00 |
|
Jurko Gospodnetić
|
52e55fd455
|
Boost Jam code cleanup - minor stylistic execnt.c module changes.
[SVN r79079]
|
2012-06-25 14:06:35 +00:00 |
|
Jurko Gospodnetić
|
d23202eeff
|
Boost 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.
[SVN r79078]
|
2012-06-25 13:42:00 +00:00 |
|
Jurko Gospodnetić
|
16b3c77d72
|
Boost 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.
[SVN r79077]
|
2012-06-25 11:46:06 +00:00 |
|
Jurko Gospodnetić
|
a1d76d06a2
|
Boost 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.
[SVN r79076]
|
2012-06-25 09:39:46 +00:00 |
|
Jurko Gospodnetić
|
b1579a0ffe
|
Boost 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.
[SVN r79075]
|
2012-06-25 09:25:59 +00:00 |
|
Jurko Gospodnetić
|
783dfad810
|
Boost Jam code cleanup - ExecCmdCallback timing_info * parameter marked as pointer to const.
[SVN r79074]
|
2012-06-25 08:09:07 +00:00 |
|
Jurko Gospodnetić
|
7bc3bed307
|
Boost 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.
[SVN r79073]
|
2012-06-25 01:45:14 +00:00 |
|
Jurko Gospodnetić
|
69245164b9
|
Boost 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.
[SVN r79072]
|
2012-06-25 01:32:02 +00:00 |
|
Jurko Gospodnetić
|
f79fe7fd34
|
Boost 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.
[SVN r79071]
|
2012-06-25 01:10:27 +00:00 |
|
Jurko Gospodnetić
|
2541eb4cff
|
Boost 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.
[SVN r79070]
|
2012-06-25 00:59:47 +00:00 |
|
Jurko Gospodnetić
|
fe6d47c464
|
Updated 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.
[SVN r79069]
|
2012-06-25 00:57:40 +00:00 |
|
Jurko Gospodnetić
|
605bc82e86
|
Boost Jam code cleanup - updated path_tmpdir() to return a string object instead of a raw C char pointer.
[SVN r79068]
|
2012-06-25 00:41:37 +00:00 |
|
Jurko Gospodnetić
|
58fb165500
|
Boost Jam code cleanup - minor stylistic changes.
[SVN r79067]
|
2012-06-25 00:33:54 +00:00 |
|
Jurko Gospodnetić
|
bc8c2abb37
|
Boost Jam code cleanup - minor stylistic changes.
[SVN r79066]
|
2012-06-24 21:42:48 +00:00 |
|
Jurko Gospodnetić
|
d34ffa9d42
|
Boost 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.
[SVN r79065]
|
2012-06-24 16:10:58 +00:00 |
|
Jurko Gospodnetić
|
e56812f2f7
|
Boost Jam code cleanup - extracted code making the actual CreateProcessA() call in the execnt.c module into a separate invoke_cmd() function.
[SVN r79063]
|
2012-06-24 14:57:41 +00:00 |
|
Jurko Gospodnetić
|
d8dac3dbe7
|
Boost Jam now correctly reports an end-user error message when its pipe() system call fails on unix. Previously it just did a silent exit.
[SVN r79062]
|
2012-06-24 14:24:40 +00:00 |
|
Jurko Gospodnetić
|
d2146b0e4c
|
Boost 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.
[SVN r79061]
|
2012-06-24 14:22:38 +00:00 |
|
Jurko Gospodnetić
|
fd5a2cbc5d
|
Boost Jam code cleanup - minor stylistic changes.
[SVN r79060]
|
2012-06-24 14:19:54 +00:00 |
|
Jurko Gospodnetić
|
8481d42296
|
Boost Jam code cleanup - minor stylistic change - added a const variable specifier.
[SVN r79059]
|
2012-06-24 13:30:08 +00:00 |
|
Jurko Gospodnetić
|
e18ae50fb5
|
Boost Jam code cleanup - minor stylistic changes in the make1.c module.
[SVN r79058]
|
2012-06-24 13:23:29 +00:00 |
|
Jurko Gospodnetić
|
748a9cf5c3
|
Added the Boost Jam execcmd.c module that got skipped by accident in revision 79055.
[SVN r79057]
|
2012-06-24 12:10:04 +00:00 |
|
Jurko Gospodnetić
|
6c34e331cb
|
Boost Jam code cleanup - minor stylistic build script changes.
[SVN r79056]
|
2012-06-24 12:06:44 +00:00 |
|
Jurko Gospodnetić
|
7e6b310623
|
Boost 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.
BROKEN: execcmd.c not actually added in this revision.
[SVN r79055]
|
2012-06-24 11:59:49 +00:00 |
|
Jurko Gospodnetić
|
041f665f19
|
Boost Jam code cleanup - better checking and error reporting related to the -j command-line option and the PARALLELISM built-in variable.
[SVN r79054]
|
2012-06-24 11:44:13 +00:00 |
|
Jurko Gospodnetić
|
4ee4244d6b
|
Boost Jam code cleanup - minor stylistic changes in jam.c & jam.h modules.
[SVN r79053]
|
2012-06-24 11:33:05 +00:00 |
|
Jurko Gospodnetić
|
d4b88e9cdb
|
Boost 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).
[SVN r79052]
|
2012-06-24 10:58:58 +00:00 |
|
Jurko Gospodnetić
|
0bc246eb32
|
Boost Jam code cleanup - extracted functions for finding a free running tables command slot in execnt.c & execunix.c modules.
[SVN r79051]
|
2012-06-24 10:42:19 +00:00 |
|
Jurko Gospodnetić
|
9f01d3d262
|
Boost Jam code cleanup - removed an unused global variable in the execunix.c module.
[SVN r79050]
|
2012-06-24 10:31:48 +00:00 |
|
Jurko Gospodnetić
|
bdac9aa723
|
Boost Jam code cleanup - minor stylistic changes in the execunix.c module.
[SVN r79049]
|
2012-06-24 10:29:30 +00:00 |
|
Jurko Gospodnetić
|
f62bd6b933
|
Corrected a Boost Jam bug introduced in revision 79046 - the total running command count was not getting bumped correctly.
[SVN r79048]
|
2012-06-24 10:23:28 +00:00 |
|
Jurko Gospodnetić
|
f86805e8ef
|
Boost Jam code cleanup - declared a couple of variables as const.
[SVN r79047]
|
2012-06-24 08:41:02 +00:00 |
|
Jurko Gospodnetić
|
8e8a55d779
|
Boost 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.
BROKEN - fails to bump the total running command count.
[SVN r79046]
|
2012-06-24 01:09:18 +00:00 |
|
Jurko Gospodnetić
|
6ae5f2e30d
|
Boost Jam code cleanup - execnt.c module - minor stylistic changes.
[SVN r79045]
|
2012-06-24 01:02:39 +00:00 |
|
Jurko Gospodnetić
|
3476bbc69e
|
Boost 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.
[SVN r79044]
|
2012-06-24 00:41:24 +00:00 |
|
Jurko Gospodnetić
|
2a8058aff3
|
Boost 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.
[SVN r79043]
|
2012-06-24 00:18:43 +00:00 |
|
Jurko Gospodnetić
|
49f1b006f8
|
Updated 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.
[SVN r79042]
|
2012-06-24 00:12:41 +00:00 |
|
Jurko Gospodnetić
|
5622bb4a9d
|
Code cleanup in Boost Jam's execnt.c module.
[SVN r79041]
|
2012-06-24 00:09:46 +00:00 |
|
Jurko Gospodnetić
|
6b36cfa238
|
Cleaned up and extended internal Boost Jam strings.c module unit tests.
[SVN r79040]
|
2012-06-24 00:00:35 +00:00 |
|
Jurko Gospodnetić
|
50fdc84a85
|
Fixed 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.
[SVN r79039]
|
2012-06-23 23:48:14 +00:00 |
|
Jurko Gospodnetić
|
c5acd8299e
|
Minor stylistic changes in Boost Jam's strings.c module.
[SVN r79038]
|
2012-06-23 23:41:07 +00:00 |
|
Jurko Gospodnetić
|
d55d846b27
|
Updated 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.
[SVN r79037]
|
2012-06-23 23:16:01 +00:00 |
|
Jurko Gospodnetić
|
559765ff88
|
Minor stylistic change in the Boost Build test system.
[SVN r79036]
|
2012-06-23 23:12:21 +00:00 |
|
Jurko Gospodnetić
|
16016a7b7a
|
Minor stylistic changes in Boost Build tests.
[SVN r79035]
|
2012-06-23 23:07:29 +00:00 |
|
Jurko Gospodnetić
|
9f82cfe8c3
|
Cleaned up the Boost Build module_actions.py test. Now the test's source file no longer needs to contain lines with trailing spaces.
[SVN r79034]
|
2012-06-23 21:18:32 +00:00 |
|