Change | User | Description | Committed |
---|---|---|---|
1250 | Craig Mcpheeters | Incorporating some changes after a review by Matt I've put the initial version in the cac...he file back. I'm starting it at version 1. Matt's version is 4, but there shouldn't be a confict as the format of the version string is slightly different, his program won't interpret this version/file as valid Restored the initial age to 0 from 1. With the version in the file, I no longer need to worry about reading old cache files from my earlier versions of Jam Tabified the file, so its a little closer to the Jam coding standards A few tweaks, here and there « |
23 years ago |
1232 | Craig Mcpheeters | Clarified the error on invalid cache - there is no need to delete it | 23 years ago |
1231 | Craig Mcpheeters |
Oops, forgot about NT. Changed the quote character from '\' to '#'. |
23 years ago |
1230 | Craig Mcpheeters | This contains alterations to Matt's earlier modifications. This version ha...s the benefits of Matt's version, with the cache being smaller and easier to parse by external programs. I've gone back to the format where there is one line per boundname in the cache file. My original implementation had fixed size buffers. This version benefits from Matt's rewriting of the input loops so more care is taken on error handling and in building the lists name by name. Matt had used a '%d\t%s\n' format for writing out strings which contain arbitrary characters. The only special character in my original implementation was the '@' character. If its seen, its now quoted with a '\', and this is handled on input. This produces slightly smaller output Matt's version could handle very large filenames, this version is restricted to the internal jam filename length, this is used elsewhere in the program (MAXJPATH) The initial age of a cache line is now 1 rather than 0. This allows us to catch some errors by atoi() returning 0 when given a non-integer I modified the global cache list handling, so the order its unchanged between two invocations of Jam. This allows easier diff'ing to see what's going on « |
23 years ago |
1229 | Craig Mcpheeters | Modified the Jamfile to use the header cache if the feature is on A couple minor fixes, i...n cache_name() and hcache_init() hcache_init(). If the cache is bad, unlink the file. Avoid use of stderr, have all output go to stdout hcache(), re-organized the do/do-not use logic to avoid duplicated code « |
23 years ago |
1228 | Craig Mcpheeters | Syntax changes to bring both my original implementation, and Matt's changes in lin...e with what I think are the Jam coding standards. « |
23 years ago |
1227 | Craig Mcpheeters | These are the enhancements that Matt Armstrong made to the header cache code.... See their original copies in: //guest/matt_armstrong/jam/hdrscan_cache The file headers.c has been modified to incorporate the other extensions from my branch, the other three files are unaltered in this return. « |
23 years ago |
1226 | Craig Mcpheeters | Created a branch which will be used to integrate changes from Matt Armstrong...'s copy of Jam. « |
23 years ago |