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

277 Commits

Author SHA1 Message Date
Dave Abrahams
f5663382cb tru64cxx6.5 fixes
[SVN r14421]
2002-07-12 14:32:20 +00:00
Vladimir Prus
8e64eb262d Deleted project_test2 and moved the interesting tests from it to project_test4.
[SVN r14404]
2002-07-11 10:01:53 +00:00
Vladimir Prus
8ccb3666b2 Renamed the 'subproject' rule to 'build-project' in UI.
[SVN r14403]
2002-07-11 09:41:29 +00:00
Vladimir Prus
77c5930fc8 Recover project_test3 to life.
[SVN r14399]
2002-07-10 16:27:25 +00:00
Vladimir Prus
8c70c8b287 Work on issue 577833: Finish target paths.
* new/targets.jam (main-target.generate) Add extra path component to
        virtual target which free properties are not equal to project's.
        (basic-target.generate): Pass refined properties to 'construct'.
        (virtual-target.extra-path): New rule.
        (virtual-target.actualize): Make use of extra path.
    * new/property.jam (take-free): New rule.


[SVN r14396]
2002-07-10 16:05:15 +00:00
Vladimir Prus
6813d7ce77 Changed reporting of unability to satisfy a build request.
* new/target.jam (main-target.generate): Give a more detailed error
        message when no alternative is found. (basic-target.generate):
        Don't exit with error when requirements can't be satisfied. Just
        return an error string.


[SVN r14393]
2002-07-10 09:06:24 +00:00
Vladimir Prus
47f95f3528 Forgotten file.
[SVN r14392]
2002-07-10 08:43:11 +00:00
Vladimir Prus
52a21fa88c Implemented main target alternative selection.
* new/targets.jam (main-target.generate): Select the alternative
         based on the list of non-free requirements.
     * new/property.jam (remove-free): New rule, removes free property from
         a property set.


[SVN r14391]
2002-07-10 08:37:31 +00:00
Vladimir Prus
d099c061b8 Bugfix.
[SVN r14390]
2002-07-10 07:31:57 +00:00
Vladimir Prus
64d934d4a0 Test system tweaks.
* test/TestCmd.py: Cause the names of preserved directories to be
        printed.
    * test/test_system.html: Document "PRESERVE*" environmental variables
       and "pass_test"/"fail_test" methods.


[SVN r14389]
2002-07-10 07:31:24 +00:00
Vladimir Prus
ffa86d5a91 Work around the fact that our tests change the current directory.
[SVN r14375]
2002-07-09 16:01:34 +00:00
Vladimir Prus
b0c9980865 Specifying target properties in target references now actually work.
* new/targets.jam (basic-target.generate-source): Fix regex.
    * test/project_test4.py: New test.


[SVN r14374]
2002-07-09 15:57:21 +00:00
Rene Rivera
247dcb5388 Fixed hang when encountering "}" followed by whitespace in a rule.
Added --help-enable=debug to print out parsing trace.


[SVN r14373]
2002-07-09 15:22:12 +00:00
Vladimir Prus
f3ec2d31dc Documented project-test3.
[SVN r14371]
2002-07-09 15:05:06 +00:00
Vladimir Prus
ac3d613184 Allow to use implicit features in some places.
* new/property.jam (make): New rule, constructs property set from
        what the user gives. Handles implicit features.
    * new/project.jam, new/targets.jam: Use 'property.make'.


[SVN r14370]
2002-07-09 15:03:04 +00:00
Vladimir Prus
028fbc5951 Removed obsolete test system and tests.
[SVN r14364]
2002-07-09 09:05:59 +00:00
Vladimir Prus
56da200494 Merge from feature_branch-update_rule (state 1).
* jam_src/Jamfile, jam_src/boost-jam.spec, jam_src/patchlevel.h:
          Updated version number to 3.1.1.
      * jam_src/jam.c: Made JAM_VERSION three-element string.
      * bootstrap.jam: When JAM_VERSION is 3.1.1 or more, call UPDATE
          explicitly on all non-option element in the command line.


