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

114 Commits

Author SHA1 Message Date
Vladimir Prus
7798afcd88 Unbreak doc.jam, broken by third argument to header scanning rule.
[SVN r21313]
2003-12-18 05:15:27 +00:00
Vladimir Prus
a2c0c53947 Make 'sequence.select-highest-ranked' native.
[SVN r21217]
2003-12-11 09:02:01 +00:00
Vladimir Prus
74741e6864 Add native version of 'regex.transform'. The rule is used during header
scanning, so should be as fast as possible.


[SVN r21205]
2003-12-10 11:29:09 +00:00
Vladimir Prus
62aeee6f78 The 'path.exists' rule is now native.
[SVN r21201]
2003-12-10 08:27:21 +00:00
Vladimir Prus
ccb28e2feb Minor refactorings.
[SVN r21200]
2003-12-10 08:10:13 +00:00
Vladimir Prus
6a9b3e32b2 * utils/set.jam
(difference): Use native rule.


[SVN r21199]
2003-12-10 07:58:05 +00:00
Vladimir Prus
0e023e35f0 Optimize the numbers module by new CALC builtin.
Patch from Pedro Ferreira.


[SVN r20434]
2003-10-21 06:48:04 +00:00
Vladimir Prus
ab988525ec Grab gcc threading support from V1.
[SVN r20431]
2003-10-21 05:50:33 +00:00
Rene Rivera
77862eab65 Replace license statement with Boost.License.
[SVN r20057]
2003-09-15 00:16:10 +00:00
Vladimir Prus
a93dda7b37 * new/indirect.jam
(make-qualified): Bugfix. When processing gcc.link.dll rule, take 'gcc' as
  module name, not 'gcc.link'. The previous behaviour caused 'gcc.link.dll'
  to be called in context of 'gcc.link' module. As the result the global
  definition of 'gcc.link.dll' was called. That definition is created by jam
  when it sees 'actions gcc.link.dll' and has no executable code associated
  with it. So, rule 'gcc.link.dll' was never executed.


[SVN r20009]
2003-09-11 06:38:39 +00:00
Vladimir Prus
8c2aa80007 * new/container.jam
(vector.equal): Fix a bug, which causes all vectors with different sizes
   to be considered equal.


[SVN r19836]
2003-08-28 13:53:06 +00:00
Vladimir Prus
286825f9d5 Rename 'xclass' to 'class'.
[SVN r19458]
2003-08-05 05:25:33 +00:00
Vladimir Prus
a9cb673c30 Rename 'xnew' to just 'new'.
[SVN r19434]
2003-08-04 11:12:30 +00:00
Vladimir Prus
c354977097 New builtin NORMALIZE_PATH.
[SVN r19431]
2003-08-04 09:29:28 +00:00
Vladimir Prus
4ec3f81593 New builtin SORT.
[SVN r19430]
2003-08-04 09:27:47 +00:00
Vladimir Prus
df07d2f0d0 Convert remaining classes.
[SVN r19429]
2003-08-04 09:25:34 +00:00
Vladimir Prus
c1e3f990f1 Move generators to new-style classes.
[SVN r19427]
2003-08-04 09:19:54 +00:00
Rene Rivera
5cc4117f01 Fixed some problems with parsing of ReST style comments. Preformated parsing/output is now much closer to what ReST defines.
[SVN r19105]
2003-07-13 22:19:09 +00:00
Rene Rivera
fadcc72356 Some cleanup, adding documentation.
Addition of common whitespace defenitions.
Addition of is-whitespace rule.


[SVN r19104]
2003-07-13 22:18:00 +00:00
Vladimir Prus
23dde14d6b Bufix. Don't change suffix for searched libraries on Windows, if suffix is
explicitly provided. Thanks to Kirill Lapshin for the bug report.


