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

65 Commits

Author SHA1 Message Date
Steven Watanabe
888393c652 Merge Python function support into function.c
[SVN r77518]
2012-03-24 21:07:49 +00:00
Steven Watanabe
0b3b574817 Start cleaning up the arg_list hacks. Make the argument list part of the function instead of part of the rule. Don't var expand formal arguments.
[SVN r77515]
2012-03-24 18:53:21 +00:00
Steven Watanabe
5eec7d95fe Optimize variable lookup to bypass hash for constant variable names.
[SVN r77491]
2012-03-22 23:26:48 +00:00
Steven Watanabe
60d66ca888 Use dynamic arrays instead of linked lists. Reduces memory use about 10% overall.
[SVN r77408]
2012-03-19 18:17:36 +00:00
Steven Watanabe
0ec332fea3 Fix alias violations in hash.
[SVN r77190]
2012-03-03 21:46:53 +00:00
Steven Watanabe
0d7465befd Remove out of date comment.
[SVN r75930]
2011-12-13 00:11:10 +00:00
Steven Watanabe
ce2ca5e4f1 Restore the original BACKTRACE behavior that I inadvertently changed.
[SVN r75929]
2011-12-13 00:03:38 +00:00
Steven Watanabe
77f10e6561 Clean up the evil 'variables of the running module are swapped with the global variable table' hack.
[SVN r75912]
2011-12-12 02:02:20 +00:00
Steven Watanabe
1f5b86dac0 Replace all calls to object_new with a literal with constants.
[SVN r75890]
2011-12-11 05:11:26 +00:00
Steven Watanabe
e129c3c82e Eliminate the last uses of var_expand and remove it.
[SVN r75889]
2011-12-11 01:55:33 +00:00
Steven Watanabe
477b42b47d Remove the trailing '.' from the module name.
[SVN r75762]
2011-12-01 18:07:14 +00:00
Steven Watanabe
da9410adc1 Reimplement the interpreter.
[SVN r75736]
2011-11-30 00:00:35 +00:00
Steven Watanabe
ea1a2928d2 Replace newstr with object. Use OBJECT * instead of char *. Fix a few bugs uncovered by the better typechecking.
[SVN r75609]
2011-11-22 23:04:09 +00:00
Vladimir Prus
52eb370501 Fix a crash when using bjam.caller.
Patch from Juraj Ivančić


