Vladimir Prus
2674d67c72
Reset everyting back to revision 56032.
...
My partial reverts of things appear to be creating bigger mess.
[SVN r56042]
2009-09-05 12:44:28 +00:00
Vladimir Prus
21896bba81
Revert revision 48644.
...
It contains so many formatting changes to as make porting things to
Python impossible. I'll cherry-pick the todo and non-formatting changes
soonish.
[SVN r56034]
2009-09-05 12:01:30 +00:00
Vladimir Prus
4e9f604284
Add experimental Python port
...
[SVN r55201]
2009-07-27 08:52:41 +00:00
Vladimir Prus
e07fc6e533
If --prefix is specified on command line, ignore bin/lib dir from config file.
...
[SVN r54895]
2009-07-11 15:52:41 +00:00
Vladimir Prus
0448c06c2e
Add support for options with implied values.
...
[SVN r54891]
2009-07-11 14:42:30 +00:00
Vladimir Prus
d0a1d0a7b6
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
0d27c0a518
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
9cd73d1dba
Quote strings containing semicolons
...
[SVN r49709]
2008-11-13 06:44:21 +00:00
Jurko Gospodnetić
8cdc1cb2d9
Minor stylistic changes throughout several Boost Build modules. Added several todo comments.
...
[SVN r48644]
2008-09-07 06:10:32 +00:00
Jurko Gospodnetić
5700535495
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
f4296e4271
Cleanup of BBv2 number utilities to improve performance.
...
[SVN r48628]
2008-09-06 05:09:20 +00:00
Jurko Gospodnetić
78483280a0
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ć
c0f8ab5da0
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ć
cd77b34011
Minor stylistic changes made to the Boost Build util/option.jam module.
...
[SVN r48476]
2008-08-30 16:23:59 +00:00
Jurko Gospodnetić
97e9af5e74
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ć
bb5840547b
Minor stylistic code & comment changes in different Boost Build utility modules.
...
[SVN r47640]
2008-07-20 17:18:03 +00:00
Jurko Gospodnetić
118034a0c6
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ć
24034a4344
Minor stylistic changes in different Boost Build scripts.
...
[SVN r47344]
2008-07-12 11:33:16 +00:00
Jurko Gospodnetić
476f8ec8d6
Minor stylistic Boost Build script changes.
...
[SVN r46939]
2008-07-01 06:19:33 +00:00
Jurko Gospodnetić
f5e8ef7473
Minor stylistic comment change in Boost Build's util/path.jam module.
...
[SVN r46455]
2008-06-17 17:47:48 +00:00
Jurko Gospodnetić
8be0a77922
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ć
cb6a97af1c
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ć
3536ca0702
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ć
c2e96b4454
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ć
34728f57f1
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ć
4c7cb7818f
Minor stylistic Boost Build script changes.
...
[SVN r46254]
2008-06-08 19:41:56 +00:00
Jurko Gospodnetić
79318df0b3
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ć
8688dbc48b
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ć
75b6acbf71
Minor stylistic changes.
...
[SVN r46215]
2008-06-07 16:43:25 +00:00
Jurko Gospodnetić
b2aa0e52d5
Corrected a bug causing abbreviated build folder name caching never getting used.
...
[SVN r46043]
2008-06-02 09:51:15 +00:00
Jurko Gospodnetić
77b87d8edb
Minor stylistic Boost Build Jam script cleanup.
...
[SVN r46042]
2008-06-02 09:49:54 +00:00
Jurko Gospodnetić
7326258cb1
Removed a duplicated test case.
...
[SVN r45167]
2008-05-06 09:33:53 +00:00
Jurko Gospodnetić
2871e44c9c
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ć
ddc382175e
Minor stylistic changes.
...
[SVN r45120]
2008-05-04 23:55:56 +00:00
Jurko Gospodnetić
f534024af8
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ć
137ba701bf
Minor stylistic comment change.
...
[SVN r45102]
2008-05-04 01:58:58 +00:00
Jurko Gospodnetić
49370bb57d
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ć
a98f0c68ac
Upgraded some internal Boost Build tests. Minor stylistic changes.
...
[SVN r45095]
2008-05-03 23:27:00 +00:00
Jurko Gospodnetić
64f00b1fa4
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ć
42c2a9072b
Boost Build comment typo corrections and minor stylistic changes.
...
[SVN r44975]
2008-05-01 15:09:58 +00:00
Jurko Gospodnetić
d0500b0c74
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ć
11d412ca48
Minor stylistic spacing changes. Remove trailing spaces.
...
[SVN r43044]
2008-02-01 00:44:23 +00:00
Jurko Gospodnetić
88de778116
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ć
70e3fd6d79
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ć
9fd081ba76
Minor stylistic comment changes. Removed trailing spaces.
...
[SVN r42801]
2008-01-15 21:13:52 +00:00
Jurko Gospodnetić
d96735566f
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ć
dafd4d0cc7
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ć
566cbb772f
Stylistic comment changes & typo corrections.
...
[SVN r42485]
2008-01-05 17:46:45 +00:00
Jurko Gospodnetić
15da5cdfba
Updated Boost.Jam command line option texts. Minor stylistic changes.
...
[SVN r42479]
2008-01-05 16:53:03 +00:00
Vladimir Prus
7cb84d0739
Fix typos.
...
Patch from Jurko Gospodnetic
[SVN r42296]
2007-12-25 09:25:25 +00:00