[SVN r14363]
2002-07-09 08:58:29 +00:00
Vladimir Prus
9384457f08 Work on the issue 578618. Moved all the data out of jamfile modules.
* new/project.jam (project-attributes): New class to keep all the
        project related data. (attritutes, attribute): New rules to access
        the project attributes. (target): New rule to access the project
        target for a jamfile module.
        (initialize): Store attribute in project-attributes instance.
        (project): Moved to jamfile module.
        (assign-option): Moved with modifications to project-attributes.get.
    * new/targets.jam, new/project-root.jam, new/make.jam,
      new/build-system.jam: Induced changes.


[SVN r14362]
2002-07-09 07:56:51 +00:00
Rene Rivera
b7879aa57a Removed some dead code.
Cleaned up some of the formatting.
Added --help-option=detailed, to print detailed docs as part of the summary docs.


[SVN r14361]
2002-07-09 07:49:55 +00:00
Vladimir Prus
2de0f82ecb Comment tweak.
[SVN r14360]
2002-07-09 07:35:39 +00:00
Rene Rivera
6eed93396c Added --help command line option.
[SVN r14359]
2002-07-09 06:15:40 +00:00
Vladimir Prus
a1090a5c2c Docs update.
* boost_build_v2.html: Document the 'use-project' rule, main target and
        target id/references.


[SVN r14351]
2002-07-08 15:54:05 +00:00
Vladimir Prus
ffd68201df Test that targets from projects with different project roots can be used
together.


[SVN r14349]
2002-07-08 11:35:17 +00:00
Vladimir Prus
e1146755be Beginnings of a user manual.
[SVN r14346]
2002-07-08 11:12:32 +00:00
Vladimir Prus
0e7be98dea Cleanups.
* new/targets.jam: (main-target.alternatives): Renamed from
      'main-target.variants'. Comment improvements.


[SVN r14342]
2002-07-08 10:38:54 +00:00
Vladimir Prus
e76db483d1 Using targets from other projects implemented.
* new/project.jam (lookup): Bugfixes. (find-target): Attempt to load
        project specified by project id.
        Project module rules:
            project: Allow empty id.
            use-project: New rule.
    * new/targets.jam: (basic-target.generate-source): Correct a bug in
        separating target id from extra properties.


[SVN r14341]
2002-07-08 10:26:57 +00:00
Vladimir Prus
422a479aa8 Some bugfixes and simplifications.
* new/os.path.jam (join-imp): Bugfixes. (all-parents): Simplified.
        (glob-in-parents): New rule.
    * new/project-root.jam (load): Use 'glob-in-parent' instread of
        'find-to-root', so that "project-root.load ." always work.
    * new/project.jam (find-jamfile): Make use of the 'glob-in-parents'
        rule.


[SVN r14339]
2002-07-08 09:49:28 +00:00
Vladimir Prus
95b0c97a2d Bugfix in 'property.refine'.
[SVN r14338]
2002-07-08 09:34:01 +00:00
Vladimir Prus
5c7e8f77a6 Restore project_test2.py to life again.
[SVN r14337]
2002-07-08 09:30:19 +00:00
Rene Rivera
d7217ef1f4 Most of the parsing is done, and generating docs. Minimally usefull as inline help.
[SVN r14334]
2002-07-08 06:40:46 +00:00
Dave Abrahams
78ff6489c6 incorporate defaults into build-request.expand
[SVN r14311]
2002-07-05 16:17:12 +00:00
Vladimir Prus
4e4254f5cb Apply feature defaults when building.
* new/build-request.jam (expand-with-defaults): New rule
    * new/build-system.jam, new/targets.jam: Use 'expand-with-defaults' instead
        of 'expand'.
    * new/builtin.jam: Define new feature 'threading'.
    * test/project_test3.py: Test that feature defaults are applied.


