Commit Graph

12124 Commits

Author SHA1 Message Date
Vladimir Prus
0c3a86e511 Tweak computation of target names from source names.
* build/generators.jam
  (generator.generated-targets): Comment the desired semantics.

* util/utility.jam
  (basename): Take the part till the last dot, not the first.


[SVN r27374]
2005-02-14 08:25:07 +00:00
Rene Rivera
8e50f69670 _S_IFREG is not a standard stat() flag. The standard flag is "S_IFREG". This fixes compilation on CW8, probably others.
[SVN r27368]
2005-02-14 04:02:52 +00:00
Rene Rivera
419b0ea085 _S_IFREG is not a standard stat() flag. The standard flag is "S_IFREG". This fixes compilation on CW8, probably others.
[SVN r27368]
2005-02-14 04:02:52 +00:00
Dave Abrahams
53673a2985 test/regression.py
tools/testing.jam

  Support rules for measuring timing of build steps.

build/generators.jam

  Generators with empty source lists can now consume any target type.


[SVN r27335]
2005-02-12 20:24:07 +00:00
Dave Abrahams
9aed3db356 test/regression.py
tools/testing.jam

  Support rules for measuring timing of build steps.

build/generators.jam

  Generators with empty source lists can now consume any target type.


[SVN r27335]
2005-02-12 20:24:07 +00:00
Dave Abrahams
72a5e80e64 jam_src/
builtins.{c,h}
        Support for the REBUILDS rule
        remove unused variable

    rules.h
    make.c
        Support for the REBUILDS rule

    make1.c
        Support for the REBUILDS rule

        Support for recording timing information

        Restructured a case statement because it was masking a bug I
        introduced.

    execcmd.h
    execnt.c
    execunix.c
        Support for recording timing information
        Also removed NT-specific stuff from execunix

    expand.c
        Removed tabs from critical comment
        Added tab-width variable setting comment for emacs.

v2/test
    rebuilds.py, timedata.py, test_all.py
        Tests for REBUILDS and timing.


[SVN r27334]
2005-02-12 02:30:18 +00:00
Dave Abrahams
5539d6e2b9 jam_src/
builtins.{c,h}
        Support for the REBUILDS rule
        remove unused variable

    rules.h
    make.c
        Support for the REBUILDS rule

    make1.c
        Support for the REBUILDS rule

        Support for recording timing information

        Restructured a case statement because it was masking a bug I
        introduced.

    execcmd.h
    execnt.c
    execunix.c
        Support for recording timing information
        Also removed NT-specific stuff from execunix

    expand.c
        Removed tabs from critical comment
        Added tab-width variable setting comment for emacs.

v2/test
    rebuilds.py, timedata.py, test_all.py
        Tests for REBUILDS and timing.


[SVN r27334]
2005-02-12 02:30:18 +00:00
Vladimir Prus
6f47f788f1 Minir cleanpus.
* build/generators.jam (generator.__init__): Don't handle '*' target type.
  (register-standard): Allow zero source types.


[SVN r27322]
2005-02-11 15:17:16 +00:00
Vladimir Prus
0360896b09 Minir cleanpus.
* build/generators.jam (generator.__init__): Don't handle '*' target type.
  (register-standard): Allow zero source types.


[SVN r27322]
2005-02-11 15:17:16 +00:00
João Abecasis
9f5dee8ec3 Removing bug-ridden split-word...
[SVN r27321]
2005-02-11 03:12:36 +00:00
João Abecasis
167104a26d Removing bug-ridden split-word...
[SVN r27321]
2005-02-11 03:12:36 +00:00
Rene Rivera
4c1158f90d Add support for framework specification. Hardwire Carbon framework when linking s t seems to be required for MSL.
[SVN r27310]
2005-02-10 16:50:40 +00:00
Dave Abrahams
5af00911e6 Page 35 edits
[SVN r27277]
2005-02-09 16:39:43 +00:00
Dave Abrahams
f723d16b30 Page 35 edits
[SVN r27277]
2005-02-09 16:39:43 +00:00
Vladimir Prus
27938665ac Cleanup generators interaction with derived types.
Say we have PYTHON_EXTENSION type derived from SHARED_LIB, and
no generators are explicitly defined for PYTHON_EXTENSION. We would
like to inherit generators for the SHARED_LIB type. The previous
code would run a generator for SHARED_LIB type. Since it will produce
a target of type SHARED_LIB, after calling the generator the type of target
was "fixed" to PYTHON_EXTENSION.

