Rene Rivera
c7c1d19e61
Fix popen redef error and remove old mingw as it doesn't have popen.
2019-03-25 23:18:13 -05:00
Rene Rivera
e50286fe49
Fix mingw using posix instead of windows api for popen.
2019-03-25 22:16:37 -05:00
Rene Rivera
a74bde9260
Implement python option for clang & gcc.
2018-11-11 12:54:44 -06:00
Rene Rivera
de23ca928f
Compile fixes for Windows (msvc).
2018-10-22 22:15:06 -05:00
Rene Rivera
698aac70d5
Minimal changes to compile with C++.
...
These are some minimal changes to compile with C++. Here begins
the road to rewriting the bjam engine in C++. So far this is only built
and tested with XCode clang on OSX.
2018-10-20 17:36:10 -05: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
Edward Diener
c6b219507a
Merge branch 'vmrob-fix-eol-stripping' into develop
2017-05-08 23:00:14 -04:00
Victor Robertson
851c19fa6b
Fix strip-eol for long command output
...
Previously, when shell command output exceeded the 1024 character
buffer size, each chunk of output would be stripped. This had the
undesirable effect of sometimes breaking compilation by splitting on
whitespace boundaries. This patch addresses the issue by providing a
string_rtrim function and utilizing the function on the output string
instead of each buffered component.
2016-11-04 16:30:44 -07:00
Steven Watanabe
e9db80896f
Merge remote-tracking branch 'origin/develop' into debug
...
Conflicts:
src/engine/builtins.c
src/engine/builtins.h
src/engine/function.c
src/engine/jam.c
2016-02-19 12:02:22 -07:00
Vladimir Prus
4a5cf7f909
OpenVMS support.
...
See https://github.com/boostorg/build/pull/100
2015-12-14 02:46:44 -05:00
Aaron Boman
55593971a8
Provide error message and stacktrace with bad parameter to bjam.call()
2015-12-14 02:15:32 -05:00
Artur Shepilko
63021f6d64
Add GLOB_ARCHIVE builtin.
2015-10-24 12:21:31 -05:00
Artur Shepilko
c696419e2a
Add bootstrap on VMS, use POSIX-style path handling.
2015-10-24 12:21:31 -05:00
Artur Shepilko
4cf86b31ca
Exit program with a consistent error status.
2015-10-24 12:21:30 -05:00
Artur Shepilko
04553d1ed4
Add missing defines to enable bootstrapping with vc8 toolset.
2015-09-03 14:16:29 +03:00
Vladimir Prus
688607d5db
Split bjam_call into smaller functions.
2015-08-19 11:13:51 +03:00
Rene Rivera
5f22da72aa
Reporpous "-o" option to mirror all BB output to the specified file.
...
Useful for script control and for users to obtain a log in an easier
cross-platform manner.
2015-04-10 09:07:56 -05:00
Steven Watanabe
3721fec260
Initial implementation of a debugger for Jam.
...
The interface is a subset of gdb.
TODO:
* Put this behind flag, so it's possible to run b2 without the debugger.
Perhaps -db?
* Keep a command history and allow it to be accessed.
* Abbreviate long arguments in the backtrace, and wrap
long lines better.
* Implement more commands. I'm thinking of watch, condition, and ignore in
particular.
* Test the runtime cost. If it doesn't have any noticable penalty
when it's off, then it's safe to integrate this functionality
into the primary b2 executable.
* Write documentation.
* IDE integration. I'm hoping that I can hijack gdb support for any
editor that has built in support for gdb.
2015-03-21 17:21:36 -06: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
Steven Watanabe
702d40baf9
Fix build with MinGW. Fixes #9301 .
2014-04-03 09:00:19 -07:00
Steven Watanabe
7f8aac5d5e
Add support for junctions on Windows
2014-02-06 14:54:40 -08:00
Steven Watanabe
df2b34d63c
Initial supprort for creating symlinks in the git layout.
...
[SVN r84524]
2013-05-27 00:02:43 +00:00
Vladimir Prus
956bfb8dd6
Unreak compilation with Python support.
...
[SVN r84083]
2013-04-29 11:00:25 +00:00
Steven Watanabe
24e81a0202
Don't create a separate timestamp table. The file table already contains everything we need.
...
[SVN r83888]
2013-04-13 23:09:57 +00:00
Steven Watanabe
94de4748d9
Don't reset -q after calling UPDATE_NOW with ignore-minus-n
...
[SVN r83629]
2013-03-29 15:41:19 +00:00
Jurko Gospodnetić
cc67036dab
Internal Boost Jam pwd.c module cleanup - module renamed to cwd.c, refactored to initialize the current working folder at program startup and exit if this operation fails instead of attempting to plow on with an empty current working folder, the internal cwd() operation now returns an OBJECT instead of a LIST pointer so it would be more generic and not specialized just for the PWD builtin rule implementation.
...
[SVN r80373]
2012-09-03 14:31:46 +00:00
Jurko Gospodnetić
243b18b105
Boost Jam cleanup - minor stylistic changes.
...
[SVN r80031]
2012-08-14 12:56:10 +00:00
Jurko Gospodnetić
fde452f38f
Boost Jam cleanup - minor stylistic changes.
...
[SVN r79673]
2012-07-22 15:43:04 +00:00
Jurko Gospodnetić
35f4195ec7
Boost Jam cleanup - cleaned up some header includes, minor stylistic changes.
...
[SVN r79672]
2012-07-22 14:53:50 +00:00
Jurko Gospodnetić
89f740660f
Boost Jam/Build code cleanup - minor stylistic changes.
...
[SVN r79620]
2012-07-20 14:20:55 +00:00
Jurko Gospodnetić
681b6609af
Boost Jam code cleanup - minor stylistic changes (added missing spaces around some parameters inside brackets in C code).
...
[SVN r79587]
2012-07-18 15:06:44 +00:00
Jurko Gospodnetić
58beabb9dc
Boost Jam code cleanup - moved code for creating new internal include targets into a single location (rules.c module) instead of having it done in two (rules.c & builtins.c modules).
...
[SVN r79584]
2012-07-18 14:24:19 +00:00
Jurko Gospodnetić
c16ae1c68a
Boost Jam/Build cleanup - minor stylistic changes (comment updates; line wrapping; removed some dead/unused function declarations, parameters & code; declared variables as const; reordered some #include directives alphabetically, removed some unnecessary ones and added several missing ones discovered by the reordering).
...
[SVN r79569]
2012-07-17 08:56:49 +00:00
Jurko Gospodnetić
3736a64fd6
Boost Jam code cleanup - wrapped up timestamp values inside a timstamp structure instead of using a raw time_t value as another preparation step towards implementing support for timestamps with resolution finer than 1 second. All timestamp manipulation now done using the new timestamp_XXX() API.
...
File timestamps displayed with -d+3 debug output now presented in UTC (+0000) timezone.
Other related minor stylistic changes:
- timestamp_from_target() renamed to timestamp_from_path()
- timestamp_from_target() parameter order switched
- comment updates
- added some const function parameter modifiers
- some header #include directives reordered alphabetically
[SVN r79501]
2012-07-14 16:11:16 +00:00
Jurko Gospodnetić
0a656de095
Boost Jam code cleanup - cleaned up the timestamp.c module identifiers and better commented its functions.
...
[SVN r79489]
2012-07-13 23:14:40 +00:00
Jurko Gospodnetić
fb8fb8317e
Boost Jam code cleanup - minor stylistic code changes & comment updates.
...
[SVN r79488]
2012-07-13 23:11:45 +00:00
Jurko Gospodnetić
ed56af5717
Restoring Boost Build & Jam changes from revisions [79281 - 79310] (inclusive) previously temporarily reverted in revision [79321]. This is done to test whether the problem causing the original revert was introduced in revision [79311] (a bug has been found in that revision that could cause the observed Boost Jam crashes). Remaining reverted changes will be reverted if we do not detect any Boost library tester failures with this revision.
...
[SVN r79402]
2012-07-10 15:27:58 +00:00
Jurko Gospodnetić
0b503c35bd
Reverting all Boost Build & Jam changes back to revision [79279] in order to get the Boost library trunk tests back up & running again. Something after that revision seems to have introduced a problem in the non-Windows Boost Jam implementation causing crashes, truncated output and similar undefined behaviour. That problem needs to be addressed before re-adding all the later changes.
...
[SVN r79321]
2012-07-07 09:02:33 +00:00
Jurko Gospodnetić
d3b327e22c
Boost Jam code cleanup - removed unused variables and unnecessary variable setting, added some more description comments, minor stylistic changes.
...
[SVN r79307]
2012-07-06 01:26:03 +00:00
Jurko Gospodnetić
d26a70ac3e
Boost Jam cleanup - minor stylistic changes.
...
[SVN r79255]
2012-07-04 09:04:29 +00:00
Jurko Gospodnetić
3575868660
Boost Jam cleanup - touched up error messages displayed when a rule can not be found, removed trailing dot from the displayed module name in error messages displayed when requesting a non-existing rule in import or export builtin rules & removed related code duplication between builtins.c & compile.c modules.
...
[SVN r79254]
2012-07-04 09:02:28 +00:00
Jurko Gospodnetić
1791d078cc
Boost Build/Jam cleanup - stylistic code changes.
...
[SVN r79244]
2012-07-03 15:58:26 +00:00
Jurko Gospodnetić
3f05f021da
Fixed a bug in Boost Jam's UPDATE_NOW builtin rule causing it to disable the -q option when requested to disable the -n option. This was also causing the -q option to be permanently disabled when requested to disable both -q & -n options.
...
[SVN r79084]
2012-06-25 15:34:17 +00:00
Jurko Gospodnetić
85219521b8
Boost Jam code cleanup - minor stylistic builtins.c module changes.
...
[SVN r79083]
2012-06-25 15:27:38 +00:00
Jurko Gospodnetić
564fda1ae6
Updated the SPLIT_BY_CHARACTERS builtin rule signature so invalid calls get rejected with a correct error message instead of silently causing the rule to return an empty list.
...
[SVN r78608]
2012-05-25 10:16:36 +00:00
Jurko Gospodnetić
0c65651300
Minor stylistic change - trimmed trailing whitespace.
...
[SVN r78576]
2012-05-24 09:56:23 +00:00
Jurko Gospodnetić
0b1a787f20
Fixed Boost Jam crash when the SPLIT_BY_CHARACTERS rule gets passed an empty list as any of its arguments.
...
[SVN r78575]
2012-05-24 09:53:24 +00:00
Steven Watanabe
64add142e1
Replace ad hoc (incorrect) cycle detection code with a variation of Tarjan's algorithm.
...
[SVN r78287]
2012-05-01 06:45:35 +00:00
Steven Watanabe
8db046a1f4
Make list_new take one argument. Rename the two argument form to list_push_back.
...
[SVN r77522]
2012-03-24 23:03:10 +00:00
Steven Watanabe
161a3c9462
Remove argument_list. It's unused.
...
[SVN r77521]
2012-03-24 22:15:42 +00:00