2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-21 02:52:12 +00:00
Commit Graph

200 Commits

Author SHA1 Message Date
Jurko Gospodnetić
aed78bd0fc Corrected a bug causing abbreviated build folder name caching never getting used.
[SVN r46043]
2008-06-02 09:51:15 +00:00
Jurko Gospodnetić
11a0756cc1 Minor stylistic Boost Build Jam script cleanup.
[SVN r46042]
2008-06-02 09:49:54 +00:00
Jurko Gospodnetić
901a0a4386 Removed a duplicated test case.
[SVN r45167]
2008-05-06 09:33:53 +00:00
Jurko Gospodnetić
f6e31ac68e Patch for the NORMALIZE_PATH builtin Boost Jam rule as well as an appropriate update for the path.jam Boost Build module where that rule was being used to implement path.join and related operations.
As it was written before the rule had 'random' behavior in some borderline cases such as: not passing it a parameter, passing it a folder whose path starts with one or two backslashes (as opposed to slashes) or passing it an invalid rooted path with enough '..' path elements to take it 'before the root path'. In those cases it would cause an access violation, 'incorrectly' un-root the path (i.e. remove the leading slash) or simply remove a 'random' path modification respectively. Also the rule is now more tiny bit more efficient and much better documented.

  Invalid rooted paths with enough '..' path elements to take them 'before the root path' are now recognized and an empty list is returned.

  Due to this rule having such 'messy' behavior the path.join rule and its user make-NT rule had some twisted logic in them to work around all the problems this caused. This patch invalidates the logic in question and replaces it with a much simpler one (detailed comments added).

  Other NORMALIZE_PATH callers should not be affected since both the old and the new version work the same on 'regular' paths (i.e. those not mentioned above).

  The new functionality for recognizing Boost Jam versions has been used to make Boost Build scripts use the old path functionality when using Boost Jam older than 3.1.17 and use the new functionality otherwise. As consequence, now anyone using the trunk version of Boost Build and an older 3.1.17 version of Boost.Jam will need to recompile their Boost Jam executable.

  The patch does not cause any Boost Build or Boost Jam tests to fail.

  Added a related NORMALIZE_PATH Boost Jam test. Note that this test causes Boost Jam versions built prior to this patch to crash (access violation).

  Added additional internal Boost Build tests for the path.jam module testing how it handles some invalid Windows paths.


[SVN r45158]
2008-05-05 22:37:19 +00:00
Jurko Gospodnetić
65a07b4ac6 Minor stylistic changes.
[SVN r45120]
2008-05-04 23:55:56 +00:00
Jurko Gospodnetić
637bbb0173 Cleaned up and better documented how the path.make-NT and path.join rules work. Corrected some minor flaws like the path.join rule returning only the initial path element in case its second path element was empty but there were more elements after it. This is the preparation for cleaning up the NORMALIZE_PATH builtin Boost Jam rule that is causing this implementation to be so messy.
[SVN r45103]
2008-05-04 02:01:52 +00:00
Jurko Gospodnetić
0fc8c56a28 Minor stylistic comment change.
[SVN r45102]
2008-05-04 01:58:58 +00:00
Jurko Gospodnetić
24e776fb73 Fixed a bug in the tools/build/v2/util/numbers.jam module related to numbers.log10 & numbers.less rules not working correctly with numbers that have leading zeroes. Added related regression tests.
Among other things this was breaking the new Boost Jam version detection functionality in some realistic cases. Added related regression tests.

