2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 00:32:11 +00:00
Commit Graph

224 Commits

Author SHA1 Message Date
Vladimir Prus
d672a5a364 Add new --jobs option and allow to set it in site-config.jam/user-config.jam.
[SVN r49869]
2008-11-22 10:03:10 +00:00
Vladimir Prus
2c7c99a5f7 When source resides in a subdirectory of source dir, preserve that
subdirectory in the target path.


[SVN r49714]
2008-11-13 08:26:39 +00:00
Vladimir Prus
80fe0ce9e5 Quote strings containing semicolons
[SVN r49709]
2008-11-13 06:44:21 +00:00
Jurko Gospodnetić
92aea5bb39 Minor stylistic changes throughout several Boost Build modules. Added several todo comments.
[SVN r48644]
2008-09-07 06:10:32 +00:00
Jurko Gospodnetić
f3db11e694 Removed some no longer used global variables from Boost Build's util/numbers.jam module.
[SVN r48630]
2008-09-06 14:39:00 +00:00
Rene Rivera
ea79842dcb Cleanup of BBv2 number utilities to improve performance.
[SVN r48628]
2008-09-06 05:09:20 +00:00
Jurko Gospodnetić
284c0935ac Added a new utility.unquote() rule to the Boost Build util/utility.jam module. Tests included. This is part of cleaning up some command line parsing where on some OS's quotes are stripped by the OS and on some they are not.
[SVN r48500]
2008-08-31 21:25:03 +00:00
Jurko Gospodnetić
0087ca36a8 Cleaned up the Boost Build util/utility.jam module a bit. Reordered the rule definitions alphabetically. Added better testing for the ungrist rule. Added better documentation comments.
[SVN r48499]
2008-08-31 21:22:58 +00:00
Jurko Gospodnetić
0675a48c5b Minor stylistic changes made to the Boost Build util/option.jam module.
[SVN r48476]
2008-08-30 16:23:59 +00:00
Jurko Gospodnetić
bebee74a8f Updated the comment parsing logic in Boost Build's util/doc.jam module. Now correctly recognizes comment blocks starting with an empty line and correctly parses comment lines where the initial # character is followed by a non-whitespace characters.
This for example allows it to correctly process comments written like this:

######################################
#
# And example comment.
#
######################################

Which would previously not get interpreted as valid module description comment blocks.

[SVN r48313]
2008-08-23 11:51:45 +00:00
Jurko Gospodnetić
69bf672ccf Minor stylistic code & comment changes in different Boost Build utility modules.
[SVN r47640]
2008-07-20 17:18:03 +00:00
Jurko Gospodnetić
82e59ca84d Minor stylistic changes made to Boost Build util/path.jam script and doc/src/tasks.xml documentation.
[SVN r47469]
2008-07-16 09:21:22 +00:00
Jurko Gospodnetić
e738b524b7 Minor stylistic changes in different Boost Build scripts.
[SVN r47344]
2008-07-12 11:33:16 +00:00
Jurko Gospodnetić
a1d4134774 Minor stylistic Boost Build script changes.
[SVN r46939]
2008-07-01 06:19:33 +00:00
Jurko Gospodnetić
92cdf5bd89 Minor stylistic comment change in Boost Build's util/path.jam module.
[SVN r46455]
2008-06-17 17:47:48 +00:00
Jurko Gospodnetić
20a1045cf2 Added internal Boost Build unit tests making sure its equality tests work as expected. Used tests to explicitly document the standard Boost Jam = && != operator behaviour with ignoring trailing empty strings.
[SVN r46262]
2008-06-08 22:10:54 +00:00
Jurko Gospodnetić
21b444a616 Made Boost Build's internal assert.result rule compare its values without ignoring trailing empty strings.
[SVN r46261]
2008-06-08 22:08:04 +00:00
Jurko Gospodnetić
64fa0d5da1 Renamed Boost Build's internal testing assert.result-equal rule to assert.result-set-equal to make it clear that results are compared as sets - ignoring duplicates and ordering.
[SVN r46260]
2008-06-08 22:05:09 +00:00
Jurko Gospodnetić
9efe7391c2 Removed empty internal Boost Build __test__ rules. Made remaining __test__ rules be non-local to correct a defect introduced during last internal testing system reorganization with local __test__ rules not getting called. Minor stylistic changes.
[SVN r46258]
2008-06-08 21:55:16 +00:00
Jurko Gospodnetić
1aa1c820ab Renamed Boost.Build's internal assert.nonempty-variable() rule to assert.variable-non-empty().
[SVN r46257]
2008-06-08 20:56:24 +00:00
Jurko Gospodnetić
39e67e8f0d Minor stylistic Boost Build script changes.
[SVN r46254]
2008-06-08 19:41:56 +00:00
Jurko Gospodnetić
7210d72bb9 Updated the vector class defined in Boost Build's containers.jam module. vector.empty() rule no longer returns true for a non empty container containing only empty strings. Removed vector.indices() rule that had a defective implementation causing vector.equal() to compare only the first and last vector element (reported by Rick Yang). Corrected the vector.equal() rule. Added new vector class related tests. Minor stylistic changes.
[SVN r46225]
2008-06-07 23:46:46 +00:00
Jurko Gospodnetić
11c0eef489 Corrected the vector.insert rule so it works correctly when given an index lager than the number of elements in the given vector (patch by Rick Yang). Added new related tests.
[SVN r46216]
2008-06-07 16:45:04 +00:00
Jurko Gospodnetić
e902837300 Minor stylistic changes.
[SVN r46215]
2008-06-07 16:43:25 +00:00
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