[SVN r75605]
2011-11-22 11:20:42 +00:00
Steven Watanabe
86278a4624 Fix memory leaks. Make sure that newstr and copystr are always used as needed.
[SVN r75502]
2011-11-16 03:00:54 +00:00
Vladimir Prus
7df1f2f4af Kill 'engine/src', moving all content to 'engine'.
[SVN r68592]
2011-02-01 08:16:47 +00:00
Vladimir Prus
0f77dbdae2 Move tools/jam into tools/build/v2/engine
[SVN r64010]
2010-07-14 10:37:12 +00:00
Rene Rivera
1fc9bb7a64 Fix some possible overrun issues revealed by Fortify build. Thanks to Steven Robbins for pointing out the issues. (fixes #2527)
[SVN r49877]
2008-11-23 00:21:21 +00:00
Rene Rivera
f2d1d169b8 Minor edits to remove -Wall warnings. (fixes 2207)
[SVN r48994]
2008-09-29 00:05:22 +00:00
Jurko Gospodnetić
5de4d38337 Stylistic changes throughout the Boost Jam source base done while researching the Boost Jam internals. No implementation changes.
[SVN r48532]
2008-09-02 10:54:08 +00:00
Jurko Gospodnetić
b14209b789 Major stylistic changes throughout the Boost Jam source base. No implementation changes.
Cleanup done while researching the Boost Jam internals. Added better implementation description comments at many places. Cleaned up the 'dependant' and 'dependency' terminology that got mixed up in several places. Renamed several functions to use underscores as word separators.

[SVN r48480]
2008-08-30 23:56:49 +00:00
Jurko Gospodnetić
84c8a57403 Minor stylistic changes throughout Boost Jam sources. Mostly corrected indentation, removed trailing spaces and updated comments.
[SVN r48445]
2008-08-29 12:59:49 +00:00
Jurko Gospodnetić
98ad6fda62 Fixed a Boost Jam bug causing it to sometimes trigger actions depending on targets that have not been built yet. Test case included. Updated related code comments.
Bug was happening when we had a multifile action that got triggered to build its non-initial target. Then while that action was being executed all the other targets were reporting as 'already built' and were getting used by other actions prematurely. Quick-fixed by making all targets built by a single action list each other as 'included' causing anything else depending on any of these targets to automatically depend on all the others in the group as well.

The solution is not perfect as it might have some unexpected interactions with other uses of 'included' targets and now if any target in a group is not up to date then all of them will be rebuilt even if actually did not need the target that was up to date. On the other hand this should be a really rare use case as it would require the one target in a group to be up to date and be needed while another in the same group (i.e. built by the same action) to not be up to date.

[SVN r48426]
2008-08-28 19:20:27 +00:00
Jurko Gospodnetić
3ee59de995 Typo corrections & minor stylistic comment changes.
[SVN r44900]
2008-04-29 22:49:36 +00:00
Vladimir Prus
b34c3d8fa0 Implement ISFILE for real
[SVN r41980]
2007-12-11 19:45:37 +00:00
Vladimir Prus
d5fbab60f8 New Python rule -- 'backtrace'.
[SVN r40497]
2007-10-27 09:55:58 +00:00
Vladimir Prus
1eea3e4103 Fix module messup when calling into Python.
[SVN r39988]
2007-10-13 21:32:51 +00:00
Rene Rivera
8319f76eaa Fix action multi-generation for case when there are no targets for the action.
[SVN r39608]
2007-09-29 18:30:06 +00:00
Rene Rivera
b19a4d5589 Add internal dependencies for multi-file generating actions to indicate that the targets all only appear when the first target appears. (fixes ticket #431)
[SVN r39341]
2007-09-17 08:32:24 +00:00
Rene Rivera
2d0d23dd05 Fix type equivalence warnings, and possible errors.
[SVN r38010]
2007-06-16 21:28:13 +00:00
Rene Rivera
9b500a6778 Apply patch from Yakov Markovitch; [ 1558580 ] jam:"VAR on TARGET ?= values" unconditionally assigns values.
Add corresponding test.


[SVN r35229]
2006-09-20 16:09:19 +00:00
Rene Rivera
f4efe8b540 Cleanup memory allocation calls to use macros defined in new mem.h header. This new header will handle configuration of both memory allocator to use, and memory profiling.
[SVN r35029]
2006-09-07 03:57:02 +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
17fbf80396 Initial Python integration support. Disabled by default, find and
change the setting of HAVE_PYTHON in build.jam to enable it.


[SVN r27559]
2005-03-05 07:59:14 +00:00
Vladimir Prus
2698cc5abb New builtins USER_MODULE and NEAREST_USER_LOCATION. V2 changes and
explanations are coming later.


[SVN r26466]
2004-12-07 10:21:25 +00:00
Rene Rivera
7bec1dd305 Bump version to 3.1.10 for release.
Update copyrights to new Boost License.


[SVN r22987]
2004-06-01 05:42:36 +00:00
Vladimir Prus
528962d877 Refactorings.
* jam_src/compile.c
  (call_rule): New function.

* jam_src/modules/property-set.c
  (property_set_create): Use 'call_rule'.


[SVN r22131]
2004-02-02 11:50:31 +00:00
Rene Rivera
2e852c1b79 Integrate a variety of changes for building on VMS systems, from Johan Nilsson.
- Some missing header includes.
- Some missing function declarations.
- Complete the bootstrap process by calling the jam0 bootstrap to build (build.jam)
- Some minor changes to handle VMS paths (build.jam)
Implement the new LICENSE name into the build/packaging process.
Use new license text where needed.


[SVN r20186]
2003-09-25 18:45:20 +00:00
Vladimir Prus
d16b5709cd Introduce new-style classes. They are declared by 'xclass' and instances
are created by 'xnew'. Those names will be changed when all classes are
migrated.


[SVN r19423]
2003-08-04 09:01:54 +00:00
Toon Knapen
d3bed59788 port to sunpro
[SVN r19022]
2003-07-10 12:09:28 +00:00
Vladimir Prus
2e532793ae Change handling of generated headers to use the idea of
Matt Armstrong, from jamming mailing list.

* new/search.h
  (search): Add a new parameter 'another_target', which returns
  the name of a target already bound to the same location via LOCATE.

* new/search.c
  (search): Ajust the search algorithm to check for targets bound to searched
  directories.


[SVN r18887]
2003-06-30 14:10:04 +00:00
Dave Abrahams
2da99c1a86 Fixed scoping of invocations to typechecking rules. They weren't being
executed in the right module.


[SVN r18425]
2003-05-16 15:51:08 +00:00
Dave Abrahams
91f796fa72 * builtins.c/h, modules.c/h - Added VARNAMES and DELETE_MODULE rules,
for getting the list of variable names and for clearing all rule and
  variable storage.

* compile.c - better error reporting for unknown rules; now it is a
  hard error.

* hash.c/h - added hash_free to allow removal of elements from a hash

* rule.c/h - implemented rule freeing; stopped exporting rules to the
  global module by default.

* variable.c - reclaim variable storage when disposing of variable
  hash.

* build.jam - make grammar building work under NT


[SVN r18405]
2003-05-15 20:53:16 +00:00
Dave Abrahams
f2c14abcdd Type checking for argument lists
[SVN r18378]
2003-05-10 15:03:54 +00:00
Vladimir Prus
88c8b27ba9 Fix debugging output.
[SVN r17521]
2003-02-19 08:00:53 +00:00
Vladimir Prus
6e1f693904 Remove redundant line.
[SVN r16360]
2002-11-21 12:28:24 +00:00
Dave Abrahams
82e6654f3a Really fix broken debug output.
[SVN r16202]
2002-11-11 23:32:42 +00:00
Dave Abrahams
24454ec418 Fix broken debug output.
[SVN r16120]
2002-11-05 18:40:26 +00:00
Dave Abrahams
741ea8f345 Fix -d+5 output
[SVN r15997]
2002-10-28 04:06:06 +00:00
Dave Abrahams
9a5f0a5194 Suppress warning
[SVN r15535]
2002-09-28 08:03:19 +00:00