[SVN r45100]
2008-05-04 01:27:09 +00:00
Jurko Gospodnetić
1cc21ab203 Upgraded some internal Boost Build tests. Minor stylistic changes.
[SVN r45095]
2008-05-03 23:27:00 +00:00
Jurko Gospodnetić
c4eed608ea Made it clear that Boost Build's Windows path handling does not handle paths with multiple successive path separator characters. Added several missing internal path.jam module tests. Minor stylistic changes.
[SVN r45079]
2008-05-03 17:22:08 +00:00
Jurko Gospodnetić
c36072398f Boost Build comment typo corrections and minor stylistic changes.
[SVN r44975]
2008-05-01 15:09:58 +00:00
Jurko Gospodnetić
f2a6ad5a04 Corrected outputting native Windows paths so that it works correctly for absolute paths without the drive letter being explicitly specified, e.g. \aaa\bbb or /aaa/bbb.
[SVN r43045]
2008-02-01 00:46:50 +00:00
Jurko Gospodnetić
1860d4be8b Minor stylistic spacing changes. Remove trailing spaces.
[SVN r43044]
2008-02-01 00:44:23 +00:00
Jurko Gospodnetić
a27f366998 Minor stylistic changes:
* Removed trailing spaces.
  * Added a comment for code discovering the user's home-directories.
  * Removed a stale regex import.
  * Removed an old corpse 'identity' rule found inside the __test__ rule.

[SVN r42884]
2008-01-20 20:18:50 +00:00
Jurko Gospodnetić
228bba284b Stylistic changes. Removed trailing spaces. Removed empty lines. Corrected comment typos and wording.
[SVN r42837]
2008-01-18 01:14:17 +00:00
Jurko Gospodnetić
1fefa3985b Minor stylistic comment changes. Removed trailing spaces.
[SVN r42801]
2008-01-15 21:13:52 +00:00
Jurko Gospodnetić
9b97e0ac91 No functional changes but only stylistic changes such as: comment typo corrections, wrapping lines to 80 characters, indentations, removing trailing spaces, removing empty lines, made tests use Jamfile.jam and Jamroot.jam Boost Build script names, removed unnecessary module imports, etc.
[SVN r42506]
2008-01-06 00:25:48 +00:00
Jurko Gospodnetić
0c58c9ae6b Minor stylistic changes such as: comment typo corrections, wrapping lines to 80 characters, indentations, removing trailing spaces, etc.
[SVN r42494]
2008-01-05 20:02:24 +00:00
Jurko Gospodnetić
de220d4567 Stylistic comment changes & typo corrections.
[SVN r42485]
2008-01-05 17:46:45 +00:00
Jurko Gospodnetić
89243f0663 Updated Boost.Jam command line option texts. Minor stylistic changes.
[SVN r42479]
2008-01-05 16:53:03 +00:00
Vladimir Prus
36a79b841f Fix typos.
Patch from  Jurko Gospodnetic


[SVN r42296]
2007-12-25 09:25:25 +00:00
Vladimir Prus
4f5947ca91 Fix glob excludes in subdirectories.
Thanks to Norbert Unterberg for the bug report.


[SVN r39103]
2007-09-01 20:28:42 +00:00
Vladimir Prus
578f6bd326 Use SVN for nightly builds
[SVN r38968]
2007-08-26 17:15:51 +00:00
Rene Rivera
09f2e196ff Merge changes from Version_1_34_1 back to trunk.
[SVN r38792]
2007-08-20 16:52:55 +00:00
Rene Rivera
705598d650 Partial merge from RC, re: AIX fixes.
[SVN r37845]
2007-06-01 16:11:56 +00:00
Dave Abrahams
7d1a1a4a44 Added --abbreviate-paths feature to help with windows length limitations.
[SVN r36709]
2007-01-12 17:58:53 +00:00
Vladimir Prus
fda66ebd79 Fix grammar
[SVN r36626]
2007-01-06 19:31:52 +00:00
Vladimir Prus
9bf8906869 Improve --help output.
[SVN r36624]
2007-01-06 19:19:09 +00:00
Dave Abrahams
0e6cb164f7 handle comma-separated toolsets
[SVN r36301]
2006-12-08 14:27:09 +00:00
Vladimir Prus
42304753f1 Fix a bug that caused path.glob-tree to ignore exclude patterns except
for top-level names.