[SVN r14307]
2002-07-05 15:09:28 +00:00
Dave Abrahams
83d0f7c0e3 add-defaults
[SVN r14306]
2002-07-05 14:21:35 +00:00
Vladimir Prus
14237dc18a Eliminated several minor leaks.
[SVN r14305]
2002-07-05 10:41:53 +00:00
Vladimir Prus
f819bcc989 Stronger checks on command-line build request.
* new/property.jam (validate): New rule.
    * new/build-request.jam (convert-command-line-element): Call
        property.validate for each build request element.


[SVN r14304]
2002-07-05 08:54:33 +00:00
Rene Rivera
8e4da42ca8 Added new hcache.h/c files so that RPM building works.
[SVN r14303]
2002-07-04 17:54:54 +00:00
Dave Abrahams
689fc18123 Fix comments
[SVN r14302]
2002-07-04 15:43:02 +00:00
Dave Abrahams
067cf0d0a7 Add immortal string block allocator
[SVN r14301]
2002-07-04 15:31:52 +00:00
Dave Abrahams
9706cfc517 Clean up insignificant leak
[SVN r14300]
2002-07-04 15:31:23 +00:00
Dave Abrahams
f53a2777ab Not sure why, but this is out-of-sync with HEAD
[SVN r14299]
2002-07-04 14:09:12 +00:00
Dave Abrahams
50ad7f49c6 Fixed this memory leak:
==30721== 174984 bytes in 14582 blocks are definitely lost in loss record 20 of 25
==30721==    at 0x40043BDB: malloc (vg_clientfuncs.c:100)
==30721==    by 0x804E02A: addsettings (rules.c:235)
==30721==    by 0x804A2AF: collect_arguments (compile.c:652)
==30721==    by 0x804A759: evaluate_rule (compile.c:864)
==30721==    by 0x804A072: compile_rule (compile.c:563)
==30721==    by 0x804DDBC: parse_evaluate (parse.c:138)
==30721==    by 0x80497FD: compile_append (compile.c:124)


[SVN r14298]
2002-07-04 14:06:21 +00:00
Rene Rivera
940ab66a04 Change container/list to container/vector.
Added documentation for container/vector.


[SVN r14293]
2002-07-03 17:18:57 +00:00
Vladimir Prus
19c340230e Load site-config/user-config. This closes issue 552870.
[SVN r14290]
2002-07-03 15:34:50 +00:00
Vladimir Prus
41c0f72bb5 Make use of container.jam improvements.
* new/build-request.jam (from-command-line): Return list class.
    * new/build-system.jam: Adjust accordingly.


[SVN r14289]
2002-07-03 14:42:43 +00:00
Vladimir Prus
fdf1e57bec Fixed a memory leak.
[SVN r14288]
2002-07-03 13:41:25 +00:00
Rene Rivera
00a8cf0646 Added list.get-at that returns the value of an item, assumes that the item is a node.
Added support for n-recursive access to list.at and list.get-at to make access to recursive structures easier.


[SVN r14285]
2002-07-02 20:39:20 +00:00
Vladimir Prus
b3595b0e70 Unbreak project_test2.
[SVN r14284]
2002-07-02 15:07:43 +00:00
Vladimir Prus
e21fb49bcf Implemented getting build request from the command line.
* new/build-request.jam (from-command-line): New rule.
    * new/build-system.jam: Get build request from the command line,
        expand it and pass to 'generate' rules.
    * new/targets.jam: Use targets's properties when computing path.
    * test/project_test3.py: Test the above changes.


[SVN r14283]
2002-07-02 15:02:04 +00:00
Vladimir Prus
efd007c790 Project root loading tweaks.
* new/project-root.jam (load): Really produce an error message when
        project root file is not found.
    * test/project_test3.py: Test for the error reporting.


[SVN r14280]
2002-07-02 14:14:45 +00:00
Vladimir Prus
e70e392ddd Fix "-q" option, thanks to Markus Scherschanski.
* jam_src/make1.c (make1d): Quickquit in all cases, not only when
        DEBUG_MAKE is set.


[SVN r14277]
2002-07-02 11:53:21 +00:00