This was unly. Also, the <tag> functionality did no work as expected --
it would compute the name of python extensions as if they were a regular
libraries.

Now, when we try to generate PYTHON_EXTENSION, we clone generators
for SHARED_LIB and change SHARED_LIB to PYTHON_EXTENSION in the generator's
list of target type.

* build/generators.jam
  (generator.clone-and-change-target-type): New method.
  (base-to-derived-type-conversion): Remove.
  (find-viable-generators-aux): First find a type which has
   any generators defined, then match generators against property
   set.

* build/virtual-target.jam
  (abstract-file-target.set-type): Remove.


[SVN r27270]
2005-02-09 11:51:33 +00:00
Vladimir Prus
f0c580113a Cleanup generators interaction with derived types.
Say we have PYTHON_EXTENSION type derived from SHARED_LIB, and
no generators are explicitly defined for PYTHON_EXTENSION. We would
like to inherit generators for the SHARED_LIB type. The previous
code would run a generator for SHARED_LIB type. Since it will produce
a target of type SHARED_LIB, after calling the generator the type of target
was "fixed" to PYTHON_EXTENSION.

This was unly. Also, the <tag> functionality did no work as expected --
it would compute the name of python extensions as if they were a regular
libraries.

Now, when we try to generate PYTHON_EXTENSION, we clone generators
for SHARED_LIB and change SHARED_LIB to PYTHON_EXTENSION in the generator's
list of target type.

* build/generators.jam
  (generator.clone-and-change-target-type): New method.
  (base-to-derived-type-conversion): Remove.
  (find-viable-generators-aux): First find a type which has
   any generators defined, then match generators against property
   set.

* build/virtual-target.jam
  (abstract-file-target.set-type): Remove.


[SVN r27270]
2005-02-09 11:51:33 +00:00
João Abecasis
e3eadac0fc typo was causing catalog to be ignored
[SVN r27268]
2005-02-09 04:45:00 +00:00
João Abecasis
58ec98e9ea typo was causing catalog to be ignored
[SVN r27268]
2005-02-09 04:45:00 +00:00
João Abecasis
fc9b489cd0 Don't use non-EXE targets as quickbook executable
[SVN r27267]
2005-02-09 04:43:45 +00:00
João Abecasis
99adef4ecf Don't use non-EXE targets as quickbook executable
[SVN r27267]
2005-02-09 04:43:45 +00:00
Rene Rivera
04fe09567b Should never do things while sick.. fix the command file call.
[SVN r27245]
2005-02-08 16:49:32 +00:00
Rene Rivera
0d7a84b5a0 Guard another instance of using a command file.
[SVN r27243]
2005-02-08 16:43:19 +00:00
João Abecasis
ce7f0acd7c Having .xsltproc used by xslt and xslt-dir, requires dirname to be optional.
[SVN r27233]
2005-02-08 04:25:36 +00:00
João Abecasis
c8d201aad1 Having .xsltproc used by xslt and xslt-dir, requires dirname to be optional.
[SVN r27233]
2005-02-08 04:25:36 +00:00
João Abecasis
432ad768a1 initial version of quickbook toolset
[SVN r27231]
2005-02-08 03:41:16 +00:00
João Abecasis
281e9f59ff initial version of quickbook toolset
[SVN r27231]
2005-02-08 03:41:16 +00:00
Victor A. Wagner Jr.
7e339d0898 Deleted - two flags that simply cause warnings with vc8.0
[SVN r27180]
2005-02-06 06:41:53 +00:00
Dave Abrahams
1cc643b939 General system for get-xxxx() constants implemented
[SVN r27099]
2005-02-04 20:20:08 +00:00
Dave Abrahams
f2e25504ec General system for get-xxxx() constants implemented
[SVN r27099]
2005-02-04 20:20:08 +00:00
Dave Abrahams
a92efc132a Factored out egregious code duplication
[SVN r27098]
2005-02-04 20:18:33 +00:00
Dave Abrahams
dc820237b1 Factored out egregious code duplication
[SVN r27098]
2005-02-04 20:18:33 +00:00
Dave Abrahams
e286abf612 Fix the way paths are adjusted for Cygwin
[SVN r27097]
2005-02-04 20:17:49 +00:00
Dave Abrahams
b88077a679 Fix the way paths are adjusted for Cygwin
[SVN r27097]
2005-02-04 20:17:49 +00:00
Dave Abrahams
6da2771448 Factored out code duplication
Fixed windows FOP detection