[SVN r18918]
2003-07-02 13:28:39 +00:00
Rene Rivera
5aace113a2 Fixed missing echo command on nont NT systems.
[SVN r18891]
2003-06-30 14:37:00 +00:00
Rene Rivera
7da26b6676 Support doing blank output with print.text. Thanks to Joe Swatosh for the NT echo tip.
[SVN r18881]
2003-06-27 21:04:11 +00:00
Rene Rivera
933e3c2f03 Workaround for deficient Windows ECHO command which can't output a blank line.
[SVN r18872]
2003-06-26 15:45:48 +00:00
Rene Rivera
5799f5764b Rewrote text output to a file target. This fixes various problems:
- Slow because of the large number of actions and line counting.
- Somewhat kludge behaviour when doing actions outside of the text rule.
- Terse documentation.


[SVN r18870]
2003-06-26 05:30:28 +00:00
Vladimir Prus
c2abccc7de Bugfix: make searched libraries really work on borland.
[SVN r18867]
2003-06-24 12:43:11 +00:00
Vladimir Prus
f3f52e36ad Robustify 'print' module a little: print.text works okay even if empty
list of strings is passed.


[SVN r18799]
2003-06-16 12:13:38 +00:00
Rene Rivera
59ac41edd3 Some movement towards the new style of options for the help system.
- boostrap.jam; Modified the parsing of options to accept the syntax that the help system requires.
- doc.jam; Removed the option parsing code.
- doc.jam; Added some rules to set documentation options.
- help.jam; Move in code from doc.jam to parse options.


[SVN r18798]
2003-06-16 07:04:30 +00:00
Rene Rivera
c7dde74b04 Fix bad output when the output target has a location. Now both the body and tail variants shared the same LOCATE. But only if the LOCATE is done before printing.
[SVN r18795]
2003-06-15 18:59:02 +00:00
Rene Rivera
0db192e179 Implement the HTML output type.
[SVN r18772]
2003-06-11 07:09:43 +00:00
Rene Rivera
3121e2a24e Temporary fix to prevent multiple calls into the help system. To be removed when I have time to move code into the help options file.
[SVN r18771]
2003-06-11 07:09:00 +00:00
Rene Rivera
c9559a38a6 Removed commented code.
[SVN r18770]
2003-06-11 05:26:17 +00:00
Vladimir Prus
ce2ba6245d Doc system works again.
* kernel/bootstrap.jam: Allow option handler modules to indicate that
  regular build process should be skipped.

* options/help.jam: Return 'true', don't EXIT. Existing prevents header
  scanning, which is the mechanism that makes 'doc' module work.

* new/doc.jam: Import header scanning rule into global module.
  (split-symbol): Handle the case where the are two modules with the same
  name (e.g. V1 stlport.jam and V2 stlport.jam).


[SVN r18663]
2003-06-04 05:55:25 +00:00
Vladimir Prus
ce2b257a16 Bugfix from Michael Stevens: when directory names contained regex
metacharacters, Boost.Build misbehaved.

* new/path.jam
  (all-parents): Don't use regex to strip path prefix, use a more robust
    approach.

* test/bad_dirname.py: New test.


[SVN r18576]
2003-05-28 07:11:50 +00:00
Dave Abrahams
1722b16700 * Restored the printing of qualified names from invoked actions.
Consequently rolled back the workaround in make_rule.py

* Added new indirect rule invocation module for encoding the module to
  invoke a rule from as well as the exact name to invoke it by, and
  for subsequent invocation.

* Fixed module __test__ rules so they really do execute in a separate
  module.  Associated tweaks to __test__ in path.jam


[SVN r18427]
2003-05-16 16:30:13 +00:00
Dave Abrahams
6ebded3459 Note: there is currently a circular dependency between type.jam and
virtual-target.jam.

- Added the missing explicit imports, now that we don't dump
  everything into the global module with qualification

- stopped using the feature-space hack for temporary testing states of
  the feature module.  Instead we move its global variable definitions
  to a temporary module.

- the way feature.action was invoking the rule it was being passed was
  evil.  Now you pass (even local) rules without qualification and
  they are invoked in the source module context.

- module __test__ rules are always executed in a separate module, so
  that their import dependencies can be separated from those of the
  module being tested.

- better reporting of circular module-loading dependencies
  implemented.

- minor changes:

    property-set.jam:  moved .empty initialization to avert circular
    load dependency .

    symlink.jam: fixed global variable naming.