[SVN r36160]
2006-11-23 09:16:51 +00:00
Vladimir Prus
9fd7a6eba9 Make the 'glob' rule accept the patterns to exclude.
[SVN r36159]
2006-11-23 09:01:47 +00:00
Dave Abrahams
9be6a0b049 Fixed various bugs in my last checkin, and one old one in assert.jam.
[SVN r36008]
2006-11-11 22:58:18 +00:00
Rene Rivera
9ef6242538 Add/update copyrights+license (with help of a shell script).
[SVN r35851]
2006-11-05 07:13:39 +00:00
Rene Rivera
8e287a2735 Add result-equal test which passes when the expected and result have the same elements.
[SVN r35718]
2006-10-24 15:59:10 +00:00
Rene Rivera
1302f61cef Add "USERPROFILE" dir to user directories so that when the other HOME related vars don't point to the usual Windows location the user-config.jam can still be found. This fixes running from non-CMD shells, like the MinGW MSYS shell.
[SVN r35697]
2006-10-23 16:30:38 +00:00
Rene Rivera
93cd350f59 Add exclusion patterns to glob-tree to allow for exclusing things like CVS directories from scanning. This fixes the problem of invalid/unknown target for those dirs when they are hidden as they get returned as files instead of dirs by the OS. Also updated copyright and license info.
[SVN r35641]
2006-10-16 20:43:26 +00:00
Rene Rivera
d96a798e06 Support the slower order stable sequence.unique with an extra flag argument.
[SVN r35522]
2006-10-07 22:05:03 +00:00
Rene Rivera
d5dc3dd12a Minor improvement in memory and complexity of sequence length calculation.
[SVN r35233]
2006-09-20 21:39:43 +00:00
Rene Rivera
624e973954 Order of magnitude speed and memory improvement on sequence.unique.
[SVN r35190]
2006-09-19 03:53:15 +00:00
Rene Rivera
7fdd3160f9 Add glob-tree which gobs complete directory trees.
[SVN r35155]
2006-09-18 05:31:51 +00:00
Vladimir Prus
f56c300b23 Revert the path for preserving relative names of sources, since it breaks
UBLAS tests. Will reconsider later.


[SVN r34233]
2006-06-08 05:31:39 +00:00
Vladimir Prus
aafe2d6065 Try to preserve relative paths in sources.
Based on a patch from Ryan Gallagher.


[SVN r34062]
2006-05-23 14:21:58 +00:00
Rene Rivera
4befe28c11 Fix file reading on Windows.
[SVN r33748]
2006-04-19 21:10:11 +00:00
Rene Rivera
89143e9723 Fix missing online help docs, and refactor to not use header scanning to speed up the parsing of Jamfiles for docs.
[SVN r33746]
2006-04-19 20:13:54 +00:00
Vladimir Prus
70155d8def Exit if one of processed options wants to exit.
[SVN r32769]
2006-02-09 13:53:20 +00:00
Vladimir Prus
fdf2aadc2f Print the value of "project-help" variant in ./Jamfile on --help option.
[SVN r32767]
2006-02-09 13:38:13 +00:00
Rene Rivera
62f0904354 boostbook.jam; remove locals when using print.text.
print.jam; reimplement in terms of @() feature.


[SVN r31583]
2005-11-06 22:34:44 +00:00
Rene Rivera
bc3396ff68 boostbook.jam; Remove some path.make calls as they are superfluous in the path.glob case.
path.jam; Kludge path.join into working as it did before when confronted with an initial empty string on the path.


[SVN r31212]
2005-10-06 19:47:58 +00:00
Rene Rivera
eed0cf6cc3 Variety of performance improvements.
* bjam; bump to version 3.1.12
* bjam; make it possible to build in MinGW/MSYS shell
* bjam; move profile code to debug.h/c to make it available for use everywhere
* bjam; cache all filesystem query operations, Unix and Windows only, include PWD and scanning
* bjam; add memory profile info, and sprinkle throught code
* bbv2; rewrite some while() loops into for() loops to reduce time and memory
* bbv2; keep a single instance counter instead of one per type to reduce memory use
* bjam+bbv2; change NORMALIZE_PATH builtin to join path parts to reduce memory use


[SVN r31177]
2005-10-03 00:47:36 +00:00
Vladimir Prus
1fa3a7afab Enable native version of regex.transform.
[SVN r31141]
2005-09-28 14:28:46 +00:00