Steven Watanabe
518bc4a1a1
Handle cases in path.relative-to where it is impossible to find a relative path. Returns an absolute path when possible, otherwise causes a hard error.
2018-12-13 16:14:38 -07:00
luzpaz
a2b8731d2a
build: misc.typos ( #341 )
...
* build: misc.typos
Found via `codespell -q 3 --skip="./src/engine/boehm_gc" -L te,iff`
* Revert 3rdParty code changes
2018-09-26 09:54:06 -07:00
Steven Watanabe
0d0c656c11
Quote or escape special characters in all modules.
2018-02-20 09:30:41 -07:00
Steven Watanabe
c8e35ddb09
Fix named parameters when some trailing parameters are blank.
2018-02-07 10:17:50 -07:00
Steven Watanabe
0d5e76ebf2
Upgrade the scanner to handle whitespace more intelligently
...
* The new scanner is currently disabled and only issues a warning
for tokens that would be lexed differently.
* Special case a few common uses of ':', to limit breakage to
a manageable level.
* Remove the horribly outdated Jambase code inherited from Perforce Jam
* Update all of Boost.Build to work in the presence of the new lexer.
2018-01-31 14:08:36 -07:00
Steven Watanabe
7c2de26d1b
Fix doc for classes.
2018-01-18 15:53:59 -07:00
Steven Watanabe
00c540cbf0
Only print specific docs for args that are documented.
2018-01-18 12:38:41 -07:00
Steven Watanabe
fe432547dc
Parse multiline comments.
2018-01-18 11:31:44 -07:00
Steven Watanabe
ac8ba7d5e6
Make doc parsing resilient against different line endings.
2018-01-18 10:34:04 -07:00
Steven Watanabe
9f481220c1
Allow named parameters in main target rules. Only implemented for the builtin type-based rules and testing rules.
2018-01-16 15:39:59 -07:00
Steven Watanabe
a3caa57af3
Clean up library modules. feature.get-values is nicer than property.select + G=.
2018-01-04 12:37:32 -07:00
Steven Watanabe
12decb3ce6
Rewrite gcc to use toolset.flags again.
2018-01-01 12:51:43 -07:00
Rene Rivera
b947347d6c
Fix incorrect reading of path env variables.
...
This fixes a bug introduced by handling of case-insensitive env vars.
For path env variables b2 will automatically split them and hence they
need to be read individually to see if they have a value. Instead of all
at once and picking the first value.
2017-09-06 09:11:02 -05:00
Rene Rivera
9821622630
Partiallly address case-insentive assumptions for env vars.
...
There are some programs on some operating system that assume env vars
can be freely dealt with in a case-insensite manner. For example Python
on Windows will upper-case env vars when importing them. And transmit
that upper-case down the process chain. Which causes problems when b2 is
called from such programs in that b2 assumes the environment is not
going to mutate variable names. This partially addresses the issue by
also checking if an env variable is defined as lower or upper case. But
only if access through the os.environ rule.
2017-09-05 12:48:55 -05:00
Brian Kuhl
c6dca91367
Add basic support to build and test VxWorks with b2 jam files
...
( requires special handling of shared library paths in a cross build enviorment)
2017-08-16 11:13:33 -04:00
Steven Watanabe
27ec3bf2d8
Add documentation and test error conditions.
2017-03-09 12:16:30 -07:00
Aaron Boman
a77502735e
Fix configuration test.
2016-10-27 20:22:03 -05:00
Aaron Boman
42ffca9c1c
Optimize replace_grist() and forward_slashes().
2016-10-27 20:22:01 -05:00
Aaron Boman
e3b93cffcb
Optimize set.difference().
2016-10-27 20:22:01 -05:00
Aaron Boman
88f567f2ff
Prevent backreferences from breaking regex.transform().
2016-10-27 20:21:59 -05:00
Aaron Boman
a56aca9212
Fix path.glob().
2016-10-27 20:21:59 -05:00
Aaron Boman
2591785b6e
Replace '.has_key()' with 'in'.
2016-09-30 20:37:05 +01:00
Artur Shepilko
c1de12e683
Add toolset vmsdecc for HP DECC/C++ on VMS.
2015-10-24 12:21:33 -05:00
Curt Moore
04c2c48ea1
Whitespace cleanup.
2015-09-17 10:24:07 +03:00
Aaron Boman
b04bfcf171
Add type checking to help ease porting.
...
- Adds python optimization by default with a "-z" disable flag.
- Add type checking to bjam_signature and type checking asserts.
- Fix a type assertion in testing.
2015-09-17 09:54:46 +03:00
Takeshi Abe
141801e33e
Typo: supress -> suppress
2015-04-01 12:37:18 +03:00
Steven Watanabe
30d35ce80d
Make order stable. This restores the old behavior of printing includes in alphabetical order. When I added the topological sort for includes, it caused directories with no constraints to be printed in reverse alphabetical order under some circumstances. This broke existing users who relied on the original order. While I believe that users should not depend on any order for include directories that is not explicitly stated, I'd rather not gratuitously break such uses. This is especially true since explicitly ordered includes only worked in the simplest cases prior to my topological sort patch.
2015-02-28 14:16:34 -07:00
Jessica Hamilton
7f0d33a7b0
haiku: platform support
2014-11-25 09:13:21 +03:00
Aaron Boman
64d0521572
Add support for abbreviated paths.
2014-11-06 09:47:46 +03:00
Vladimir Prus
f00db15346
Merge pull request #33 from frenchtoast747/features/bug-fixes
...
Python Port: Bug fixes
2014-09-08 16:10:20 +04:00
Aaron Boman
abbc562e4b
Port asm.set_asm_type()
2014-09-04 13:22:53 -05:00
Aaron Boman
bbd5539a26
Port regex.replace() and regex.replace_list().
2014-09-04 13:00:34 -05:00
Aaron Boman
add7ede516
Port path.reverse().
2014-09-04 13:00:27 -05:00
Aaron Boman
f4eeca53ed
Prevent errors for double path separtors in PATH.
2014-09-04 10:50:40 -05:00
Aaron Boman
2d6b5bbc64
Support additional modules with options documentation.
2014-08-14 17:17:27 +04:00
Steven Watanabe
a4f10b52a9
Don't go into an infinte loop if the braces aren't matched. (Either because of a syntax error, or because our parser is to simplistic.)
2014-04-10 11:19:46 -07:00
Steven Watanabe
350b050467
Add documentation of the sequence module.
2014-03-11 20:08:22 -07:00
Steven Watanabe
2a75a35f2e
Implement sequence.transform as a native rule.
...
[SVN r83855]
2013-04-11 22:55:25 +00:00
Steven Watanabe
0c465d9dad
Fix unit-tests.
...
[SVN r83852]
2013-04-11 22:24:03 +00:00
Steven Watanabe
1a96515ded
Optimize path.native
...
[SVN r83850]
2013-04-11 21:22:24 +00:00
Steven Watanabe
f72b3ad06b
Implement native_rules for regex.split and regex.replace.
...
[SVN r83816]
2013-04-08 19:43:36 +00:00
Steven Watanabe
34f34e5436
Implement caching for configuration checks.
...
[SVN r83781]
2013-04-06 21:40:55 +00:00
Jürgen Hunold
df5e3c4342
change bjam to b2 for user visible output
...
[SVN r83578]
2013-03-26 10:19:07 +00:00
Steven Watanabe
3aebb6b5da
Add documentation of --hash to b2 --help-options. Refs #7533 .
...
[SVN r81017]
2012-10-19 17:44:14 +00:00
Jurko Gospodnetić
9eadd97baf
Boost Build cleanup - upgraded some functions taking a 'variable number of parameters' no lon longer be limited to 9 parameters and take 19 instead (max supported by the current Boost Jam implementation), minor stylistic changes.
...
[SVN r80329]
2012-08-31 12:02:18 +00:00
Jurko Gospodnetić
dae20b3dbe
Boost Build cleanup - removed support for Boost Jam versions prior to version 3.1.17 in the util/path.jam module. The backward compatibility code was ugly and compatibility with such versions has already been broken in other places (not to mention that such old versions have known defects and should not be used anywhere in the first place, and even if they are, they should be used with their corresponding old Boost Build version).
...
[SVN r80023]
2012-08-14 05:03:49 +00:00
Jurko Gospodnetić
ab38f2c841
Boost Build cleanup - made the util/path.jam module load errors.jam only when needed.
...
[SVN r80022]
2012-08-14 04:58:21 +00:00
Jurko Gospodnetić
7d613bbf8c
Boost Build cleanup - minor stylistic changes.
...
[SVN r80005]
2012-08-13 14:35:56 +00:00
Jurko Gospodnetić
2407c91d4b
Boost Build cleanup - minor stylistic changes.
...
[SVN r79924]
2012-08-08 15:49:33 +00:00
Jurko Gospodnetić
53d4c9d5b9
Boost Build cleanup - minor stylistic changes.
...
[SVN r79734]
2012-07-25 05:36:38 +00:00