[SVN r18407]
2003-05-15 22:22:13 +00:00
Rene Rivera
f3615c6176 Slightly better explanation of replace.
[SVN r18327]
2003-04-28 14:07:37 +00:00
Rene Rivera
e884f70cdd Added a "replace" rule to do global string replacements.
[SVN r18316]
2003-04-26 06:20:49 +00:00
Rene Rivera
6a6cef153b * Add --help-usage option to display bjam options.
* Add the missing recursive display of docs when specifying --help-enable-detailed. Using it with --help-all will produce most of the available docs at once.


[SVN r18290]
2003-04-23 01:10:12 +00:00
Dave Abrahams
4fae733892 optimized insertion-sort
[SVN r18225]
2003-04-10 11:33:13 +00:00
Douglas Gregor
8153b7b4d9 print.jam: Provide escaped strings for Windows and Unix
regex.jam: Provide "escape" routine that escapes a string with certain escape
  characters

boostbook.jam: Use print.escape to properly escape argument to "echo" on
  Windows and Unix (BoostBook now works on non-Cygwin Windows)


[SVN r18148]
2003-04-01 14:34:31 +00:00
Douglas Gregor
16010b66b0 ALWAYS $(output-target) doesn't belong in the text rule, it belongs in
the caller


[SVN r18135]
2003-03-30 15:17:52 +00:00
Douglas Gregor
62ee4de76b - Changes the \" -> '' transformation into \" -> \\\", i.e., instead of
transforming the double-quote character into two single quotes, we transform
it into a correctly-escaped double quote.

- Add an "overwrite" option to print.text that overwrites the file instead of
appending to it.


[SVN r18124]
2003-03-28 15:12:29 +00:00
Vladimir Prus
783a7fe308 Fix path handling on Cygwin. Thanks to Andre Hentz for the patch.
[SVN r18091]
2003-03-26 12:16:01 +00:00
Rene Rivera
3e4189ef3a Add relative-to to calculate relative paths between dirs.
[SVN r17653]
2003-02-26 06:12:24 +00:00
Rene Rivera
d8aad444a6 Fix to get docs back after change of UPDATE rule handling.
Minor print and doc changes.


[SVN r17587]
2003-02-22 07:29:59 +00:00
Vladimir Prus
0d764e3547 Undo previous commit, now that problem with Jam is fixed.
[SVN r17535]
2003-02-19 15:57:25 +00:00
Dave Abrahams
fbc6881afc Work around a bug in our indirect rule invocation
******* This indicates a core Jam bug!! ********


[SVN r17502]
2003-02-18 05:39:54 +00:00
Dave Abrahams
afaf0fb6cf Fix subfeature validation
[SVN r16903]
2003-01-15 01:11:27 +00:00
Vladimir Prus
2782e9b785 Fix/improve the symlink rule.
* new/path.jam
    (make-NT, make-UNIX): Convert empty path into "."

* new/project.jam
    (path-relative-to-project-location): New rule.

* new/stage.jam
    (stage-target-class.construct): Use the above rule.

* new/symlink.jam
    (symlink-targets.construct): Call 'set-path' on created
    virtual targets.
    (ln): Attempts at better handling creating symlinks in
    directories.

* new/virtual-target.jam
    (abstract-file-target.actual-name): If explicit path was
    given, include it in grist.

* test/symlink.py: New test.

* test/test_all.py
    Run new test.


[SVN r16889]
2003-01-13 16:09:43 +00:00
Vladimir Prus
022ef577da Implement BB7: now there's "build-dir" project
attribute which controls where generated targets are put,
much in the same was as ALL_LOCATE_TARGET.

* new/virtual-target.jam
    (virtual-target.path): Respect build dir.
    (virtual-target.actualize-location): Don't
       compute path, but call call instead.

* new/project.jam
    (initialize): Set default value for 'build-dir'.
    (project-attributes.set): Handle 'build-dir'.

* new/path.jam
    (relative): New rule.

* test/build_dir.py: New test.


[SVN r16589]
2002-12-11 19:01:50 +00:00