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

546 Commits

Author SHA1 Message Date
Rene Rivera
0be5e56d68 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
01273f0738 Documented project-test3.
[SVN r14371]
2002-07-09 15:05:06 +00:00
Vladimir Prus
798abcef16 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
a037d957c6 Bugfix.
* bootstrap.jam: Don't process $(ARGV[1]).


[SVN r14365]
2002-07-09 09:10:55 +00:00
Vladimir Prus
c9e01dd049 Removed obsolete test system and tests.
[SVN r14364]
2002-07-09 09:05:59 +00:00
Vladimir Prus
d2a25c1a57 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
27268e2ba7 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
d7ec3eeda0 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
ed30bfc6c8 Comment tweak.
[SVN r14360]
2002-07-09 07:35:39 +00:00
Rene Rivera
cc1fce9691 Added --help command line option.
[SVN r14359]
2002-07-09 06:15:40 +00:00
Vladimir Prus
da302f2a46 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
243d78a4b0 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
5d0c2e56ea Beginnings of a user manual.
[SVN r14346]
2002-07-08 11:12:32 +00:00
Vladimir Prus
53150ba4b7 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
d108c7d3d3 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
5c02cc13dc Add "--dump-project" command line option.
[SVN r14340]
2002-07-08 09:50:43 +00:00
Vladimir Prus
eeeb69680e 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
bceebcf3a1 Bugfix in 'property.refine'.
[SVN r14338]
2002-07-08 09:34:01 +00:00
Vladimir Prus
d17b0bfea5 Restore project_test2.py to life again.
[SVN r14337]
2002-07-08 09:30:19 +00:00
Rene Rivera
2390d3c642 Most of the parsing is done, and generating docs. Minimally usefull as inline help.
[SVN r14334]
2002-07-08 06:40:46 +00:00
Beman Dawes
39a68de4a9 fix "failed above ..." message before output instead of after
[SVN r14317]
2002-07-05 20:35:36 +00:00
Dave Abrahams
1b355b296c incorporate defaults into build-request.expand
[SVN r14311]
2002-07-05 16:17:12 +00:00
Vladimir Prus
6c444b6022 Added developer guidelines.
[SVN r14310]
2002-07-05 16:08:03 +00:00
Dave Abrahams
6ee8eb2877 simplification; should cut down on the number of immortal strings created
[SVN r14309]
2002-07-05 15:43:53 +00:00
Vladimir Prus
0bfc1049ee 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
3989a698e0 add-defaults
[SVN r14306]
2002-07-05 14:21:35 +00:00
Vladimir Prus
69126c8826 Eliminated several minor leaks.
[SVN r14305]
2002-07-05 10:41:53 +00:00
Vladimir Prus
3555e628b5 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
29af4a572f Added new hcache.h/c files so that RPM building works.
[SVN r14303]
2002-07-04 17:54:54 +00:00
Dave Abrahams
22412c04ac Fix comments
[SVN r14302]
2002-07-04 15:43:02 +00:00
Dave Abrahams
69401dc28c Add immortal string block allocator
[SVN r14301]
2002-07-04 15:31:52 +00:00
Dave Abrahams
9aaf5bb4fa Clean up insignificant leak
[SVN r14300]
2002-07-04 15:31:23 +00:00
Dave Abrahams
ce547061e2 Not sure why, but this is out-of-sync with HEAD
[SVN r14299]
2002-07-04 14:09:12 +00:00
Dave Abrahams
9d1fd673d2 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
b864434ac9 Change container/list to container/vector.
Added documentation for container/vector.


[SVN r14293]
2002-07-03 17:18:57 +00:00
Vladimir Prus
e5327b70c5 Removed unused file.
[SVN r14292]
2002-07-03 16:03:12 +00:00
Vladimir Prus
add9e9c3d8 Load site-config/user-config. This closes issue 552870.
[SVN r14290]
2002-07-03 15:34:50 +00:00
Vladimir Prus
3bc5f6b0db 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
6476a6b12a Fixed a memory leak.
[SVN r14288]
2002-07-03 13:41:25 +00:00
Rene Rivera
598cd6c5f0 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
9b2e0e8beb Unbreak project_test2.
[SVN r14284]
2002-07-02 15:07:43 +00:00
Vladimir Prus
65920dfb95 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
c9c1a714d4 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
ea18519ec7 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
Vladimir Prus
eb2d01be19 Fix typo in the previous commit.
[SVN r14276]
2002-07-02 11:41:17 +00:00
Vladimir Prus
804f00a488 Made project_test3 work on windows.
[SVN r14275]
2002-07-02 11:37:54 +00:00
Vladimir Prus
a607cd9ece Test system improvements w.r.t. file content matching.
* test/BoostBuild.py (Tester.read_and_strip, Tester.expect_content):
        New methods.
    * test/test_system.html: Document the above methods.


[SVN r14274]
2002-07-02 10:34:43 +00:00
Dave Abrahams
3392742d1e improved property.as-path
[SVN r14269]
2002-07-01 20:05:37 +00:00
Dave Abrahams
ecdf182cce list implementation
[SVN r14261]
2002-06-29 19:24:11 +00:00
Vladimir Prus
84f07a626c Integrated Perforce change 1522: InstallInto now handle multiple files.
[SVN r14258]
2002-06-28 10:33:26 +00:00