[SVN r27096]
2005-02-04 20:16:51 +00:00
Dave Abrahams
194b4f9b2c Factored out code duplication
Fixed windows FOP detection


[SVN r27096]
2005-02-04 20:16:51 +00:00
Dave Abrahams
974886ee77 Use prepend-path-variable-command
[SVN r27095]
2005-02-04 20:15:53 +00:00
Dave Abrahams
66a0be92ac Use prepend-path-variable-command
[SVN r27095]
2005-02-04 20:15:53 +00:00
Dave Abrahams
9e8c227fcf Fix variable-setting-command so it consistently exports across OSes
Removed special substitution behavior for $name as an
overgeneralization

Added prepend-path-variable command as a replacement

Fixed variables to conform to naming convention for module globals


[SVN r27094]
2005-02-04 20:14:54 +00:00
Dave Abrahams
5e1e2b40ea Fix variable-setting-command so it consistently exports across OSes
Removed special substitution behavior for $name as an
overgeneralization

Added prepend-path-variable command as a replacement

Fixed variables to conform to naming convention for module globals


[SVN r27094]
2005-02-04 20:14:54 +00:00
Dave Abrahams
f51cf06fa9 Fix a typo
[SVN r27091]
2005-02-04 16:20:33 +00:00
Dave Abrahams
f9fe1f7bb7 Fix a typo
[SVN r27091]
2005-02-04 16:20:33 +00:00
Vladimir Prus
9802d38cfd Allow
lib z jpeg : : <search>x ;

to work. Previously, this would complain that you specify requirements
together with multiple names.


[SVN r27059]
2005-02-03 15:32:56 +00:00
Vladimir Prus
3d5b4963c6 Allow
lib z jpeg : : <search>x ;

to work. Previously, this would complain that you specify requirements
together with multiple names.


[SVN r27059]
2005-02-03 15:32:56 +00:00
Rene Rivera
a61866bbe5 Factor out the logic for overriding requirement properties so it can be used consistently, and by other requirement rules.
[SVN r27044]
2005-02-02 19:58:01 +00:00
Dave Abrahams
80cbd6a94c page 34 edits.
[SVN r27039]
2005-02-02 14:41:30 +00:00
Dave Abrahams
bff2aa3e46 page 34 edits.
[SVN r27039]
2005-02-02 14:41:30 +00:00
Aleksey Gurtovoy
39da1d05db apply IBM/S390 patch from Jonathan Biggar
[SVN r26997]
2005-02-02 01:04:46 +00:00
Dave Abrahams
39fa87a2ad p. 33 comments
[SVN r26988]
2005-02-01 16:36:52 +00:00
Dave Abrahams
6c6dab75cb p. 33 comments
[SVN r26988]
2005-02-01 16:36:52 +00:00
Vladimir Prus
8a4cd7d75b Removed commented-out text and the only remaining mention of
link-compatibility.


[SVN r26895]
2005-01-28 10:59:29 +00:00