Commit Graph

6746 Commits

Author SHA1 Message Date
Dave Abrahams
16dfa855e7 Make sure Win32 platform config is read and that we know
multithreading is enabled (when it is).


[SVN r20003]
2003-09-10 16:09:53 +00:00
Vladimir Prus
f286b94031 Change wording to avoid implying that V2 was just started.
[SVN r19991]
2003-09-10 09:43:34 +00:00
Vladimir Prus
d63675bf6f Bugfix: allow a generator to create two targets of the same type.
* new/generators.jam
  (generator.__init__): Use parallel lists to store prefixes and postfixes
  for a name, not mapping with type as a key, since type is not unique.
  (generator.generated-targets): Adjust.


[SVN r19990]
2003-09-10 07:39:45 +00:00
Rene Rivera
34ee167ed0 Fix various outstanding problems...
* Don't use boost-build file as a reference directory, it can move arbitrarily.
* Load Jamrules as soon as projects are declared to get the cross-project info.
* Allow declaration of your own project name to fix the build directory name.


[SVN r19987]
2003-09-10 03:24:41 +00:00
Dave Abrahams
d0b7bff0c3 Handle paths with backslashes. Include <pyd> in docs.
[SVN r19970]
2003-09-08 19:39:44 +00:00
Dave Abrahams
18fb09bb12 Use the import rule
[SVN r19968]
2003-09-08 17:38:49 +00:00
Dave Abrahams
d833ddbd19 Added import rule
[SVN r19967]
2003-09-08 17:24:44 +00:00
Dave Abrahams
074f33f34c Added missing link
[SVN r19964]
2003-09-08 15:07:33 +00:00
Dave Abrahams
6cddb770ef Added external project support docs
[SVN r19963]
2003-09-08 14:58:45 +00:00
Rene Rivera
6260b25c7a Fix problem missing path when refering to targets at the project root from the project root Jamfile.
Fix multiple inclusion of the Jamrules file(s).


[SVN r19946]
2003-09-07 17:42:18 +00:00
Rene Rivera
609bb1506b Modify to support the new cross-project build style. Specifically building with the new single structure at boost-root./bin/... Old, inline, style is also supported as a fallback.
[SVN r19939]
2003-09-07 04:54:05 +00:00
Rene Rivera
361bcd0df2 Merge cross-project support for BBv1 into mainline.
[SVN r19938]
2003-09-07 04:51:53 +00:00
Rene Rivera
ce56f4d1e7 Remove some recently introduced TABs.
[SVN r19927]
2003-09-05 22:33:54 +00:00
Rene Rivera
67f4d68103 Fix bad paths for raw files in a stage target, when there is not <tree-subdirs> option.
[SVN r19926]
2003-09-05 19:34:59 +00:00
Vladimir Prus
723fccfc6f * new/property.jam:
(refine): Ignore conditional properties. This reverts my previous change
  but makes the change more robust.


[SVN r19923]
2003-09-05 08:36:28 +00:00
Rene Rivera
386157e499 Allow for building RPMs on newer RedHat's which have the split tools rpm+rpmbuild.
[SVN r19919]
2003-09-04 15:01:07 +00:00
Vladimir Prus
d23ba3ece7 * new/property.jam (refine): Remove some wierd code. We used to ignore all
requirement with ":" in them. Maybe this used to handle conditional
requirements, but all tests pass without this logic. The problem was that
<toolset-msvc:version>intel in requirements was just *added* to properties,
not replacing previous value.


[SVN r19916]
2003-09-04 11:51:29 +00:00
Vladimir Prus
5f2efc0982 Document some of the recent changes.
[SVN r19915]
2003-09-04 11:22:49 +00:00
Vladimir Prus
5575676167 Add 'glob' rule to Jamfile context.
[SVN r19914]
2003-09-04 11:19:03 +00:00
Vladimir Prus
1d254d076e Remove support for old-style target ids.
[SVN r19913]
2003-09-04 11:06:14 +00:00
John Maddock
6b01ad4017 Reordered name mangling algorithm and added some MSVC specific options (a dynamic runtime implies multithreaded code in this case).
[SVN r19907]
2003-09-02 10:12:37 +00:00
Rene Rivera
493fd48e15 Correct license text.
[SVN r19903]
2003-09-01 22:08:17 +00:00
Rene Rivera
13d433b124 Added, so that the V1 examples work as they are given that the boost-build.jam in the parent dir is for V2 only.
[SVN r19901]
2003-09-01 19:45:46 +00:00
Rene Rivera
7666366245 Minor cleanup...
- Added more files to not scan for help (--help-all)
- Ensure that modules are given to do-scan in alpha order regardless of path location.


[SVN r19900]
2003-09-01 16:30:59 +00:00
Vladimir Prus
2eac03a328 Bugfix. Allow "project-root" to work in Jamfile, again.
Thanks to Peter Schoen for bugreport.

* new/project.jam (initialize): Set 'project-root-module' attribute.
* new/project_root.py: New test.


[SVN r19899]
2003-09-01 14:00:26 +00:00
Vladimir Prus
a4dc660587 Robustify some code.
[SVN r19898]
2003-09-01 13:57:35 +00:00
Vladimir Prus
dcff5a84f8 Remove an incorrect statement.
[SVN r19897]
2003-09-01 08:04:33 +00:00
Vladimir Prus
d4b724bfaf Comment out all 'using' calls in user-config.jam. User should not see
errors from tools he does not have, or even know about.


[SVN r19896]
2003-09-01 07:57:53 +00:00
Vladimir Prus
8a37c19adc Don't make symlinks. This example is used in docs and nothing is
said about symlinks there, so it can confuse users.


[SVN r19893]
2003-09-01 07:47:15 +00:00
Rene Rivera
9e86b5eee0 Corretly set threading options when using stlport-io library.
[SVN r19891]
2003-09-01 06:31:21 +00:00
Rene Rivera
ece33959d7 Fix AR for when we find more than one in the path.
Fix the AR flags so that they don't duplicate/multiply the flag argument.


[SVN r19888]
2003-08-31 16:29:38 +00:00
Rene Rivera
8125cb40fa Minor adjustments to make the regression summary work in any directory. This is so we can either relocate, or segment to different directories.
New common license.


[SVN r19883]
2003-08-30 19:50:46 +00:00
Rene Rivera
ff247f704f Fix newly broken default fake targets for stage rule. (Fixes problems with building the regression tools)
[SVN r19871]
2003-08-30 01:49:50 +00:00
Douglas Gregor
ffdc7899df concept2docbook.xsl: Obey the "text" parameter of concept.link
[SVN r19860]
2003-08-29 15:07:18 +00:00
Douglas Gregor
c3880ce65d template.xsl: Do proper highlighting for default template arguments
[SVN r19859]
2003-08-29 14:45:37 +00:00
Douglas Gregor
9fcf99b82b docbook.xsl: Okay to always emit macro synopsis, because we won't be writing
RefEntry elements in the TOC anyway.

type.xsl: Don't highlight the entire declaration of class in the synopsis
  (to bring classes in line with functions)


[SVN r19858]
2003-08-29 13:45:36 +00:00
Douglas Gregor
357c540940 Don't generate TOC entries for refentry elements
[SVN r19857]
2003-08-29 13:30:23 +00:00
Vladimir Prus
f3b7799513 Fix a hard error whenever a target is skipped. Thanks to
Christopher Currie for spotting this bug.


[SVN r19854]
2003-08-29 08:48:15 +00:00
Vladimir Prus
fa922f590d Add V2 Jamfile.
[SVN r19852]
2003-08-29 07:54:34 +00:00
Vladimir Prus
bb794f79ef Add Darwin toolset, from Christopher Currie.
[SVN r19851]
2003-08-29 07:33:28 +00:00
Vladimir Prus
5f9df18018 Clarify instructions for installing from CVS.
[SVN r19850]
2003-08-29 07:17:18 +00:00
Vladimir Prus
4f111e8c53 Add boost-build.jam to Boost.Build root, to help folks who install from CVS.
[SVN r19849]
2003-08-29 07:12:04 +00:00
Vladimir Prus
51941063da Fix up bison's handling of yy sources. Bison produces hpp file when input
has yy extension. Up till now, V2 though it produces h file, which means
that if any source includes hpp file, V2 could try to compile it before
generating the hpp. The compilation fails.

* new/builtin.jam
  Make HPP a separate type.

* tools/bison.jam
  Note that YY is converted to HPP, not H.


[SVN r19847]
2003-08-29 07:01:13 +00:00
Douglas Gregor
325148ede1 Added preliminary support for macro documentation
[SVN r19845]
2003-08-29 01:37:03 +00:00
Douglas Gregor
efec962285 source-highlight.xsl:
- Add a "highlight" mode that should do source highlighting
	  properly

type.xsl:
	- Use "highlight" mode for typedef types.


[SVN r19844]
2003-08-28 22:29:52 +00:00
Douglas Gregor
07714425ec html.xsl:
- Generate TOCs for up to 3 levels of nested sections


[SVN r19843]
2003-08-28 22:07:00 +00:00
Douglas Gregor
8fdde70133 function.xsl:
- Don't link entire function declaration; just link the name.


[SVN r19842]
2003-08-28 21:43:09 +00:00
Rene Rivera
2ee3286fe2 Don't make singleton vars globally singular, as it interfears with toolset extension.
[SVN r19838]
2003-08-28 16:21:57 +00:00
Rene Rivera
5ffce89c18 Remove now extra target vars.
[SVN r19837]
2003-08-28 16:20:56 +00:00
Vladimir Prus
a254225464 * 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
Douglas Gregor
f8c2ecdfa7 Don't ECHO random information to the user. Man, was I tired
[SVN r19830]
2003-08-28 12:28:15 +00:00
Vladimir Prus
55f1f6917a Fix bootstrapping when there's no boost-build.jam in project root but
BOOST_BUILD_PATH points to Boost.Build installation.

Patch from Christopher Currie.


[SVN r19819]
2003-08-28 05:45:00 +00:00
Douglas Gregor
4d40007836 - Undo my erroneous change to the error message formatting (thanks Dave)
- Use BOOST_ROOT to help find the BoostBook DTD & XSL only if its available
- Use BOOST_BUILD_PATH to help find the BoostBook DTD & XSL (also thanks Dave)


[SVN r19816]
2003-08-28 03:30:21 +00:00
Rene Rivera
b05a1c7a15 Allow multiple test args for "cond" and "unless".
[SVN r19814]
2003-08-28 01:54:18 +00:00
Douglas Gregor
932c72b5b6 Fix path handling in initialization
[SVN r19813]
2003-08-28 00:13:51 +00:00
Rene Rivera
5e3cf98ed8 New common copyright.
Fix problem of duplicate incorrect libraries when linking.
As a side-effect, removed all the custom actions as they where the same as the ones in gcc-tools (or resolve to the same thing).


[SVN r19811]
2003-08-27 17:41:05 +00:00
Rene Rivera
c8f2fd2889 Fix for when AR is distributed as part of the compiler (ex. mingw, cygwin).
New common copyright.
Replace SPACE with _ to make for slightly easier reading.


[SVN r19810]
2003-08-27 17:38:29 +00:00
Beman Dawes
87b2dfd71c refinements as a result of new path name_check mechanism
[SVN r19809]
2003-08-27 14:51:19 +00:00
Vladimir Prus
a5d00b9029 Fix up setting of 'parent' attribute on project.
[SVN r19807]
2003-08-27 14:03:37 +00:00
Vladimir Prus
59de8cdd59 Python 2.3 fixes. Use __rmul__ for fixed mode operations on List, not
__coerce__, since it works in a wrong way and might be removed in future.


[SVN r19806]
2003-08-27 13:57:47 +00:00
Douglas Gregor
1815cf0ee1 Add support for concept documentation & linking via Caramel
[SVN r19762]
2003-08-23 22:58:29 +00:00
Douglas Gregor
764172066e - use generate.id instead of generate-id
- Add the "-bb" suffix to id names generated by generate-id


[SVN r19756]
2003-08-23 15:54:46 +00:00
Douglas Gregor
ec667c5929 Fix some PDF generation problems with FOP
[SVN r19755]
2003-08-23 15:53:10 +00:00
Douglas Gregor
b6a2280c4f Import new appropriately
[SVN r19754]
2003-08-23 15:03:14 +00:00
Rene Rivera
52871e2ea8 In support of Boost.Install...
- Added common-stage-tag value for python debug variants.
- Added <target> to stage, to specify a fake target to add the stage or the corresponding sources to.
- Ensure that <suppress> for a stage is maximally obeyed, and doesn't inadvertantly add targets to all.


[SVN r19740]
2003-08-23 05:39:49 +00:00
Martin Wille
c42bda2a71 -- added libm to FINDLIBS. required for <cmath> symbols.
[SVN r19736]
2003-08-22 17:47:51 +00:00
Dave Abrahams
265d5e253d bug fix
[SVN r19726]
2003-08-22 02:33:30 +00:00
Dave Abrahams
9c89366e9f feature.jam - bugfix: add default subfeature values only for
subfeatures that apply to the top value.


[SVN r19717]
2003-08-20 23:19:04 +00:00
Dave Abrahams
7a03d17300 feature.jam - rename is-subproperty and is-subfeature to avoid
confusion over semantics and signature.  Fixed a bug
              where they were misused.  Added compress-subproperties
              to work around probable misuse of
              build-request.expand-no-defaults.


targets.jam - use feature.compress-subproperties to work around
              probable misuse of build-request.expand-no-defaults.


project.jam - some code simplification, fixed a blatant typo,
              increased upper limit on arguments to the project rule.


[SVN r19716]
2003-08-20 21:56:49 +00:00
Dave Abrahams
aba007fafc Implemented subfeature defaults
feature.jam -

   * subfeatures acquired a subfeature attribute
   * improved error reporting
   * eliminated some unused code
   * simplified, improved commenting in, and fixed bugs in minimize

property.jam -

   * added missing "symmetric" label on toolset and variant in tests

msvc.jam -

   * version number is now defaulted, so I can have msvc-7.1 and
     msvc-6 configured, and simply type "bjam msvc".


[SVN r19675]
2003-08-18 04:39:43 +00:00
Dave Abrahams
4e0fb9fe26 Fix relative path bug
[SVN r19667]
2003-08-17 20:01:24 +00:00
Aleksey Gurtovoy
62f9b75cb2 cosmetic fixes
[SVN r19661]
2003-08-17 14:53:46 +00:00
Dave Abrahams
4729bafd61 Fixed runtime library choice, since STLPort offers only multithreaded builds
[SVN r19643]
2003-08-16 15:30:01 +00:00
Dave Abrahams
0ebf281309 Fix bad CVS merge
[SVN r19633]
2003-08-16 11:22:08 +00:00
Dave Abrahams
cdbd8bc858 Fix facet support for intel-win32
[SVN r19629]
2003-08-16 01:18:46 +00:00
Dave Abrahams
45fdb1e082 Correctly signal that wchar_t is not a distinct type when emulating vc6.
[SVN r19628]
2003-08-16 01:14:18 +00:00
Dave Abrahams
4f25bb3c3c Fix locale support for metrowerks
[SVN r19620]
2003-08-15 18:31:28 +00:00
Aleksey Gurtovoy
c797ab716a bug fix
[SVN r19594]
2003-08-14 14:02:32 +00:00
Aleksey Gurtovoy
cc474df03c new error log format (with notes); distinguish newly added tests/compilers
[SVN r19582]
2003-08-14 11:06:26 +00:00
Dave Abrahams
9d9ca15d5a Removed bogus semicolon
[SVN r19579]
2003-08-14 07:23:06 +00:00
Dave Abrahams
a684114623 Preserve the user's existing LD_LIBRARY_PATH when linking under GCC so
that they don't unexpectedly encode paths to undesired libraries.  See
boost posting from Jeff Gray <jeffg-at-magtech.com.au> for details.


[SVN r19578]
2003-08-14 07:22:27 +00:00
Rene Rivera
353265dd84 Merge build_for_distribution to HEAD.
[SVN r19577]
2003-08-14 05:34:57 +00:00
Beman Dawes
2656358ce3 notes are now fully inline
[SVN r19560]
2003-08-12 16:55:54 +00:00
Beman Dawes
78b2a80766 add .ipp as file type
[SVN r19495]
2003-08-09 16:55:13 +00:00
Beman Dawes
aa63b8f3ad include noncopyable.hpp
[SVN r19494]
2003-08-09 16:53:11 +00:00
Beman Dawes
c8c5a50be9 add comment as to purpose
[SVN r19492]
2003-08-09 16:08:45 +00:00
Vladimir Prus
df7ce0c87e Test toolset inheritance
[SVN r19461]
2003-08-05 06:10:58 +00:00
Vladimir Prus
87fbca69a4 Fixes to toolset inheritance.
* new/generators.jam
     (generator.constructor): Import property so clone works.
     (register): Generate the correct toolset name.

   * new/toolset.jam
     Import generators so the inherit calls work.
     (inherit-generators): Generate the correct new generator id.

Patch from Christopher Currie.


[SVN r19460]
2003-08-05 06:10:57 +00:00
Vladimir Prus
74fc551b81 Update comments.
[SVN r19459]
2003-08-05 05:32:47 +00:00
Vladimir Prus
78e4852784 Rename 'xclass' to 'class'.
[SVN r19458]
2003-08-05 05:25:33 +00:00
Rene Rivera
f9c0207fa6 Fix building of dist target. On my previous changes for grammar building I unintentionally removed the building of the yyacc program.
[SVN r19457]
2003-08-05 05:18:40 +00:00
Rene Rivera
a5accbc005 Fix compilation for conforming C compilers, in this case Borland. Structure initialization is only allowed with constant initializers.
[SVN r19456]
2003-08-05 04:59:57 +00:00
Rene Rivera
036749c7e3 Fix compilation for conforming C compilers, in this case VC7. Variable declarations are only allowed at the start of scopes, not in the middle like C++.
[SVN r19455]
2003-08-05 04:48:28 +00:00
Vladimir Prus
3c9c004d32 Rename 'xnew' to just 'new'.
[SVN r19434]
2003-08-04 11:12:30 +00:00
Vladimir Prus
ad6f231251 Drop all style classes support.
[SVN r19433]
2003-08-04 10:53:34 +00:00
Vladimir Prus
1e2322c676 Add forgotten files.
[SVN r19432]
2003-08-04 09:31:20 +00:00
Vladimir Prus
736225e305 New builtin NORMALIZE_PATH.
[SVN r19431]
2003-08-04 09:29:28 +00:00
Vladimir Prus
6d53141789 New builtin SORT.
[SVN r19430]
2003-08-04 09:27:47 +00:00
Vladimir Prus
22db3ba2a0 Convert remaining classes.
[SVN r19429]
2003-08-04 09:25:34 +00:00
Vladimir Prus
2e29a7b9a7 Move abstract-target hierarchy to new classes.
[SVN r19428]
2003-08-04 09:22:29 +00:00
Vladimir Prus
d2b240ae8c Move generators to new-style classes.
[SVN r19427]
2003-08-04 09:19:54 +00:00
Vladimir Prus
55c1201fd5 Make action hierarchy use new style classes.
[SVN r19426]
2003-08-04 09:15:36 +00:00
Vladimir Prus
40e1ae2b43 Make virtual-target hierarchy use new style classes.
[SVN r19425]
2003-08-04 09:13:22 +00:00
Vladimir Prus
d991f53f73 Refactorings.
* jam_src/modules.c: (import_module, imported_modules): New functions.
* jam_src/builtins.c (builtin_import_module, builtin_imported_modules):
  Just call the above.
* new/class.jam: Add some extra tests.


[SVN r19424]
2003-08-04 09:09:49 +00:00
Vladimir Prus
2231d0e36e 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
Vladimir Prus
8fbe15a8e3 Speed up module imports.
* jam_src/builtins.c: New builtins IMPORT_MODULE and IMPORTED_MODULES.
  jam_src/rules.c: (bindrule): Refactor. (lookup_rule): New function.

* kernel/modules.jam: Make use of IMPORT_MODULE.


[SVN r19422]
2003-08-04 08:45:41 +00:00
Dave Abrahams
52aea5bbdf Bug fix for spaces in pathnames
[SVN r19385]
2003-07-31 01:21:21 +00:00
Beman Dawes
3d219d249c fix libs/libs/ glitch
[SVN r19380]
2003-07-31 00:43:17 +00:00
Beman Dawes
51f8ef2764 Fix va-Cc message not recognized
[SVN r19367]
2003-07-30 20:42:15 +00:00
Thomas Witt
0a848eb070 Make default paths use %ProgramFiles%.
[SVN r19366]
2003-07-30 20:26:04 +00:00
Beman Dawes
417e2a8b90 Add superscript notes feature
[SVN r19365]
2003-07-30 20:08:37 +00:00
John Maddock
e1bf280b13 Renamed <wide-character-support> option to the more appropriate (for what it actually does) <unicode-application>. Also turned it off by default (since it invokes non-standard behaviour).
[SVN r19363]
2003-07-30 12:25:03 +00:00
Vladimir Prus
86ca47e961 Revert 1.93, which was causing severe performance problems for Jurgen.
[SVN r19356]
2003-07-30 09:43:14 +00:00
Vladimir Prus
112d189b64 Use /opt/SUNWspro as default location of Sun compiler.
Patch from Christopher Currie.


[SVN r19352]
2003-07-30 06:19:07 +00:00
Beman Dawes
6b3cfa4646 Allow como-win32 backend compiler to be specified via COMO_BACKEND_PATH
[SVN r19344]
2003-07-29 15:05:06 +00:00
Vladimir Prus
21fe936133 Add support for the Sun's toolset.
[SVN r19338]
2003-07-29 09:26:44 +00:00
Vladimir Prus
d3f8403225 Correct the copyright.
[SVN r19325]
2003-07-28 08:25:29 +00:00
Vladimir Prus
762c82e6e2 Bugfix. Keep the same suffix when staging files.
[SVN r19324]
2003-07-28 08:18:20 +00:00
Vladimir Prus
9ad92f3a3b Allow to change the default value of feature.
* new/feature.jam
  (set-default): New rule.
  (defaults): Use stored default value, not first allowed value.
  (extend-feature): Set default value.


[SVN r19323]
2003-07-28 07:35:33 +00:00
Vladimir Prus
2dcddec561 Weaken multiple main target default build check. Must be identical
rather then only defined on first.

The previous behaviour did not work when there were "default-build" attribute
on project and two alternatives for a main target.

Patch from Michael Stevens.


[SVN r19303]
2003-07-25 07:58:47 +00:00
Vladimir Prus
bc73b02b1a Quote filenames when needed.
[SVN r19302]
2003-07-25 06:55:42 +00:00
Vladimir Prus
d5499adea8 Patch from Pedro Ferreira to implement <tag> feature.
* new/targets.jam
  (basic-target.tag-name): New rule.
  (basic-target.generate-really): Temporary change self.name

* test/tag.py: New test.


[SVN r19298]
2003-07-24 13:57:45 +00:00
Vladimir Prus
bcd9d9ac09 Bugfixes.
Don't use TEMPORARY, since it blocks updates for some reason.
Fix path computations.


[SVN r19289]
2003-07-24 06:17:56 +00:00
Rene Rivera
ef94e361b5 Patch from Christopher Currie, changes building with sunpro tools to use the C compiler instead of the C++ compiler.
[SVN r19263]
2003-07-22 16:40:27 +00:00
Vladimir Prus
ffac021bf4 Update dev plan.
[SVN r19262]
2003-07-22 10:19:08 +00:00
Vladimir Prus
00e6671a98 Unbreak the test on Windows.
[SVN r19258]
2003-07-22 09:31:45 +00:00
Vladimir Prus
510a697110 Python 2.1 compatibility.
[SVN r19255]
2003-07-22 09:02:09 +00:00
Vladimir Prus
4fc4888123 Update download locations.
[SVN r19254]
2003-07-22 08:51:05 +00:00
Vladimir Prus
bbc2390c0a Update version.
[SVN r19253]
2003-07-22 08:50:09 +00:00
Vladimir Prus
841d80e29f Doc tweak.
[SVN r19252]
2003-07-22 08:47:08 +00:00
Vladimir Prus
0773f0bc2a Update bug reporting guidelines.
[SVN r19251]
2003-07-22 08:44:45 +00:00
Vladimir Prus
fea27c1ae8 Fix BB46 (inline targets renaming).
* new/targets.jam
  (project-target.add-alternative): New rule.
  (project-target.build-main-targets): New rule.
  (project-target.generate, project-target.main-target,
   project-target.has-main-target): Call 'build-main-targets'
  (project-target.rename-main-target): Remove.

  (main-target-sources): Use 'rename', not project.rename-main-target.
  (main-target-alternative): Simplify.

* test/inline.py: Test for fix.


[SVN r19245]
2003-07-21 08:30:20 +00:00
Dave Abrahams
197313f905 Make it possible to account for PSDK
[SVN r19244]
2003-07-21 07:26:45 +00:00
Vladimir Prus
bab39c098b Bugfix: conditionals properties was misbehaving when there were ":" in
property value.

* new/property.jam
  (evaluate-conditionals-in-context): Don't be greedy in regex.

* test/conditionals3.py: New test.


[SVN r19243]
2003-07-21 07:17:19 +00:00
Vladimir Prus
b1e435011d Unbreak STLport and railsys test.
* tools/stlport.jam
  (stlport-target-class.generate): New method.

* test/test_all.py: Run 'railsys' again.


[SVN r19242]
2003-07-21 06:43:28 +00:00
Vladimir Prus
4796e912be Work on BB43 (hang on loop in main target references).
* new/targets.jam
  (start-building, end-building): New rules.
  (main-target.generate): Call the above rules.

* test/loop.py: New test.


[SVN r19241]
2003-07-21 06:21:27 +00:00
Vladimir Prus
aa78669f6a Fix BB38 (composite properties expansion buggy).
* new/build-request.jam
  (expand-no-defaults): Don't expand composites.

* new/targets.jam
  (main-target.generate): Expand composites.

* test/property_expansion.py: New test.


[SVN r19240]
2003-07-21 05:55:42 +00:00
Vladimir Prus
2ba16e53c0 Fix a bug which caused non-free feature to appear twice in property set.
[SVN r19239]
2003-07-21 05:34:15 +00:00
Vladimir Prus
4f64bd7343 Add "common.file-creation-command" rule, to help in testing.
[SVN r19238]
2003-07-21 05:17:57 +00:00
Vladimir Prus
1f79f925d2 Improve error message.
[SVN r19237]
2003-07-21 05:16:47 +00:00
Aleksey Gurtovoy
96f624545e fix
[SVN r19210]
2003-07-19 10:07:20 +00:00
Aleksey Gurtovoy
9874fea8a7 implement Martin Wille's suggestions
[SVN r19206]
2003-07-19 08:29:28 +00:00
Jens Maurer
3c205ff037 fix typo
[SVN r19196]
2003-07-18 20:10:10 +00:00
Vladimir Prus
dbb1e251af Optimization: don't use "path" module when not needed.
[SVN r19193]
2003-07-18 12:57:38 +00:00
Vladimir Prus
3612668c13 Fix BB48: don't change suffix on prebuilt targets.
[SVN r19191]
2003-07-18 12:16:50 +00:00
Martin Wille
8e7e9ab8fc -- added support for libxslt
[SVN r19189]
2003-07-18 10:40:23 +00:00
Aleksey Gurtovoy
e53afebc73 add XSL based reports
[SVN r19188]
2003-07-18 08:43:00 +00:00
Dave Abrahams
c99d3b2c77 Make it so that setting of BOOST_ROOT is not required, allowing the
getting started instructions for BBv2 work!  Now the boostbook files
are searched for additionally in $(BOOST_BUILD_PATH)/../boostbook.


[SVN r19171]
2003-07-17 15:34:28 +00:00
Vladimir Prus
ad556eea57 Language edits.
[SVN r19169]
2003-07-17 09:26:57 +00:00
Vladimir Prus
ba5c594541 Fix title.
[SVN r19151]
2003-07-16 14:32:48 +00:00
Vladimir Prus
6c1ea18e78 Document the dependency scanning mechanism.
[SVN r19149]
2003-07-16 14:06:39 +00:00
John Maddock
345763a505 Added fix to stop unnecessary dependencies being found.
[SVN r19144]
2003-07-16 10:42:49 +00:00
Douglas Gregor
158d871374 Handle member specifiers
[SVN r19139]
2003-07-16 04:45:08 +00:00
Rene Rivera
b48c463e81 Simplyfied toolset definition code. Now supports easily adding different types of builds, and additional options.
[SVN r19129]
2003-07-15 16:07:11 +00:00
Dave Abrahams
cd9e5bb126 fix --noassert option
[SVN r19119]
2003-07-14 21:55:47 +00:00
Dave Abrahams
cec0fef60d add --noassert option
[SVN r19114]
2003-07-14 18:53:03 +00:00
Rene Rivera
7766cb9923 Remove platform check for preventing use of yacc.
Replace with dev option "--grammar" which enables building of the grammar.
Some cleanup and generalization of searching for tools using ProgramFiles.


[SVN r19107]
2003-07-14 06:08:03 +00:00
Rene Rivera
e3e10615b7 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
d62700677d Some cleanup, adding documentation.
Addition of common whitespace defenitions.
Addition of is-whitespace rule.


[SVN r19104]
2003-07-13 22:18:00 +00:00
Rene Rivera
c5ab9b9399 Prevent use of yacc in Solaris/SunOS as it causes parse overflow errors in the grammar.
[SVN r19098]
2003-07-13 17:11:55 +00:00
Rene Rivera
3cd9b15d3d Fix linking in of libraires by test targets multiple times.
The fix ensures that the libraries we link to for targets are unique.


[SVN r19096]
2003-07-13 16:09:08 +00:00
Beman Dawes
6f6539034c SGI fix from Jens Maurer
[SVN r19080]
2003-07-12 01:08:23 +00:00
Beman Dawes
cf1ac1f3d5 SunCC fix from Jens Maurer
[SVN r19079]
2003-07-12 00:54:21 +00:00
Jens Maurer
453d33938e when compiling for multi-threading, need -lpthread library
[SVN r19067]
2003-07-11 17:06:22 +00:00
Jens Maurer
0468444358 need -lrt, always
[SVN r19066]
2003-07-11 17:05:01 +00:00
Douglas Gregor
d0737b47cf * Handle parameter descriptions _correctly_
* Map Doxygen \note to <notes>


[SVN r19062]
2003-07-11 16:11:03 +00:00
Douglas Gregor
ebab726cd7 Don't highlight a full declaration if the template header was placed on a
separate line.


[SVN r19061]
2003-07-11 16:09:47 +00:00
Jens Maurer
e9a54fa1f0 gcc on HP-UX does not support multi-threading, don't set anything here
[SVN r19059]
2003-07-11 16:05:42 +00:00
Douglas Gregor
96adb582ca Remove NOUPDATE for catalog
[SVN r19054]
2003-07-11 15:56:56 +00:00
Jens Maurer
9dde72fb0a -lrt has nothing to do with multi-threading, it contains POSIX real-time
stuff such as nanosleep, clock_gettime etc.


[SVN r19051]
2003-07-11 14:47:11 +00:00
Toon Knapen
1433bdd93a only use C style comments since bjam is compiled with C compiler
[SVN r19049]
2003-07-11 13:19:37 +00:00
Jens Maurer
b73dc4834d gcc on IRIX does not support multi-threading (yet), so don't use -pthread
[SVN r19045]
2003-07-11 12:20:19 +00:00
Toon Knapen
5c03f1cdd3 need prototype for init_cache
[SVN r19042]
2003-07-11 06:50:21 +00:00
Toon Knapen
95e6eb7aeb need prototype for rexexp.h
[SVN r19041]
2003-07-11 06:49:58 +00:00
Toon Knapen
fc12af87c9 need to cast return value from realloc to final type on sunpro
[SVN r19040]
2003-07-11 06:49:32 +00:00
Toon Knapen
fd43abfa19 dereferencing env.var. just need leading dollar sign
[SVN r19039]
2003-07-11 06:48:52 +00:00
Toon Knapen
6a77b764d2 removed own (incorrect) signature of regex_compile, including compile.h now for the signature
[SVN r19038]
2003-07-11 06:30:40 +00:00
Jens Maurer
d734485962 como for Unix simplified toolset description
[SVN r19034]
2003-07-10 22:22:15 +00:00
Toon Knapen
e1babe42f3 also changed module to module_t in typedef
[SVN r19033]
2003-07-10 16:02:51 +00:00
Beman Dawes
4d1b11bc7a Initial commit
[SVN r19032]
2003-07-10 15:36:03 +00:00
Beman Dawes
675c74ef9c reliability fixes from Jens
[SVN r19031]
2003-07-10 15:29:25 +00:00
Vladimir Prus
b1278e6488 Apply NOCARE to xi:includes, else bjam won't be able to work when we
xi:include files which is to be generated (and does not exist yet).


[SVN r19030]
2003-07-10 14:20:19 +00:00
Vladimir Prus
0886c0957c * tools/doxugen.jam
Always generate targets of DOXYGEN_XML type. Import 'doxygen' to
  global scope.


[SVN r19029]
2003-07-10 14:16:16 +00:00
Vladimir Prus
309a382891 BoostBook improvements.
* new/boostbook.jam
  Move xsl:param out of here. Print nice error message when boost root is not
  specified. Don't set TEMPORARY on catalog files, since it prevents catalog
  creation now and catalog is not temparary anyway.
  Export boostbook to global scope to that "using boostbook" works.
  Update dependency scanner for recent changes in build engine.

* new/xsltproc.jam
  New feature xsl:path.
  (compute-xslt-flags): New rule, with factored out common code.
  Use common.variable-setting-command to simplify actions.


[SVN r19028]
2003-07-10 14:13:59 +00:00
Vladimir Prus
96b907955c * new/common.jam (variable-setting-command): New rule.
[SVN r19027]
2003-07-10 14:07:16 +00:00
Toon Knapen
2f18e96929 port to sunpro
[SVN r19022]
2003-07-10 12:09:28 +00:00
Jens Maurer
460cdbecdd add column heading for HTML regression test results page
[SVN r19021]
2003-07-10 11:39:05 +00:00
Toon Knapen
b0b359b8d4 added include of unistd.h for sunpro
[SVN r19020]
2003-07-10 11:00:51 +00:00
Toon Knapen
f1f280902a added include unistd.h and wait.h for sunpro
[SVN r19019]
2003-07-10 10:59:26 +00:00
Toon Knapen
7a0d265106 module type has become module_t
[SVN r19018]
2003-07-10 10:58:40 +00:00
Toon Knapen
5aeaf36eb6 rename module type to module_t to avoid clash between type and variable called module on sunpro
[SVN r19017]
2003-07-10 10:56:59 +00:00
Toon Knapen
75a43a6703 added include of lists.h
[SVN r19016]
2003-07-10 10:54:45 +00:00
Toon Knapen
302fe63bcc added prototype of backtrace (sunpro can't handle missing prototypes)
[SVN r19015]
2003-07-10 10:54:10 +00:00
Toon Knapen
377bb90536 void* (return from malloc) can't be assigned to char* without a cast using sunpro
[SVN r19014]
2003-07-10 10:52:14 +00:00
Jens Maurer
9f70758c9b add HTML heading for regression test output
[SVN r19006]
2003-07-09 22:19:39 +00:00
Jens Maurer
2be5fedefd link the maths library unconditionally
[SVN r19004]
2003-07-09 21:25:50 +00:00
Toon Knapen
47d9be3c16 added include of cstring to make mipspro compiler happy
[SVN r18995]
2003-07-09 16:07:06 +00:00
Toon Knapen
39803d1163 added private keyword to base-class to prevent warning from mipspro
[SVN r18994]
2003-07-09 15:12:34 +00:00
Jens Maurer
a3676d0142 add documentation
[SVN r18991]
2003-07-09 13:54:56 +00:00
Jens Maurer
129ab6805b name of toolset is edg, not eccp
[SVN r18987]
2003-07-09 11:12:03 +00:00
Jens Maurer
b24a7655b4 add EDG compiler (evaluation version) configuration
[SVN r18986]
2003-07-09 11:09:52 +00:00
Vladimir Prus
8993b96c96 Bugfix.
* jam_src/make1.c
  (make1c): Don't change function-scope 't' variable inside some if scope.
  Use another variable in that scope.


[SVN r18983]
2003-07-09 05:49:12 +00:00
Vladimir Prus
1be4d3ccb1 Document existence and usage of tracker.
[SVN r18980]
2003-07-08 13:35:44 +00:00
Vladimir Prus
bf56add91d Map <threading>multi into -pthread.
[SVN r18978]
2003-07-08 13:09:47 +00:00
Jens Maurer
d2d9865e07 remove warning "comparison between signed and unsigned"
[SVN r18976]
2003-07-08 09:43:25 +00:00
Rene Rivera
8ab28f5b9b Added detection of SunPro compiler.
[SVN r18968]
2003-07-07 18:28:05 +00:00
Douglas Gregor
030923e873 html.xsl, html-single.xsl: Use function requirements <variablelist> formatting
when spacing="boost"


[SVN r18964]
2003-07-07 15:32:07 +00:00
Douglas Gregor
006c7bb53d dtd/boostbook.dtd:
- Parameters can now have <description> elements
	- Add function specifiers

xsl/function.xsl:
	- When needed, place function return type on a separate line
	- Format <description> element for parameters
	- Use "spacing=boost" for variablelists used for function requirements

xsl/doxygen/doxygen2boostbook.xsl:
	- Emit <description> elements for parameters when available
	- Properly translate file descriptions


[SVN r18963]
2003-07-07 15:31:34 +00:00
Beman Dawes
0c742378f5 Set /Od and /Zi for no opt, debug
[SVN r18962]
2003-07-07 15:22:47 +00:00
Vladimir Prus
cfe304bd1c Bugfix: don't assign the same number to two different flags.
[SVN r18961]
2003-07-07 15:02:36 +00:00
Vladimir Prus
dbe327c4aa Fix use of uninitialized memory.
[SVN r18954]
2003-07-07 07:37:34 +00:00
Rene Rivera
f78223c2ff Fix minor typos after testing on Linux.
[SVN r18943]
2003-07-05 16:13:19 +00:00
Rene Rivera
bfe3b3c3e0 Fix various problems with removal of grammar files when yacc program fails.
Also added VS71COMNTOOLS detection for vc7.


[SVN r18942]
2003-07-05 15:34:34 +00:00
Vladimir Prus
be16b4b101 Add one more step.
[SVN r18939]
2003-07-04 12:43:22 +00:00
Vladimir Prus
d5604cf15e Update locations.
[SVN r18938]
2003-07-04 12:42:28 +00:00
Vladimir Prus
59c7cc529f Make customization example for Windows friendly.
[SVN r18937]
2003-07-04 12:05:51 +00:00
Vladimir Prus
bc76530d0d Add -nologo switch to linker command line.
[SVN r18936]
2003-07-04 11:36:36 +00:00
Vladimir Prus
a9386dc876 Note that QT works with msvc.
[SVN r18935]
2003-07-04 11:33:36 +00:00
Vladimir Prus
8854fc910f Fix typo.
[SVN r18934]
2003-07-04 11:32:17 +00:00
Vladimir Prus
82902a3581 Add missing file.
[SVN r18932]
2003-07-03 10:11:38 +00:00
Vladimir Prus
6533f7c0f9 Fix segfault, caused by premature deletion of some data. Positively,
valgrind rocks!


[SVN r18931]
2003-07-03 09:57:51 +00:00
Vladimir Prus
8e7489fc08 Kill some warnings.
[SVN r18930]
2003-07-03 09:55:39 +00:00
Vladimir Prus
5f50320d1e Copy examples-v2 to sf webspace when rolling release.
[SVN r18929]
2003-07-03 09:27:34 +00:00
Vladimir Prus
bc5760382e Bump version.
[SVN r18928]
2003-07-03 09:23:55 +00:00
Vladimir Prus
97d61fc628 Lots of documentation rearrangement and improvement.
[SVN r18927]
2003-07-03 09:13:05 +00:00
Vladimir Prus
93aecf9222 Add readme.
[SVN r18926]
2003-07-03 09:07:39 +00:00
Vladimir Prus
a5ece24916 Add a new example.
[SVN r18925]
2003-07-03 08:57:32 +00:00
Vladimir Prus
b431d314c3 Bugfix: the 'lib' target used to pass all unused sources to dependents,
which confused Boost.Build.


[SVN r18924]
2003-07-03 07:52:57 +00:00
Vladimir Prus
be6fc49496 Implement inline main targets.
* new/targets.jam
  (main-target-sources): New rule.
  (abstract-target.rename): New rule
  (project-target.rename-main-target): New rule.


[SVN r18923]
2003-07-03 07:23:26 +00:00
Vladimir Prus
f959b01029 Improve comments.
[SVN r18922]
2003-07-03 07:18:39 +00:00
Vladimir Prus
26223c1ac9 Make 'explicit' rule accept multiple arguments, for conveniecence.
[SVN r18921]
2003-07-03 07:17:27 +00:00
Vladimir Prus
92d142d014 Unbreak qt-ui example: use hello_world_widget.h include, not hpp, since
UIC_H type has .h extension by default. With .hpp the examples worked
only if UIC_H extension was changed to .hpp in user-config.jam.


[SVN r18920]
2003-07-03 05:04:18 +00:00
Vladimir Prus
3ddd7b6b0c 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
Vladimir Prus
780c66ae37 Make searched targets really work on borland.
* new/builtin.jam
  (lib-generator): Remove.
  (lib-target-class): New class. Target class is more powerfull then
  generator, here.

* new/generators.jam
  (construct): New argument 'return-all'.

* bew/property-set.jam
  (property-set.add-raw): New method.


[SVN r18917]
2003-07-02 12:23:50 +00:00
Vladimir Prus
f7700f350e Add --preserve option to test system.
[SVN r18915]
2003-07-02 11:46:19 +00:00
Beman Dawes
22b244c0c8 Make use of quotes consistent in command line examples
[SVN r18910]
2003-07-01 19:31:45 +00:00
Vladimir Prus
ff4e1c4a91 Use new-style target in in stlport.jam.
[SVN r18909]
2003-07-01 14:15:22 +00:00
Vladimir Prus
cd08546140 Add linkflags and archiveflags support to borland toolset.
[SVN r18908]
2003-07-01 14:10:56 +00:00
Vladimir Prus
3b47cfb71c Robustify dependency_test.
[SVN r18907]
2003-07-01 14:10:03 +00:00
Vladimir Prus
fd2fd2fbaf Fix compilation errors on borland.
[SVN r18906]
2003-07-01 14:00:04 +00:00
Vladimir Prus
a4cb3dbc7d Add gettext example.
[SVN r18905]
2003-07-01 12:00:31 +00:00
Vladimir Prus
703018d27a Add missing import.
[SVN r18904]
2003-07-01 11:58:11 +00:00
Vladimir Prus
cff273322f Gettext improvements. Allow main target in sources for 'gettext.update'
rule. Improve 'stage' target to help installting gettext files.


[SVN r18903]
2003-07-01 11:48:53 +00:00
Vladimir Prus
61402bcd17 Add gettext support.
[SVN r18902]
2003-07-01 09:48:16 +00:00
Vladimir Prus
562ad04726 Change the core so that both "existing" and "updated" modifiers are both
allowed.


[SVN r18901]
2003-07-01 09:45:56 +00:00
Vladimir Prus
c6f604f0b3 The "explicit" targets are now specified by "explicit" rule in Jamfile,
not by project attribute. The problem with the previous interface was
that it was not possible to mark target as explicit anywhere else,
such as in helper module which declares target in project module, or
in toolset module.

* new/targets.jam
  (project-target.mark-target-as-explicit): New rule
  (project-target.targets-to-build): Use self.explicit-targets.

* new/project.jam
  (project-attributes.set): Don't allow 'explicit-targets'.


[SVN r18900]
2003-07-01 06:46:15 +00:00
Vladimir Prus
603ec0c4dc Move some stuff from user manual to architecture document.
[SVN r18899]
2003-07-01 06:34:43 +00:00
Vladimir Prus
880b35f258 Bump Jam version to 3.1.6.
[SVN r18897]
2003-07-01 05:14:46 +00:00
Rene Rivera
049677013d Fixed missing echo command on nont NT systems.
[SVN r18891]
2003-06-30 14:37:00 +00:00
Vladimir Prus
d4175ebaaf Update build system for bjam changes.
[SVN r18890]
2003-06-30 14:28:05 +00:00
Vladimir Prus
5ad3a67447 Handle include dependencies between generated sources correctly.
[SVN r18889]
2003-06-30 14:24:20 +00:00
Vladimir Prus
ed49efa215 Partial sync with Perforce state. The main purpose was to merge
changesets 2499 and 2614, which change (and improve), handling of includes.


[SVN r18888]
2003-06-30 14:14:50 +00:00
Vladimir Prus
506d4be1ae 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
Vladimir Prus
683062c8e3 Patch from Kirill Lapshin to improve msvc autoconfiguration.
- use ProgramFiles environmental variable, if set, to handle
  localized Windows installation.
- use VS71COMTTOOLS for detect vc 7.1 installation path.


[SVN r18886]
2003-06-30 12:32:19 +00:00
Vladimir Prus
7f73c6500c Fix typo.
[SVN r18885]
2003-06-30 06:51:10 +00:00
Beman Dawes
532cabda10 Add --c99 for C compiles
[SVN r18883]
2003-06-29 04:36:15 +00:00
Rene Rivera
d9f7699ce7 Support use of unversioned and unrooted initialization of the toolset. In which case an attempt is made to find the intended root from a path search. Additionaly fixed the precense of -L"" when an unrooted initialization happens.
[SVN r18882]
2003-06-27 22:05:03 +00:00
Rene Rivera
95578755e7 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
Vladimir Prus
895a001c5f Improve doc formatting.
[SVN r18875]
2003-06-27 13:19:52 +00:00
Rene Rivera
c0676fd2cd 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
e3fcd11998 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
d42301e366 Bugfix: make searched libraries really work on borland.
[SVN r18867]
2003-06-24 12:43:11 +00:00
Vladimir Prus
58fb68e5fc Bison/Lex improvements: add YY and LL types which are converted into C++.
Add missing 'init' rules.


[SVN r18866]
2003-06-24 12:41:23 +00:00
Vladimir Prus
d83b0c7538 Add missing 'init' rule.
[SVN r18865]
2003-06-24 11:53:14 +00:00
John Maddock
f8e37fa082 Added docs for --report option
[SVN r18864]
2003-06-24 11:33:58 +00:00
Rene Rivera
bd3ce2c707 Fix binary invocation of gcc/g++ when the GCC/GXX varaiable contains something other than the single executable name.
[SVN r18860]
2003-06-23 17:05:02 +00:00
John Maddock
7f6568e316 Fixed some dependency analysis that was previously failing.
Added --report mode which list the licences in use, among other things.


[SVN r18858]
2003-06-23 11:58:15 +00:00
Beman Dawes
72abf0ac7f Fix broken bookmarks
[SVN r18852]
2003-06-21 23:48:59 +00:00
Vladimir Prus
1fa695e894 Enable 'custom_generator' test.
[SVN r18833]
2003-06-18 06:37:43 +00:00
Vladimir Prus
faff1a7e01 Improve docs.
[SVN r18832]
2003-06-18 06:32:04 +00:00
Vladimir Prus
63e6b96f0c Kill MinGW warning.
[SVN r18831]
2003-06-18 05:54:21 +00:00
Vladimir Prus
6beb64e887 Improve warning message.
[SVN r18830]
2003-06-18 05:31:19 +00:00
Vladimir Prus
4d348b0c6d Change "new" to "kernel" in "boost-build.jam" files.
[SVN r18829]
2003-06-18 05:29:40 +00:00
Vladimir Prus
614e98798e Bump version.
[SVN r18819]
2003-06-17 06:28:07 +00:00
Vladimir Prus
ca50322f78 Tweak release procedure more.
[SVN r18818]
2003-06-17 05:40:25 +00:00
Beman Dawes
f9cd20b158 Add <note> feature
[SVN r18808]
2003-06-16 16:36:02 +00:00
Vladimir Prus
286b96df66 Tweak release procedure.
[SVN r18807]
2003-06-16 15:01:59 +00:00
Vladimir Prus
ca315f6a48 Change revision date.
[SVN r18806]
2003-06-16 13:09:40 +00:00
Vladimir Prus
d8e940e700 Use exact location for tarballs, so that user don't have to scroll long
download page to find Boost.Build.


[SVN r18805]
2003-06-16 13:08:55 +00:00
Vladimir Prus
5cf1223dbc Use new target-id syntax in docs.
[SVN r18804]
2003-06-16 13:01:04 +00:00
Vladimir Prus
af9c9a7873 Update for recent changes.
[SVN r18803]
2003-06-16 12:54:05 +00:00
Vladimir Prus
1a6116fdbe Minor bugfix.
[SVN r18802]
2003-06-16 12:50:55 +00:00
Vladimir Prus
405ebf830b STLport works with msvc now.
[SVN r18801]
2003-06-16 12:34:49 +00:00
Vladimir Prus
200744e6d2 Don't error out if msvc is not found: just give a warning. This helps people
which use the same user-config.jam from different machines.


[SVN r18800]
2003-06-16 12:21:49 +00:00
Vladimir Prus
ec115a2d5c 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
51eb5922b6 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
f030ff5c34 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
Vladimir Prus
635e924a10 Document new target-id syntax.
[SVN r18781]
2003-06-11 12:27:36 +00:00
Vladimir Prus
dd77712005 Implement new target-id syntax.
[SVN r18780]
2003-06-11 12:22:03 +00:00
Vladimir Prus
297edded8e Explicitly pass source type for msvc.
[SVN r18776]
2003-06-11 11:48:15 +00:00
Vladimir Prus
7fb8661224 Explicitly specify source type when compiling, so that there's no need to
specify both name for C++ compiler and for C compiler, when initializing
non-default version.


[SVN r18775]
2003-06-11 10:27:46 +00:00
Vladimir Prus
c8bbea3a1e Compile C files with C compiler, not C++. This commit would close BB32, if
it included MSVC...

* new/toolset.jam:
  Allow action names with dots, so that we can set flags for
   gcc.compile.c, gcc.compile and gcc and combine those flags.

* tools/gcc.jam: Use 'gcc' for compiling C files. There's still a problem:
   'init' rules does not allow to configure name of C compiler. Also, don't
   declare flags individually for gcc.link and gcc.link-dll.

* tools/borland.jam: Force C++ compile when needed.


[SVN r18774]
2003-06-11 08:40:45 +00:00
Rene Rivera
67bd1a8105 Implement the HTML output type.
[SVN r18772]
2003-06-11 07:09:43 +00:00
Rene Rivera
3dad058922 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
6a8029ceff Removed commented code.
[SVN r18770]
2003-06-11 05:26:17 +00:00
Vladimir Prus
7055663713 Document that project-root can act as Jamfile. Explicitly list predefines
rules in project context.


[SVN r18760]
2003-06-10 11:39:34 +00:00
Vladimir Prus
78c4c21c6c Allow project-root.jam to act as Jamfile.
* new/project-root.jam (project-root-context.project): New rule
  (find-project-rule): New rule, factored out of 'load' so that it can
  be used elsewhere.

* new/project.jam (find): When project is not yet known, try loading
  project-root, not only Jamfile.


[SVN r18759]
2003-06-10 11:07:56 +00:00
John Maddock
020c930f19 Added bcp utility (initial commit).
[SVN r18742]
2003-06-09 11:52:33 +00:00
Rene Rivera
f24add53a7 Improvements to bootstraping and building.
- build.bat; added more possible locations for VC7.
- build.bat; added an alternate for finding bison (gnuwin32.sourceforge.net version).
- build.jam; added an alternate for finding bison (gnuwin32.sourceforge.net version).
- build.jam; removed some obsolete docs from distribution.
- build.jam; fixed path problem when packaging on windows, the debian directory.
- build.jam; added header scanning to create the extra dependencies to make building the grammar work correctly.
- build.jam; fixed building of the grammar to remove attempts at building it spuriously.
- build.jam; fixed building of grammar so that it doesn't delete existing files if the yacc execution fails.
- index.html; minor cleanup of language in some places.
- index.html; removed references to no longer packaged docs.
- *; updated the version to 3.1.5 in various places.
- build.*; tested on windows with vc7, metrowerks, mingw, and borland


[SVN r18703]
2003-06-07 18:44:32 +00:00
Dave Abrahams
7938ce7e6d Fixed a bug in cost computation - paths were failing to account for
their common subset.  Now we count the actual number of
transformations involved in each TargetTypeGroup


[SVN r18702]
2003-06-06 16:19:57 +00:00
Dave Abrahams
1722625069 Allow the search to not consume all sources
[SVN r18701]
2003-06-06 15:39:01 +00:00
Dave Abrahams
1e4735a6df Only one generator per path from sources to targets.
[SVN r18700]
2003-06-06 15:17:39 +00:00
Dave Abrahams
c489b526a8 Fix a bug in ambiguity detection.
Add a report of subgraphs causing ambiguity at the end.


[SVN r18699]
2003-06-06 14:20:52 +00:00
Vladimir Prus
6ff4e20f54 Update railsys for recent changes.
[SVN r18694]
2003-06-06 10:06:14 +00:00
Vladimir Prus
3f2431c244 Work-in-progress on better STLport support.
[SVN r18693]
2003-06-06 09:57:57 +00:00
Vladimir Prus
311aba0315 Move a bunch of modules to "tools" directory. I'm uncertain about some
modules that are still in "new", but they can be moved later.


[SVN r18692]
2003-06-06 09:38:49 +00:00
Vladimir Prus
be929c1a30 Improve comments.
[SVN r18691]
2003-06-06 09:36:33 +00:00
Vladimir Prus
4c599d1503 Forgotten change.
[SVN r18690]
2003-06-06 09:08:50 +00:00
Vladimir Prus
c749e32e3b Refactorings. Now usage requirements that should be propagated to dependents
are communiated via return value of 'abstract-target.generate', not as
attribute of virtual target. The advantage is that we can return usage
requirements, even if no targets were created.

Also, usage requirements is not really attribute of virtual target. If several
virtual targets are created for one main target, the previous code would set
the same usage requirements on all virtual targets.


[SVN r18689]
2003-06-06 09:02:36 +00:00
Vladimir Prus
8c56983484 Forgotten change
[SVN r18688]
2003-06-06 06:52:06 +00:00
Vladimir Prus
9549942158 Speedup: call 'normalize-raw-paths' only when we're really going to
load module.


[SVN r18687]
2003-06-06 06:31:25 +00:00
Vladimir Prus
c512aed70b Don't warn when dependency main target produced nothing.
* new/targets.jam
  (basic-target.check-for-unused-sources): Don't warn when group
  of targets originated from one main target is empty.


[SVN r18686]
2003-06-06 06:29:31 +00:00
Dave Abrahams
1df1fea6b6 initial commit
[SVN r18684]
2003-06-05 22:27:39 +00:00
Vladimir Prus
8cca603139 Add support for resource compiler, from Andre Hentz.
[SVN r18676]
2003-06-05 05:51:00 +00:00
Vladimir Prus
19ce4b20ff Followup. The previous commit somehow was untested. Fixing some bugs now,
and additionally:

* new/targets.jam
  (generate): Create target for a file, when main target is not found.
  (basic-target.generate-sources): Don't create targets for files.


[SVN r18668]
2003-06-04 14:17:54 +00:00
Vladimir Prus
faafa4d10e Simplify project-id and target-id handling.
* new/project.jam
  (lookup) Don't support project location in front of "@".
  (lookup-with-load): Remove.
  (find): New rule.
  (find-target): move to...

* new/target.jam
  (find): Here. And simplify.


[SVN r18667]
2003-06-04 13:30:45 +00:00
Vladimir Prus
2bb48ac834 More use case clarification.
[SVN r18666]
2003-06-04 10:34:39 +00:00
Vladimir Prus
ebd223f5f0 Update my use case.
[SVN r18665]
2003-06-04 10:30:18 +00:00
Vladimir Prus
c6ece2f057 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
Dave Abrahams
a2c82d3978 Regex bug fix
[SVN r18655]
2003-06-03 18:26:33 +00:00
Dave Abrahams
b829c881bc initial commit
[SVN r18654]
2003-06-03 18:15:33 +00:00
Dave Abrahams
c7a71fff25 Enable argument-dependent lookup.
[SVN r18647]
2003-06-02 13:41:08 +00:00
Dave Abrahams
0b1bf9c40c Do a better dance for setting wchar_t support in the compiler and
library.


[SVN r18642]
2003-06-01 19:08:20 +00:00
Beman Dawes
fe8a54660e Better way to suppress vsvars32 messages (Greg Comeau)
[SVN r18641]
2003-06-01 18:14:23 +00:00
Dave Abrahams
ecfe732f16 Hack around our inability to detect wchar_t support for intel6
[SVN r18639]
2003-06-01 15:07:20 +00:00
Dave Abrahams
4612dccbb3 Add option customization based on the version of the intel compiler
and base msvc installation in use.

Added auto-detection for the intel compiler version.

Updated documentation; retired the INTELC variable, since it was
unsupported anyway.


[SVN r18638]
2003-06-01 14:53:07 +00:00
Dave Abrahams
0d7f8aa61c Added quotes to command-line elements thanks to Ben Hutchings
<ben.hutchings-at-businesswebsoftware.com>

Also eliminated separate targets for "always run" tests in favor of a
--python-test-all argument.  Should result in way less bjam
processing.


[SVN r18625]
2003-05-31 13:48:14 +00:00
Vladimir Prus
edc1b0eb37 Add missing imports.
[SVN r18612]
2003-05-30 13:57:24 +00:00
Vladimir Prus
ebf63e07d7 ".cc" is C++, too.
[SVN r18611]
2003-05-30 13:55:48 +00:00
Beman Dawes
3ee381b943 verify path exists; needed in case CVS Entries file is wrong
[SVN r18600]
2003-05-29 18:16:07 +00:00
Beman Dawes
fe76b5c8a1 Fix last total bug + spacing
[SVN r18592]
2003-05-28 21:05:58 +00:00
Beman Dawes
eaebc2ba0c link and spacing fixes
[SVN r18591]
2003-05-28 19:50:31 +00:00
Beman Dawes
3a9a8ea8c2 covers both como and como-win32
[SVN r18590]
2003-05-28 19:50:04 +00:00
Vladimir Prus
1ad4ca3018 Tweak docs.
[SVN r18585]
2003-05-28 11:34:31 +00:00
Vladimir Prus
01f1134303 Accomodate layout changes.
[SVN r18584]
2003-05-28 11:33:07 +00:00
Vladimir Prus
7995ac3f1c Remove 'boost-build.jam' files from 'railsys' test, since they mess up
testing.


[SVN r18583]
2003-05-28 11:32:01 +00:00
Vladimir Prus
f937ec6fdb Strip binaries when no debug symbols are needed.
[SVN r18577]
2003-05-28 07:23:05 +00:00
Vladimir Prus
b7129e5c8a 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
896a089679 Enabled sorting of BBv2 modules into subdirectories
build-system.jam - moved from tools/build/new to tools/build

boost-build.jam - moved from tools/build/new to tools/build/kernel
bootstrap.jam
errors.jam
modules.jam

test/BoostBuild.py   - adjusted for the above modification
test/boost-build.jam

project-root.jam - renamed to "project-roots.jam" to avoid confusion
                   and conflict with the user's project-root.jam file

project.jam                           - adjusted for the above renaming
test/project-test1/project-test1.jam

type.jam - broke a circular module dependency


[SVN r18575]
2003-05-28 01:33:38 +00:00
Dave Abrahams
de42bf38d8 Give a little feedback about the current directory when a test fails
[SVN r18571]
2003-05-27 23:59:03 +00:00
Rene Rivera
740fd800c7 Coalesed wranings into the pass column.
Remvoed tabs. (to be nice)


[SVN r18569]
2003-05-27 20:18:11 +00:00
Beman Dawes
a1af1a50c7 add como-win32, improved usage instructions
[SVN r18568]
2003-05-27 18:13:49 +00:00
Beman Dawes
877cc40539 Initial commit
[SVN r18560]
2003-05-27 14:49:31 +00:00
Vladimir Prus
cfc08555a1 Bugfix: recognize '.a' as valid extension for libraries, on Cygwin.
Bug reported by Wieger Wesselink.


[SVN r18559]
2003-05-27 14:23:51 +00:00
Beman Dawes
144b489724 Major revision: generate HTML, look at CVS files only
[SVN r18558]
2003-05-27 13:01:33 +00:00
Vladimir Prus
c68a5776f7 Add infrastructure which allows project-root.jam to fulfil Jamfile
role as well, so that small projects can use only one file.

* new/project.jam
  (load): Load project root at the very start, in case it wants to
     be Jamfile.
  (act-as-jamfile): New rule.
  (module-name): Allow to tweak the name of module associated with a location.


[SVN r18557]
2003-05-27 07:00:32 +00:00
Vladimir Prus
52e1b8081d Refactorings.
* new/project.jam
  (load): Prevent loading jamfile twice here, since we have all the
     necessary data.
  (load-jamfile): Don't try to check for duplicate loading (the check
     was a bit clumsy, anywhay). Remove 'loaded-var' parameter.


[SVN r18556]
2003-05-27 06:35:48 +00:00
Vladimir Prus
c181f72298 Update the railsys tests for recent QT changes.
[SVN r18555]
2003-05-27 06:08:09 +00:00
Beman Dawes
3e18ba499d tweek to handle paths
[SVN r18546]
2003-05-26 15:47:46 +00:00
Vladimir Prus
8de1818d09 Change the QT toolset to use new standalone project feature.
[SVN r18545]
2003-05-26 14:44:24 +00:00
Vladimir Prus
a2d725d363 Allow 'standalone' projects.
* new/project.jam
  (inherit-attribute): New rule, extracted from 'initialize'.
  (initialize): Allow 'jamfile' parameter to be empty, in which case
    the project is 'standalone'.


[SVN r18544]
2003-05-26 14:30:26 +00:00
Beman Dawes
aabeece5dd add <no-warn> feature from Rene Rivera
[SVN r18543]
2003-05-26 14:26:35 +00:00
Vladimir Prus
4e084c3c86 Refactorings. Use module name to identify Jamfiles, not the directory where
they are located. The problem with using the directory name is that we might
want toolset modules to act as project, and directory name is not unique then.
We might even want to declare two projects in the same module.


[SVN r18542]
2003-05-26 13:51:21 +00:00
Vladimir Prus
20706babe2 Refactorings: remove 'project-root' attribute of project, for lack of any
use.

* new/project.jam
  (initialize): Register with project root here. Don't initialize the
   'project-root' attribute.
  (project-attributes.set): Don't allow 'project-root' and 'project-root-module'.


[SVN r18541]
2003-05-26 12:56:24 +00:00
Toon Knapen
4c334c2e25 added --comment path to compiler_status invocation
[SVN r18540]
2003-05-26 12:01:36 +00:00
Rene Rivera
69df4a8b5a Removed all libraries from embeded python properties on MacOSX.
[SVN r18537]
2003-05-26 04:48:56 +00:00
Rene Rivera
832f189a63 Minor changes to attempt getting Python build working on MacOS-X with Python 2.3 framework.
- darwin-tools.jam; added warnings feature to control warning output.
- darwin-tools.jam; disable some Apple speicfic options when using g++ directly.
- darwin-tools.jam; disable dylib versioning, for now.
- python.jam; remove shared link to pyton2.3 lib for embebed targets.
- python.jam; remove uneeded path to python libraries, implicitly there because of framework use.
- python.jam; disable warnings, for now.


[SVN r18529]
2003-05-24 16:24:46 +00:00
John Maddock
ca5ed421f3 Fixed regex library change
[SVN r18523]
2003-05-24 11:10:20 +00:00
Rene Rivera
67099860c5 Minor changes to attempt getting Python build working on MacOS-X with Python 2.3 framework.
- darwin-tools.jam; added GCC* env setup variables to allow for using something other than the built in gcc.
- darwin-tools.jam; tweaked the bundle-loader feature to also add the bundle as a link object.
- python.jam; wire in the framework path for python.
- python.jam; remove the <framework> feature from built PYDs.


[SVN r18522]
2003-05-24 06:53:00 +00:00
Beman Dawes
8214b1dcc4 Add --comment option
[SVN r18514]
2003-05-23 16:03:10 +00:00
Vladimir Prus
aa6b89c2b8 Introduce 'profile' variant.
[SVN r18509]
2003-05-23 11:36:27 +00:00
Vladimir Prus
ebf976118a Bugfix.
* new/stage.jam
  (stage-target-class.construct): Pass the result via
  'virtual-target.register'. I wonder if virtual targets should
   be create via 'virtual-target.create' which will invoke
  'virtual-target.register' internally. Passing via 'register' was forgotten
   in many places.

* test/stage.py: New test.


[SVN r18497]
2003-05-22 13:23:40 +00:00
Vladimir Prus
6b58c35534 Add/clarify comments.
[SVN r18496]
2003-05-22 11:50:10 +00:00
Vladimir Prus
eeeba8eacd Add missing import.
[SVN r18495]
2003-05-22 11:48:39 +00:00
Vladimir Prus
8dde75393e Fix debian package build.
[SVN r18492]
2003-05-22 08:41:18 +00:00
Vladimir Prus
3a233b5ebe Fix typo, reported by Sam Partington.
[SVN r18480]
2003-05-21 09:44:26 +00:00
Vladimir Prus
32016092c5 Correct SF download location URL.
[SVN r18479]
2003-05-21 07:03:41 +00:00
Vladimir Prus
0c121bba89 Bugfix: add "bin" to explicitly provided path.
[SVN r18477]
2003-05-21 06:20:43 +00:00
Vladimir Prus
e8005fa745 Don't warn about multiple msvc installations when --quiet is passed,
to avoid spirious test failures.


[SVN r18476]
2003-05-21 05:41:04 +00:00
Vladimir Prus
0af8f281da Use the previous approach for finding generator's match rank, now
that we have a use case. Add an explanation in code. More details
will be posted to the list.


[SVN r18475]
2003-05-21 05:37:39 +00:00
Beman Dawes
4404c5e15c Use command file so lib works on partial builds
[SVN r18473]
2003-05-20 19:08:28 +00:00
Vladimir Prus
8c4cff52f0 Set 'x' bit on jam_src/build.bat, so that it's executable under cygwin.
[SVN r18465]
2003-05-20 10:23:44 +00:00
Dave Abrahams
96b19f914c added missing includes
[SVN r18457]
2003-05-19 21:25:34 +00:00
Beman Dawes
5bee0cb61f Comeau now includes user32.lib by default
[SVN r18453]
2003-05-19 18:41:27 +00:00
Beman Dawes
2d4d3d3d79 remove redunant options (Greg Comeau)
[SVN r18452]
2003-05-19 14:52:34 +00:00
Beman Dawes
09f45d9d87 manually supply user32.lib (has been reported to Comeau)
[SVN r18451]
2003-05-19 14:27:03 +00:00
Beman Dawes
c43ca02f6b use locate_root for lib errors
[SVN r18450]
2003-05-19 14:04:32 +00:00
Vladimir Prus
c420247d4d Add msvc and borland to default user-config.jam.
[SVN r18449]
2003-05-19 12:57:29 +00:00
Vladimir Prus
20a6606eb7 Ignore borland debug symbols.
[SVN r18448]
2003-05-19 12:39:06 +00:00
Vladimir Prus
07cae64f9d Improve distro roller.
[SVN r18447]
2003-05-19 12:26:27 +00:00
Vladimir Prus
a167da2810 Make toolset.using accessible in project-root. It's a great convenience
for testing.


[SVN r18441]
2003-05-19 10:52:31 +00:00
Vladimir Prus
eef44c3917 Fix a couple of fallouts from the default build change.
* new/make.jam
  (make): Pass 'default-build' in the right position.

* new/targets.jam
  (basic-target): Use empty property-set if no default-build is passed.
  (main-target): Use 'raw' to test property-set for emptines. The string
  emptyness test that use to be there does not works for property-sets.


[SVN r18440]
2003-05-19 10:28:02 +00:00
Vladimir Prus
e37adae58f Check for bjam 3.1.5.
[SVN r18439]
2003-05-19 10:09:56 +00:00
Vladimir Prus
dcd1cbd9bb Bump bjam version to 3.1.5. The current V2 codebase won't work with
older bjams, at all.


[SVN r18437]
2003-05-19 10:07:00 +00:00
Vladimir Prus
8c5fc28e80 Fix a bug with default build handling. The bug was caused by the fact that
default build was stored as plain list, and implied properties were not
converted. E.g. we had "debug release", not "<variant>debug <variant>release",
which was assumed.

* new/targets.jam
  (main-target, basic-target): Store 'property-set' as default-build
  attribute.
  (main-target-default-build): Use 'property-set.create-with-validation'.

* new/property-set.jam
  (create-with-validation): New rule.

* test/default_build.py: More tests.


[SVN r18436]
2003-05-19 09:54:08 +00:00
Vladimir Prus
3ab767758b Add missing imports.
[SVN r18435]
2003-05-19 09:01:11 +00:00
Dave Abrahams
4903042cc7 * expand.c - Implemented :W modifier for Cygwin->Windows path
translation.  Cleaned up indentation and idiomatic use of string.

* index.html - documented recent features including VARNAMES and
  DELETE_MODULE

* borland.jam, msvc.jam - use the new :W modifier to simplify
  code (but only somewhat)

* BoostBuild.py - ignore MSVC .ilk files under Cygwin and NT


[SVN r18434]
2003-05-19 06:30:44 +00:00
Dave Abrahams
067b9a0eea * 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
48c82f097a Added missing import
[SVN r18426]
2003-05-16 15:51:36 +00:00
Dave Abrahams
012aca9c0e 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
Vladimir Prus
5c4b8228ef Unbreak 'searched_lib.py'.
* new/virtual-target.jam
  (null-action): Pass '.no-action' as action name, not 'no-action'. The
  action name is really dummy, it's not used at all. However, when it does
  not include dot, the smart 'action' ctor will assume it's local and prepend
  module name to it. The calling module will be 'null-action' instance module,
  always unique, and as result, no two targets with null actions will be
  equal, as far as 'virtual-target.register' is concerned.


[SVN r18424]
2003-05-16 12:57:40 +00:00
Vladimir Prus
ce5006d8de Add a (terrible verbose, but hopefully clear) commentary.
[SVN r18423]
2003-05-16 12:49:59 +00:00
Vladimir Prus
c3c4654c10 Unbreak make_rule.py. The change in actions reporting broke it.
[SVN r18422]
2003-05-16 12:38:50 +00:00
Vladimir Prus
13de664d5a Run 'unused' now that it works.
[SVN r18421]
2003-05-16 12:15:36 +00:00
Vladimir Prus
b2a7164de7 Add missing import.
[SVN r18420]
2003-05-16 12:14:56 +00:00
Vladimir Prus
2d9e943415 Remove ECHO. I'm not sure if it was for debugging or not, but the list
of all actions that jam could possibly execute is not good-looking. E.g:

    gcc.compile
    gcc.link-dll
    gcc.compile
    gcc.link
    ...found 19 targets...
    ...updating 9 targets...
    MkDir1 app/bin/gcc
    MkDir1 app/bin/gcc/debug
    MkDir1 app/bin/gcc/debug/main-target-app
    compile app/bin/gcc/debug/main-target-app/app.o


[SVN r18418]
2003-05-16 12:00:50 +00:00
Vladimir Prus
3255b75afa Add forgotten files.
[SVN r18417]
2003-05-16 11:23:17 +00:00
Vladimir Prus
64ee32ba57 More changes to accomodate more strict import semantics and changes
to feature.action.


[SVN r18416]
2003-05-16 11:05:42 +00:00
Dave Abrahams
e532ac9ec7 Improved comment for Volodya
[SVN r18415]
2003-05-15 23:15:41 +00:00
Dave Abrahams
8bad87af37 added missing import
[SVN r18412]
2003-05-15 22:31:03 +00:00
Dave Abrahams
4d00ab3200 Workaround svn_tree deficiency on Cygwin
[SVN r18411]
2003-05-15 22:30:47 +00:00
Dave Abrahams
9456782e1e * added new builtin tests
* handle the absence of QT more gracefully

* flush stdout after each test so that emacs shows progress

****** Commented out tests which appear to be failing outside my control ******


[SVN r18410]
2003-05-15 22:30:08 +00:00
Dave Abrahams
b9e1785c67 tests for new builtin rules
[SVN r18409]
2003-05-15 22:27:47 +00:00
Dave Abrahams
0742737f7b * Prefer to test with a debug version of bjam if one is available
* Always dump stdio/stderr when there's a failure


[SVN r18408]
2003-05-15 22:27:25 +00:00
Dave Abrahams
3eb6c72cef 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
Ralf W. Grosse-Kunstleve
0b473ac9bd changes as per Toon Knapen
[SVN r18406]
2003-05-15 20:58:57 +00:00
Dave Abrahams
a17c36fabf * 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
70cbc91884 Don't look for 'yacc' without an '.exe' extension on NT, because we
might find the Cygwin script which isn't executable through the NT
shell.


[SVN r18404]
2003-05-15 20:07:44 +00:00
Vladimir Prus
884892ece1 Improve the way unused sources are detected/reported.
* new/targets.jam
  (basic-target.generate-source): Separate virtual targets that come from
    different sources.
  (basic-target.check-for-unused-targets): Warn only if not virtual target
    from a given source is comsumed.


[SVN r18403]
2003-05-15 15:52:26 +00:00
Vladimir Prus
c398e9f202 Improve msvc initialization. Now, simple 'using msvc' will work,
regardless of whether vcvars32.bat was called by user.

In addition, new command line option '--debug-configuration' is introduced.
The msvc toolset will tell what paths are searched and what version is
selected, if this option is passed.


[SVN r18402]
2003-05-15 13:28:37 +00:00
Vladimir Prus
6d7ac27647 Try to eliminate short paths on windows, at least in some contexts. They
are very annoying --- e.g. you might decide there are several msvc
installation just because you have default location as long name, and there's
vcvars32.bat in PATH, and PATH element uses short name.

* jam_src/pathsys.h
  (short_name_to_long_name): New function.

* jam_src/filent.c:
  (file_dirscan): Call 'short_name_to_long_name' on argument.

* jam_src/pathunix.c:
  (ShortPathToLongPath): Move here from pwd.c, and fix bugs:
    '.' and '..' elements were completely broken.
  (short_name_to_long_name): Implement here.


[SVN r18401]
2003-05-15 13:07:09 +00:00
Vladimir Prus
9b6f09b0bb Cleanups. No functional changes.
[SVN r18396]
2003-05-14 10:14:27 +00:00
Vladimir Prus
c949e7f5f3 Fix a latent bug.
* new/virtual-target.jam
  (abstract-file-target.actualize-action): Don't set up clean action
   here; the previous code worked by accident anyway, because 'name'
   variable was not declared in any reasonable way.
  (action.actualize): Set up clean action here, close to the place where
   updating action is set up.


[SVN r18395]
2003-05-14 10:08:39 +00:00
Vladimir Prus
155f3dddb1 Document the 'variant' feature. Eventually, we need to document all
builtin features; I'm doing that for 'variant' since I was changing it
recently.


[SVN r18393]
2003-05-14 09:24:29 +00:00
Vladimir Prus
28a6c4acd9 Add <runtime-debugging>on for debug variant.
* new/feature.jam
  - the above change, plus changed the order of values for
  'runtime-debugging' feature, to accomodate strange behaviour of
  'feature.add-defaults'.


[SVN r18392]
2003-05-14 09:00:22 +00:00
Vladimir Prus
bca99d4541 Clarifiy comments.
* new/feature.jam
  (add-defaults): Add a note about behaviour w.r.t. composite features.


[SVN r18391]
2003-05-14 08:57:42 +00:00
Vladimir Prus
f40497c129 Add tests for typechecking facilities.
* test/core_typecheck.py: New test
* test/core_d12.py: Don't pass toolset name to bjam.
* test/test_all.py: Run core tests.


[SVN r18390]
2003-05-14 06:44:43 +00:00
Vladimir Prus
343df9a3a6 Add missing call to BoostBuild.Tester.cleanup.
[SVN r18389]
2003-05-14 06:38:04 +00:00
Vladimir Prus
81f0f3fd7a Undo woraround that is no longer necessary.
[SVN r18387]
2003-05-13 08:25:52 +00:00
Douglas Gregor
f3723c86fd doxygen2boostbook.xsl:
- Handle non-type template parameters
  - Handle class/struct/union template specializations


[SVN r18385]
2003-05-12 13:27:37 +00:00
Dave Abrahams
615d100ef1 Removed redundant -y flag from bison flags
Added -t -v to the yacc/bison flags when --debug is used.

Additionally, we now grab $(YACCFLAGS) from the
environment/command-line to get more yacc diagnostics


[SVN r18379]
2003-05-10 17:57:44 +00:00
Dave Abrahams
cd38eb0e43 Type checking for argument lists
[SVN r18378]
2003-05-10 15:03:54 +00:00
Dave Abrahams
4c4072075b Build jam0 with debugging under MSVC, in case it crashes (which it does).
[SVN r18377]
2003-05-10 14:28:30 +00:00
Rene Rivera
6c94b389ba Change to use exec cgi method instead of include method.
This works around the loss of /usr/bin/perl as a command interpreter when SF had a drive crash.


[SVN r18375]
2003-05-10 03:58:34 +00:00
Vladimir Prus
542d68807b Improve tests.
* tests/prebuilt/ext/Jamfile3: Test that prebuilt targets with
  absolute names work.


[SVN r18371]
2003-05-08 13:52:28 +00:00
Dave Abrahams
af06f3af5f un-pluralized "target-types" in try-one-generator.
[SVN r18370]
2003-05-08 13:33:17 +00:00
Dave Abrahams
c54064a245 Improved grammar of comment on specific-main-target()
Added a comment for str() and improved variable naming


[SVN r18369]
2003-05-08 13:32:34 +00:00
Dave Abrahams
8671377859 Don't reverse slash direction when reconstituting paths on NT
[SVN r18368]
2003-05-08 13:30:24 +00:00
Vladimir Prus
662defda90 Bugfix.
* new/gcc.jam: Quote includes and library names.


[SVN r18367]
2003-05-08 12:54:55 +00:00
Vladimir Prus
319b599eda Bugfix.
* new/feature.jam (get-values): Don't change slash direction on windows.
  The bug can be seen by reverting this change and adding

      import feature ;
      ECHO [ feature.get-values <file> : <file>a/b/c.dll ] ;

  to 'project-root.jam' of examples-v2/hello.


[SVN r18366]
2003-05-08 12:26:38 +00:00
Vladimir Prus
9a73819057 Bugfix.
* new/virtual-target.jam
  (file-target.specific-main-target): Check not only free, but also
  dependency properties when deciding if targets is specific to the main
  target.
* new/dependency_property.py: New test.


[SVN r18363]
2003-05-08 11:24:26 +00:00
Vladimir Prus
4e074505eb Improve testing.
* new/builtin.jam: Register RSP and IMPORT_LIB types, and associated
  generators unconditionally, since the previous behaviour made using
  the same dir for testing from linux and windows inconvenient:
  "using msvc" was causing errors on linux because RSP type was not defined.


[SVN r18362]
2003-05-08 11:06:30 +00:00
Vladimir Prus
f5959a71f3 Refactorings.
* new/msvc.jam
  (version-configured, versionless-configured): Remove unused vars.
  (init): Don't call 'flags SETUP ...', since SETUP is never used.
  (locate): Extracted from 'init'.


[SVN r18357]
2003-05-08 09:55:39 +00:00
Vladimir Prus
5403d6fd0f Add missing dllexport.
[SVN r18355]
2003-05-08 08:53:39 +00:00
Dave Abrahams
8c927d355e restore from disk crash
[SVN r18353]
2003-05-08 02:19:10 +00:00
Dave Abrahams
7c72e37d5b * new/generators.jam: Improved commenting, naming, formatting
(generator.match-rank): Count also requirements when determining the rank,
   not only optional properties.
  (generator.run): Always set 'multiple' to true.


[SVN r18352]
2003-05-08 00:25:27 +00:00
Dave Abrahams
812267f34d Enable symlink test for Cygwin, since it's been fixed there.
[SVN r18347]
2003-05-07 16:08:33 +00:00
Dave Abrahams
9bc22102b7 Works on Cygwin now
[SVN r18346]
2003-05-07 16:08:04 +00:00
Dave Abrahams
d741dd409e On NT, force backslashes during binding phase so that files will be
found.  This used to be taken care of by path_build, but now that
we're trying to preserve slash direction there, we need this here.


[SVN r18345]
2003-05-07 16:07:40 +00:00
Beman Dawes
f8ae9fae39 Initial commit (after CVS lost previous two)
[SVN r18343]
2003-05-07 12:20:47 +00:00
Beman Dawes
8b692712a3 support comiler path with spaces, plus fix backslashes
[SVN r18338]
2003-05-02 13:49:28 +00:00
Rene Rivera
6baf9af65c Removed the /LIBPATH option for MSVC compilers as it's causing too much grief.
[SVN r18336]
2003-04-30 17:05:48 +00:00
Dave Abrahams
c09a9bd368 Bug fix
[SVN r18334]
2003-04-30 01:33:51 +00:00
Dave Abrahams
293d637fe1 Bug fix thanks to Vaclav Vesely <yg-boost-users-at-m.gmane.org>
[SVN r18330]
2003-04-28 19:43:35 +00:00
Vladimir Prus
4bcabe0bc5 Bugfixes.
* new/prebuilt.jam : Make 'file' feature into path-feature.
  (prebuilt-file-generator.run): Adjust accordingly.


[SVN r18328]
2003-04-28 14:12:17 +00:00
Rene Rivera
4ae1d73866 Slightly better explanation of replace.
[SVN r18327]
2003-04-28 14:07:37 +00:00
Vladimir Prus
02d58545e1 Cleanup.
* new/project.jam
  (lookup): If no module is associated with location, don't even try
  to get project attributes.


[SVN r18326]
2003-04-28 08:52:15 +00:00
Vladimir Prus
bc8a838124 Fix path properties handling bug, noted by Kirill Lapshin.
* new/property.jam
  (translate-paths): Apply 'path.make' to path properties.

* test/path_features.py: Test for the bug.


[SVN r18325]
2003-04-28 08:46:16 +00:00
Vladimir Prus
720626dae8 Fix problem with absolute paths for sources, noted by Kirill Lapshin.
* new/virtual-target.jam
  (from-file): Pass target name via "path.make".
  (abstract-file-target.actual-name): Pass target name via "path.native".

* test/absolute_sources.py: New test.


[SVN r18324]
2003-04-28 07:55:53 +00:00
Vladimir Prus
b1d5af77b1 Add test-config.jam skeleton.
[SVN r18323]
2003-04-28 07:45:02 +00:00
Vladimir Prus
0435a1e3f6 Update modification dates.
[SVN r18322]
2003-04-28 06:53:47 +00:00
Dave Abrahams
50a619a9d2 Patched boost-base.jam to allow rules in stage target requirements
Fixed grammar in build_system.htm
Added vc7.1-tools.jam/.html for msvc 7.1
Updated the regex lib Jamfile to build correctly-named libraries


[SVN r18319]
2003-04-27 14:10:52 +00:00
Rene Rivera
0d7d9f5659 Added a "replace" rule to do global string replacements.
[SVN r18316]
2003-04-26 06:20:49 +00:00
Vladimir Prus
7468f54036 Bump the version number.
[SVN r18308]
2003-04-25 06:11:27 +00:00
Vladimir Prus
05d8c65384 Clarify installation docs, using suggestions from Ansgar Philippsen.
[SVN r18307]
2003-04-25 06:10:55 +00:00
Vladimir Prus
d43df9540c Document first version of release procedure
[SVN r18304]
2003-04-24 12:28:02 +00:00
Vladimir Prus
649d0e17f5 Don't import compilers modules
[SVN r18303]
2003-04-24 12:04:25 +00:00
Vladimir Prus
c9f352010e Fix mistaken commit
[SVN r18302]
2003-04-24 11:49:34 +00:00
Vladimir Prus
ece0976c87 Fix mistaked commit
[SVN r18301]
2003-04-24 11:46:49 +00:00
Vladimir Prus
c8bcca1169 Add a script for making distributions
[SVN r18300]
2003-04-24 11:35:40 +00:00
Vladimir Prus
59aace5e6b Correct image location
[SVN r18299]
2003-04-24 11:30:37 +00:00
Vladimir Prus
1d49841e7a Add placeholders for SF logo
[SVN r18298]
2003-04-24 11:18:01 +00:00
Vladimir Prus
b6b1ff73d3 Add more documentation.
[SVN r18297]
2003-04-24 09:48:33 +00:00
Vladimir Prus
35232b5878 Get rid of annoying 'unused source' warning for stage targets.
* new/stage.jam
  (stage-target-class.check-for-unused-sources): Override base method with
  an empty one, since the inherited logic does not make any sense for stage.


[SVN r18295]
2003-04-23 14:17:34 +00:00
Vladimir Prus
6aa686269e Implement 'explicit targets'. This closes BB29, except for documentation
issues.

* new/project.jam: New project attribute 'explicit-targets'.
* new/targets.jam (project-target): Don't implicitly generate targets
  that are in 'explicit-targets' attribute.


[SVN r18294]
2003-04-23 13:34:17 +00:00
Vladimir Prus
b41266ec82 Remove outdated file.
[SVN r18293]
2003-04-23 12:17:01 +00:00
Rene Rivera
aba82ce14b * 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
Rene Rivera
9d8778d85d Change behaviour so that we always do a clean bootstrap.
[SVN r18287]
2003-04-21 04:39:44 +00:00
Rene Rivera
334b7ccd04 Add preliminary support for building the final VMS bjam executable.
[SVN r18286]
2003-04-21 04:38:30 +00:00
Rene Rivera
c5266d4130 Fix failing compilation on non-MSVC compilers. Specifically CodeWarriorn.
The defenitions in tchar.h prevent the definition TCHAR; windows.h must always be included before any other windows headers.


[SVN r18285]
2003-04-21 04:22:27 +00:00
Dave Abrahams
021684bbb5 Patches for testing under Cygwin
[SVN r18284]
2003-04-21 01:16:23 +00:00
Dave Abrahams
5b00ed4aaa Patches for testing under Cygwin
[SVN r18283]
2003-04-21 00:35:36 +00:00
Douglas Gregor
c2b7f539a4 Make initialize not fail when there is no BOOST_ROOT defined
[SVN r18268]
2003-04-16 20:44:33 +00:00
Douglas Gregor
9ee21526cd Don't try to transform a native path for the DocBook DTD/XSL if no
path was given


[SVN r18267]
2003-04-16 17:44:05 +00:00
Dave Abrahams
bf668e41d8 Modifications for working under Cygwin
[SVN r18266]
2003-04-16 16:14:20 +00:00
Vladimir Prus
cef52b8fee Workaround: change timestamp of 0, to 1, so that Jam does not consider
file as missing. This is needed because /cygdrive on cygwin has the
zero timestamp.

* new/fileunix.c
  (file_time): The above change.


[SVN r18256]
2003-04-16 10:01:17 +00:00
Vladimir Prus
4d82402f55 Bugfix: set NDEBUG for release builds.
* new/builtin.jam: Make <optimization>speed active property and add
  <define>NDEBUG for it.

* test/ndebug.py: New test.


[SVN r18250]
2003-04-14 11:02:34 +00:00
Vladimir Prus
32938080e6 Cleanups.
* new/targets.jam
  (project-target.reference-properties): Call 'run-action' on properties,
  to match the process in 'basic-target'.

  (basic-target.refined-properties): Remove the comment about difference
  from the above rule.


[SVN r18249]
2003-04-14 10:06:20 +00:00
Vladimir Prus
65ac34d40c Bugfix: don't create duplicate virtual targets for searched lib with
the same properties. Thanks to Andre Hentz for finding this bug and
providing the test case.

* new/builtin.jam
  (searched-lib-generator.run): Pass the result through
  'virtual-target.register'.

* test/searched_lib.py: Add new test.


[SVN r18247]
2003-04-14 05:51:06 +00:00
Douglas Gregor
adf0f80ee5 Tighten up the specification of <inherits>
[SVN r18243]
2003-04-13 14:46:07 +00:00
Douglas Gregor
236cc60f37 function.xsl:
- Use arabic numbering for semantic clauses

collect.xsl:
  - Accept the input directory as a stylesheet parameter

doxygen2boostbook.xsl:
  - Update for recent changes in the BoostBook XML format


[SVN r18242]
2003-04-13 14:44:38 +00:00
Douglas Gregor
065bf18438 boostbook.jam:
- Factor out XSLT processing rules
  - Add "tests" rule to build testcases and Jamfiles

doxygen.jam:
  - Use Doxygen as-is, without the monolithic XML file patch

xsltproc.jam:
  - xsltproc XSLT toolset

user-config.jam:
  - add "using xsltproc"


[SVN r18241]
2003-04-13 14:41:40 +00:00
Vladimir Prus
c714eb2220 Fix a bug introduces in 1.8 which broke gcc tests. Do not think that import
libraries are used with gcc, even on NT. The previos version assumed that
import libraries are always used on NT.


[SVN r18230]
2003-04-11 06:31:14 +00:00
Vladimir Prus
ea5814caa0 Add missing quoting around filesnames.
[SVN r18229]
2003-04-10 15:17:21 +00:00
Vladimir Prus
2c0b3fa127 Restore prebuilt.py to life on NT/gcc.
[SVN r18228]
2003-04-10 15:10:37 +00:00
Dave Abrahams
7582616111 optimized insertion-sort
[SVN r18225]
2003-04-10 11:33:13 +00:00
Vladimir Prus
db13234b07 Patch from Andre Hentz.
get os=cygwin/toolset=msvc to pass the tests

* new/msvc.jam
  (link): create a CYGWIN-specific version (assumes bash and cygpath)
  (archive): convert paths from unix-style to nt-style
  (init): use platform-independent paths

* test/dependency-test/foo.jam
  add __declspec if CYGWIN and not GCC


[SVN r18224]
2003-04-10 09:49:31 +00:00
Vladimir Prus
1ca18e325d Improve library handling.
* new/toolset.jam
  (flags): Add 'unchecked' parameter, too allow declaring flags for other
  modules.

* new/builtin.jam: Don't declare LIBRARY_PATH_OPTION.
* new/borland.jam: Use flags to declare LIBRARY_PATH_OPTION and LIBRARY_OPTION.
* new/msvc.jam: Use flags to declare LIBRARY_PATH_OPTION and LIBRARY_OPTION.


[SVN r18222]
2003-04-09 14:14:57 +00:00
Vladimir Prus
1f7b896dfd Borland tweaks.
* test/dependency_test.py
  Ignore *.tds files.


[SVN r18219]
2003-04-09 12:17:11 +00:00
Vladimir Prus
cfe6411c1d Test tweak: don't import toolsets --- user-config/test-config should do that.
[SVN r18218]
2003-04-09 12:14:28 +00:00
Vladimir Prus
fb8282de58 Brand new version of borland toolset. Based on V2's msvc.jam and V1's
borland-tools.jam.


[SVN r18217]
2003-04-09 12:13:31 +00:00
Vladimir Prus
363a43a163 Make composing generators fail immediately if given no name. This,
essentially, makes composing generators fail if they are run deeper
during transformation search. Looks like a new incarnation of
'allow-composing'.

The motivation is to fight with cases where trasformation
like CPP -> OBJ -> STATIC_LIB -> RSP -> EXE was tried. The composing
OBJ -> STATIC_LIB generator was totally unprepared to be invoked at such
depth, and errored out. The new behaviour cause this transformation to be
rejected, but the search continues.

* new/generators.jam
  (generator.run-really): New rule, with most of previous 'run' content.
  (generator.run): Check arguments only and call 'run-really'. Immediately
  return if the generator is composing and no name is specified.


[SVN r18216]
2003-04-09 12:12:41 +00:00
Vladimir Prus
d2b82396e4 Minor bugfix: properties were not correctly reported in --debug-generators
output.


[SVN r18215]
2003-04-09 12:06:14 +00:00
Vladimir Prus
09b52a5456 Cleanups.
* new/builtin.jam
  (searched-lib-generator.run): Tweak the logic and change comments.


[SVN r18214]
2003-04-09 12:03:19 +00:00
Vladimir Prus
428619114d Declare 'user-interface' feature in 'builtin.jam', not 'msvc.jam', because
it is not msvc-specific -- e.g. borland needs it as well.


[SVN r18213]
2003-04-09 12:01:02 +00:00
Vladimir Prus
425dabb974 Patch from Andre Hentz to fix os=cygwin/toolset=msvc combination.
* new/builtin.jam: Associate obj and lib extension with OBJ and
STATIC_LIB target types, to handle the above combination. The gcc
toolset overrides these extension explicitly.

* new/msvc.jam
   (archive): Use bash syntax on cygwin.


[SVN r18210]
2003-04-08 14:14:53 +00:00
Vladimir Prus
b535823912 Expand hacking guidelines.
[SVN r18208]
2003-04-08 11:38:14 +00:00
Vladimir Prus
4c5f87dd4b Cleanups.
* new/virtual-target.jam
  (virtual-target.path): New abstract method. Added so that derived classes
  always define both 'actualize-location' and 'path'.

* new/builtin.jam
  (searched-lib-target.path): Use empty body.


[SVN r18196]
2003-04-07 09:08:35 +00:00
Douglas Gregor
0ff143e810 function.xsl: Remove the <formalpara> stuff from the 'standardese' generation
mode. It looks silly at the moment.


[SVN r18184]
2003-04-04 21:37:30 +00:00
Vladimir Prus
9c042fd8c6 Win32 fixes.
[SVN r18182]
2003-04-04 08:00:42 +00:00
Vladimir Prus
26b658d851 Win32 fixes. Big thanks to Bjorn Karlsson.
* jam_src/pwc.c: Concert short pathnames to long ones.


[SVN r18181]
2003-04-04 07:55:59 +00:00
Vladimir Prus
734a903141 Tweaks.
* test/BoostBuild.py
    (Tester.expand_toolset): New method.


[SVN r18180]
2003-04-04 07:52:09 +00:00
Vladimir Prus
dc3798680b Pass string to 'popen3', since it does not like lists.
[SVN r18179]
2003-04-04 07:50:36 +00:00
Vladimir Prus
25893b5299 Patch from Andre Hentz.
Change the test system to use "exec*", not "system". This is needed to
avoid espacing shell metacharacters.


[SVN r18156]
2003-04-02 12:43:05 +00:00
Douglas Gregor
eb407e2196 type.xsl: Much improved formatting for <inherit> elements, including allowing
<purpose> elements for comments


[SVN r18155]
2003-04-02 04:37:05 +00:00
Douglas Gregor
47b75617e9 Changed content model of <inherit> to require an explicit <type>
element, optionally contain a <purpose>, and make "access" attribute
implied.


[SVN r18152]
2003-04-02 04:34:10 +00:00
Douglas Gregor
394b9481e8 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
Vladimir Prus
18e3d505c5 Additional tests for direct build request handling.
[SVN r18147]
2003-04-01 08:46:38 +00:00
Vladimir Prus
ba9708237c Enable a test which now works.
[SVN r18146]
2003-04-01 07:50:01 +00:00
Douglas Gregor
56bdf40a61 Allow passing in the caller to the make rule, so that other modules
(that aren't user projects) can use it to add targets to their callers


[SVN r18137]
2003-03-30 15:24:57 +00:00
Douglas Gregor
20c6293280 - Testsuite building support
- Catalog is marked "ALWAYS" here (not in the print module)


[SVN r18136]
2003-03-30 15:23:23 +00:00
Douglas Gregor
7dc0242de8 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
5418f37caf Transforms a documented DTD (in XML) to BoostBook
[SVN r18131]
2003-03-30 03:11:16 +00:00
Douglas Gregor
2a66bc716f reference.dtdxml: The BoostBook DTD, converted to XML and documented
reference.xml: generated from reference.dtdxml

reference_doc.xml: Useless now that we have reference.dtdxml

boostbook.xml: Include reference.xml, not reference_doc.xml


[SVN r18130]
2003-03-30 03:10:39 +00:00
Douglas Gregor
dd6d05efad - Deal with different environt-setting syntax on Windows vs. Unix
- Remove the BoostBook XSL/DTD dir arguments from the BoostBook module (they really aren't useful)
- Add XSLTPROC argument to BoostBook module


[SVN r18129]
2003-03-29 16:01:32 +00:00
Douglas Gregor
ac0c5a6902 print.py: Test the print module by using it to output text with quotes to a
text file

test_all.py: add print.py


[SVN r18126]
2003-03-28 15:27:14 +00:00
Douglas Gregor
f9eb8662c3 Use the print module to output the XML catalog properly
[SVN r18125]
2003-03-28 15:13:33 +00:00
Douglas Gregor
25672629c8 - 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
f238cf2acd Patch from Andre Hentz.
* new/builtin.jam
  - register builtin.response-generator with 'register-linker', to
    take advantange of 'link-action'. Convert <library-path>,
    <find-static-library> and <find-shared-library> into on-target
    variables using toolset.flags.
  (builtin.response-file) Output variables for library path to response
    file.
  (searched-lib-generator.run): Assign 'null-action' instance to the
  generated target, to carry properties. Correct prototype and workaround
  some, as-yet-unknown problem.

* test/searched_lib.py: New test (added by me).


[SVN r18121]
2003-03-28 09:20:58 +00:00
Vladimir Prus
dce78fa7e6 Bugfix: pass toolset after extra_arguments, so that
run_build_system("-n") generates
   -n gcc
command line, intead of
   gcc -n
where '-n' is ignored.


[SVN r18120]
2003-03-28 09:12:51 +00:00
Vladimir Prus
0a391bc011 Robustify project-test3 and project-test4, so that don't fail
if just some incidental property is added.


[SVN r18119]
2003-03-28 08:39:21 +00:00
Douglas Gregor
1b5675ffc6 - Bring BoostBook output closer to real BoostBook
- Don't repeat inner classes at namespace level
- Fix this dumb "which file are we in" question yet again


[SVN r18110]
2003-03-27 18:45:18 +00:00
Douglas Gregor
d92c434035 Now able to set the FILE_PATTERNS and RECURSIVE Doxygen parameters via features
[SVN r18109]
2003-03-27 18:43:18 +00:00
Douglas Gregor
1da5be7b40 Suggest FOP version 0.20.4
Note name of DTD is "DocBook XML 4.2"


[SVN r18108]
2003-03-27 18:16:08 +00:00
Douglas Gregor
74b93f951b Fixes for errors as suggested by William Kempf
[SVN r18105]
2003-03-27 17:11:31 +00:00
Douglas Gregor
87718b807c Make it overt that the DocBook DTD comes as a ZIP file, not as a single file.
[SVN r18104]
2003-03-27 16:32:36 +00:00
Vladimir Prus
c61c95f83f Workaround a big BUG. The test must pass now, however.
[SVN r18103]
2003-03-27 15:46:14 +00:00
Vladimir Prus
c310d5eae1 Bugfix: quote filenames in actions.
[SVN r18102]
2003-03-27 15:40:07 +00:00
Vladimir Prus
3283d0e609 Allow to link libraries into shared libraries on gcc.
[SVN r18101]
2003-03-27 12:28:21 +00:00
Douglas Gregor
d8c82c6256 Added sections on Apache FOP and Doxygen
[SVN r18100]
2003-03-27 05:18:39 +00:00
Douglas Gregor
56b3678f11 Really minor tweaks
[SVN r18099]
2003-03-27 05:18:10 +00:00
Douglas Gregor
f3b3f8136c Introduce ability to generate Doxygen XML from a list of source files
with one command.


[SVN r18098]
2003-03-27 00:06:22 +00:00
Vladimir Prus
9b377b5014 Fix path handling on Cygwin. Thanks to Andre Hentz for the patch.
[SVN r18091]
2003-03-26 12:16:01 +00:00
Vladimir Prus
33023f6bbb Issue a user-friendly warning when no toolsets are configured.
[SVN r18090]
2003-03-26 09:19:02 +00:00
Vladimir Prus
2c6d4c6bc5 Comments/renames.
[SVN r18089]
2003-03-26 09:09:42 +00:00
Vladimir Prus
96e1e32621 Improve installation docs.
[SVN r18088]
2003-03-26 09:03:26 +00:00
Douglas Gregor
f886329309 boostbook.jam: Add rule to access XSL directory from other modules
doxygen.jam: _Very_ preliminary support for Doxygen --> BoostBook conversion.
  Uses a hacked up Doxygen to output XML representation as one big XML file
  instead of many smaller (unlinked) XML files.


[SVN r18087]
2003-03-26 04:39:01 +00:00
Vladimir Prus
1afd24c0c0 Doc correction from Michael Stevens.
[SVN r18074]
2003-03-24 07:32:00 +00:00
Rene Rivera
38f1e2875d Changes to bootstrap and build with the MinGW environment.
* Define the OS as NT as this seems more reasonable than having MINGW as the OS (after all MinGW is the toolset not the OS).
* Add detection of one common install location for MinGW.


[SVN r18073]
2003-03-24 04:34:27 +00:00
Rene Rivera
7d25223c37 Minor change to hopefully cover more NT shells.
[SVN r18068]
2003-03-24 00:56:58 +00:00
Beman Dawes
6ef81d572a fix lib name (Joerg Walter)
[SVN r18042]
2003-03-21 16:17:18 +00:00
Dave Abrahams
95a518771f minor UML tweaks
[SVN r18034]
2003-03-20 16:01:53 +00:00
Dave Abrahams
2711546a90 Adjust for Win32
[SVN r18030]
2003-03-20 13:48:59 +00:00
Dave Abrahams
cb97e6c6aa Add missing path nativizing.
[SVN r18029]
2003-03-20 13:48:31 +00:00
Dave Abrahams
d54171322d Account for Win32 idiosyncracies
[SVN r18024]
2003-03-20 02:42:17 +00:00
Dave Abrahams
3174f6e10d Fix usage requirements check to account for conditional properties.
I'm not completely sure this is precisely the right fix:

    a. The error message used to reference a non-existent variable.
    What was it supposed to be?

    b. Should property.remove et. al. be able to cope with conditional
    properties?


[SVN r18023]
2003-03-20 02:41:49 +00:00
Joel de Guzman
602aeec6c1 Bump to v1.6.0
[SVN r18021]
2003-03-19 23:33:19 +00:00
Douglas Gregor
4cc8497d71 *.xml: Fix DTD location, write a little, remove a little
Jamfile.v2: for building BoostBook documentation


[SVN r18018]
2003-03-19 20:23:16 +00:00
Douglas Gregor
a17077debe When variable lists have a title, revert to the standard DocBook formatting
[SVN r18017]
2003-03-19 20:07:27 +00:00
Douglas Gregor
850f2ae6a8 boostbook.jam: Removed PDF & Postscript-specific code
fop.jam: Support PostScript and PDF generation via FOP


[SVN r18016]
2003-03-19 19:46:47 +00:00
Douglas Gregor
146defdd93 Need to have at least "using boostbook ;" so that initialization is performed
[SVN r18014]
2003-03-19 19:19:59 +00:00
Douglas Gregor
90a3cc83b4 No use for these old makefiles: we be Jammin' now
[SVN r18013]
2003-03-19 19:11:59 +00:00
Douglas Gregor
b07dc40847 Don't allow < or > in man page names
[SVN r18012]
2003-03-19 18:27:56 +00:00
Dave Abrahams
6f079153a7 Hack around command-line length limitations
[SVN r18001]
2003-03-19 11:55:32 +00:00
Vladimir Prus
080626d78c Make gcc.archive action 'piecemeal'.
[SVN r18000]
2003-03-19 09:10:24 +00:00
Vladimir Prus
27ea6a2468 Prevent 'hardcode-dll-paths' from setting rpath on static libraries.
Thanks to Ali Azarbayejani for the bug report.


[SVN r17999]
2003-03-19 09:00:25 +00:00
Douglas Gregor
39b8c4ffcc Setup the BoostBook XSL and DTD directories along with the DocBook XSL
and DTD directories, in the initialization phase. After that, we don't
get to peek at BOOST_ROOT anymore.


[SVN r17984]
2003-03-19 00:28:20 +00:00
Douglas Gregor
e55e4c0a1f boostbook.jam:
- Added XML catalog support (finally!). The DocBook XSL stylesheet and DTD
    directories can be specified via "using boostbook : xsl-dir : dtd-dir ; "
    in any BBv2 configuration file, or via command line parameters/environment
    variants DOCBOOK_XSL_DIR and DOCBOOK_DTD_DIR, respectively.

user-config.jam:
  - Add "using boostbook" example


[SVN r17983]
2003-03-19 00:16:38 +00:00
Douglas Gregor
00dee36e3a Remove LOCATE/common.MkDir hackery and use set-path (thanks Vladimir)
[SVN r17976]
2003-03-18 18:01:50 +00:00
Markus Schöpflin
a5e0f1b240 Name of fs lib changed.
[SVN r17970]
2003-03-18 08:48:26 +00:00
Douglas Gregor
8aa3401eab manpages.xsl: Output man pages into subdirectories based on the man page number
(e.g., man3 for section 3 man pages)


[SVN r17965]
2003-03-17 18:32:17 +00:00
Douglas Gregor
15aa74ac2f boostbook.jam:
- Add support for HTML output (multiple files, with a manifest)
  - Add support for man page output (multiple files, with a manifest)


[SVN r17964]
2003-03-17 18:20:38 +00:00
Douglas Gregor
48a6125b8b manpages.xsl: Wrapper around DocBook manpages output
- Fixes spacing of <programlisting> elements in lists.
  - Handles generation of a manifest, if desired


[SVN r17963]
2003-03-17 18:18:52 +00:00
Douglas Gregor
10e47daf72 Generate a manifest
[SVN r17962]
2003-03-17 17:12:26 +00:00
Douglas Gregor
638ee725dd Allow '=' in free features specified on the command line
[SVN r17961]
2003-03-17 15:55:28 +00:00
Douglas Gregor
a378f5fada Remove html format, because it doesn't work
[SVN r17958]
2003-03-17 15:14:13 +00:00
Vladimir Prus
ba72a92929 Try to reduce the number of include paths.
[SVN r17956]
2003-03-17 09:31:19 +00:00
Vladimir Prus
c6c1f5ab26 Better direct request handling.
* new/build-request.jam
  (directly-requested-properties-adjuster): Redo.

* new/targets.jam
  (main-target.generate-really): Adjust properties here.

* new/virtual-target.jam
  (register-actual-name): New rule.
  (virtual-target.actualize-no-scanner): Call the above, to detected bugs,
  where two virtual target correspond to one Jam target name.


[SVN r17955]
2003-03-17 09:27:43 +00:00
Vladimir Prus
8ee356c8ac Refactorings.
* new/build-request.jam
  (directly-requested-properties-adjuster): New class.

* new/targets.jam
  (abstract-target.direct-build-request): Gone.
  (abstract-target.set-property-adjuster): New method.
  (main-target.generate): Use property-adjuster.


[SVN r17954]
2003-03-17 08:36:34 +00:00
Vladimir Prus
5562b7fcb7 Bufgix. Thanks to Jürgen Hunold for the report.
* new/toolset.jam
  (set-target-variable): Call 'path.native' when setting path features.


[SVN r17953]
2003-03-17 07:58:06 +00:00
Vladimir Prus
74194aa050 Path handling fixes.
[SVN r17952]
2003-03-17 07:44:33 +00:00
Vladimir Prus
fa23498c7d Document use of HTML Tidy.
[SVN r17951]
2003-03-17 06:42:35 +00:00
Douglas Gregor
52b44f57f9 - Support nested classes
- Much improved handling of <purpose> elements in comments


[SVN r17945]
2003-03-16 01:58:29 +00:00
Douglas Gregor
8fb158c087 Fix path for boost.xml
[SVN r17944]
2003-03-16 01:57:35 +00:00
Douglas Gregor
e3e52d40ee function.xsl, template.xsl, type.xsl:
- Deal with changes in the DTD

html.xsl, html-single.xsl:
  - Better handling of function semantic clauses


[SVN r17940]
2003-03-15 23:11:32 +00:00
Douglas Gregor
23d0b67c41 - Eliminate "return-type" attribute for functions
- Require "type" element for most function types
- member-function-group --> method-group
- Remove useless attributes in a few places
- Allow "id" element on BoostBook elements
- Lots of little cleanups and strictifications


[SVN r17939]
2003-03-15 23:10:51 +00:00
Douglas Gregor
4b0e5c0b7d Use "description" element where appropriate
[SVN r17936]
2003-03-15 21:37:18 +00:00
Douglas Gregor
67860256a8 Use description element in functions
[SVN r17935]
2003-03-15 21:36:10 +00:00
Douglas Gregor
3985ee2af5 Support FO, PS, PDF
[SVN r17926]
2003-03-14 21:39:45 +00:00
Douglas Gregor
f9832669c3 use the generate.id template, not generate-id
[SVN r17925]
2003-03-14 21:39:17 +00:00
Douglas Gregor
c0e458a920 Rename html-single to onehtml so that we can request document types
directly from the command line, e.g.,

  bjam onehtml pdf


[SVN r17920]
2003-03-14 19:00:52 +00:00
Douglas Gregor
8fa3ffbdbc Added an XInclude dependency scanner for XML documents
[SVN r17918]
2003-03-14 18:31:26 +00:00
Douglas Gregor
626e28e710 Initial shot at basic BoostBook Jam support
[SVN r17917]
2003-03-14 18:11:43 +00:00
Vladimir Prus
c4d1c43984 Refactoring.
[SVN r17915]
2003-03-14 15:26:18 +00:00
Vladimir Prus
440b19dcce Bugfix. Make values of path-constants into absolute paths, so that they
can be used without problems as values of path features.


[SVN r17908]
2003-03-14 07:50:19 +00:00
Vladimir Prus
57a4145e76 Bugfix: allow alternative with no sources and no generated targets.
* new/targets.jam
  (generate): Use a special string to report failure, not just return
      of empty list.
  (basic-target.generate-sources): Accomodate the above change.
  (basic-target.check-for-unused-sources): Allow empty list of targets.

* test/alternatives.py: New test.


[SVN r17906]
2003-03-14 06:58:44 +00:00
Dave Abrahams
8f8fdb4664 Patches for WIN32
[SVN r17895]
2003-03-13 17:41:17 +00:00
Dave Abrahams
33b400754e Patches for WIN32
[SVN r17894]
2003-03-13 17:37:13 +00:00
Vladimir Prus
2ac530761b Bugfix.
[SVN r17885]
2003-03-13 10:51:20 +00:00
Vladimir Prus
73e220e057 Bugfix: translate path properties even in conditional properties.
* new/property.jam
  (split-conditional): New rule
  (translate-paths): Use the above to handle conditional properties.

* test/path_features.py: New tests.


[SVN r17881]
2003-03-13 10:09:06 +00:00
Douglas Gregor
22b4b6259d Cleanups, including highlighting in static constants and typedefs
[SVN r17873]
2003-03-13 00:46:15 +00:00
Douglas Gregor
58d5386bc4 Moving from attributes to elements, and introducing a more regular structure
[SVN r17870]
2003-03-13 00:29:30 +00:00
Douglas Gregor
0bd8f624f1 GNU makefile and configure script
[SVN r17867]
2003-03-12 23:37:58 +00:00
Douglas Gregor
e0b74f6342 BoostBook documentation
[SVN r17863]
2003-03-12 22:02:01 +00:00
Douglas Gregor
fe63db04f3 Imported BoostBook XSL stylesheets and DTD
[SVN r17862]
2003-03-12 22:01:44 +00:00
Vladimir Prus
3546c7d963 Integrate the "railsys" test.
[SVN r17848]
2003-03-12 14:08:57 +00:00
Vladimir Prus
2b6f9b53f2 Update tests for the last commit.
[SVN r17846]
2003-03-12 14:03:34 +00:00
Vladimir Prus
9ee4574fc9 Bugfix.
* new/project.jam
  (project-attributes.set): Pass default build through 'property.make'.


[SVN r17845]
2003-03-12 13:55:11 +00:00
Vladimir Prus
c4ab4e644f Add big testcase from Jürgen Hunold.
[SVN r17838]
2003-03-12 13:30:21 +00:00
Vladimir Prus
dbbe1946f4 Fix conditional usage requirements. Thanks to Ali Azarbayejani for bug
report.

* new/property-set.jam
   (property-set.evaluate-conditionals): New parameter 'context'.

* new/property.jam
   (evaluate-conditionals-in-context): Renamed from 'evaluate-conditionals'.
   New parameter 'context'.

* new/targets.jam
   (basic-target.generate): Evaluate conditionals in usage-requirements.

* test/conditionals.py: Add test.


[SVN r17830]
2003-03-12 08:35:54 +00:00
Beman Dawes
42ae4906fa just use links leaf() for releative URL
[SVN r17822]
2003-03-12 00:11:27 +00:00
Vladimir Prus
d51afd5872 Bugfix.
* new/feature.jam
    (expand-subfeatures): Don't try expanding subfeatures in subfeatures.


[SVN r17815]
2003-03-11 15:26:10 +00:00
Vladimir Prus
7a3ea54b50 Change <dependency>, so that it does not really add dependency
unconditionally.

* new/builtin.jam
     (linking-generator.run): New rule. Sets dependency on <library>
     properties.

* new/generators.jam
     (construct): Do not handle usage requirements. Do not handle
     dependency features in any way.

* new/targets.jam
     (main-target.generate-really): Don't create/set subvariant-dg.
     (basic-target.generate): Collect usage requirements. Create/set
     subvariant-dg.

* new/virtual-target.jam
     (subvariant-dg): Take actual build properties together with
     requested ones.


[SVN r17813]
2003-03-11 12:41:39 +00:00
Vladimir Prus
6377570cf1 Bugfixes: prevent two equal property lists generate two different
property-set instances, because of different order.

* new/property-set.jam
    (create): Sort the properties.

* new/feature.jam:
     (minimize): Bugfix.


[SVN r17812]
2003-03-11 12:08:35 +00:00
Beman Dawes
8ba91e7889 allow fs::native args, empty subinclude path
[SVN r17787]
2003-03-08 21:44:07 +00:00
Raoul Gough
2f7a88dc77 Supply --enable-auto-image-base when linking a DLL
[SVN r17784]
2003-03-08 09:53:45 +00:00
Dave Abrahams
a148605127 Added dangling_reference FAQ
Various idiomatic MPL cleanups in indirect_traits.hpp
raw_function support
Patches for CWPro7.2
Patches to pass tests under Python 2.3 with the new bool type.
Tests for member operators returning const objects
Fixes for testing Boost.Python under Cygwin


[SVN r17777]
2003-03-08 03:53:19 +00:00
Vladimir Prus
d25ff2d47b Doc tweak.
[SVN r17768]
2003-03-07 16:39:13 +00:00
Dave Abrahams
f582b33aa1 Roll back change which broke Beman's build
[SVN r17767]
2003-03-07 16:24:28 +00:00
Dave Abrahams
43602f3afe bugfix
[SVN r17763]
2003-03-07 15:22:54 +00:00
Vladimir Prus
057e8798e2 Change default-build handling.
* new/targets.jam
     (main-target.apply-default-build): Combine build request with
     default build.

* new/default_biuld.py: More tests.


[SVN r17756]
2003-03-07 10:06:42 +00:00
Vladimir Prus
ec85a3318c Refactorings.
* new/targets.jam
     (main-target.apply-default-build): Call
     'build-request.expand-no-defaults', not 'expand'. The motivation
     is to have defaults added in one place: 'property-set.add-defaults'.
     Also handle the case where default-build is empty.

     (main-target.generate): Apply defaults here. The motivation is
     that if we're using default build, default features should be
     applied here as well, or else we'll get ambiguous alternatives.

     (basic-target.generate): Do not add defaults.


[SVN r17755]
2003-03-07 09:44:20 +00:00
Vladimir Prus
339ae6ddf9 Refactoring.
* new/targets.jam
    (main-target.apply-default-build): New rule, extracted from 'generate'.
    (main-target.generate): Use the above.


[SVN r17754]
2003-03-07 09:09:44 +00:00
Vladimir Prus
5482f20a24 Make default values of features really work. Now a feature with
default value will always be present in build properties of all
main targets. The change moves adding default value into main
targets --- it was done at the top level.

* new/build-request.jam
    (expand-no-defaults): No longer local.

* new/build-system.jam
    Use 'build-request.expand-no-defaults', not 'expand'.

* new/feature.jam
    (add-defaults): Tolerate conditional properties
        (e.g <variant>debug:<define>DEBUG)

* new/property-set.jam
    (property-set.add-defaults): New method.

* new/targets.jam
    (basic-target.final-properties): Add defaults.

* test/default_features.py: New test.


[SVN r17753]
2003-03-07 08:45:37 +00:00
Vladimir Prus
7a8c906ed6 Typo.
[SVN r17752]
2003-03-07 06:47:03 +00:00
Dave Abrahams
0cd19b2bb5 Accomodate msvc
[SVN r17746]
2003-03-06 17:54:16 +00:00
Dave Abrahams
2c12561cbb set-target-variables on multiple targets
[SVN r17744]
2003-03-06 17:25:10 +00:00
Dave Abrahams
9944436ad3 Stop putting exported symbols in the intended .exe object file
[SVN r17742]
2003-03-06 14:58:04 +00:00
Dave Abrahams
21fb708543 improve error reports
[SVN r17741]
2003-03-06 14:57:26 +00:00
Vladimir Prus
1d38d9aa59 Add comments/configuration examples.
[SVN r17736]
2003-03-05 15:40:33 +00:00
Markus Schöpflin
94000952ac Merged from branch RC_1_30_0 to trunk.
[SVN r17735]
2003-03-05 15:40:23 +00:00
Vladimir Prus
cff5dbd7a9 Improve test system docs.
[SVN r17731]
2003-03-05 14:51:05 +00:00
Vladimir Prus
8e77f85fbb Doc improvements. Explain library dependencies. Clarify project ids.
[SVN r17729]
2003-03-05 11:17:20 +00:00
Vladimir Prus
a15390229e Make 'user-interface' feature propagated.
[SVN r17711]
2003-03-04 07:55:06 +00:00
Dave Abrahams
560106a559 Fix for cygwin
[SVN r17710]
2003-03-03 19:59:45 +00:00
Dave Abrahams
0707699612 Add user-interface feature; won't build .exes otherwise!
[SVN r17705]
2003-03-03 16:13:37 +00:00
Dave Abrahams
a208eb12f0 Fixes for NT
[SVN r17704]
2003-03-03 16:12:38 +00:00
Vladimir Prus
2caeab775a Prevent the 'make' rule perform reduntant builds. Thanks to Kirill Lapshin
for the bug report.

* new/make.jam
    (make-target-class.construct): Pass the result through
    'virtual-target.register'.

* new/virtual-target.jam
    (register): Ignore incidental properties when deciding if targets are
    equivivalent.

* test/make_rule.py: Add new test.


[SVN r17701]
2003-03-03 07:47:14 +00:00
Dave Abrahams
c1cc64c105 More fragile tweaks for running under Cygwin
[SVN r17699]
2003-03-02 22:09:59 +00:00
Dave Abrahams
0c8f0ffbbe tweaks for stlfilt
[SVN r17698]
2003-03-02 21:46:23 +00:00
Vladimir Prus
7bc92de297 Warn on unused sources.
* new/targets.jam
    (basic-target.check-for-unused-sources): New rule.
    (basic-target.generate): Call the above.

* new/virtual-target.jam
    (traverse): New arguments 'include-roots' and 'include-sources'.

* test/unused.py: New test.


[SVN r17685]
2003-02-28 08:13:38 +00:00
Vladimir Prus
659046ebbb Refactoring.
* new/targets.jam
   (basic-target.final-properties): New rule, extracted from 'generate'.
   (basic-target.generate-sources): New rule, extracted from 'generate'.
   (basic-target.requirements): Gone.


[SVN r17684]
2003-02-28 07:19:31 +00:00
Vladimir Prus
661de1c398 Cleanups. Default build improvements related to BB10.
* new/targets.jam
    (main-target.default-build): New field.
    (main-target.add-alternative): Don't allow default-build for
       second and subsequence alternatives. Record default build
       from the first one.
    (main-target.generate): Expand build request.
    (main-target.generate-really): New rule, extracted from 'generate'.
    (basic-target.default-build): New rule.
    (basic-target.generate): Don't expand default build.

* test/BoostBuild.py
  Allow to suppress passing toolset when calling run_build_system.
  Some Python 2.1 compatibility fixes.

* test/alternatives.py
  More tests.

* test/default_build.py
  More tests.


[SVN r17683]
2003-02-28 06:36:39 +00:00
Dave Abrahams
af62d7a2ae Fix extensions
[SVN r17681]
2003-02-28 01:33:10 +00:00
Dave Abrahams
89b2df2787 Fixes
[SVN r17680]
2003-02-28 01:32:45 +00:00
Dave Abrahams
4281ebe760 Warning suppression for MSVC
[SVN r17676]
2003-02-27 15:08:20 +00:00
Dave Abrahams
c8c0b6f47b Fixes for NT
[SVN r17675]
2003-02-27 15:04:11 +00:00
Dave Abrahams
93821782b2 Warning suppression for MSVC
[SVN r17674]
2003-02-27 15:01:02 +00:00
Vladimir Prus
89ab4f0c8f Refactorings.
* new/targets.jam
    (main-target.select-alternatives): New rule.
    (main-target.generate): Simplify, using the above.

* new/errors.jam
    (error): Do EXIT if --no-error-backtrace is given.

* tests/alternatives.py: New test.


[SVN r17673]
2003-02-27 14:25:26 +00:00
Vladimir Prus
4daa100fd8 Tweak debug output.
[SVN r17672]
2003-02-27 13:10:57 +00:00
Vladimir Prus
d6b35069a2 Bugfix: nested 'build-project' statements were not handled correctly
when any build request is given on command line. Thanks to
Jürgen Hunold for catching this!


[SVN r17669]
2003-02-27 08:51:37 +00:00
Dave Abrahams
11f91a744b Fixes for Python and Cygwin testing
[SVN r17667]
2003-02-27 02:20:01 +00:00
Dave Abrahams
71f683395d bugfix
[SVN r17661]
2003-02-26 19:55:18 +00:00
Dave Abrahams
89bd402288 Fix name references
[SVN r17659]
2003-02-26 15:32:32 +00:00
Rene Rivera
c18bc1b8ab Initial code for modifier generators... Name modifier is implemented, and <version> facet of name modifier to produce correct soname/version-name behaviour.
[SVN r17655]
2003-02-26 06:29:12 +00:00
Rene Rivera
db95de0776 Example of using <version> feature.
[SVN r17654]
2003-02-26 06:26:08 +00:00
Rene Rivera
7ed22e8600 Add relative-to to calculate relative paths between dirs.
[SVN r17653]
2003-02-26 06:12:24 +00:00
Dave Abrahams
6fc3335ba4 bugfix
[SVN r17649]
2003-02-25 18:25:29 +00:00
Dave Abrahams
61f55af6cd Better handling of multiple versions
[SVN r17648]
2003-02-25 17:57:41 +00:00
Dave Abrahams
6b0894c46a Allow prepare-target rule in toolsets, fix error reporting
[SVN r17647]
2003-02-25 16:25:28 +00:00
Vladimir Prus
9e3b87e21e Tweak the UML diagram to represent two relations between action and
abstract-file-target.


[SVN r17646]
2003-02-25 16:17:53 +00:00
Dave Abrahams
8394e1d6d7 typo
[SVN r17643]
2003-02-25 14:42:34 +00:00
Dave Abrahams
88c0b3807b Fixes for testing
[SVN r17642]
2003-02-25 14:37:10 +00:00
Vladimir Prus
c5e1d49244 Fix some conditional logic.
[SVN r17640]
2003-02-25 14:09:45 +00:00
Dave Abrahams
705df54682 roll back mistaken change
[SVN r17638]
2003-02-25 13:52:19 +00:00
Vladimir Prus
c3180aa354 A little doc tweak.
[SVN r17635]
2003-02-25 12:44:31 +00:00
Vladimir Prus
b2695a77d5 Allow to reinitialize QT several times, provided installation prefix is
always the same.


[SVN r17630]
2003-02-25 09:03:04 +00:00
Vladimir Prus
7aaf9ceb62 Tweak docs.
[SVN r17628]
2003-02-25 06:33:14 +00:00
Dave Abrahams
11c8f84bd8 This uses gcc explicitly, so it had better not rely on $toolset
[SVN r17624]
2003-02-25 02:27:29 +00:00
Dave Abrahams
f0e80d4042 Improved Boost.Python build reliability and documentation.
[SVN r17623]
2003-02-25 02:15:55 +00:00
Dave Abrahams
5b3309b8b7 Better handling of pass_toolset
[SVN r17604]
2003-02-23 17:04:57 +00:00
Dave Abrahams
4162ee2517 minor fixes
[SVN r17603]
2003-02-23 16:56:21 +00:00
Rene Rivera
dd1f81571f 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
Rene Rivera
023bc56592 Cleanup.
[SVN r17579]
2003-02-21 18:30:58 +00:00
Rene Rivera
7dcf19a4cc Removed outdated build scripts.
[SVN r17578]
2003-02-21 17:22:21 +00:00
Beman Dawes
0b9aeebef0 initial commit
[SVN r17577]
2003-02-21 16:55:47 +00:00
Vladimir Prus
499e92faea Implement the 'alias' main target. This closes BB12.
[SVN r17574]
2003-02-21 09:25:43 +00:00
Vladimir Prus
a036aac263 Bugfix: make Tester.ignore* methods really work.
[SVN r17573]
2003-02-21 09:22:35 +00:00
Vladimir Prus
3d0f635668 Say goodbye to the composing-generator class.
* new/generators.jam
    (generator): New argument 'composing'
    (run): Use 'self.composing'.
    (convert-multiple-sources-to-consumable-types): Moved from
       composing-generator.
    (composing-generator): Remove

* new/builtin.jam
    (linking-generator, register-linker): Use the argument to generator's
       ctor. Allow to make generator non-composing.

* new/msvc.jam: Make msvc.link generator non-composing.


[SVN r17572]
2003-02-21 08:29:34 +00:00
Vladimir Prus
3dbd5088b8 Fix syntax of variable setting on jam command line for windows.
[SVN r17571]
2003-02-21 08:23:07 +00:00
Dave Abrahams
435e37f209 Fixups for cygwin
[SVN r17570]
2003-02-21 08:10:55 +00:00
Dave Abrahams
c9d2adee87 Fixups for building under Cygwin
[SVN r17569]
2003-02-21 07:51:06 +00:00
Vladimir Prus
70ad488ccd Really start the last failed test as soon as possible.
[SVN r17568]
2003-02-21 07:49:14 +00:00
Dave Abrahams
c0053489ef Automatically add library-path values to RUN_PATH/RUN_LD_LIBRARY_PATH
[SVN r17562]
2003-02-20 20:28:05 +00:00
Vladimir Prus
254acc7287 More testing improvements.
* new/build-system.jam: Try to load 'test-config.jam'. If successfull,
    don't load site-config.jam/user-config.jam.

* test/BoostBuild.py: Add directory where test is invoked to BOOST_BUILD_PATH,
    so that test-config.jam can be dropped to "test" dir.


[SVN r17558]
2003-02-20 15:58:02 +00:00
Vladimir Prus
95da6f6e7d Towards really cross-toolset testing system.
- Allow to specify toolset name on the command line
- Expand $toolset in paths
- Pass toolset name to bjam invocations.


[SVN r17555]
2003-02-20 13:08:51 +00:00
Vladimir Prus
c5d25c6bdc Add minimal DLL support.
[SVN r17554]
2003-02-20 12:50:40 +00:00
Vladimir Prus
8760a6e26c Force C++ compiles for borland.
[SVN r17547]
2003-02-20 11:51:29 +00:00
Vladimir Prus
a7ec52400c Stage improvements: exes are now relinked when staging.
* new/generators.jam
  (construct-with-caching): Don't try to cache transformation when source
     target has action (i.e is not plain file).

* new/stage.jam: Try converting stages targets to special staged type.
    Provide STAGED_EXE type.


[SVN r17545]
2003-02-20 10:15:38 +00:00
Vladimir Prus
c15cc7abaa Allow additional argument for user rule, with "make" main target.
* new/make.jam
    (make): Change name only of the first element in 'generating-rule'

* new/virtual-target.jam
    (action.actualize): Pass only first element of action name to
       toolset.set-target-variables.

* test/make_rule.py: New test.


[SVN r17543]
2003-02-20 07:20:52 +00:00
Dave Abrahams
075db848fd Use downcased globbing on NT/Cygwin
[SVN r17537]
2003-02-19 16:43:55 +00:00
Vladimir Prus
0d245fccae Undo previous commit, now that problem with Jam is fixed.
[SVN r17535]
2003-02-19 15:57:25 +00:00
Vladimir Prus
86e627de05 Bugfix: Whoever inveted "text mode" for files was very wrong, and I was
wrong for ignoring this. This changes fixes searched_lib.py on Windows.


[SVN r17534]
2003-02-19 15:49:53 +00:00
Dave Abrahams
2632d7adb7 Fix default install detection
[SVN r17533]
2003-02-19 14:00:23 +00:00
Dave Abrahams
b325d913e3 Fix EOL trimming
[SVN r17532]
2003-02-19 13:59:17 +00:00
Dave Abrahams
4ef89dc132 Fix DLL building, somewhat.
[SVN r17528]
2003-02-19 11:33:58 +00:00
Dave Abrahams
4b9e5ad428 Extend main-target-type to include possible values (duh).
[SVN r17527]
2003-02-19 11:25:50 +00:00
Dave Abrahams
fef75dacf0 improved error reporting
[SVN r17526]
2003-02-19 11:25:23 +00:00
Dave Abrahams
b76eef6a29 bug fix!
[SVN r17525]
2003-02-19 10:48:32 +00:00
Dave Abrahams
053b049879 Allow the use of an unconfigured msvc as long as the PATH, etc., are set up.
[SVN r17524]
2003-02-19 10:23:03 +00:00
Dave Abrahams
89abb95e1e Kill allow-composing checks
[SVN r17523]
2003-02-19 09:31:43 +00:00
Dave Abrahams
5b687cbdd0 Fix bug which placed input-files at LOCATE_SOURCE.
[SVN r17522]
2003-02-19 08:08:56 +00:00
Vladimir Prus
e8c9314c0a Fix debugging output.
[SVN r17521]
2003-02-19 08:00:53 +00:00
Dave Abrahams
c64dcd1fa2 Quote input file names on run tests
[SVN r17520]
2003-02-19 01:57:40 +00:00
Dave Abrahams
3bb7164150 Use "version" subfeature.
[SVN r17518]
2003-02-19 00:59:05 +00:00
Dave Abrahams
6330cab7a4 fix assertions
[SVN r17517]
2003-02-19 00:58:28 +00:00
Dave Abrahams
e7457f8d66 Uniquely-identify value-specific subfeatures
[SVN r17516]
2003-02-19 00:57:28 +00:00
Vladimir Prus
89c0f47d8b Improve stage rule, allowing to specify location in requirements. This
allows short name for stage targets which install to global locations.


[SVN r17508]
2003-02-18 11:25:04 +00:00
Vladimir Prus
52d9841659 Improve running tests.
1. Test names are printed as they are executed.
2. The test which failed during the previous run is executed as soon
   as possible.yx


[SVN r17507]
2003-02-18 09:00:59 +00:00
Vladimir Prus
ba198e1d8d Followup to the last commit: don't import 'exe_suffix'.
[SVN r17506]
2003-02-18 08:57:28 +00:00
Vladimir Prus
15fa6b7cd4 Automatically adjust suffixes when running tests.
[SVN r17505]
2003-02-18 08:32:57 +00:00
Vladimir Prus
4b63f676e5 Don't link to -lz and assume it's existence: build a private library
for testing. Also, test both <name> and <search> in one test.


[SVN r17503]
2003-02-18 06:56:12 +00:00
Dave Abrahams
9ccdefbbf1 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
df20166d39 Hack around NT symlink support
[SVN r17496]
2003-02-17 17:52:20 +00:00
Dave Abrahams
87cd33ca69 Fix some assertions
[SVN r17495]
2003-02-17 17:51:55 +00:00
Dave Abrahams
6c27091562 Bug fixes. Still some problems but I managed to make something work :)
[SVN r17494]
2003-02-17 17:51:32 +00:00
Dave Abrahams
0103240447 disable use of allow-composing
[SVN r17493]
2003-02-17 17:51:07 +00:00
Dave Abrahams
b738d00702 fix bogus removal
[SVN r17492]
2003-02-17 17:50:34 +00:00
Dave Abrahams
68508f52c9 bogus removal
[SVN r17491]
2003-02-17 17:49:52 +00:00
Dave Abrahams
df7f6d9e71 response file bugfixes
[SVN r17490]
2003-02-17 17:42:49 +00:00
Markus Schöpflin
e1195a670e Added compiler command line option -qcpluscmt when compiling C sources
to allow C++ comments.


[SVN r17489]
2003-02-17 16:19:54 +00:00
Dave Abrahams
c9f13908d1 untested MSVC toolset
untested response-file support
expanded optimization to speed/space/off

removed module_actions.PYC
validate multiple properties at once.
Fix bugs in type.jam, virtual-target.jam, symlink.py


[SVN r17487]
2003-02-17 15:16:35 +00:00
Dave Abrahams
bebae9993f Fix inlining switch
[SVN r17485]
2003-02-17 13:24:24 +00:00
Vladimir Prus
c316020950 Cleanups.
* new/virtual-target.jam
     (abstract-file-target.extra-grist): Remove
     (null-action): New class.

* new/prebuilt.jam
     (prebuilt-file-generator): Don't use 'extra-grist', use
     'null-action' instread to distinguish different prebuilt targets.


[SVN r17482]
2003-02-17 09:51:06 +00:00
Vladimir Prus
a6a0c76410 Sync with the rest of code.
[SVN r17481]
2003-02-17 09:43:04 +00:00
Vladimir Prus
fcbabd2f3d Bugfix: virtual target with per-main-target properties can be confused
with ordinary virtual target.

* new/virtual-target.jam
    (abstract-file-target.specific-main-target): New overridable rule.
    (abstract-file-target.actual-name): Use the above.
    (file-target.specific-main-target): Override, using code from
       'compute-extra-path'.
    (file-target.compute-extra-path): Remove
    (file-target.path): Use 'specific-main-target' directly.

* test/main_properties.py: More tests.


[SVN r17480]
2003-02-17 09:10:57 +00:00
Vladimir Prus
ffbfcdb388 Bugfix: recreate working dir only if it does not exists.
* test/BoostBuild.py: (Tester.rm): The above change.


[SVN r17479]
2003-02-17 09:03:04 +00:00
Vladimir Prus
92986606b6 Bugfix: build-dir was broken when building from child projects.
[SVN r17478]
2003-02-17 08:36:45 +00:00
Vladimir Prus
3aa9d17123 Bugfix: <search> property on searched lib targets was ignored.
[SVN r17477]
2003-02-17 08:32:45 +00:00
Vladimir Prus
924a71b682 Add comment.
[SVN r17476]
2003-02-17 08:22:27 +00:00
Vladimir Prus
9218ff3da7 Improve comments.
[SVN r17473]
2003-02-17 06:58:40 +00:00
Rene Rivera
69cb4605c7 Oops, accidentally reintroduced the green age color, now it's really gone.
[SVN r17461]
2003-02-16 17:56:42 +00:00
Rene Rivera
6579a38dad Template and script for the dynamic regression logs summary page.
[SVN r17460]
2003-02-16 17:52:02 +00:00
Vladimir Prus
376b3162b2 Refactorings
[SVN r17406]
2003-02-14 15:28:47 +00:00
Vladimir Prus
38d72000b6 Added documentation.
[SVN r17405]
2003-02-14 15:10:01 +00:00
Vladimir Prus
9470957d71 Added copyright
[SVN r17404]
2003-02-14 15:04:37 +00:00
Markus Schöpflin
5dfd24b4f8 Added variable VA_BIN. This allows to create extended toolsets which
override the location of the compiler installation.


[SVN r17402]
2003-02-14 14:45:30 +00:00
Vladimir Prus
ca808a5150 Added copyright
[SVN r17400]
2003-02-14 14:01:49 +00:00
Beman Dawes
f7462d1dd2 added /Qansi_alias
[SVN r17330]
2003-02-12 16:49:05 +00:00
Vladimir Prus
2737d544ef Make CVS ignore .pyc files.
[SVN r17313]
2003-02-11 08:51:31 +00:00
Vladimir Prus
6b82ec3643 Added missing file. Sorry for complete lack of comments: I've erased
the previous version by accident and don't have the time to restore comments
now.


[SVN r17312]
2003-02-11 08:47:03 +00:00
Vladimir Prus
a7af016287 Introduce the 'property-set' class, which is used instead of
plain old lists of properties in most cases where we need property sets.

The changes are too numerous and mostly automatic to comment each one.


[SVN r17305]
2003-02-10 14:40:38 +00:00
Vladimir Prus
53cf6176e7 Minor bugfix.
[SVN r17298]
2003-02-10 07:09:14 +00:00
Rene Rivera
0752dd1d9c Make sure the .cvspass is not cleared of existing content.
[SVN r17294]
2003-02-09 17:42:24 +00:00
Beman Dawes
c65b638b1c Add "sublibs" feature
[SVN r17240]
2003-02-05 18:09:35 +00:00
Björn Karlsson
07f5ab095b Added .jam signature
[SVN r17237]
2003-02-05 15:57:51 +00:00
Björn Karlsson
a934635472 Added Jamfile check
[SVN r17229]
2003-02-05 12:47:25 +00:00
Björn Karlsson
83fb758b0c Added copyright statement
[SVN r17226]
2003-02-05 09:47:21 +00:00
Björn Karlsson
2da023df0a Added copyright statement
[SVN r17224]
2003-02-05 09:33:54 +00:00
Vladimir Prus
b336862cf7 Kill tabs.
[SVN r17221]
2003-02-05 08:00:34 +00:00
Vladimir Prus
c50a0eaeae Improve diagnostics.
[SVN r17220]
2003-02-05 08:00:06 +00:00
Vladimir Prus
4ccfcf363f Kill tabs.
[SVN r17189]
2003-02-04 09:03:07 +00:00
Vladimir Prus
bcddf493d8 Check that generators are created with valid source and target types.
* new/builtin.jam
    (lib-generator): Don't pass any source types to base's ctor.

* new/generators.jam
    (generator): Check types.
    (composing-generators): Allow empty list of source types.

* new/type.jam
    (validate): New rule


[SVN r17168]
2003-02-03 10:14:32 +00:00
Rene Rivera
698eebd187 Make the target option in RPM work conditionaly, as it has different syntax depending on version/os variant... yuk.
[SVN r17166]
2003-02-02 21:23:36 +00:00
Rene Rivera
2066469831 Minor change to options for RPM build to make it work on YellowDog PPC-Linux.
[SVN r17165]
2003-02-02 21:08:27 +00:00
Rene Rivera
d40587515a Reflect current state of checked for toolsets.
[SVN r17164]
2003-02-02 17:37:38 +00:00
Rene Rivera
c287187d8b * Make use of CC, CFLAGS, and LIBS env when using cc toolset.
* Adjust generated packages for posting to SourceForge. Specifically, generate a tgz for the single binary.


[SVN r17163]
2003-02-02 17:36:49 +00:00
John Maddock
14a4b3f3eb Fixed erronious == in test.
[SVN r17160]
2003-02-02 12:13:29 +00:00
Dave Abrahams
8c2caa9def Attempt not to build shared libs on Cray, since they're not supported.
[SVN r17159]
2003-02-01 23:41:06 +00:00
Dave Abrahams
5897f14de6 Attempt not to build shared libs on Cray, since they're not supported.
[SVN r17157]
2003-02-01 22:14:24 +00:00
Dave Abrahams
e3c27f0cdc Attempt not to build shared libs on Cray, since they're not supported.
[SVN r17156]
2003-02-01 20:56:03 +00:00
Rene Rivera
527879e9a3 Remove links to prebuilts that don't exist anymore.
[SVN r17155]
2003-02-01 20:17:14 +00:00
Rene Rivera
0a7b1c226a Updated prebuilt links to point to bjam.tgz, to fix problems with browsers that uncompress gz files automatically.
[SVN r17154]
2003-02-01 20:02:33 +00:00
Dave Abrahams
f247520689 Fix integer overflow that was causing traps on Cray.
[SVN r17150]
2003-02-01 17:21:54 +00:00
Vladimir Prus
a7544a8050 More generators refactoring.
[SVN r17118]
2003-01-31 14:50:22 +00:00
Vladimir Prus
0ca2449c50 More generators docs and minor refactoring.
[SVN r17117]
2003-01-31 14:20:25 +00:00
Vladimir Prus
cdb47fd575 Bugfix: now search-lib targets can be used in requirements and
usage-requirements.

* new/builtin.jam
    (link-action.adjust-properties): Rework.

* test/searched_lib.py: New test.


[SVN r17104]
2003-01-31 09:26:25 +00:00
Vladimir Prus
73eb5421dc Add a comment as to why searched-lib instances with different properties
won't be confused.


[SVN r17103]
2003-01-31 08:17:05 +00:00
Vladimir Prus
aa21f6d111 Document static/shared libs, searched libs and mention project-root.
[SVN r17102]
2003-01-31 07:48:34 +00:00
Dave Abrahams
484f192ed8 Restore missing PDB_LINKFLAG
[SVN r17086]
2003-01-30 10:43:27 +00:00
Vladimir Prus
f4c7467101 Don't allow a toolset module to set flags for other module.
[SVN r17085]
2003-01-30 10:24:55 +00:00
Rene Rivera
f0960b96e2 Make set-as-singleton account for set/reset if the variables are cleared after use.
[SVN r17080]
2003-01-29 16:26:40 +00:00
Beman Dawes
e0b255dc0f Add crlf and copyright checks
[SVN r17077]
2003-01-29 11:14:44 +00:00
Vladimir Prus
f1db7200dc Respect <threading> in QT support.
[SVN r17074]
2003-01-29 06:37:26 +00:00
Vladimir Prus
af12b64403 Add comments.
[SVN r17073]
2003-01-29 06:16:48 +00:00
Vladimir Prus
82e0953072 Sync QT support with recent changes.
[SVN r17072]
2003-01-29 06:09:15 +00:00
Dave Abrahams
3436f2f721 Fix size of enums
[SVN r17071]
2003-01-28 23:25:16 +00:00
Vladimir Prus
57e6e0a755 Add stlport support.
[SVN r17068]
2003-01-28 15:59:23 +00:00
Vladimir Prus
d01f016dfc Bugfix: quoted includes were not handled correctly in some cases.
[SVN r17067]
2003-01-28 15:40:25 +00:00
Vladimir Prus
9c1c81b1e3 Improve handling of features. Now they are composed only of explicitly
specified properties.

* new/builtin.jam: (variant): Don't add defaults.

* new/feature.jam: (minimize): Eliminate defauls, when possible.


[SVN r17066]
2003-01-28 15:20:23 +00:00
Vladimir Prus
c8a5bd0243 Overwrite existing symlinks.
[SVN r17064]
2003-01-28 15:13:03 +00:00
Vladimir Prus
5cfbcc5bb4 Added testing.launcher feature. For example, now unit tests can be
run under valgrind.


[SVN r17063]
2003-01-28 15:12:31 +00:00
Vladimir Prus
5bee5f7d6f Quote filenames for borland. Mostly so that tlib do not find
options inside filenames which contain dashes.


[SVN r17059]
2003-01-28 08:48:44 +00:00
Vladimir Prus
2b6a25a5a9 Enable warnings for gcc.
* new/gcc.jam: The change itself.

* test/generators-test/Jamfile: Supress a warning :-)


[SVN r17058]
2003-01-28 08:46:22 +00:00
Vladimir Prus
8881342f15 Make module_actions test work on Linux.
[SVN r17057]
2003-01-28 08:40:23 +00:00
Vladimir Prus
de7dcca4f7 Use errors.error instead of EXIT. Also, change the error message. Previously,
one could get:

   Could not find Jamfile in this directory: ..

and start wondering why parent directory is searched at all.


[SVN r17056]
2003-01-28 08:34:05 +00:00
Rene Rivera
6dcae1a8f3 Minor syntax nit.
[SVN r17048]
2003-01-26 18:15:38 +00:00
Raoul Gough
65bda9a54b Remove note about STLport in link to gcc-nocygwin toolset
[SVN r17039]
2003-01-24 21:41:24 +00:00
Raoul Gough
35895ec900 Use updated Cygwin g++ support for -mno-cygwin
[SVN r17038]
2003-01-24 21:39:59 +00:00
Raoul Gough
524d752cc9 Support for suppressing the export-all-symbols linker flag
[SVN r17037]
2003-01-24 21:38:57 +00:00
Beman Dawes
76874fdd35 Fix for lib error with locate_root != boost_root
[SVN r17034]
2003-01-24 17:24:00 +00:00
Beman Dawes
49f2013691 tread dups as warning, not exception
[SVN r17033]
2003-01-24 17:16:26 +00:00
Vladimir Prus
7267869e04 Bugfix from J?rgen Hunold.
* new/gcc.jam
    (link-dll): Set "-L" properly.


[SVN r17024]
2003-01-24 13:31:50 +00:00
Vladimir Prus
508cfe9353 Add (now disabled) test for BB10.
[SVN r17008]
2003-01-23 14:24:53 +00:00
Dave Abrahams
bf5a5b4d13 Added missing module_actions test
[SVN r17007]
2003-01-23 13:57:01 +00:00
Vladimir Prus
141e854889 Supress some output, when unneeded.
[SVN r17005]
2003-01-23 11:33:53 +00:00
Vladimir Prus
8372d30032 Introduce "--ignore-config" command line option.
[SVN r17004]
2003-01-23 11:22:47 +00:00
Vladimir Prus
378b889b9a More QT fixes.
* new/qt.jam:
    (add-properties): Really, using gcc-specific <linkflags> wasn't the
    best idea of mine. Use toolset independent flags now.

* new/borland.jam: Handle <find-static-lib> and <find-shared-lib>

* new/kylix.jam: Add link action and handle libraries.


[SVN r17003]
2003-01-23 11:11:36 +00:00
Dave Abrahams
62e11f5b17 Simplify and test remove-trailing-slash
[SVN r17000]
2003-01-22 22:18:15 +00:00
Dave Abrahams
5cc16e283c Added missing module_actions test
[SVN r16999]
2003-01-22 22:10:11 +00:00
Raoul Gough
9e4bbefdb8 Supply --enable-auto-image-base during linking on NT platforms
[SVN r16997]
2003-01-22 18:31:22 +00:00
Rene Rivera
40c2585078 Prefer using "whence" to test PATH, but fallback to "hash" when not available like in bash.
[SVN r16994]
2003-01-22 16:57:35 +00:00
Vladimir Prus
453128d296 Followup.
* new/type.jam
    (change-generated-target-suffix): Call set-generated-target-suffix
    if no suffix is set yet.


[SVN r16987]
2003-01-22 06:41:18 +00:00
Vladimir Prus
4a8567bb23 Allow customization of suffixes used for generated targets.
* new/property.jam
    (property-map.find-replace): New method
    (property-map.find): Implement of terms of the above.

* new/qt.jam: Don't set any suffix on UIC_H.

* new/type.jam
    (change-generated-target-suffix): New rule.
    (generated-target-suffix): Process base types if no
    suffix is found.


[SVN r16986]
2003-01-22 06:33:05 +00:00
Vladimir Prus
e8b97cc113 Better window layout in QT/UI example.
[SVN r16985]
2003-01-22 06:00:19 +00:00
Vladimir Prus
0e6480e5ab Implement toolset inheritance. Add Kylix toolset. Still need
to inherit "init" rule and test all this.

* new/borland.jam
    Use COMPILER_NAME and LINKER_NAME vars.

* new/generators.jam
    (generator.clone): New method.
    (register-composing): Use 'register'
    (generators-for-toolset): New rule.

* new/property.jam
    (change): New rule

* new/toolset.jam
    (add-flag): New rule
    (flags): Use the above.
    (register): New rule.
    (inherit): New rule
    (inherit-generators,inherit-flags,inherit-rules): New rules.


[SVN r16979]
2003-01-21 16:10:37 +00:00
Vladimir Prus
aa3c20495e More generators refactoring.
[SVN r16977]
2003-01-21 14:37:35 +00:00
Vladimir Prus
3daea37aaa Accomodate for BB1 fix.
[SVN r16973]
2003-01-21 13:11:09 +00:00
Vladimir Prus
9283734259 Add QT/UI example, provided by Felix E. Klee.
[SVN r16969]
2003-01-21 07:16:58 +00:00
Vladimir Prus
104aa9156e Add UIC support to QT module.
[SVN r16968]
2003-01-21 07:14:44 +00:00
Dave Abrahams
7409aa541d Handle BB1
[SVN r16967]
2003-01-21 05:03:08 +00:00
Dave Abrahams
e9c6051fdc Handle BB1
[SVN r16966]
2003-01-21 04:55:24 +00:00
Vladimir Prus
45df97a9ff Add "hpp" as another suffix for "H" type.
[SVN r16961]
2003-01-20 13:02:55 +00:00
Vladimir Prus
7ab76f2877 Rename ".qpp" to ".h".
[SVN r16960]
2003-01-20 10:45:35 +00:00
Vladimir Prus
6bf361f3dd More QT fixes, from J?rgen Hunold.
In addition, use "H" type for mocced headers, not QPP.


[SVN r16959]
2003-01-20 10:44:49 +00:00
Vladimir Prus
c3ab65dd51 Add appropriate -L switch for QT.
[SVN r16958]
2003-01-20 09:25:53 +00:00
Dave Abrahams
1105be99f9 Apparently I forgot to check in these changes
[SVN r16937]
2003-01-19 17:47:32 +00:00
Ronald Garcia
14acc28931 calls to "test" were using nonportable "-e" (bash-ism). Changed to -r.
[SVN r16923]
2003-01-17 19:54:04 +00:00
Toon Knapen
259d49450c restored linking with NEEDLIBS twice
[SVN r16922]
2003-01-17 14:52:15 +00:00
Toon Knapen
34f30b419f FINDLIBS is preceded by NEEDLIBS to resolve symbols of external/system libraries
used in the libs of the current project contained in NEEDLIBS


[SVN r16921]
2003-01-17 13:12:50 +00:00
Rene Rivera
fdf5dc3174 Add support for specifying linker flags supported by platform.
Makes it possible to build and link to DLLs on OpenBSD.


[SVN r16920]
2003-01-17 06:32:03 +00:00
Rene Rivera
b840d64105 Add default <dllversion> on OpenBSD platform to satisfy *.so link requirements.
[SVN r16919]
2003-01-16 23:17:11 +00:00
Vladimir Prus
5f8788e68d Added QT example.
[SVN r16916]
2003-01-16 12:51:02 +00:00
Vladimir Prus
d2b1831701 Preliminary QT support.
* new/qt.jam: New file

* new/target.jam:
    (basic-target.generate): Call 'feature.run-action'.


[SVN r16915]
2003-01-16 12:50:08 +00:00
Rene Rivera
f65e592d27 Fix minor problem for anoncvs logins.
[SVN r16914]
2003-01-15 20:55:21 +00:00
Dave Abrahams
a42070f070 Fix validation
[SVN r16913]
2003-01-15 17:28:28 +00:00
Vladimir Prus
25c6e61a6f Win32 fix.
[SVN r16910]
2003-01-15 12:03:08 +00:00
Dave Abrahams
80f5eb2d40 Improved error-checking
[SVN r16909]
2003-01-15 11:48:46 +00:00
Vladimir Prus
53b8123377 Validate the build request which comes from command line.
[SVN r16908]
2003-01-15 11:41:16 +00:00
Vladimir Prus
6790091838 Make toolset-version feature propagated and link-incompatible.
[SVN r16907]
2003-01-15 11:11:44 +00:00
Vladimir Prus
db17837f80 Improve toolset versions support.
* new/toolset.jam
    (normalize-condition): New rule
    (flags): Call 'normalize-condition'

* new/gcc.jam
    (init): Set compiler name for all actions in
    gcc module, now that toolset.jam supports it.


[SVN r16906]
2003-01-15 10:56:47 +00:00
Vladimir Prus
62dae3aecf Remove debug output.
[SVN r16905]
2003-01-15 10:25:09 +00:00
Dave Abrahams
ab1dd608e2 Fix subfeature validation
[SVN r16903]
2003-01-15 01:11:27 +00:00
Dave Abrahams
41f4809032 Fix catch so that it generates an error if no error has occurred.
[SVN r16902]
2003-01-15 00:05:24 +00:00
Vladimir Prus
de462a76ff More generators refactoring.
[SVN r16901]
2003-01-14 19:10:28 +00:00
Beman Dawes
927dc0402b now works with targets in separate tree (ALL_LOCATE_TARGET)
[SVN r16899]
2003-01-14 01:38:17 +00:00
Dave Abrahams
bb42fd703f Make unit-test built by default.
[SVN r16898]
2003-01-14 00:07:37 +00:00
Vladimir Prus
e2774474c4 Minor refactoring.
[SVN r16895]
2003-01-13 17:29:42 +00:00
Rene Rivera
e6dd6b2611 Add recognition of OpenBSD... to fix some of the regression tests (threads).
[SVN r16893]
2003-01-13 16:51:58 +00:00
Vladimir Prus
c35c792453 Fix the stage rule, so that it allows sources with directory names.
* new/stage.jam:
   (stage-target-class): Strip directory names when determining the name of
   the target file.

* test/stage.py: Update the test.


[SVN r16892]
2003-01-13 16:28:47 +00:00
Vladimir Prus
c92e62539f Cleanups.
[SVN r16891]
2003-01-13 16:14:59 +00:00
Vladimir Prus
2b3ca70826 Revert accidental checkin.
[SVN r16890]
2003-01-13 16:13:51 +00:00
Vladimir Prus
6c3be6a707 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
Beman Dawes
c3d842e3fe remove inadvertent <pre> formatting changes
[SVN r16886]
2003-01-13 15:41:30 +00:00
Vladimir Prus
25275ccb1c Rename 'use-requirements' to 'usage-requirement', to avoid
confusion.


[SVN r16883]
2003-01-13 11:15:07 +00:00
Vladimir Prus
cea8950563 Refine the virtual-targets/actions UML diagram and add some relevant
comments.


[SVN r16881]
2003-01-13 07:36:32 +00:00
Vladimir Prus
a2cba14f0f Add forgotten method to the UML diagram.
[SVN r16880]
2003-01-13 06:54:53 +00:00
Dave Abrahams
1b20e2354e Add Vladimir's UML diagram
[SVN r16879]
2003-01-12 22:57:53 +00:00
Dave Abrahams
fd5c77628e Add Vladimir's UML diagram
[SVN r16878]
2003-01-12 21:24:41 +00:00
John Maddock
734c789866 Fixed previous commit: -pthreads should really be spelled -pthread (!).
[SVN r16876]
2003-01-12 11:54:24 +00:00
John Maddock
bb1f940b68 Added FreeBSD threading options.
[SVN r16875]
2003-01-12 11:41:28 +00:00
Beman Dawes
dcf7006227 add <define> example
[SVN r16870]
2003-01-11 14:02:37 +00:00
Rene Rivera
4789ae875d Per John's observation, added missing quotes in acc CC.
[SVN r16862]
2003-01-10 17:43:22 +00:00
Rene Rivera
45d8cb9736 Guard against OSPLAT not being defined. Missed one.
[SVN r16861]
2003-01-10 17:15:46 +00:00
Rene Rivera
e7ba7fd973 Guard against OSPLAT not being defined.
[SVN r16860]
2003-01-10 17:09:08 +00:00
Rene Rivera
7d7d75bf7b Add -Ae flag to acc.
[SVN r16859]
2003-01-10 16:26:23 +00:00
Rene Rivera
8d3431ec3c Use HP-UX uname to determine if aCC(cc) is available.
Add -Ae flag to acc.


[SVN r16858]
2003-01-10 16:22:05 +00:00
Dave Abrahams
4741661aef Added missing newlines at EOF
[SVN r16857]
2003-01-10 15:38:27 +00:00
Dave Abrahams
7c83c4682c Refine optimization settings
[SVN r16853]
2003-01-10 15:03:46 +00:00
Vladimir Prus
bcd7c779a5 Use more strict checks of suffix->type mapping. Does
allow type for a suffix to change.

* new/type.jam
    (register-suffixes): New rule. ( suffixes + : type )
    (register): Use the above.


[SVN r16848]
2003-01-10 10:02:13 +00:00
Vladimir Prus
93888b34c6 Make prebuilt.py work on NT/MinGW.
[SVN r16847]
2003-01-10 09:40:58 +00:00
Rene Rivera
1cee0f88f2 Some improvements to the script to make it easier to use.
- Better explained variables for configuration.
- Additional support fo getting the fresh CVS state of code.


[SVN r16846]
2003-01-10 06:00:13 +00:00
Rene Rivera
59ac4fe74f Added a run stage to put the binaries into to simplify the run_test.sh script.
[SVN r16845]
2003-01-10 05:26:46 +00:00
Rene Rivera
dc57440908 Added "-Ae" flag to acc toolset.
Added generic Unix cc toolset.


[SVN r16843]
2003-01-09 21:57:03 +00:00
Rene Rivera
22b7e5ce28 Added aCC toolset.
Fixed problematic use of ksh "function" keyword.


[SVN r16841]
2003-01-09 17:50:11 +00:00
Dave Abrahams
4310d52c2d add missing newline at EOF
[SVN r16840]
2003-01-09 17:09:04 +00:00
Vladimir Prus
d4fa3f3942 Make build_dir.py work on NT/MinGW.
[SVN r16839]
2003-01-09 16:22:09 +00:00
Dave Abrahams
49bdc78bf8 Add assertions
[SVN r16838]
2003-01-09 16:20:58 +00:00
Vladimir Prus
bd26627fab Make project_dependencies.py work on NT/MinGW.
[SVN r16837]
2003-01-09 16:17:57 +00:00
Dave Abrahams
d4e6dfcf83 add missing newline at EOF
[SVN r16836]
2003-01-09 16:14:30 +00:00
Vladimir Prus
d968045e33 Make stage.py work on NT/MinGW.
[SVN r16835]
2003-01-09 16:08:51 +00:00
Vladimir Prus
8a52b0e4ff Make conditionals.py work on NT/MinGW.
[SVN r16834]
2003-01-09 16:04:13 +00:00
Vladimir Prus
cd925c54ff Make use_requirements.py work on NT/Cygwin, by using static lib in one
case.


[SVN r16833]
2003-01-09 15:52:23 +00:00
Vladimir Prus
c1a2fedbbf Bugfix for another case where Jam were changing slash direction.
[SVN r16832]
2003-01-09 15:26:31 +00:00
Vladimir Prus
c4338e0ea2 Bugfix.
[SVN r16831]
2003-01-09 15:22:06 +00:00
Vladimir Prus
f3d56afb03 Changes static lib suffix to "lib" on NT. Use "a" for gcc on all
platforms.


[SVN r16830]
2003-01-09 14:51:45 +00:00
John Maddock
5c546dd981 Added example shell script.
[SVN r16821]
2003-01-09 12:36:22 +00:00
Beman Dawes
b976aced01 remove tabs
[SVN r16820]
2003-01-09 12:36:21 +00:00
Vladimir Prus
644ce8709a Add a diagnostic.
[SVN r16816]
2003-01-09 06:51:46 +00:00
Dave Abrahams
54071e3388 Fixes for Windows/GCC-3.2
[SVN r16815]
2003-01-09 01:29:30 +00:00
Beman Dawes
9cf87f1074 fixes, cleanup
[SVN r16813]
2003-01-09 00:16:19 +00:00
Beman Dawes
e5b54fb793 supply links HTML boilerplate
[SVN r16811]
2003-01-09 00:08:08 +00:00
Dave Abrahams
734f00f7d8 Restore crucial missing line
[SVN r16810]
2003-01-09 00:03:25 +00:00
Dave Abrahams
f403e6117e fix DLL suffix for Cygwin
[SVN r16806]
2003-01-08 20:43:49 +00:00
Dave Abrahams
3ead66297d Fixed up difference reporting again!
[SVN r16805]
2003-01-08 20:41:29 +00:00
Dave Abrahams
04ecee58ae Fixed up difference reporting
[SVN r16804]
2003-01-08 20:34:00 +00:00
Dave Abrahams
6a7910d4bb Add verbosity options
[SVN r16803]
2003-01-08 20:11:15 +00:00
Dave Abrahams
08b13d26bb Add missing newlines at EOF
[SVN r16802]
2003-01-08 19:43:09 +00:00
Dave Abrahams
7768f65cb4 Add missing exe_suffix, dll_suffix
[SVN r16801]
2003-01-08 19:42:47 +00:00
Dave Abrahams
17d0796754 Add verbosity command-line option to dump build actions.
[SVN r16800]
2003-01-08 19:42:09 +00:00
Dave Abrahams
ae896ef7ff bug fix
[SVN r16799]
2003-01-08 19:38:27 +00:00
Dave Abrahams
06761c51d2 added missing validate-property-sets
[SVN r16798]
2003-01-08 18:16:32 +00:00
Vladimir Prus
7a57715262 Fix some syntax errors.
[SVN r16794]
2003-01-08 13:20:46 +00:00
Vladimir Prus
12f0ee166b Making more tests work on windows.
* new/builtin.jam: The lib suffix in not "obj", even on windows.

* test/BoostBuild.py: (lib_suffix): New variable.
* test/generators_test.py: Use lib_suffix.


[SVN r16793]
2003-01-08 13:05:30 +00:00
Beman Dawes
9e75e525b4 Initial commit
[SVN r16783]
2003-01-07 16:57:46 +00:00
Dave Abrahams
f10bd5889e bug fix
[SVN r16781]
2003-01-07 16:23:31 +00:00
Dave Abrahams
0d4ae276d7 Take care of most of BB4
[SVN r16778]
2003-01-07 00:18:22 +00:00
Dave Abrahams
301519a518 make dump-test work nicely for subincluded Jamfiles
[SVN r16777]
2003-01-06 23:32:46 +00:00
Beman Dawes
cd681cb98a test-type now in --dump-tests output + now work with subincludes
[SVN r16773]
2003-01-06 21:31:32 +00:00
Dave Abrahams
00f68628f0 Add test type dumping
[SVN r16766]
2003-01-05 20:05:48 +00:00
Dave Abrahams
9a1b2eb7b0 Rewrite unit-test() in terms of testing.jam/run()
[SVN r16765]
2003-01-05 19:55:47 +00:00
Rene Rivera
8d39a71e0e Brought back compatability of command line specified targets to update.
Modified UPDATE builtin to: 1. clear the update list, 2. set the update list to the given targets, 3. return the previous update list.


[SVN r16764]
2003-01-05 19:11:07 +00:00
Dave Abrahams
3870dcf67a cleanup
[SVN r16761]
2003-01-05 18:40:55 +00:00
Dave Abrahams
0a9df48352 undo ls hack
[SVN r16760]
2003-01-05 18:40:33 +00:00
Dave Abrahams
07e5806cbb Use exe_suffix for Cygwin
[SVN r16759]
2003-01-05 18:27:05 +00:00
Dave Abrahams
556bf725cc Compute exe_suffix for Cygwin
Dump recursive directory on certain failures.
Allow List addition


[SVN r16758]
2003-01-05 18:25:58 +00:00
Dave Abrahams
105eae2195 fix typo
[SVN r16757]
2003-01-05 18:24:56 +00:00
Dave Abrahams
9bf028c9c7 Make local rules local
[SVN r16756]
2003-01-05 18:24:21 +00:00
Dave Abrahams
6b55ffbce2 Added missing newline at EOF which was causing warnings and thus test
failures with gcc-3.2


[SVN r16755]
2003-01-05 17:42:37 +00:00
Dave Abrahams
249c2d2a18 Allow special <test-info> feature for augmented --dump-tests functionality
[SVN r16753]
2003-01-05 15:51:20 +00:00
Douglas Gregor
dd49dbca0c compiler_status.cpp:
- Support testsuites.jam in addition to Jamfile


[SVN r16736]
2003-01-03 04:51:05 +00:00
Beman Dawes
6f71c3a53f filesystem_error redesign plus reliability fixes
[SVN r16724]
2002-12-30 19:21:00 +00:00
Vladimir Prus
97b7a1bddc Work on BB14: allow target suffixes to depend
on build properties.

* new/builtin.jam
    Introduce "os" feature.

* new/gcc.jam
    Make object suffix "o" on all platforms.

* new/property.jam
    (property-map): New class.

* new/type.jam
    (.suffixes): Global propety-map instance, to
	keep properties->suffix mapping.
    (set-generated-target-suffix): New rule
    (generated-target-suffix): New argument
	'properties'.

* new/virtual-target.jam
    (abstract-file-target.actual-name): Pass
	properties to type.generated-target-suffix.

* test/project_test4.py
    Don't specify expected list of build properties,
    since it's not stable. Check head of error message
    only.


[SVN r16700]
2002-12-25 07:18:34 +00:00
Rene Rivera
a1a90fd678 Fix singleton variables when used by multiple variants of the gcc toolset.
[SVN r16697]
2002-12-23 22:32:22 +00:00
Dave Abrahams
3adc043e33 Bug fix for shared/static linking
[SVN r16675]
2002-12-20 22:49:17 +00:00
Beman Dawes
a23395fce3 sane-testing merged
[SVN r16674]
2002-12-20 22:44:18 +00:00
Toon Knapen
d578f65ffb added settings from David Abrahams
[SVN r16671]
2002-12-20 15:54:26 +00:00
Toon Knapen
1f11ffc008 toolset description for the HP aCC compiler
[SVN r16670]
2002-12-20 14:32:22 +00:00
Dave Abrahams
7b2541c747 Patch to allow derivation of gcc-STLfilt toolset
[SVN r16667]
2002-12-20 00:02:26 +00:00
Vladimir Prus
4ac1854547 Fix a typo.
[SVN r16663]
2002-12-19 14:37:07 +00:00
Dave Abrahams
ee37aa3f6f fix for multiple simultaneous Jam sessions, to avoid overwriting
temporary .bat files, courtesy of "Anichini, Steve"
<Sanichini@midwaygames.com>


[SVN r16658]
2002-12-18 21:35:09 +00:00
Beman Dawes
5916fc1caf Fixes, reliability improvements
[SVN r16646]
2002-12-18 14:59:48 +00:00
Dave Abrahams
30b1148776 update INTEL_LINUX_VERSION (Guillaume Melquiond <gmelquio@ens-lyon.fr>)
[SVN r16645]
2002-12-18 13:12:27 +00:00
Dave Abrahams
23ef919756 fix typo (Guillaume Melquiond <gmelquio@ens-lyon.fr>)
[SVN r16644]
2002-12-18 13:10:53 +00:00
Beman Dawes
d37255c712 Add parse msg to improve error reporting
[SVN r16643]
2002-12-18 12:20:55 +00:00
Dave Abrahams
251fe38abb Bug fix
[SVN r16637]
2002-12-17 14:15:07 +00:00
Dave Abrahams
a22cfae571 Attempted fix for people who want to work with 2 versions
[SVN r16635]
2002-12-17 12:57:50 +00:00
Vladimir Prus
6e64fdbaed Add a new test, which fails and is therefore commented out.
[SVN r16631]
2002-12-17 08:21:19 +00:00
Dave Abrahams
289e7a53fa Add missing libutil for embedding
[SVN r16630]
2002-12-17 00:20:43 +00:00
Dave Abrahams
ebf59dbde4 Add libdl for Unix
[SVN r16627]
2002-12-16 22:59:52 +00:00
John Maddock
baf07a3b96 Finally got Kylix environment variable support working,
Added Kylix build docs.


[SVN r16622]
2002-12-16 12:58:18 +00:00
John Maddock
b0f24ee9dd Added -g255 option for builds so that the compiler doesn't stop if there are a lot of warnings
[SVN r16621]
2002-12-16 12:55:38 +00:00
Vladimir Prus
fa3783067d Another bugfix for dependency properties in use requirements.
* new/targets.jam
    (generate-dependencies): New argument 'extra-properties.
        Add it to properties used for building dependencies.
    (basic-target.generate): Use the above change.


[SVN r16611]
2002-12-15 10:14:11 +00:00
Vladimir Prus
4b689f1368 Add a script to facilitate creating of tests from directories.
[SVN r16610]
2002-12-15 10:10:10 +00:00
Vladimir Prus
bd6665f878 Bugfix.
* new/builtin.jam: When hardcoding dll paths, check for
     <library> properties too, no only for sources of
     LIB type.


[SVN r16609]
2002-12-15 08:07:12 +00:00
Dave Abrahams
dba3588580 runtime-build support for pro8
[SVN r16598]
2002-12-12 22:15:57 +00:00
Dave Abrahams
bed917569e Allow dashes in feature values
[SVN r16597]
2002-12-12 19:29:39 +00:00
Beman Dawes
c996749079 fs_review branch merged
[SVN r16593]
2002-12-11 19:47:00 +00:00
Vladimir Prus
4f9e0c0df9 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
Vladimir Prus
a16b8fca32 Introduce the <dll-path> and <hardcode-dll-paths> features.
* gcc.jam: Handle the <dll-path> feature.

* builtin.jam
    New features <dll-path> and <hardcode-dll-paths>.
    (link-action.adjust-properties): Add library's
    full paths to <dll-path> when <hardcode-dll-paths>
    is specified.


[SVN r16588]
2002-12-11 17:40:48 +00:00
Vladimir Prus
ff883a4704 Added <linkflags>
[SVN r16582]
2002-12-10 09:03:19 +00:00
Vladimir Prus
2d976ed34f Bugfix: dependency features in use requirements were mishandled.
* new/targets.jam
    (basic-target.generate): Use 'generate-dependencies'
    for use requirements on this target.

* test/use_requirements.py: More tests.


[SVN r16580]
2002-12-10 07:48:56 +00:00
Vladimir Prus
0453d98586 Bugfix: path features in target requirement were
not translated.

* test/path_features.py: Fix a bug in test.

* new/targets.jam
    (main-target-requirements): Bugfix.


[SVN r16579]
2002-12-10 07:15:33 +00:00
Vladimir Prus
3e273be14d Replace the "prebuilt" rule with <file> feature.
* new/generators.jam
    (find-viable-generators): Allow target type of
       "*" mean any type. Try generators for "*" first.
       Really ignore generators for base types when
       there's a generator for derived type. Allow
       grist-only element in generators requirements
       to match all values of property.

* new/prebuilt.jam
    (prebuilt-target-class): Remove
    (prebuild-file-generator): New class.


[SVN r16578]
2002-12-10 07:06:43 +00:00
Vladimir Prus
290c2840f0 Improve shared/static linking interface and
introduce separate <link-runtime> feature.
Allow to use the 'lib' rule to declare
libraries that should be searched for.

* builtin.jam: Remove 'shared' features. Introduce
   'link' and 'link-runtime'.
   (searched-lib-target): New class
   (searched-lib-generator): New generator.
   (lib-action): New class, derived from 'action'.
   Handles instances of 'searched-lib-target' in sources.
   Also, moves all libraries from sources to property value,
   so that we can repeat them twice in command line.
   (lib-generator): Generator which uses 'lib-action'.

* generators.jam: Allow empty list of sources everywhere.

* virtual-target.jam (file-target): Split into
   'abstract-file-target' and 'file-target'.
   (abstra
  (action.actualize-sources): New rule. Allows to
  handle the fact that some sources are special,
  and should not become $(>) in action body.


[SVN r16573]
2002-12-09 10:02:37 +00:00
Rene Rivera
eb9e9db9e3 Account for "Program Files" in different installations of Windows.
[SVN r16526]
2002-12-06 05:02:00 +00:00
Markus Schöpflin
16c66770f6 Enable linker optimization in release builds when generating debug symbols.
[SVN r16525]
2002-12-05 14:25:09 +00:00
Rene Rivera
66f4b8895e Minor fixes to compile in OpenVMS.
[SVN r16523]
2002-12-05 00:08:49 +00:00
Rene Rivera
d8519ee0ca Fix end-of-lines
[SVN r16522]
2002-12-04 23:46:54 +00:00
Rene Rivera
f1301885a2 Initial. Minimal build of bootstrap only.
[SVN r16521]
2002-12-04 23:36:31 +00:00
Dave Abrahams
e9fef8b4fd Use correct C compiler
[SVN r16516]
2002-12-04 16:20:38 +00:00
Vladimir Prus
f6131d8bc2 Search for site-config.jam and user-config.jam not
only in BOOST_BUILD_PATH but also in HOME and
system locations. Document the search paths.


[SVN r16486]
2002-12-03 12:20:49 +00:00
Rene Rivera
5ed51ae1c8 Add the <version> feature.
[SVN r16485]
2002-12-03 04:46:57 +00:00
Dave Abrahams
4a3f10af82 Add missing "static" to suppress warning with aCC
[SVN r16484]
2002-12-03 00:02:47 +00:00
Dave Abrahams
7bb00a030a Add explanation of property validity
[SVN r16475]
2002-12-02 14:13:52 +00:00
Vladimir Prus
fbf5a81e52 Integrate semaphores extension from Craig McPeeters' branch on
public.perforce.com (revisions 1664, 1665).


[SVN r16472]
2002-12-02 12:28:01 +00:00
Vladimir Prus
e4f90982a7 Work on BB5. Mininal version of toolset initialization implemented.
* new/gcc.jam (init): New rule. Allows to specify alternative
    gcc versions.

* new/toolset.jam
    (using): New rule.
    (set-target-variables): Bufgix. I was making indirect call
        via variable with multiple values.

* new/build-request.jam
   (looks-like-implicit-value): New rule.
   (from-command-line): Use the above.
   (convert-command-line-element): Don't validate
      elements with dashes (this probably must be fixed).


[SVN r16468]
2002-12-02 07:20:37 +00:00
Dave Abrahams
00b0f5eeec automatic shared_ptr from_python conversions
[SVN r16467]
2002-12-02 01:37:39 +00:00
Rene Rivera
64dd1fed72 Oops, account for spaces in LIB environment var.
[SVN r16463]
2002-12-01 04:29:27 +00:00
Rene Rivera
c99c34cccb Use /LIBPATH to "fix" compilation on MSVC. Assumes LIB is set by VCVARS32.BAT correctly.
[SVN r16462]
2002-12-01 04:25:45 +00:00
Dave Abrahams
0758e40971 Clarified comments and docs
[SVN r16461]
2002-11-30 00:57:39 +00:00
Dave Abrahams
9dcf6cbf44 Clarified comments (I hope)
[SVN r16460]
2002-11-30 00:37:39 +00:00
Dave Abrahams
c03b07a2e0 Progress on embedding example for unix.
[SVN r16458]
2002-11-29 20:23:54 +00:00
Vladimir Prus
0a19aebba8 Make file-target decide is main target name should be
present in target path, instead of doing this
high in control structure.

* new/targets.jam
    (main-target.generate): Don't bother with setting
       extra path on generated targets.

* new/virtual-target.jam
    (virtual-target.extra-path): Remove.
    (virtual-target.compute-extra-path): New method.
         (subvariant): Document better.


[SVN r16454]
2002-11-28 09:14:41 +00:00
Vladimir Prus
5fb0e1fd91 Better support project requirements with dependency properties
in it. Don't generate all main target into separate subdirectories
in this case.

* new/targets.jam:
    (project-target.reference-properties): New method
    (generate): Moved from basic-target.generate-source
    (generate-dependencies): New rule.

* test/project_dependencies.py: New test.


[SVN r16453]
2002-11-28 08:18:06 +00:00
Vladimir Prus
c0d180599e Initial support for the borland toolset.
* borland.jam: New file. Does not support dll yet.

* builtin.jam: Use "obj" and "lib" extensions on
    Windows for objects and static libraries, respectively.


[SVN r16441]
2002-11-27 10:18:20 +00:00
Vladimir Prus
313f36f979 Improve 'flags' and the gcc toolset.
* gcc.jam: Extend the 'toolset' feature with gcc here.
    Use flags for linking too and eliminate 'link-options'
    rule. Remove empty compile/archive/link/link-dll rules.

* toolset.jam (flags): Document somehow.
     (set-target-variables): Call 'actualize' on values
     of dependency features.


[SVN r16440]
2002-11-27 09:35:53 +00:00
Vladimir Prus
26805ee1a7 Clean ups.
* new/builtin.jam: Made 'toolset' and 'variant'
    features symmentic. Document and fix the 'variant' rule.

* new/virtual-target.jam: Refactoring attempts. Split
   virtual-target into virtual-target and derived from it
   file-target. Eliminate some duplication in setting target
   locations.


[SVN r16437]
2002-11-27 08:37:07 +00:00
Vladimir Prus
2ba8c61449 Extend tutorial. Correct some typos and obscurities.
[SVN r16436]
2002-11-27 07:50:17 +00:00
Markus Schöpflin
d0185dad35 More fixes merged from release branch.
[SVN r16421]
2002-11-26 13:46:44 +00:00
Dave Abrahams
ccf61a1550 Stop neutering customization of GCC_BIN_DIRECTORY
[SVN r16391]
2002-11-24 03:27:53 +00:00
Vladimir Prus
3161547077 Improve/clarify handling of composing generators during
the transformation search. Don't use global
'.had-composing-generator' variable.

* targets.jam (typed-target.construct): Pass 'allow-composing'
   to 'generators.construct'.

* generators.jam (find-viable-generators): New parameter
     'allow-composing'.
  (construct): Better document the 'allow-composing' parameter.
     Pass that parameter to 'find-viable-generators'.


[SVN r16372]
2002-11-22 15:14:27 +00:00
Vladimir Prus
a8200056c5 Fix Debian build.
[SVN r16371]
2002-11-22 15:08:14 +00:00
Rene Rivera
794bd075c2 Small cleanups, and fix the dist target to correctly refer to the binaries.
Add support for building the grammar in Windows, now that there is yyacc.c program.
Attempt to fix the build of MSVC and VC7 with the location of the kernel32.lib.


[SVN r16368]
2002-11-22 02:09:12 +00:00
Rene Rivera
36d1a92995 Fix various stupid syntax bugs.. not sure how they got in there :-(
Add support for bootstrapping the gramar, now that there is yyacc.c program.
Attempt to fix the build of MSVC and VC7 with the location of the kernel32.lib.


[SVN r16367]
2002-11-22 02:07:46 +00:00
Rene Rivera
90829322d6 Pass 2; works with CW8 on Windows, and BCC55 on Windows.
[SVN r16366]
2002-11-21 22:30:55 +00:00
Vladimir Prus
a5db4b8f54 Remove redundant line.
[SVN r16360]
2002-11-21 12:28:24 +00:00
Vladimir Prus
aa46186512 Add dummy actions for 'all', so that jam return 0 exit status. It used
to return 0 before because of a bug, but now that the bug is fixed, we
need to change test.jam.


[SVN r16359]
2002-11-21 12:27:38 +00:00
Rene Rivera
eac80862f0 Use the passed in toolset, added various copyright notices.
[SVN r16357]
2002-11-21 04:54:55 +00:00
Rene Rivera
475fcfce6f Slight cleanup, use of the yyacc.c program to build the grammar, and pass along the toolset to the RPM package build.
[SVN r16356]
2002-11-21 04:53:30 +00:00
Rene Rivera
1c141682fe Slight cleanup, and use of the yyacc.c program to bootstrap the grammar.
[SVN r16355]
2002-11-21 00:31:25 +00:00
Rene Rivera
c6cf8badae Initial pass at a replacement for the 'yyacc' script... in C.
[SVN r16352]
2002-11-20 23:19:02 +00:00
Vladimir Prus
8e908b2a0d Test for composite properties in target references.
[SVN r16347]
2002-11-20 16:38:53 +00:00
Dave Abrahams
ec4028ca31 Tests for v1 testing
[SVN r16345]
2002-11-20 15:51:53 +00:00
Dave Abrahams
c0c5f1bf46 Bug fix from Zak Kipling <zak.kipling@cantab.net>
If you execute jam with no explicit target specified, it exits with
"EXITOK" regardless of whether the build actually succeeds...


[SVN r16336]
2002-11-20 01:37:56 +00:00
Rene Rivera
8d0d82ae5e Example "symlink" targets.
[SVN r16333]
2002-11-20 00:45:24 +00:00
Rene Rivera
9906096bd4 "symlink" targets.
[SVN r16332]
2002-11-20 00:44:43 +00:00
Vladimir Prus
7d4cf93125 Fix properties in target references.
* new/targets.jam (basic-target.generate-source): Expand composite in
    properties, specified in target references.


[SVN r16320]
2002-11-19 15:29:27 +00:00
Rene Rivera
9cb0029b93 Fix a confusion about what the "::" following, or not, whitespace was handled.
[SVN r16316]
2002-11-19 06:27:22 +00:00
Rene Rivera
0aa3519d55 Add "darwin" toolset.
[SVN r16283]
2002-11-16 17:44:29 +00:00
Rene Rivera
92e0ecf910 Initial.
[SVN r16282]
2002-11-16 17:40:50 +00:00
Rene Rivera
54bea25197 Add a pointer to the new Boost.Jam documentation.
Removed the now duplicate "Internals/Extensions" and "Internals/Fundamentals" docs.


[SVN r16277]
2002-11-16 06:22:16 +00:00
Rene Rivera
dd9ec2695d Repoint Boost.Jam links to new documentation in jam_src/readme.html
[SVN r16275]
2002-11-16 05:57:21 +00:00
Rene Rivera
8a12de8425 Copy in the "Jam Fundamentals" section, with some cleanup/reformatting.
[SVN r16274]
2002-11-16 05:35:05 +00:00
Rene Rivera
0b5aca1db4 Describe the rest of the accepted toolsets.
[SVN r16265]
2002-11-15 21:19:17 +00:00
Rene Rivera
3d93e34f23 Copied "Core Jam Extensions" from build_system.html. Seems like it belongs here and build_system.html will be outdated in V2.
[SVN r16261]
2002-11-15 18:48:37 +00:00
John Maddock
b669f24814 changed cygwin bjam.exe.gz to bjam.zip
[SVN r16258]
2002-11-15 12:59:21 +00:00
Vladimir Prus
d6b5e2a388 More comments.
[SVN r16250]
2002-11-15 08:09:45 +00:00
Vladimir Prus
18a6757b24 Cleanup main target alternative creationg.
* new/targets.jam
    (abstract-target.name): New method.
    (abstract-target.project): New method.
    (main-target-alternative): Simplify. Only register
       main target alternative. Don't to fancy processing
       of arguments.
    (main-target-requirements): New rule.
    (main-target-use-requirements): New rule.
    (main-target-default-build): New rule.


[SVN r16249]
2002-11-15 07:20:23 +00:00
Vladimir Prus
12b2f9fe0f Forgotten change.
[SVN r16248]
2002-11-15 07:15:10 +00:00
Rene Rivera
43d23ab80c Accept most toolsets.
[SVN r16247]
2002-11-15 05:57:19 +00:00
Rene Rivera
7b8c6d90c3 Some extra whitespace formatting fixes.
[SVN r16246]
2002-11-15 05:13:59 +00:00
Rene Rivera
98c879db15 Added utility "words" rules to split a string into words.
[SVN r16245]
2002-11-15 05:12:25 +00:00
Rene Rivera
85753595b5 Implement ReST type preformatted syntax using "::".
* class.jam; Use new "::" syntax.
* doc.jam; Change comment parsing to keep leading whitespaces.
* doc.jam; Fix problem when a rule's argument has the same name as an inner rule.
* print.jam; Implement ReST syntax of "::" to indicate preformatted text. All forms of the ReST syntax are supported, and the additional form of a preformated paragraph with the first line as "::".


[SVN r16244]
2002-11-15 01:16:50 +00:00
Dave Abrahams
550276ac46 Fix Cygwin PYD extension
[SVN r16237]
2002-11-14 14:50:23 +00:00
Vladimir Prus
be168223a4 Handling for base type generators fixes.
* new/generators.jam
     (find-viable-generators): Reverted my revert. Not yet sure
         what's the best way, but this one can be made to work.
     (try-one-generators): Adjust the virtual target types in
         case generator for base type was used.

* new/virtual-target.jam (virtual-target.set-type): New method.


[SVN r16234]
2002-11-14 10:43:47 +00:00
Vladimir Prus
e32186d59e Revive all the tests.
* boost_build_v2.html: Document new option.

* new/generators.jam (find-viable-generators): Revert part of Dave's
   commit, essentially disabling finding base type generators.
   This part breaks a test, and need to be thinked about.

* new/errors.jam: Handle "--no-error-backtrace" option.

* test/project_test4.py: Adjust for new error syntax.


[SVN r16233]
2002-11-14 10:17:50 +00:00
Vladimir Prus
68083b7786 Beginnings of a tutorial.
[SVN r16232]
2002-11-14 10:10:38 +00:00
Vladimir Prus
804aa92dd2 Fix rule echoing.
* jam_src/make1.c (make1c): Output don't output nonqueit when neither
     DEBUG_MAKE nor DEBUG_MAKEQ is set.

   * test/code_d1d2.py: New test.


[SVN r16231]
2002-11-14 07:11:16 +00:00
Dave Abrahams
55da5e29d1 remove unreliable GCC optimizations
[SVN r16230]
2002-11-14 04:41:32 +00:00
Rene Rivera
c8592bc2ce More cleanup...
* build.bat; accept all toolsets.
*build.bat; set toolset root when known.
* build.jam; accept --toolset-root=* for setting where the toolset lives.
* build.jam; don't clean grammar intermediates.


[SVN r16220]
2002-11-13 07:05:52 +00:00
Dave Abrahams
ca132cccd5 Attempt to handle derived target types
[SVN r16213]
2002-11-12 14:37:43 +00:00
Vladimir Prus
5e802487b6 Fix a typo.
[SVN r16212]
2002-11-12 14:33:33 +00:00
Vladimir Prus
7743fb4f79 Win32 fixes.
* new/property.jam (translate-paths): Use :T modifier to prevent slash
  direction changing.

* new/common.jam: Use RM variable instead to calling "rm" command.


[SVN r16210]
2002-11-12 07:47:05 +00:00
Rene Rivera
f265e90421 Minimal new documentation for B-Jam.
[SVN r16209]
2002-11-12 07:35:21 +00:00
Dave Abrahams
3a447babdb Better error reporting
[SVN r16208]
2002-11-12 03:29:21 +00:00
Dave Abrahams
e85f228832 Better debuggability
[SVN r16206]
2002-11-12 03:15:08 +00:00
Dave Abrahams
f5e4a262c4 Better error reporting
[SVN r16205]
2002-11-12 03:14:03 +00:00
Rene Rivera
611003ff6a SH compatible function declaration syntax.
[SVN r16203]
2002-11-12 00:08:25 +00:00
Dave Abrahams
e9df996d8f Really fix broken debug output.
[SVN r16202]
2002-11-11 23:32:42 +00:00
Dave Abrahams
efd853bf5d Help for Cygwin
[SVN r16201]
2002-11-11 23:31:03 +00:00
Dave Abrahams
f3762edaeb better debug formatting, better (?) help output
[SVN r16200]
2002-11-11 22:53:50 +00:00
Vladimir Prus
06d7d2fae9 Mimimal support for the 'flags' rule.
* new/toolset.jam: New file.

* new/virtual-target.jam (action.actualize):
    Call 'toolset.set-target-variables'.

* new/gcc.jam: Use flags for compiling.


[SVN r16189]
2002-11-10 15:41:53 +00:00
John Maddock
5d9563a7fa Added typecast to prevent ambiguities in function overload resolution of std::string::insert
[SVN r16187]
2002-11-10 11:58:22 +00:00
Rene Rivera
decbc4208a Cleanup, to match build.sh structure and order.
Added detection of commands in PATH.
Added passthrough of extra args down to build.jam.


[SVN r16158]
2002-11-08 07:07:34 +00:00
Rene Rivera
a7181ff41e Better error messages.
More generic boost-jam.spec.
Addition of "--debug" option for building debug-profile versions of binaries.
More optimization flags for toolsets.
Prefer yacc instead of bison.
Bootstrap the yacc grammar in build.sh not just the grammar source.
buils.sh now also supports pass-thru arguments.
Simpler+faster checking for executables in PATH, buils.sh.
Use of "--toolset=<name>" instead of longer variable.


[SVN r16140]
2002-11-07 07:46:55 +00:00
Dave Abrahams
0f8bb60ecc Suppress useless warning about debug info truncation
[SVN r16137]
2002-11-07 00:45:54 +00:00
Vladimir Prus
8c09d9c849 Bugfixes.
* new/targets.jam (project-target.generate): Treat names of
        other projects to build relatively to this project.
      (basic-target.generate): Generate dependency use-requirements.


[SVN r16130]
2002-11-06 11:41:59 +00:00
Vladimir Prus
c2c5ee5ec3 First implementation of "stage" and "prebuilt" rule.
* new/common.jam (copy): New rule.

* new/targets.jam (main-target.generate): Use a different
   algorith for selecting subvariant. Favour one with
   the longest intersection of requirements with build
   properties.

* new/virtual-target.jam (virtual-target): Eliminate 'subvariant'
   attribute. Use properties of action to for the same
   purpose. New methods 'set-path' and 'extra-grist'.


[SVN r16129]
2002-11-06 10:26:11 +00:00
Vladimir Prus
3f475b4a1c Make some refactoring.
* new/virtual-target.jam (virtual-target): Eliminate 'subvariant'
   attribute. Use properties of action to for the same
   purpose.

* new/testing.jam: Induced changes.
* new/make.jam: Induced changes.
* new/generators.jam: Induced changes.


[SVN r16128]
2002-11-06 08:13:40 +00:00
Dave Abrahams
0884223388 an end to -isystem
[SVN r16125]
2002-11-05 22:24:18 +00:00
Dave Abrahams
d81eb4237b initial commit
[SVN r16122]
2002-11-05 19:56:18 +00:00
Dave Abrahams
7c36173ee1 Fix broken debug output.
[SVN r16120]
2002-11-05 18:40:26 +00:00
Dave Abrahams
32e4dfdb99 Proof-of-concept for testing
[SVN r16108]
2002-11-04 21:57:50 +00:00
Dave Abrahams
d53d67815c Cygwin compatibility
[SVN r16107]
2002-11-04 21:56:41 +00:00
Dave Abrahams
5c1ff91449 turn trailing "\r\n" sequences into plain "\n" in action blocks, so
for example we can process DOS-mode Jamfiles with a Cygwin-built bjam.


[SVN r16106]
2002-11-04 21:54:23 +00:00
Rene Rivera
3a62184a24 Tested on MacOSX darwin toolset... working.
[SVN r16105]
2002-11-04 21:48:41 +00:00
Rene Rivera
619c7f1511 Fix typos and account for command limits. CodeWarrior and Borland tested on Win2K.
[SVN r16101]
2002-11-04 18:18:11 +00:00
Vladimir Prus
79cdfeef29 Added <library-file> and <cxxflags> features.
[SVN r16098]
2002-11-04 17:33:16 +00:00
Vladimir Prus
b12f0fdd68 Make the 'make' rule work with locally declared generating rules.
[SVN r16097]
2002-11-04 17:28:46 +00:00
Vladimir Prus
c23f5855cb Tweak path-constant handling.
* new/path.jam (make-UNIX, make-NT): Call 'path.join' on elements,
        so that paths are normilazed.
      (join): Allow one element to be passed.
    * new/project-root.jam: Use 'path.root' when declaring path constants.


[SVN r16096]
2002-11-04 17:27:42 +00:00
Vladimir Prus
0f89b73296 Made 'include' adjustment for generated headers work when other
targets are specified as sources, not only as dependency properties.

    * new/virtual-target.jam (subvariant-dg): Note which sources
    are roots of dependency grapgs and record those graphs.


[SVN r16095]
2002-11-04 17:24:41 +00:00
Rene Rivera
ad56fd2505 New scripts for easier building of bjam executable.
build.bat: Windows NT BATCH bootstrap script.
build.sh: Unix shell bootstrap script.
build.jam: b/jam standalone Jamfile for building and distribution creation.
boost-jam.spec: modifications to conform to RedHat names/versioning and using new ./build.sh.


[SVN r16085]
2002-11-04 06:31:01 +00:00
Dave Abrahams
c066d42c2f Better error messages
[SVN r16083]
2002-11-03 18:13:24 +00:00
Rene Rivera
12ec78b821 Use of darwin toolset now makes use of Python framework.
[SVN r16027]
2002-10-31 04:51:30 +00:00
Rene Rivera
c7ec1cfffb Reinstate double-link generation of dynamic libraries.
Simplify slightly.
Use with Python 2.3 frameworks mostly working.


[SVN r16026]
2002-10-31 04:46:54 +00:00
Rene Rivera
a4462e8711 Add "path-constant" rule to declare/define constants which are used as paths.
[SVN r16020]
2002-10-30 06:36:09 +00:00
Rene Rivera
20e01eaddf print.jam; support use of "::" as prefix in paragraphs/blocks to output preformatted text.
class.jam; add use of "::" for code samples.


[SVN r16019]
2002-10-30 04:00:42 +00:00
Rene Rivera
09552cda5b Fix class scan to recognize class.class not just class.
Sort some of the output for consistency.


[SVN r16018]
2002-10-30 03:58:12 +00:00
Rene Rivera
4dc15b051c Implement recognition and output of classes and their rules.
[SVN r16003]
2002-10-28 07:59:46 +00:00
Rene Rivera
f4072b8acc Wrap section headers. As some rule templates are long.
[SVN r16002]
2002-10-28 07:58:49 +00:00
Dave Abrahams
2340d556b2 Build with Cygwin
[SVN r16000]
2002-10-28 04:22:14 +00:00
Dave Abrahams
3c8b97895b Improve error messages
[SVN r15999]
2002-10-28 04:10:18 +00:00
Dave Abrahams
d99f54ffcd Suppress warning
[SVN r15998]
2002-10-28 04:06:50 +00:00
Dave Abrahams
4a87a982ce Fix -d+5 output
[SVN r15997]
2002-10-28 04:06:06 +00:00
Rene Rivera
3469411228 Better support for dynamic libraries in MacOSX with darwin.
* darwin-tools.jam, now support creating bundles (plugins)
* darwin-tools.jam, handle multiple defs in dynamic libraries
* python.jam, create bundles instead of regular dynamic libs.


[SVN r15980]
2002-10-25 02:15:37 +00:00
Vladimir Prus
583a6db2ce Added an example of library use.
[SVN r15971]
2002-10-23 14:03:17 +00:00
Vladimir Prus
6aa06b3b6f Changes the debian bjam package to be similar to jam package.
[SVN r15968]
2002-10-23 12:27:57 +00:00
Vladimir Prus
de8c9dfc50 Check Boost.Jam version.
[SVN r15967]
2002-10-23 12:25:26 +00:00
Vladimir Prus
d8cc50c7e7 Improve Boost.Python building.
* libs/python/build/Jamfile.v2: Sense the location of python headers. Export
  include paths.

* libs/python/example/Jamfile.v2: New file.

* new/targets.jam: Use refined properties for constructed
    dependency properties

* new/gcc.jam: Handle 'find-library'. Set soname for dynamic libraries.

* new/builtin.jam: New feature 'find-library'.


[SVN r15966]
2002-10-23 12:12:00 +00:00
Vladimir Prus
c0955976e7 Honour use-requirements for dependency properties.
[SVN r15964]
2002-10-23 10:39:23 +00:00
Rene Rivera
fdabe95ac2 Remove option that disables threads, as it prevents most things from working in STLport.
[SVN r15961]
2002-10-22 05:13:19 +00:00
Rene Rivera
91147fb8ce Fixes to make custom tollset extensions possible for gcc-stlport.
- gcc-stlport-tools.jam; now use the common stlport.jam.
- gcc-tools.jam; use STDLIBPATH instead of GCC_LIB* to set LD_LIBRARY_PATH, as it works on a per target basis.
- stlport.jam; minor changes for backward compat, automatic setting of the toolset, and various options that used to be in gcc-stlport.jam.


[SVN r15957]
2002-10-21 06:01:29 +00:00
Rene Rivera
f2cb0294b2 Oops, mised some changes...
* Don't need System framework as it's always linked in.
* Disable long double warning, as it's always there.


[SVN r15944]
2002-10-16 19:42:08 +00:00
Rene Rivera
4ee602d05e Working Darwin toolset for MacOSX with it's custom GCC compiler.
* allyourbase.jam;
  use RANLIB for MacOSX as the linker requires it.
  keep *.o files as scanning doesn't seem to work.
* darwin-tools.jam;
  static runtime doesn't work and is minimally only the gcc runtime
  use ar
  manipulations for making c++ correctly link without using libtool


[SVN r15943]
2002-10-16 19:39:12 +00:00
Vladimir Prus
119352b21b Fixes.
* new/gcc.jam: gcc.link can handle LIB, not only STATIC-LIB
    * new/generators.jam (composing-generator.run): Accept derived
        types.


[SVN r15942]
2002-10-16 15:51:11 +00:00
Dave Abrahams
6662f7c8b5 Some tweaks for getting Boost.Python to build under v2
[SVN r15931]
2002-10-15 12:01:21 +00:00
Vladimir Prus
993846edf7 Change handling of toolset -- it's now assumed that there's default toolset
and, therefore, we don't need to treat toolsets in a special way.


[SVN r15927]
2002-10-15 05:55:29 +00:00
Dave Abrahams
2a821cdc0d Make sure that STLPort libraries get added to the LD_LIBRARY_PATH
[SVN r15925]
2002-10-14 16:41:47 +00:00
Dave Abrahams
63fc349868 Apply patch from Alkis Evlogimenos <alkis@routescience.com>
[SVN r15921]
2002-10-14 16:24:50 +00:00
Dave Abrahams
2f4eddbafb Fix EXE extension for NT and CYGWIN.
[SVN r15920]
2002-10-14 15:47:14 +00:00
Dave Abrahams
8f28562a33 Sync up to RC_1_29_0
[SVN r15919]
2002-10-14 13:31:43 +00:00
Dave Abrahams
5c5fb2edec English spelling/grammar fixes
[SVN r15918]
2002-10-14 13:31:10 +00:00
Dave Abrahams
6805c4ff48 English grammar fixes
[SVN r15917]
2002-10-14 13:30:43 +00:00
Vladimir Prus
ab567c753b Applied an RPM building patch from Malte Starostik.
* changed boost-jam-3.1.3.src.tar.gz to boost-jam-3.1.3.tar.bz
    * Added a variable RPMARCH to Jamfile.
    * remove the .tar.gz and .tar.bz2 before recreating them. gzip asks for
      confirmation otherwise, bzip2 just dies.
    * Get rid of hardcoded /usr/src/redhat/... as it's a) distribution-specific
      and b) a user can override the build root to use.


[SVN r15916]
2002-10-14 11:14:15 +00:00
Rene Rivera
c70ba5d0d8 Fix "illegal constant expression" error on CodeWarrior.
[SVN r15907]
2002-10-12 17:02:42 +00:00
Vladimir Prus
bcbab132cd Optimize property.as-path by caching results.
[SVN r15900]
2002-10-11 14:24:26 +00:00
Samuel Krempp
7942bdf835 removed kylix's own include directory from STDHDRS.
it made every compilation fail.
(only commented the line rather than delete, as I don't know a thing about kylix and I might be wrong)


[SVN r15898]
2002-10-11 12:02:43 +00:00
Vladimir Prus
cf8165e04d Added 'hello, world' example.
[SVN r15896]
2002-10-11 11:49:35 +00:00
Vladimir Prus
c730f85ea8 Minor doc tweak.
[SVN r15863]
2002-10-10 15:45:10 +00:00
Vladimir Prus
be638fc97f Flush all of documentation changes.
[SVN r15860]
2002-10-10 13:47:30 +00:00
Vladimir Prus
cf9c6ef024 Kill a warning.
[SVN r15858]
2002-10-10 13:20:43 +00:00
Vladimir Prus
1c2632ed0a Forgotten file.
[SVN r15852]
2002-10-10 12:20:19 +00:00
Vladimir Prus
59105bb56d Add more tests.
[SVN r15851]
2002-10-10 12:12:06 +00:00
Vladimir Prus
0868b697ce Implement dependendency features.
[SVN r15850]
2002-10-10 11:58:41 +00:00
Dave Abrahams
a73bac71ba Use <sysinclude> so that compilers which distinguish #include <...> look in the right place.
Removed needless $(SUFLIB)


[SVN r15834]
2002-10-09 23:53:07 +00:00
Beman Dawes
58dbbb7318 initial commit - review comments not yet applied
[SVN r15831]
2002-10-09 19:49:35 +00:00
Dave Abrahams
adf5606a37 Work around core jam bug
[SVN r15823]
2002-10-09 13:14:57 +00:00
Vladimir Prus
0fa0163c52 Implement simple form of use requirements.
* new/virtual-target.jam
        (virtual-target.use-requirements): New rule.
        (virtual-target.set-use-requirements): New rule.

    * new/generators.jam (construct): Use 'use-requirements' of sources.

    * new/targets.jam (basic-target.generate): Store use requirements for
             generated targets.
      (main-target-alternative): Process use requirements.

    * new/project.jam: Support 'use-requirements' project attribute.


[SVN r15821]
2002-10-09 11:33:22 +00:00
Gennadiy Rozental
c914500c78 Initial commit for sunpro and sunpro-stlport toolset definitions
[SVN r15819]
2002-10-09 08:39:17 +00:00
Rene Rivera
d97fed768e Remove the "d" flag from CLONE as there is not portable way to copy symlinks.
[SVN r15816]
2002-10-09 04:02:19 +00:00
Dave Abrahams
7721658763 Clean up Boost.Python v1 flotsam, update documentation
[SVN r15815]
2002-10-09 02:52:47 +00:00
Dave Abrahams
b8e9b18591 Allow for toolset chaining
[SVN r15814]
2002-10-09 02:50:58 +00:00
Vladimir Prus
06f42a1688 Bugfixes.
* new/virtual-targets.jam (virtual-target.root): New rule
        (traverse): Don't traverse past roots.
    * new/targets.jam (main-target): Call 'virtual-target.root' as
        appropriate.


[SVN r15773]
2002-10-07 14:34:43 +00:00
Vladimir Prus
2b3b7ef361 Sundry improvements:
Bison and lex support.
    unit-test rule
    --version option
    default build really works

    * new/build-system.jam: Bugfixes. Added "--version" option.

    * new/project.jam: If default-build is not specifies, don't stick "debug".

    * new/property.jam (evaluate-conditionals): New rule.

    * new/targets.jam (basic-target.generate): Evalute conditional properties.

    * test/BoostBuild.py (Tester.maybe_do_diff): New method.
        (Tester.run_build_system): Call the above method when
        appropriate.


[SVN r15771]
2002-10-07 13:34:14 +00:00
Vladimir Prus
a5396af2bc Allow to specify target ids in command line.
* project.jam (lookup-with-load): New rule.
      (find-target): Try interperting target id as project first.

    * build-request.jam (from-command-line): Don't grab
      unconditionally elements which have slashes -- they may be target
      ids.

    * build-system.jam: Allow target ids is command
      line. Accept --clean option.

    * BoostBuild.py (run_build_system): Call 'ignore_directoies' on diff.

    * tree.py (Trees_different.ignore_directoies): New method.


[SVN r15768]
2002-10-07 13:18:27 +00:00
Vladimir Prus
50e21ff6e5 Fix some obscure bugs.
* new/virtual-target.jam (clone-template): Improve interface and logic.

    * new/make.jam (make-target-class.construct): Set type and suffix on
    generated targets.

    * new/generators.jam (construct): Make sure all targets have known
     types.


[SVN r15766]
2002-10-07 13:08:04 +00:00
Rene Rivera
1248bf02c7 * Support for using <tag> renaming in any target.
* Added some fake targets for the specific files in a stage.
* features.jam, added <tag> feature, as always relevant.


[SVN r15752]
2002-10-06 17:24:02 +00:00
Dave Abrahams
e28d30b5e6 Remove Boost.Python v1 from main trunk
[SVN r15723]
2002-10-05 04:37:49 +00:00
Dave Abrahams
9f66a18d64 Support for MinGW-2.0
[SVN r15719]
2002-10-04 21:34:32 +00:00
Vladimir Prus
6870b75cc8 Bugfix.
[SVN r15714]
2002-10-04 15:23:46 +00:00
Vladimir Prus
9377a00b85 Cleanup.
[SVN r15711]
2002-10-04 14:50:34 +00:00
Vladimir Prus
7819428050 Increase Boost.Jam version to 3.1.3.
[SVN r15710]
2002-10-04 14:25:11 +00:00
Vladimir Prus
76c24b4d9b Allow directory part in names of source files.
[SVN r15708]
2002-10-04 13:59:25 +00:00
Vladimir Prus
10e41548d2 Implement path features.
* property.jam (translate-paths): New rule.

    * targets.jam (main-target-alternative): Translate path
      properties.

    * project.jam (project-attributes.set): Likewise.

    * builtin.jam (variant): Fixes.


[SVN r15707]
2002-10-04 13:48:38 +00:00
Vladimir Prus
fd38a5e97f Implement variant declaration.
* builtin.jam (variant): New rule.

    * build-system.jam: Unconditionally add <toolset>gcc to build
        request. Will be fixed when toolset support is ready.

    * feature.jam (extend-feature): Bugfix.


[SVN r15678]
2002-10-03 16:29:21 +00:00
Vladimir Prus
2008afcfe2 Propagate free properties in build request to all directly requested targets.
* targets.jam
        (abstract-target.direct-build-request): New rule.
        (project-target.direct-build-request): New rule.
        (main-target.direct-build-request): New rule.
        (main-target.generate): Use data stored by
        'direct-build-request' to adjust build properties.

    * build-system.jam: Call 'direct-build-request' on project
         target in "."

    * feature.jam (feature): Don't allow propagated free features.


[SVN r15677]
2002-10-03 15:18:59 +00:00
Vladimir Prus
eeb6df575d Skip projects when property refinement for them fails.
Skip main targets when no alternative can be build.
Issue error when 'construct' for alternative fails.


[SVN r15676]
2002-10-03 15:01:09 +00:00
Vladimir Prus
509d4119fe Cleanups.
[SVN r15651]
2002-10-02 16:13:54 +00:00
Vladimir Prus
cd5b9bd5ad Bufgix.
* make1.c (make1): Do not process any stacked targets when interrupted.


[SVN r15650]
2002-10-02 15:11:36 +00:00
Vladimir Prus
2ed9d1f6ea Test for poor main's per-source requirements.
* new/builtin.jam: Make 'obj' main type.
    * new/generators-test/*: Try compiling the same CPP file with
        different defines and linking in the same exe.


[SVN r15649]
2002-10-02 12:38:13 +00:00
Vladimir Prus
41daf51feb Move a file, mistakenly added on RC branch, to the trunk.
[SVN r15648]
2002-10-02 12:12:27 +00:00
Vladimir Prus
fc81de1f51 Dependency scanning implementation.
* jam_src/builtins.c: New builtin SEARCH_FOR_TARGET.

    * jam_src/rules.c
         (bind_explicitly_located_targets): New function.
         (search_for_target): New function.

    * jam_src/make.c (make): Call 'bind_explicitly_located_targets()'
        immediately on entering.

    * jam_src/search.c (call_bind_rule): No longer 'static'.

    * new/builtin.jam (c-scanner.process): Real implementation.

    * test/dependency_test.py: Really test for dependencies.


[SVN r15646]
2002-10-02 11:56:32 +00:00
Vladimir Prus
6c74534321 Infrastructure for dependency scanning.
* virtual-target.jam (virtual-target.actualize): Accept
        'scanner' parameter and create different actual targets
        for different values of that parameter.
     (virtual-target.includes): Remove.
     (binding): New rule
     (remember-binding): New rule.

    * type.jam (set-scanner): New rule. (get-scanner): New rule.

    * scanner.jam: New file.

    * class.jam (__init__): Define __name__ in class scopes.

    * builtin.jam (c-scanner): New scanner class, associated with CPP
        files.


[SVN r15644]
2002-10-02 10:04:03 +00:00
Vladimir Prus
8612c70978 Adjust include paths for compilations, so that generated headers are found.
* virtual-target.jam (traverse): New rule, returns a list of
    targets, given the graph root.
  (subvariant-dg): New class, to keep all targets for a given
    subvariant.
  (virtual-target.dg): New rule to access subvariant-dg.
  (virtual-target.path): New rule

* targets.jam (main-target.generate): Assign subvariant dg to all
  created targets.

* builtin.jam (compile-action.adjust-properties): Use subvariant
  dg to find all targets, their location, and add those location
  to include path.


[SVN r15619]
2002-10-01 17:00:24 +00:00
Vladimir Prus
b821f7be82 Added hooks to allow special property adjustment for generators and actions.
For example, this would allow compilers to add generated headers into include
path.

	* virtual-target.jam (action.adjust-properties): New rule.
	  (clone-action-template): Don't slice cloned object.

	* generators.jam (generator.action-class): New rule, to allow
	  overriding action class on per-generator basis.

	* builtin.jam (compile-action): New class.
	    (C-compiling-generator): New class.

	* gcc.jam: Use C-compiling-generator for gcc. Honor includes.


[SVN r15618]
2002-10-01 16:31:31 +00:00
Vladimir Prus
e141d5315f Made STATIC-LIB and SHARED-LIB derived from LIB.
[SVN r15617]
2002-10-01 15:13:01 +00:00
Vladimir Prus
95873ee50e Top-level invocation of generator.construct-dbg now returns only target of
requested types.

     * new/generators.jam (construct-dbg): The above change.
     * new/type.jam (is-derived): New rule.


[SVN r15614]
2002-10-01 15:06:33 +00:00
Vladimir Prus
3ceabdc6d0 Tweak test system.
[SVN r15611]
2002-10-01 14:55:52 +00:00
Vladimir Prus
2556c5c11e New rules and fixes.
* sequence.jam (merge): Bugfix.

    * regex.jam (transform): New rule.

    * property.jam (select): New rule, selects properties, given
         a list of features.


[SVN r15610]
2002-10-01 14:50:25 +00:00
Vladimir Prus
57ce8f50bb Improve RPM spec per suggestions from Malte Starostik and Steve Robbins.
[SVN r15608]
2002-10-01 14:33:47 +00:00
Markus Schöpflin
c05374abc2 Merged fixes from the release branch.
[SVN r15605]
2002-10-01 12:52:02 +00:00
Rene Rivera
6b3c836fd7 Merge changes from RC_1_29_0, for correct handling of stage-tag targets.
[SVN r15546]
2002-09-29 05:38:38 +00:00
Dave Abrahams
4a9238468d Bug fix
[SVN r15536]
2002-09-28 08:03:38 +00:00
Dave Abrahams
160756062d Suppress warning
[SVN r15535]
2002-09-28 08:03:19 +00:00
Vladimir Prus
bf386a7ca2 Introduced SHARED-LIB and STATIC-LIB target types. Also introduced LIB target
type and a generator, which relays either to SHARED-LIB or STATIC-LIB,
depending of the value of "shared" feature.


[SVN r15529]
2002-09-27 07:35:03 +00:00
Rene Rivera
d10ac0ffca Fix for compiling with CodeWarrior.
[SVN r15503]
2002-09-25 05:53:35 +00:00
Dave Abrahams
20e61da54c Apply patch from "Markus Schöpflin" <markus.schoepflin@ginit-technology.com>
[SVN r15494]
2002-09-24 13:47:57 +00:00
Vladimir Prus
8c095eddff Work in progress.
- Got rid of vectors of vectors in generators code. That was not only slow, it
  was also troublesome.
- Started work on transformation caching. Works but needs review/cleanup.


[SVN r15465]
2002-09-20 12:50:44 +00:00
Vladimir Prus
da86bc3021 Simplication/optimization.
[SVN r15464]
2002-09-20 12:29:03 +00:00
Rene Rivera
819f8e32f9 Slight mod in case there are no extra files and MakeLocate & DEPENDS can't handle that.
[SVN r15456]
2002-09-19 17:13:36 +00:00
Dave Abrahams
01d2d25e5d Apply patch from "Markus Schöpflin" <markus.schoepflin@ginit-technology.com>
Also fix typo excpetion->exception


[SVN r15455]
2002-09-19 17:06:10 +00:00
Dave Abrahams
0d5e518f2d Fix bad dependency bug
[SVN r15453]
2002-09-19 17:00:10 +00:00
Beman Dawes
917431f0d2 /Zm800 so ublas compiles
[SVN r15441]
2002-09-18 19:18:27 +00:00
Vladimir Prus
222c20ba09 Documented the UPDATE rule.
[SVN r15408]
2002-09-17 12:31:49 +00:00
Vladimir Prus
27aa7a8395 Processed with HTML tidy.
[SVN r15407]
2002-09-17 12:22:34 +00:00
Dave Abrahams
ca9280fec0 Checkin work in progress before I lose it through some terrible accident ;-)
[SVN r15379]
2002-09-16 13:56:02 +00:00
Rene Rivera
f2bfd45d2b Some cleanup of code.
Rewrote the handling of help arguments to be even easier to use.
Added descriptions for all the top level --help arguments.
Added descriptions of help options.
Added a few more control arguments in preparation for HTML type output.


[SVN r15342]
2002-09-15 20:08:03 +00:00
Rene Rivera
b082ed3e64 Implemented "better" copying by the stage rule. This makes it so that it copies additional targets generated by links. This is for getting better support of SONAMES in the stage directories.
[SVN r15304]
2002-09-13 16:01:35 +00:00
Vladimir Prus
c11eda31dd Prevent creating two equivivalent virtual targets. This, in particular,
prevents complining the same source twice with the same properties.
Also allow generators to change source names using patterns.

    * new/generators.jam (generator): Accept name patterns together with
        target types.
        (generator.generated-targets): Use name patterns. Transform generated
        targets with 'virtual-targets.register', to eliminate duplicate
        virtual targets.


[SVN r15302]
2002-09-13 12:19:42 +00:00
Vladimir Prus
54894898ba Forgotten file.
[SVN r15301]
2002-09-13 12:16:17 +00:00
Dave Abrahams
9fa10544fb Added commentary
[SVN r15287]
2002-09-13 01:50:09 +00:00
Rene Rivera
dfb3b8aae0 Implement hiding of local rules by default. Use --help-enable=show-locals to show them regardless.
[SVN r15280]
2002-09-12 22:26:56 +00:00
Rene Rivera
495e89b5b1 Fix for when varaibles are edclared with an empty value.
[SVN r15279]
2002-09-12 22:00:23 +00:00
Vladimir Prus
3d38a90018 Added generators test to the test suite.
[SVN r15269]
2002-09-11 15:56:56 +00:00
Vladimir Prus
53e9c84610 Small fix.
[SVN r15268]
2002-09-11 15:54:39 +00:00
Dave Abrahams
9c907885ba More cygwin/NT compatibility fixes
[SVN r15267]
2002-09-11 15:40:32 +00:00
Rene Rivera
42ef0fd7fb Updated from Markus Shoepflin. Compiler selected based on threading option and C/C++, support for rtti and exception-handling features.
[SVN r15266]
2002-09-11 15:31:43 +00:00
Vladimir Prus
7f0839b982 Output generator debugging messages only if there's
"--debug-generators" option in the command line.


[SVN r15265]
2002-09-11 15:25:18 +00:00
Dave Abrahams
4d6f25d058 Workaround for cywgin/NT build
[SVN r15263]
2002-09-11 14:37:25 +00:00
Vladimir Prus
200631351a Some cleanups. At the same time, allowed several suffixes to target types
(e.g. "cpp" and "cxx").


[SVN r15262]
2002-09-11 14:18:52 +00:00
Vladimir Prus
6fcab6f9e1 Doc clarifications.
[SVN r15251]
2002-09-10 12:52:36 +00:00
Vladimir Prus
0c88b9e638 Added development plan.
[SVN r15250]
2002-09-10 10:06:06 +00:00
Dave Abrahams
ab4e49d674 VC7 builds
[SVN r15236]
2002-09-09 14:05:10 +00:00
Dave Abrahams
bb95c27546 Apply patch for building with VC7
[SVN r15196]
2002-09-07 18:08:50 +00:00
Toon Knapen
f24da83098 IBM cc does not understand C++ comment (leading //).
Changed into using C-style comments (/* */)


[SVN r15187]
2002-09-06 21:03:10 +00:00
Toon Knapen
16b54769d5 added LIBPATH, FINDLIBS and NEEDLIBS
[SVN r15182]
2002-09-06 17:58:10 +00:00
Beman Dawes
ef81f5defa better heading, link
[SVN r15181]
2002-09-06 15:57:46 +00:00
Rene Rivera
52281ba12f TABS, EOLs+EOFs.
[SVN r15177]
2002-09-06 14:40:30 +00:00
Rene Rivera
0999ab1dc0 Remove TABS.
[SVN r15176]
2002-09-06 14:30:33 +00:00
Rene Rivera
2e292733f9 Example of templates.
[SVN r15173]
2002-09-06 03:38:30 +00:00
Dave Abrahams
613a12cb47 bugfix
[SVN r15170]
2002-09-05 14:10:39 +00:00
Dave Abrahams
f7aac9bfb5 Added CWPro8 toolset
[SVN r15159]
2002-09-04 20:57:43 +00:00
Dave Abrahams
d246682c76 Modernized for Beman
[SVN r15156]
2002-09-04 16:07:35 +00:00
Dave Abrahams
2e6eb667f9 Implemented less-liberal conversion rules
[SVN r15136]
2002-09-02 23:23:27 +00:00
Gennadiy Rozental
2447b9b969 Borland warning "Superfluous & with function in function ..." suppressed
[SVN r15131]
2002-09-02 07:10:26 +00:00
John Maddock
46d31963aa Initial checkin of Kylix toolset
[SVN r15126]
2002-09-01 10:47:01 +00:00
Dave Abrahams
0703edf097 Added quotes for the VC++ libraries
[SVN r15110]
2002-08-29 14:51:29 +00:00
Rene Rivera
fa04245ab1 Added *.cxx as another common C++ source file extension.
[SVN r15083]
2002-08-24 18:09:06 +00:00
Ralf W. Grosse-Kunstleve
2ef16194c5 cxx_repository fixes; always link with -lm
[SVN r15061]
2002-08-22 18:59:27 +00:00
Dave Abrahams
a93b93315d Better checking
[SVN r15059]
2002-08-22 18:21:34 +00:00
Dave Abrahams
d245d26476 Added comment
[SVN r15057]
2002-08-22 16:02:00 +00:00
Dave Abrahams
7f4da33097 Help for derived toolsets
[SVN r15049]
2002-08-22 11:46:58 +00:00
Ralf W. Grosse-Kunstleve
7496493c77 workaround for cxx 6.5 header file problem
[SVN r15044]
2002-08-21 23:29:25 +00:00
Dave Abrahams
07874af716 Clean a few more files
[SVN r15042]
2002-08-21 21:40:32 +00:00
Dave Abrahams
bb5714243a Clean a few more files
[SVN r15041]
2002-08-21 21:37:42 +00:00
Toon Knapen
e00e9eb439 gprof needs the debug-symbols to produce the call-graph
[SVN r14985]
2002-08-20 11:18:46 +00:00
John Maddock
2ea9625f81 Fixed problems with -tWR turning on -tW
Added -Ve -Vx -a8 options to compiles to be binary compatible with
default IDE options.


[SVN r14941]
2002-08-17 11:41:00 +00:00
Vladimir Prus
293b82e103 Added future generators test -- not automated now.
[SVN r14926]
2002-08-16 14:25:22 +00:00
Vladimir Prus
af04e8638c Correction to the previous commit.
[SVN r14925]
2002-08-16 14:18:58 +00:00
Vladimir Prus
867464f3be Wholesale commit of generators.
[SVN r14924]
2002-08-16 14:13:15 +00:00
Vladimir Prus
1dad967b8e New rules.
* new/assert.jam (in, not-in): New rules.
    * new/class.jam (is-instance): New rule.
    * new/utility.jam (str, equal, less): New rules.
    * new/container.jam
        (container.str, container.sort, container.equal): New rules.


[SVN r14923]
2002-08-16 13:58:23 +00:00
Vladimir Prus
1b86040812 New rules.
* new/sequence.jam (max-element): New rule.
        (select-highest-ranked): New rule.
    * new/numers.jam (__test__): Temporary disable all try/catch, since
        errors.jam can't handle recursive try/catch yet, and loads
        sequence, which in turns load numbers, in "catch" implementation.


[SVN r14922]
2002-08-16 13:50:17 +00:00
Vladimir Prus
808d4c3293 Added new transformation.
[SVN r14921]
2002-08-16 13:25:26 +00:00
Vladimir Prus
e1da4a9a83 Doc improvements.
[SVN r14919]
2002-08-16 13:07:15 +00:00
Vladimir Prus
16605df099 Bugfix.
* new/numbers.jam (less): Now really accept zero.


[SVN r14895]
2002-08-15 16:13:28 +00:00
Vladimir Prus
e5f9354abe Facilitate new main target rules creation.
* new/targets.jam (make-target-alternative): New rule, which handles
        applying project requirements and default build, when needed.
    * new/make.jam (make): Use the above rule.


[SVN r14894]
2002-08-15 16:01:45 +00:00
Vladimir Prus
c9cabe85d3 Created a new file 'common.jam' to keep rules not specific to a toolset.
* new/targets.jam: Use 'common' instead of 'utility'.
    * test/project_test3.py: Test that 'clean' works.
    * test/svn_tree.py: Sync with upstream revision 2944. Fix a bug
       which caused empty directory to be treated as file.


[SVN r14886]
2002-08-15 09:29:49 +00:00
Vladimir Prus
024cdaec7d Propagate only propagated properties.
[SVN r14884]
2002-08-15 08:42:08 +00:00
Vladimir Prus
ac754f16ba Allow gcc,borland/runtime-link=static to work on command line.
[SVN r14883]
2002-08-15 08:29:45 +00:00
Vladimir Prus
2359e85b4d Doc updates, based on comments from Dave.
[SVN r14882]
2002-08-15 08:19:06 +00:00
Vladimir Prus
2a2e871ff9 Allow loading modules in the same directory to work in all cases.
* new/modules.jam (import) Use the directory of the calling module
        as additional search path element.
    * examples-v2/make/project-root.jam: Remove workaround.


[SVN r14879]
2002-08-15 07:11:29 +00:00
Vladimir Prus
2ff1b5bd3b Forgotten change for V2 example.
[SVN r14878]
2002-08-15 07:09:22 +00:00
Dave Abrahams
5eefcbdeae Solaris G++ bug workaround
[SVN r14851]
2002-08-14 20:24:22 +00:00
Vladimir Prus
03e02339cf Added an V2 example.
[SVN r14833]
2002-08-14 11:45:35 +00:00
Vladimir Prus
ba319e93e6 Incremented version to 3.1.2, in anticipation of upcoming Boost release.
[SVN r14831]
2002-08-14 10:15:30 +00:00
Vladimir Prus
a17abe8c3d Updated debian files.
[SVN r14830]
2002-08-14 10:01:32 +00:00
Vladimir Prus
26c9a18f8e Fixed formatting.
[SVN r14829]
2002-08-14 10:00:24 +00:00
Dave Abrahams
af85bd14da Automatic class def_init(), abstract class __init__ errors
Fixed line endings
Suppressed warnings


[SVN r14828]
2002-08-14 06:26:33 +00:00
Vladimir Prus
3be3ccc2e3 Documentation update.
* boost_build_v2.html: Extend feature description. Change wordings in
        some places.
    * new/feature.jam: Remove comments that are now in boost_build_v2.html.


[SVN r14782]
2002-08-12 10:35:24 +00:00
Vladimir Prus
c6073f8fe6 Allow to associate rules with features/properties, to be used for
special things like stlport.

    * new/feature.jam (action, run-actions): New rules.


[SVN r14781]
2002-08-12 10:28:08 +00:00
Vladimir Prus
3efe58cc9d Make 'path.jam' documentation parsable by doc.jam and tweak them.
[SVN r14757]
2002-08-09 14:37:14 +00:00
Vladimir Prus
0619f74cab Renamed 'os.path.jam' to 'path.jam'.
[SVN r14753]
2002-08-09 11:43:47 +00:00
Vladimir Prus
082dcbdd01 Introduce 'incidental' features.
* new/feature.jam: The above change.
    * new/property.jam
      (remove): Renamed & generalized from 'remove-free'.
      (take): Likewise.


[SVN r14752]
2002-08-09 11:37:59 +00:00
Rene Rivera
ec852d6b65 Damn, CVS!!! Fix the previous commit to correctly restore/merge 1.10 changes.ck lim
[SVN r14751]
2002-08-09 05:28:12 +00:00
Rene Rivera
574a7a13b4 This is a reworking of make1 to be non-recursive.
Pros:
1) Removes bug in stack limited platforms of blowing the stack limits. Like win32.tLiek win32.
2) Slightly faster (10% or so).
Cons:
1) More heap usage.

The code is from Sta


[SVN r14750]
2002-08-09 05:14:21 +00:00
Rene Rivera
f760628167 Fix, by removing, resetting of RUN_PATH. The VC_STDLIB_PATH setting was already accounting for the path to the libraries.
[SVN r14749]
2002-08-09 03:58:04 +00:00
Rene Rivera
85a87b5cb3 Fix, by removing, declare default for user-interface free feature.
Implement flags for user-interface feature in msvc and metrowerks.


[SVN r14748]
2002-08-09 03:21:52 +00:00
Gennadiy Rozental
1878054297 Fix needed to link with offline libraries with main()
[SVN r14742]
2002-08-08 16:47:53 +00:00
Rene Rivera
e4e432ba5c Added import of user project-root rules into projects.
[SVN r14727]
2002-08-07 03:45:45 +00:00
Vladimir Prus
637418b2d8 Kill all uses of SUBST, which fails on long input.
[SVN r14714]
2002-08-06 15:21:02 +00:00
Vladimir Prus
ba94d56c08 More checks for 'use-project' in project root module.
[SVN r14707]
2002-08-06 07:01:19 +00:00
Rene Rivera
eea6ceb491 Respect blank lines in printed sections to separate paragraphs.
[SVN r14706]
2002-08-06 05:43:39 +00:00
Rene Rivera
d2c10b088a Sort modules printed on --help-all request.
[SVN r14705]
2002-08-06 05:42:33 +00:00
Rene Rivera
3ce4f826dc Add call to project root use-project for testing.
[SVN r14704]
2002-08-06 04:10:55 +00:00
Rene Rivera
1cc79e7532 Refactor to minimize the number of symbols in the user modules.
Add use-project rule in project root context.
Add project-root rule in project context.


[SVN r14703]
2002-08-06 04:10:21 +00:00
Rene Rivera
19a061485f Removed TABS.
[SVN r14702]
2002-08-05 22:29:42 +00:00
Vladimir Prus
3cb79d1199 Documentation clarifications/fixes.
[SVN r14691]
2002-08-05 08:38:35 +00:00
Vladimir Prus
3e7b7aafd6 Added example transformation sequences.
[SVN r14579]
2002-07-24 09:44:57 +00:00
Beman Dawes
c792cd1cde Fix from Dave so GCC doesn't warn on system vs non-system includes
[SVN r14573]
2002-07-23 15:19:30 +00:00
Vladimir Prus
2d341954c7 Optimization.
* new/class.jam (__init__) Get only first element of backtrace.


[SVN r14564]
2002-07-22 17:44:21 +00:00
Vladimir Prus
4c585eef93 Make the BACKTRACE rule accept an optional 'levels' parameter.
[SVN r14563]
2002-07-22 17:39:42 +00:00
Vladimir Prus
5385a1d43e Modified profiling code to handle recursive functions.
[SVN r14562]
2002-07-22 16:46:31 +00:00
John Maddock
41f51e0380 Added cygwin comments.
Added win9x comments.
Added regex build/makefile comments.


[SVN r14545]
2002-07-20 11:17:43 +00:00
Vladimir Prus
5b7c8b8e71 Improved 'vector'.
* new/container.jam (vector.indices): New rule.
    * new/targets.jam: Use the new rule.


[SVN r14528]
2002-07-19 12:57:23 +00:00
Beman Dawes
7cbff9f73b reduce max errs to 5
[SVN r14527]
2002-07-18 20:41:11 +00:00
Beman Dawes
1914d4ffbb reduce max errs to 5
[SVN r14526]
2002-07-18 19:16:04 +00:00
Dave Abrahams
0f1b5b4549 Workaround NT line-length limitation
[SVN r14520]
2002-07-18 16:02:56 +00:00
Dave Abrahams
bb9e62031f Used -noimplicit_include to suppress the compiler from finding our .cpp files when searching for angle-includes(!)
Not sure what ill effects this might have, though...


[SVN r14515]
2002-07-18 12:17:54 +00:00
Vladimir Prus
2572eac135 Attempts at creating Debian package.
* jam_src/Jamfile: Install documentation and bjam binary.
    * debian/*: New files needed to create a package.


[SVN r14497]
2002-07-17 16:10:51 +00:00
Vladimir Prus
08077f0aca Made names of preserved directories printed by tests.
* test/TestCmd.py (TestCmd.cleanup): Print the names of preserved
        directories. Reset self._dirlist even if directories are preserved.
    * test/BoostBuild.py (Tester.cleanup): New method.


[SVN r14489]
2002-07-17 09:16:37 +00:00
Vladimir Prus
6bd68afeaa An attempt at documenting features.
[SVN r14474]
2002-07-16 08:47:09 +00:00
Rene Rivera
c72fcbcdf1 Example on how to use selection of sources in stage targets.
[SVN r14473]
2002-07-16 05:47:26 +00:00
Rene Rivera
50c40f8a09 Added support for selection of sources based on toolset and/or variant for stage targets. See examples/stage_source_selection.
[SVN r14472]
2002-07-16 05:43:54 +00:00
Ralf W. Grosse-Kunstleve
1a803742d0 fix provided by Dan <gohmandj@mrs.umn.edu>
[SVN r14471]
2002-07-16 01:11:44 +00:00
Rene Rivera
28f0992b22 Fix subvariant calculation to not "forget" ungristed properties to make let property rules work.
Fix subvariant overrides to owork only when needed


[SVN r14463]
2002-07-15 02:06:02 +00:00
Dave Abrahams
ad6bee9ee2 Fix up RUN_PATH for testing
[SVN r14461]
2002-07-14 22:09:22 +00:00
Dave Abrahams
ea16dd8cf1 Allow multiple elements in RUN_PATH
[SVN r14460]
2002-07-14 21:58:14 +00:00
Dave Abrahams
15fb6c4895 Regression example for Rene
[SVN r14457]
2002-07-14 20:03:56 +00:00
Rene Rivera
660f55b0d7 Documentation, and removed tabs.
[SVN r14454]
2002-07-14 18:18:54 +00:00
Vladimir Prus
e09c1feca1 Regenerated jambase.c.
[SVN r14424]
2002-07-12 15:54:58 +00:00
Rene Rivera
b85e058433 Simple sub-project that builds a library and and an exe that depends on it.
[SVN r14423]
2002-07-12 15:22:06 +00:00
Dave Abrahams
3fa9a2216c Fix mistaken commit
[SVN r14422]
2002-07-12 14:52:01 +00:00
Dave Abrahams
4561568f14 tru64cxx6.5 fixes
[SVN r14421]
2002-07-12 14:32:20 +00:00
Dave Abrahams
2cffca8a2d "Dan Gohman" <gohmandj@mrs.umn.edu>
[SVN r14418]
2002-07-12 10:37:50 +00:00
Rene Rivera
040d3a7d1d Fixed finding compatible subvariants to link against when there are required overrides.
[SVN r14417]
2002-07-12 06:35:26 +00:00
Vladimir Prus
d5c9dab44a 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
a4c92fe9e3 Renamed the 'subproject' rule to 'build-project' in UI.
[SVN r14403]
2002-07-11 09:41:29 +00:00
Vladimir Prus
287a013f5c Recover project_test3 to life.
[SVN r14399]
2002-07-10 16:27:25 +00:00
Vladimir Prus
f68f4017dd 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
347fdbc3bf 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
13d0cd1fc3 Forgotten file.
[SVN r14392]
2002-07-10 08:43:11 +00:00
Vladimir Prus
68529cfc9d 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
e6e842f7c5 Bugfix.
[SVN r14390]
2002-07-10 07:31:57 +00:00
Vladimir Prus
f03d5020d0 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
Dave Abrahams
0e0b1b26b1 Add missing eh-model
[SVN r14382]
2002-07-09 19:19:42 +00:00
Beman Dawes
5cc022b9c1 Reduce max errors to 5
[SVN r14376]
2002-07-09 17:01:19 +00:00
Vladimir Prus
eef7587e2b Work around the fact that our tests change the current directory.
[SVN r14375]
2002-07-09 16:01:34 +00:00
Vladimir Prus
80da521b46 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
a932c4e155 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
121f2217cc Documented project-test3.
[SVN r14371]
2002-07-09 15:05:06 +00:00
Vladimir Prus
00977ff04c 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
b1c9abbbdd Bugfix.
* bootstrap.jam: Don't process $(ARGV[1]).


[SVN r14365]
2002-07-09 09:10:55 +00:00
Vladimir Prus
b60a0cdb70 Removed obsolete test system and tests.
[SVN r14364]
2002-07-09 09:05:59 +00:00
Vladimir Prus
9189e05745 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
621f19ecb1 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
5d2d30c304 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
1983150994 Comment tweak.
[SVN r14360]
2002-07-09 07:35:39 +00:00
Rene Rivera
6ef12b94ef Added --help command line option.
[SVN r14359]
2002-07-09 06:15:40 +00:00
Vladimir Prus
1c63a8373f 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
5a502e9769 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
53f79abb91 Beginnings of a user manual.
[SVN r14346]
2002-07-08 11:12:32 +00:00
Vladimir Prus
6b8464d3fb 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
0df3fdd119 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
42cf79b229 Add "--dump-project" command line option.
[SVN r14340]
2002-07-08 09:50:43 +00:00
Vladimir Prus
7a8e814431 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
b1c98e8473 Bugfix in 'property.refine'.
[SVN r14338]
2002-07-08 09:34:01 +00:00
Vladimir Prus
dae2844040 Restore project_test2.py to life again.
[SVN r14337]
2002-07-08 09:30:19 +00:00
Rene Rivera
09d309532f 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
d326073efd fix "failed above ..." message before output instead of after
[SVN r14317]
2002-07-05 20:35:36 +00:00
Dave Abrahams
6eaabb7075 incorporate defaults into build-request.expand
[SVN r14311]
2002-07-05 16:17:12 +00:00
Vladimir Prus
a284f29376 Added developer guidelines.
[SVN r14310]
2002-07-05 16:08:03 +00:00
Dave Abrahams
54ca4a1226 simplification; should cut down on the number of immortal strings created
[SVN r14309]
2002-07-05 15:43:53 +00:00
Vladimir Prus
476fbbd1c8 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
bd5ea1c366 add-defaults
[SVN r14306]
2002-07-05 14:21:35 +00:00
Vladimir Prus
db8752ad36 Eliminated several minor leaks.
[SVN r14305]
2002-07-05 10:41:53 +00:00
Vladimir Prus
f78606d56a 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
2da9008060 Added new hcache.h/c files so that RPM building works.
[SVN r14303]
2002-07-04 17:54:54 +00:00
Dave Abrahams
3179ea77d8 Fix comments
[SVN r14302]
2002-07-04 15:43:02 +00:00
Dave Abrahams
85a9d77cd5 Add immortal string block allocator
[SVN r14301]
2002-07-04 15:31:52 +00:00
Dave Abrahams
5d5d20c61c Clean up insignificant leak
[SVN r14300]
2002-07-04 15:31:23 +00:00
Dave Abrahams
d2d272301e Not sure why, but this is out-of-sync with HEAD
[SVN r14299]
2002-07-04 14:09:12 +00:00
Dave Abrahams
34e6fe38c0 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
8f4940ab2e Change container/list to container/vector.
Added documentation for container/vector.


[SVN r14293]
2002-07-03 17:18:57 +00:00
Vladimir Prus
ce2a2d3283 Removed unused file.
[SVN r14292]
2002-07-03 16:03:12 +00:00
Vladimir Prus
0baf2927fc Load site-config/user-config. This closes issue 552870.
[SVN r14290]
2002-07-03 15:34:50 +00:00
Vladimir Prus
418a7926c7 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
509ce25022 Fixed a memory leak.
[SVN r14288]
2002-07-03 13:41:25 +00:00
Rene Rivera
83dc0b3573 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
b844479530 Unbreak project_test2.
[SVN r14284]
2002-07-02 15:07:43 +00:00
Vladimir Prus
3c3123d4c5 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
f21818ee0b 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
5d1d87cfaa 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
0b6f0bff21 Fix typo in the previous commit.
[SVN r14276]
2002-07-02 11:41:17 +00:00
Vladimir Prus
759d3545fc Made project_test3 work on windows.
[SVN r14275]
2002-07-02 11:37:54 +00:00
Vladimir Prus
3c76830ca0 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
796d6e7e77 improved property.as-path
[SVN r14269]
2002-07-01 20:05:37 +00:00
Dave Abrahams
061bb216a3 list implementation
[SVN r14261]
2002-06-29 19:24:11 +00:00
Vladimir Prus
1119f3d2ce Integrated Perforce change 1522: InstallInto now handle multiple files.
[SVN r14258]
2002-06-28 10:33:26 +00:00
Dave Abrahams
fb0c695b56 fixing up Jambase.c/jambase.c naming problem
[SVN r14256]
2002-06-28 02:18:29 +00:00
Dave Abrahams
9dfc4e72f6 fix Jambase.c/jambase.c naming issue
[SVN r14255]
2002-06-28 02:15:17 +00:00
Vladimir Prus
2732a35476 Beginning of the 'make' rule.
* new/targets.jam: Check for duplicate 'basic-target::generate()' calls.
        Use better logic to tell is source is another main target or file.
        (project-target::has-main-target): New rule.
    * new/project.jam (lookup): Fixes. (find-target): Implemented.
    * new/make.jam: New file, defines the 'make' rule and associated target
        class.
    * new/build-system.jam: Import 'make'. Generate virtual targets and
        actualize them.
    * new/utility.jam: Added "MkDir" rule and actions.
    * test/project_test3.py: New test.


[SVN r14249]
2002-06-27 14:00:30 +00:00
Vladimir Prus
d5dc1622b5 Fix a bug in the previous commit.
[SVN r14248]
2002-06-27 13:41:35 +00:00
Vladimir Prus
245a187cee Futher cleanups. Tests now pass.
* new/targets.jam: Rename 'abstract-target::local-name' to 'name'. Rename
        'abstract-target::name()' to 'abstract-target::full-name()'.
    * test/project-test2/project-test2.jam: Induces change.


[SVN r14247]
2002-06-27 11:00:05 +00:00
Dave Abrahams
401a2f3b5a Bug fix for Vladimir
[SVN r14244]
2002-06-26 20:52:38 +00:00
Vladimir Prus
6f3acfd46c Don't wait after each run of bjam. Instead, wait for time change before
making any change to filesystem by the tester classes.


[SVN r14238]
2002-06-25 14:55:27 +00:00
Vladimir Prus
608fe7a893 Cleanups.
[SVN r14237]
2002-06-25 13:27:47 +00:00
Thomas Witt
769acd5880 Rolled back command-file change.
[SVN r14204]
2002-06-20 05:51:58 +00:00
Dave Abrahams
78d6f6b280 fixed RUN_ALL_TESTS
[SVN r14172]
2002-06-19 01:26:11 +00:00
Rene Rivera
414c57ba3a Added more x86 6CPU
[SVN r14170]
2002-06-18 14:32:36 +00:00
Dave Abrahams
45694f8968 fixed mistaken removal of jambase.c
[SVN r14169]
2002-06-18 13:59:30 +00:00
Dave Abrahams
f3ae844df6 unremoved
[SVN r14167]
2002-06-18 13:47:47 +00:00
Thomas Witt
fa0d7f483c Added options argument to with-command-file.
Changed msvc Link-action to put FINDLIBS in commandfile.


[SVN r14166]
2002-06-18 09:34:43 +00:00
Dave Abrahams
fa4dbe6dc7 Factored out testing rules
[SVN r14156]
2002-06-16 20:39:26 +00:00
Toon Knapen
5a46f04eb5 removed arch-dep '-tpp6' flag
[SVN r14146]
2002-06-14 17:04:22 +00:00
Rene Rivera
2b50bd6292 Minor change to default values for SUFDLL and gSHELL_LIBPATH in MacOSX/Darwin.
Initial attempt at MacOSX/Darwin specific toolset.


[SVN r14143]
2002-06-14 04:55:40 +00:00
Toon Knapen
b5e7feaf35 added -tpp6 optimsation flag.
Speeds up a lot for pentium pro or higher


[SVN r14141]
2002-06-13 15:49:27 +00:00
Rene Rivera
9586c228da Reworked the architecture feature into architecture+instruction-set.
Added and address-model feature for support of 64 bit type addressing.
Updated gcc toolset to use the changed features.
Added mips to the list of architectures/instruction-sets.
Added gcc support for specifying mips options as an example.


[SVN r14133]
2002-06-12 16:56:34 +00:00
Dave Abrahams
68cadfcebb bug fix
[SVN r14093]
2002-06-06 20:24:11 +00:00
Ralf W. Grosse-Kunstleve
0a9814cfa5 cxx_repository relocated to target directory (instead of directory where bjam is invoked
[SVN r14092]
2002-06-06 19:26:17 +00:00
Dave Abrahams
b041481cc2 leave out missing paths for older CW installations
[SVN r14086]
2002-06-05 23:53:22 +00:00
Dave Abrahams
6d78dec791 enable -q, thanks to "Markus Scherschanski" <mscherschanski@dspace.de>
[SVN r14083]
2002-06-05 13:38:17 +00:00
Dave Abrahams
732ade4470 Warning suppression
[SVN r14059]
2002-05-29 14:17:13 +00:00
Dave Abrahams
e6a186e656 Merged Matt Armstrong's patches
[SVN r14053]
2002-05-28 20:35:13 +00:00
Dave Abrahams
14c180ffe4 Removed -lutil dependency for GCC compilers
[SVN r14052]
2002-05-28 20:32:52 +00:00
Dave Abrahams
68318cb668 Added missing quotes
[SVN r14051]
2002-05-28 20:31:35 +00:00
Dave Abrahams
c304ef8704 TOOLSET_LIB_PATH -> gTOOLSET_LIB_PATH
[SVN r14050]
2002-05-28 20:29:47 +00:00
Dave Abrahams
c8a2d1d0b7 Speedups for MkDir (kill recursion)
Automatically set HCACHEFILE


[SVN r14049]
2002-05-28 20:28:15 +00:00
Vladimir Prus
6cdac037f4 Fixes.
[SVN r14045]
2002-05-27 09:26:52 +00:00
Beman Dawes
2d06f6949e more minor "initiating" improvements
[SVN r14041]
2002-05-24 15:19:29 +00:00
Beman Dawes
8d13f93e4f minor "initiating" improvements
[SVN r14040]
2002-05-24 15:01:24 +00:00
Dave Abrahams
eb20b12411 Merged aix_so branch
[SVN r14032]
2002-05-23 22:42:40 +00:00
Dave Abrahams
5467b3d2bc Respect <sysinclude>
[SVN r14024]
2002-05-23 16:20:22 +00:00
Dave Abrahams
9cff76e811 Better matching for gcc toolsets (hack)
[SVN r14023]
2002-05-23 16:20:03 +00:00
Dave Abrahams
49b56667c8 restored bogus -s flag, with -Xlinker
[SVN r14005]
2002-05-22 12:40:22 +00:00
Dave Abrahams
4f3ea2a219 Kill bogus -s LINKFLAG
[SVN r14004]
2002-05-22 12:27:26 +00:00
Dave Abrahams
672b3db91c Back out of introduced bug
[SVN r14003]
2002-05-22 11:57:28 +00:00
Dave Abrahams
f1a1463b49 Applied dependency-resolving patch thanks to Thomas Witt
[SVN r14001]
2002-05-22 11:44:29 +00:00
Dave Abrahams
d4c70724a4 respect <sysinclude>
[SVN r13997]
2002-05-21 16:35:49 +00:00
Dave Abrahams
ce838691f6 More reliable extends-toolset
[SVN r13996]
2002-05-21 16:33:42 +00:00
Dave Abrahams
615629487a respect <sysinclude>
[SVN r13995]
2002-05-21 16:24:07 +00:00
Dave Abrahams
74facd7984 initial checkin
[SVN r13990]
2002-05-20 16:58:24 +00:00
Dave Abrahams
2cbf1235cf Move fix to main trunk
[SVN r13953]
2002-05-16 15:42:44 +00:00
Dave Abrahams
3b057305f1 merge from RC_1_28_0
[SVN r13950]
2002-05-16 13:31:23 +00:00
Dave Abrahams
4a3a0276dc Merged from RC_1_28_0
[SVN r13944]
2002-05-16 00:56:42 +00:00
Rene Rivera
c2feb5b2d1 Initial.
[SVN r13897]
2002-05-15 05:19:01 +00:00
Rene Rivera
c235ee86f5 Initial.
[SVN r13896]
2002-05-15 05:05:14 +00:00
Rene Rivera
c44075560d Initial.
[SVN r13895]
2002-05-15 04:57:44 +00:00
Rene Rivera
8e753fc95f Initial.
[SVN r13891]
2002-05-15 04:18:19 +00:00
Rene Rivera
44925cad79 Initial.
[SVN r13889]
2002-05-15 03:26:28 +00:00
Rene Rivera
2bd1d3ea29 Initial.
[SVN r13886]
2002-05-15 03:01:29 +00:00
Rene Rivera
4e2339fda9 Initial.
[SVN r13880]
2002-05-15 00:39:17 +00:00
Rene Rivera
888303bcfc Initial.
[SVN r13878]
2002-05-15 00:15:01 +00:00
Rene Rivera
fd55a4556c Initial.
[SVN r13875]
2002-05-14 23:41:04 +00:00
Vladimir Prus
7d4e497201 Updated rpm locations.
[SVN r13830]
2002-05-13 12:23:37 +00:00
Vladimir Prus
7b356908e6 Tweak.
* new/class.jam: Import all rules from the 'class' module into a class
        instance module, not into a class module.
    * new/targets.jam: Remove explicit import from 'class' in ctor.


[SVN r13829]
2002-05-13 10:42:18 +00:00
Rene Rivera
2dbdbeff71 Added container.
[SVN r13828]
2002-05-12 16:57:31 +00:00
Rene Rivera
36093d20a1 Container classes of various kinds, only list for now.
[SVN r13827]
2002-05-12 16:57:14 +00:00
Rene Rivera
ee45854e28 Added is-a.
[SVN r13826]
2002-05-12 16:56:41 +00:00
Rene Rivera
c874422cc0 Merge from RC_1_28_0 br
[SVN r13797]
2002-05-10 05:09:43 +00:00
Rene Rivera
352e1a7ae2 Description of config variables.
[SVN r13794]
2002-05-10 04:34:26 +00:00
Beman Dawes
c22ea090b4 break column head
[SVN r13789]
2002-05-09 18:05:31 +00:00
Rene Rivera
0f5ff91cc8 Patch to work around env avariable splits on spaces
[SVN r13780]
2002-05-09 17:04:14 +00:00
Dave Abrahams
579a8b8907 Fix broken links
[SVN r13777]
2002-05-09 16:04:17 +00:00
Dave Abrahams
e7077cbe40 fix tabs and line-endings
[SVN r13774]
2002-05-09 14:24:57 +00:00
Dave Abrahams
5136b57fa0 Remove settings JAMSHELL = "sh -c", since that can never work (the whole thing goes into argv[0]).
[SVN r13754]
2002-05-08 16:19:03 +00:00
Dave Abrahams
e81135a493 Remove settings JAMSHELL = "sh -c", since that can never work (the whole thing goes into argv[0]).
Update bisons in allyourbase.jam


[SVN r13753]
2002-05-08 16:15:39 +00:00
Dave Abrahams
6eafdc96d5 restore FAIL_EXPECTED rule
[SVN r13745]
2002-05-08 13:52:50 +00:00
Dave Abrahams
9783b98af2 Removed <undefine> flotsam
[SVN r13744]
2002-05-08 12:41:23 +00:00
Dave Abrahams
ab9f73bc2e __STL -> _STLP
[SVN r13743]
2002-05-08 11:59:41 +00:00
Dave Abrahams
13292b4324 Restored to health on non-NT systems
[SVN r13742]
2002-05-08 11:39:23 +00:00
Dave Abrahams
c487c8eb20 Fix building on Cygwin
[SVN r13728]
2002-05-07 21:44:19 +00:00
Dave Abrahams
dbfdf9d26e Fix building on Cygwin
[SVN r13727]
2002-05-07 20:53:02 +00:00
John Maddock
8b2e608f0c Fixes for Sun Forte cc
[SVN r13713]
2002-05-07 10:41:42 +00:00
Vladimir Prus
ada293c175 * test/project_test1.py: Remove trailing whitespace, so that the test
work again, after 'print' fixes.


[SVN r13712]
2002-05-07 07:17:20 +00:00
Rene Rivera
c6bd7ff189 Added link to como-tools.html.
[SVN r13711]
2002-05-07 05:33:59 +00:00
Rene Rivera
bf78016cbe como-tools.html; docs of configuration variables.
como-tools.jam; COMO_BASEROOT single


[SVN r13710]
2002-05-07 05:32:21 +00:00
Rene Rivera
159450ffc2 * Added link to borland tools documentation.
* Removed empty list-item in executables list.


[SVN r13709]
2002-05-07 05:02:48 +00:00
Rene Rivera
af6f53174a borland-tools.html; docs of configuration variables.
borland-tools.jam; BCCROOT singleton.


[SVN r13708]
2002-05-07 04:54:48 +00:00
Rene Rivera
8027658ddf * Added set-as-singleton rule to work around splitting of single value variables.
* Applied set-as-singleton to some know singletons.


[SVN r13707]
2002-05-07 04:27:03 +00:00
Rene Rivera
2a77faf754 Fixed printing of extraneous space when printing empty lines.
[SVN r13705]
2002-05-07 03:56:46 +00:00
Dave Abrahams
d83db0bfc8 Branch for aix shared linking support
[SVN r13704]
2002-05-07 03:46:19 +00:00
Dave Abrahams
6ae0e3d617 Partial AIX .so support
[SVN r13702]
2002-05-07 02:25:24 +00:00
Dave Abrahams
f75e08a90a true 'C' compatibility
[SVN r13701]
2002-05-06 22:31:44 +00:00
Dave Abrahams
59bc75b305 True 'C' compatibility
[SVN r13700]
2002-05-06 22:19:20 +00:00
Dave Abrahams
490e261f37 initial commit
[SVN r13699]
2002-05-06 21:37:47 +00:00
Dave Abrahams
6576720ac7 Clear environment before testing
[SVN r13696]
2002-05-06 21:09:03 +00:00
Dave Abrahams
a1ee1c4304 bug fix
[SVN r13695]
2002-05-06 20:59:53 +00:00
Dave Abrahams
7af36b48a1 better error reporting
[SVN r13694]
2002-05-06 18:59:11 +00:00
Dave Abrahams
4743f195ca Bug fixes
[SVN r13693]
2002-05-06 18:54:24 +00:00
Dave Abrahams
91a02a2ebf initial commit
[SVN r13691]
2002-05-06 18:29:50 +00:00
Dave Abrahams
0855bc58cd initial commit
[SVN r13690]
2002-05-06 18:22:28 +00:00
Dave Abrahams
5caef8aef9 new initialization code + tests
[SVN r13689]
2002-05-06 18:20:47 +00:00
Dave Abrahams
dbf314d369 new initialization code + tests
[SVN r13688]
2002-05-06 18:14:59 +00:00
Dave Abrahams
edd4d762a7 new initialization code + tests
[SVN r13687]
2002-05-06 17:51:21 +00:00
Vladimir Prus
6bf3dd7367 Some os.path improvements.
* new/os.path.jam: (root): Renamed from 'root-relative-path'.
        (join): Accept arbitrary list of elements.
    * new/project.jam: Induced changes.


[SVN r13686]
2002-05-06 15:20:24 +00:00
Vladimir Prus
bc3dfd6e3a Forgotten file.
[SVN r13682]
2002-05-06 09:14:28 +00:00
Vladimir Prus
a47d743670 Work on project/targets modules.
* new/targets.jam: Considerably changed.
    * new/project.jam: Projects now return project targets via 'target' rule.
        Requirements are inherited. Renames 'subinclude(s)' to 'subproject(s)'.
        (find-jamfile): Rewritten, which fixes some bugs.
    * new/project-root/jam: (print): Sort projects first by they id, which
        makes order more predictable.
    * test/project-test1.py: Also run test from the 'project-test1' dir.
    * test/project-test2.py: New test.


[SVN r13681]
2002-05-06 09:11:30 +00:00
Vladimir Prus
39a80aa60a Fixes.
* test/BoostBuild.py (Test.run_build_system): Now really allow any exit
        status if the 'status' paremeter is 'None', per documentation.


[SVN r13680]
2002-05-06 08:48:08 +00:00
Vladimir Prus
0ff617490b Some rules added and fixed.
* new/print.jam (wrapped-text): New rule.
    * new/property.jam (refine): Fixed a horrible bug. (as-path): New rule,
        to be made smarter later.
    * sequence.jam: Comment typo fixed, and trailing whitespace killed.


[SVN r13679]
2002-05-06 07:42:45 +00:00
Vladimir Prus
56946edda2 Test system fixes.
* test/BoostBuild.py (Tester.__init__): New paremeter 'arguments'. Add
        BOOST_BUILD_PATH to the command line.
        (Tester.set_tree): Make files writable after copying.
        (Tester.copy): New method
        (Test.read): Open file in read mode.
    * test/test_system.html: Documented the above changes. Small cleanups.
    * new/test.jam: Remove bootstrap code.
    * new/readme.txt: Changed command line for running unit tests.


[SVN r13678]
2002-05-06 07:22:46 +00:00
Vladimir Prus
dc7bb71be7 Minor fixes.
* jam_src/Jambase: Now really downcase $(ARGV[1]).
    * jam_src/compile.c: Fix formatting, now that 'lol_print' don't insert
        space at the end.
    * jam_src/jambase.c: Regenerated.


[SVN r13676]
2002-05-06 06:44:24 +00:00
Rene Rivera
8ba48e7d7c Boost.Build global variables. Initially listing only variables from allyourbase.jam.
[SVN r13674]
2002-05-06 06:21:10 +00:00
Dave Abrahams
0a704f9f2b link to gcc-tools.html
[SVN r13672]
2002-05-06 04:25:09 +00:00
Dave Abrahams
ba99e3f2b3 initial checkin
[SVN r13671]
2002-05-06 04:24:47 +00:00
Dave Abrahams
7b243bcc1d initial checkin
[SVN r13670]
2002-05-06 03:46:55 +00:00
Rene Rivera
c65c5e3bef Updated test to use generic print rules instead of dump rule. And therefore removed dump rule.
[SVN r13667]
2002-05-04 15:44:38 +00:00
Rene Rivera
93b4576bd0 More cleanup of var names.
[SVN r13666]
2002-05-04 15:38:12 +00:00
Vladimir Prus
4b9abfc1d2 Renamed 'refine-properties' to 'refine'.
[SVN r13664]
2002-05-04 12:32:22 +00:00
John Maddock
66d0a0a738 Added automatic Cygwin detection
[SVN r13663]
2002-05-04 11:06:20 +00:00
Vladimir Prus
1932e4c9b4 Added a newline at the end of file -- for testing purposes, mostly.
[SVN r13649]
2002-05-03 17:18:31 +00:00
Rene Rivera
aff199fc20 Some cleanup of project-root.load, per Dave's request.
[SVN r13648]
2002-05-03 17:08:55 +00:00
Dave Abrahams
92df2508df Set __class__ attribute in instances
Added block comment on class system usage
Added some new tests


[SVN r13646]
2002-05-03 16:40:12 +00:00
Rene Rivera
9c995b8361 Removed tabs ;-O
[SVN r13645]
2002-05-03 16:21:23 +00:00
Vladimir Prus
6fdd989f3f Simplified project-root.load.
[SVN r13641]
2002-05-03 15:03:35 +00:00
Vladimir Prus
6700b1df5d Some property functions.
* property.jam (refine-properties): New rule.
    * feature.jam: New feature attribute 'link-incompatible'.
    * test.jam: Test the property module.


[SVN r13640]
2002-05-03 14:15:18 +00:00
Dave Abrahams
ee6e6d6a53 A small simplification
[SVN r13639]
2002-05-03 14:15:13 +00:00
Dave Abrahams
850db7b9ec initial checkin
[SVN r13637]
2002-05-03 12:35:41 +00:00
Vladimir Prus
c1c25b6630 Enhancements for project.lookup.
* new/project.jam (lookup): Require second argument, which specifies
        directory, relative to which paths in id should be interpreted.
    * test/project-test1.jam: Test for the above change.


[SVN r13636]
2002-05-03 10:10:14 +00:00
Vladimir Prus
d373a76283 Updated project-test1.py.
[SVN r13635]
2002-05-03 09:46:01 +00:00
Vladimir Prus
68815c87a8 Modification of project handling and fixes.
* os.path.jam (basename, pwd, glob): New rules. Changed naming convention
        for many other rules.
    * project-root.jam: Use os.path everywhere.
    * project.jam: Don't convert project paths to absolute paths. Use os.path.
    * build-system.jam: Don't use absolute name when loading jamfile.


[SVN r13634]
2002-05-03 09:40:26 +00:00
Toon Knapen
fd86b9da59 added link to prebuilt HPUX jam-boost exec
[SVN r13633]
2002-05-03 08:42:56 +00:00
Rene Rivera
e91b8c9459 Slightly more functionality for print and doc. Not really working yet.
[SVN r13631]
2002-05-03 04:44:19 +00:00
Rene Rivera
f9a214b225 Fixed find-jamfile prunning to given directory root.
[SVN r13630]
2002-05-03 04:43:37 +00:00
Rene Rivera
2c871d9bb4 Merge bjam changes.
[SVN r13628]
2002-05-03 02:02:50 +00:00
Dave Abrahams
81b12c4e66 Eliminated bogus ^M characters
[SVN r13626]
2002-05-02 19:01:29 +00:00
Dave Abrahams
2ad515f132 Workaround for crazy assertion in Jambase
[SVN r13625]
2002-05-02 19:01:07 +00:00
Dave Abrahams
d08215b796 Show *full* build command on failure
[SVN r13624]
2002-05-02 19:00:38 +00:00
Dave Abrahams
5bb377b3a5 Some bug fixes
[SVN r13623]
2002-05-02 18:59:31 +00:00
Dave Abrahams
ea2f56c192 Account for "normalized path" bugs
[SVN r13622]
2002-05-02 17:08:41 +00:00
Dave Abrahams
c6deb39621 Quick fixes, one step towards health.
[SVN r13621]
2002-05-02 16:53:12 +00:00
Dave Abrahams
09ff6bc293 Updated test to take advantage of --build-system=... option
[SVN r13620]
2002-05-02 16:44:13 +00:00
Dave Abrahams
1875c7b42c Initial checkin, includes test instructions
[SVN r13619]
2002-05-02 16:41:36 +00:00
Dave Abrahams
42310beb0b Added --debug --quiet to args used when running tests
[SVN r13618]
2002-05-02 16:39:04 +00:00
Dave Abrahams
91f48400a9 Updated testing info
[SVN r13617]
2002-05-02 16:38:27 +00:00
Dave Abrahams
efeba41f54 Use modules.clone-rules
[SVN r13616]
2002-05-02 16:38:04 +00:00
Dave Abrahams
20ca88db08 Implemented --quiet flag for testing
[SVN r13615]
2002-05-02 16:37:23 +00:00
Dave Abrahams
976f276d7f Moved project loading to build-system.jam
[SVN r13614]
2002-05-02 16:36:30 +00:00
Dave Abrahams
9ca524c070 Use *_PATH variables for configuration; added comments
[SVN r13613]
2002-05-02 16:34:38 +00:00
Dave Abrahams
c07651ae2f Major bug fix (gotta fix that Jam lexer!)
Some coding convention fixes


[SVN r13612]
2002-05-02 16:30:38 +00:00
Dave Abrahams
da54f4cddb Added <stlport-iostream>on to requirements
[SVN r13610]
2002-05-01 17:29:13 +00:00
Dave Abrahams
225218972f Added stlport-cstd-namespace feature to import names like memcpy into std::, where they belong
Fixed runtime behavior to find the STLPort dlls


[SVN r13608]
2002-05-01 17:27:10 +00:00
Dave Abrahams
8b4ba84b2d Added some error reporting with configuration info
[SVN r13607]
2002-05-01 16:02:10 +00:00
Dave Abrahams
76bcb25159 oops; bug fix
[SVN r13605]
2002-05-01 14:37:30 +00:00
Dave Abrahams
5630c4ad83 Added comments
[SVN r13604]
2002-05-01 13:59:10 +00:00
Dave Abrahams
449ddd8075 python/gcc-stlport tweaks
[SVN r13601]
2002-05-01 02:51:05 +00:00
Dave Abrahams
0c00d8538e Slight tweak to Jamfile loading; still doesn't work
[SVN r13592]
2002-04-30 16:59:40 +00:00
Dave Abrahams
b48998c208 use new coding conventions
[SVN r13591]
2002-04-30 16:45:58 +00:00
Dave Abrahams
b0efaa16cc cleanups
[SVN r13590]
2002-04-30 16:43:20 +00:00
Dave Abrahams
3389a78129 Use new naming conventions
[SVN r13589]
2002-04-30 16:34:26 +00:00
Dave Abrahams
214f12a5bd Reworked to allow derived classes to call base class methods which have been overridden via explicit qualification
[SVN r13588]
2002-04-30 14:51:07 +00:00
Dave Abrahams
f2a6e7fce4 Fixed bug in assert.nonempty-variable
[SVN r13587]
2002-04-30 14:34:45 +00:00
Dave Abrahams
fa565fe5ee Merged Rene's boost_build_v2 branch into the main trunk
[SVN r13586]
2002-04-30 14:33:25 +00:00
Dave Abrahams
a936e23c72 Improved debugging output:
* added space after "on"
   * try harder to indicate in which module a rule is going to execute
   * Stop printing the module context of variable settings; it was
     confusing especially when the variable turned out to be a local
     variable or an argument name.
   *

Register the name by which each rule is /invoked/ in its frame instead
of the name by which the rule was defined. This changes the behavior
of the builtin BACKTRACE rule, causing it to register the rule's
invocation names (filenames and line numbers lead the user to the
definition context anyway). This change was neccessary in order to
support classes: we can now extract the name of a class being
initialized by looking at the backtrace from within the class module's
__init__ rule.


[SVN r13585]
2002-04-30 14:22:46 +00:00
Dave Abrahams
99f54bb8b8 Better error reporting for IMPORT
[SVN r13584]
2002-04-30 14:13:09 +00:00
Vladimir Prus
b12ad93d05 Moved comments in from of implementation.
[SVN r13523]
2002-04-19 08:58:30 +00:00
Vladimir Prus
d560c20ca4 Test system improvements.
* BoostBuild.py
        (Tester.expect_nothing): New method.
        (Tester.run_build_system): Added 'subdir' argument. Take a nap
        after running bjam, so that further touches to files are detected.
    * test_system.html
        Document the above changes. Document earlier changes to List{}.
        Fixed typos.


[SVN r13522]
2002-04-18 08:35:27 +00:00
Dave Abrahams
137a937232 *** empty log message ***
[SVN r13520]
2002-04-18 04:00:30 +00:00
Vladimir Prus
04de3a3add Change of tests to accomodate new load behaviour and also fix previous
incorrect commit.


[SVN r13518]
2002-04-17 14:30:13 +00:00
Vladimir Prus
fae60ac960 Added description of milestone 1 and some tests for it.
[SVN r13517]
2002-04-17 14:10:54 +00:00
Rene Rivera
bed1207b67 Temporary, checkin.
[SVN r13505]
2002-04-16 15:25:15 +00:00
Rene Rivera
3504660c49 Integrated my load behaviour into Valdimir's code. Some cleanup along the way.
[SVN r13503]
2002-04-16 06:04:52 +00:00
Rene Rivera
69c1220bf7 Factored management of project-root to it's own module.
[SVN r13502]
2002-04-16 06:03:11 +00:00
Rene Rivera
48d753b71d Extracted print generation from doc module to here for common use.
[SVN r13501]
2002-04-16 06:02:15 +00:00
Rene Rivera
1d1e46bb50 Added localize rule.
[SVN r13500]
2002-04-16 05:56:18 +00:00
Dave Abrahams
3130c36930 Use new List niceties
[SVN r13497]
2002-04-15 18:05:58 +00:00
Dave Abrahams
af2a7d41e2 Added some niceties for List class
[SVN r13496]
2002-04-15 18:04:33 +00:00
Dave Abrahams
7b5068bce4 Always use a .bat file unless forced to do otherwise
[SVN r13490]
2002-04-15 04:18:23 +00:00
Dave Abrahams
d5e2198470 Add quoting for /LIBPATH et al
[SVN r13480]
2002-04-13 17:37:34 +00:00
Dave Abrahams
acf8fa08b7 vc7 compatibility for BOost.Python v1
Better error messages for Jam when actions are too long


[SVN r13477]
2002-04-13 15:33:00 +00:00
Dave Abrahams
7720d2035e LD_LIBRARY_PATH fixes for Ralf
[SVN r13475]
2002-04-13 12:35:04 +00:00
Dave Abrahams
69798211d0 propagate standard library directory from intel toolsets
[SVN r13472]
2002-04-13 04:29:11 +00:00
Dave Abrahams
a19130ba21 Reconstitute paths with spaces
[SVN r13468]
2002-04-12 19:47:48 +00:00
Dave Abrahams
46f70d112b Fix for Pro8 toolset; Default to Pro7.
[SVN r13466]
2002-04-12 18:34:30 +00:00
Vladimir Prus
dfc3b6e66c Plugged the project test in the testing framework.
[SVN r13458]
2002-04-12 08:07:39 +00:00
Vladimir Prus
b86874e7ca Added two example tests.
[SVN r13457]
2002-04-12 07:26:10 +00:00
Rene Rivera
bbc7e8f9ee Cleaned up link-action, better SONAMEs.
[SVN r13452]
2002-04-11 21:24:16 +00:00
Dave Abrahams
673a381740 Fixed installation/configuration checks
[SVN r13451]
2002-04-11 21:01:10 +00:00
Rene Rivera
d30f648b5d Support for SONAMEs.
[SVN r13450]
2002-04-11 20:32:50 +00:00
Vladimir Prus
072c673df4 Make the test system invoke jam binary located in the same working copy.
[SVN r13446]
2002-04-11 15:16:22 +00:00
Dave Abrahams
e87dbb8961 *** empty log message ***
[SVN r13445]
2002-04-11 14:16:05 +00:00
Dave Abrahams
9447de2488 fixes a problem which causes a trailing space to be added to the last element of PYTHONPATH.
[SVN r13434]
2002-04-10 17:29:36 +00:00
Vladimir Prus
9c409585dd Fixes.
* lists.c (list_print): Do not output trailing whitespace. This change
    	is intended to make writing tests easier.


[SVN r13425]
2002-04-10 08:43:22 +00:00
Vladimir Prus
6c80c85f67 Added a test for the 'project' module.
[SVN r13424]
2002-04-10 06:52:06 +00:00
Vladimir Prus
daec08b54c Fixes.
* os.path.jam (all_parent): Convert result of 'PWD' into normalized path.


[SVN r13423]
2002-04-10 06:41:56 +00:00
Vladimir Prus
d4686bb0f9 Another attempt at replacing tabs with spaces.
[SVN r13409]
2002-04-09 07:48:35 +00:00
Dave Abrahams
ccd33fac65 Replace unused FAIL_EXPECTED with RMOLD
[SVN r13408]
2002-04-09 04:09:15 +00:00
Dave Abrahams
13093a1e9f dummy
[SVN r13407]
2002-04-09 04:05:02 +00:00
Dave Abrahams
1065729abb Replace unused FAIL_EXPECTED with RMOLD
[SVN r13406]
2002-04-09 04:01:58 +00:00
Vladimir Prus
51b91d33b2 Work on projects/targets.
* project.jam: New module.
    * targets.jam: New module.
    * sequence.jam (merge): New rule.
    * os.path.jam: Bugfix.


[SVN r13402]
2002-04-08 17:42:22 +00:00
Vladimir Prus
877c93d683 Added new test system sources. Updated docs.
[SVN r13401]
2002-04-08 15:13:36 +00:00
Dave Abrahams
bca823ed8f Fixes for python (how did it ever work?)
[SVN r13400]
2002-04-08 12:20:05 +00:00
Rene Rivera
92e0d37fe7 More detailedoad sequence.mo
[SVN r13398]
2002-04-07 17:36:14 +00:00
Rene Rivera
052ee31f34 Change to have individual module scopes per Jamfile.
[SVN r13397]
2002-04-07 17:35:42 +00:00
Rene Rivera
0b57846bd8 Rolled back v-1.12 changes.
Made binding not assume module-name == filename.


[SVN r13396]
2002-04-07 17:34:20 +00:00
Rene Rivera
1a6bdab92e Fixed OS test for UNIX, again.
[SVN r13395]
2002-04-07 17:04:34 +00:00
Rene Rivera
d982ee7b6d Fixed OS test for UNIX.
[SVN r13394]
2002-04-07 17:00:50 +00:00
Rene Rivera
e3b2210790 Removed quotes from docs. Some minor cleanup of docs.
[SVN r13393]
2002-04-07 05:20:21 +00:00
Dave Abrahams
4724034e5c perforce 2.4 merge (again)
[SVN r13391]
2002-04-07 00:22:45 +00:00
Dave Abrahams
bdccc70983 perforce 2.4 integration
[SVN r13390]
2002-04-07 00:18:37 +00:00
Dave Abrahams
dc6123ec95 Added Rene's doc stuff
[SVN r13389]
2002-04-07 00:16:41 +00:00
Dave Abrahams
4a291676a5 perforce 2.4 integration
[SVN r13388]
2002-04-06 23:41:05 +00:00
Dave Abrahams
17026ad164 perforce 2.4 changes
[SVN r13387]
2002-04-06 23:40:41 +00:00
Dave Abrahams
9e5545cade rolled forward GLOB and MATCH changes from perforce. Also incorporated regex cacheing to MATCH
[SVN r13386]
2002-04-06 23:36:47 +00:00
Rene Rivera
f5a357640b Added check so that modules can get multiple included without getting multiple documentation.
[SVN r13384]
2002-04-06 22:53:13 +00:00
Rene Rivera
f53e7f7ab0 Replace tabs, with spaces.
Fix for when BOOST_BUILD_PATH is empty.


[SVN r13383]
2002-04-06 22:26:48 +00:00
Beman Dawes
5f2bb6d910 Refine HTML col heads
[SVN r13379]
2002-04-06 19:48:19 +00:00
Beman Dawes
7ee7217c0b Add HTML table entry
[SVN r13375]
2002-04-05 16:26:18 +00:00
Rene Rivera
e436cbbc47 Secondary dependencies where not getting included, fixed.
[SVN r13372]
2002-04-05 03:30:22 +00:00
Beman Dawes
bf47763840 Add #// line to identify compiler to HTML generator
[SVN r13369]
2002-04-04 20:00:24 +00:00
Rene Rivera
754e2a67f2 Cleanup, fixed various recursive dependency problems...
Replace all occurances of <LIB> <DLL> with <$(STATIC_TYPE> <$(SHARED_TYPES)>.
Fixed recursive dependency problem in template modifier.
Fixed recursive dependency problem in stage targets, now stage targets only get built/defined on second pass.


[SVN r13367]
2002-04-04 17:20:15 +00:00
Rene Rivera
18b1952510 Fixed slight problem with subvariant when there is no subvariant build request.
[SVN r13363]
2002-04-03 20:16:25 +00:00
Beman Dawes
02bdc76c7a Add double quotes in case spaces in paths, fix cut and paste errors
[SVN r13362]
2002-04-03 18:31:18 +00:00
Vladimir Prus
1414373435 Added test system docs.
[SVN r13359]
2002-04-03 11:10:10 +00:00
Rene Rivera
3dd8fb772f Added architecture feature, as a serious test of subvariant generation.
[SVN r13354]
2002-04-03 06:58:31 +00:00
Rene Rivera
ffe30b0a74 Added architecture feature, as a serious test of subvariant gen
[SVN r13353]
2002-04-03 06:57:38 +00:00
Rene Rivera
a88c75673e Fix subvariant generation of dependents to correctly transmit/match dependant requirements/requests.
[SVN r13352]
2002-04-03 06:42:55 +00:00
Dave Abrahams
9f0abf8582 bug fixes for Beman
[SVN r13346]
2002-04-02 19:27:00 +00:00
Dave Abrahams
98ecd4ec9d Use MATCH
[SVN r13339]
2002-04-01 16:00:25 +00:00
Dave Abrahams
6d1b7d8ad4 bug fix
[SVN r13338]
2002-04-01 15:59:03 +00:00
Dave Abrahams
3bde94a542 Killed off all uses of SUBST
[SVN r13337]
2002-04-01 15:04:25 +00:00
Rene Rivera
3760827171 Initial try at documentation system. Major drawback of this versioni is anything but console output
[SVN r13329]
2002-04-01 07:12:39 +00:00
Dave Abrahams
0fbd682072 Updated self-test procedure
[SVN r13328]
2002-04-01 05:19:25 +00:00
Dave Abrahams
2cc0497e45 Fixed MATCH rule port
Changed regex.split to work with MATCH
Fixed build-system.jam so command-line JAMFILE specification works


[SVN r13326]
2002-04-01 02:59:53 +00:00
Dave Abrahams
dc37240f9b Roll back changes which should be on the branch for now.
[SVN r13325]
2002-04-01 02:58:32 +00:00
Dave Abrahams
e57c382baa A couple of minor changes for backward compatibility.
[SVN r13324]
2002-04-01 01:48:08 +00:00
Rene Rivera
37c843e327 Load behaviour part 2: Implemented initial version with new module semantics.
[SVN r13321]
2002-03-30 21:54:56 +00:00
Rene Rivera
8915daf0e4 Load behaviour part 2: Added an additional arg to load so that one can override the module/omodtag of the loaded f
[SVN r13320]
2002-03-30 21:54:03 +00:00
Dave Abrahams
37ea7155b6 Added MATCH rule
[SVN r13314]
2002-03-30 12:53:50 +00:00
Dave Abrahams
702651805d bug fix, forgot to check in
[SVN r13306]
2002-03-30 00:37:00 +00:00
Rene Rivera
b8d3b91f93 Don't attempt to do versioned links in anything but Unix.
[SVN r13305]
2002-03-30 00:29:55 +00:00
Dave Abrahams
8f30395006 Cygwin fix
[SVN r13304]
2002-03-30 00:14:03 +00:00
Rene Rivera
42ef76532b Fix loading of modules so that it searchesOOST BOOST_BUILD_P
[SVN r13301]
2002-03-29 06:30:55 +00:00
Rene Rivera
6a99d4ca0f Cleaned up various mishaps introduces in the last version.
Added documentation for template targets, from Thomas Witt.


[SVN r13300]
2002-03-29 03:55:13 +00:00
Dave Abrahams
a851d58bff Applied patch from Dick Hadsell (hadsell@blueskystudios.com)
[SVN r13297]
2002-03-28 13:23:53 +00:00
Dave Abrahams
81dc856844 bug fixes
[SVN r13290]
2002-03-28 04:55:25 +00:00
Dave Abrahams
ab1a3443d3 bug fix
[SVN r13289]
2002-03-27 22:45:13 +00:00
Dave Abrahams
4a24e5ebb7 *** empty log message ***
[SVN r13288]
2002-03-27 22:45:04 +00:00
Dave Abrahams
7b1c9035e7 New module scoping rules
[SVN r13287]
2002-03-27 22:23:30 +00:00
Vladimir Prus
a8af2f9e80 Minor modifications.
* regex.jam (split): Change behavour with regard to separators at
	the beginning of string.
    * os.path.jam (has_parent, parent, join): Allow relative paths to
	point upward.
	(all_parents): new rule
	Added support for unix pathes.


[SVN r13279]
2002-03-26 08:56:05 +00:00
Vladimir Prus
ef1c27263d Merge of Perforce change 1587: "if" was testing only the first element of
simple expression.


[SVN r13278]
2002-03-26 07:51:38 +00:00
Rene Rivera
dbfa6cf3f7 Changed so that when we are generating versioned DLLs, we link the versioned one, and symlink the unversioned one.
[SVN r13275]
2002-03-26 01:41:07 +00:00
Rene Rivera
1130c61a93 Removed HardLink hack to generate versioned DLLs.
[SVN r13274]
2002-03-26 01:39:47 +00:00
Rene Rivera
2e71d8995b Fixed missing setting of RUN_LD_LIBRARY_PATH for DLL and PYD targets.
[SVN r13273]
2002-03-26 00:32:41 +00:00
Dave Abrahams
d10c2e41f9 deal with spaces in pathnames
[SVN r13270]
2002-03-25 16:33:27 +00:00
Rene Rivera
36494e2340 Added setting of LD_LIBRARY_PATH env variable in the link so that the linker can resolve tertiacry dependencies that use soname-ing.
[SVN r13269]
2002-03-25 04:38:21 +00:00
Rene Rivera
5389f60187 Added creation of versioned files when building DLLs.
[SVN r13268]
2002-03-25 04:37:20 +00:00
Dave Abrahams
9b7240332d Quick bug fixes for python
[SVN r13252]
2002-03-24 05:04:38 +00:00
John Maddock
f45c23b62c Added Darwin options (caution may not work yet).
[SVN r13248]
2002-03-22 12:16:41 +00:00
John Maddock
ba7de11e5e Added BeOS threading options (there aren't any).
[SVN r13247]
2002-03-22 11:30:04 +00:00
John Maddock
992934fa06 Added support for execution under cygwin
[SVN r13246]
2002-03-22 11:29:35 +00:00
Rene Rivera
e2045ce152 Changed name of template/basis/base targets to "emplate" e
[SVN r13239]
2002-03-22 00:29:13 +00:00
Dave Abrahams
8989f6717a no comment
[SVN r13231]
2002-03-20 07:16:06 +00:00
John Maddock
6e643ceef7 Added -lrt for multithreaded builds
[SVN r13227]
2002-03-19 12:39:34 +00:00
Rene Rivera
ff03f0c769 Fixed stage targets not repositioning to dependents directories.
[SVN r13222]
2002-03-19 06:41:55 +00:00
Rene Rivera
d86d14d372 Fixed default build request not getting propagated when using a linking edependency
[SVN r13220]
2002-03-18 21:33:46 +00:00
Rene Rivera
583b807462 Fixed multiple copies of text in header, because of multiple inclusion as dependent.
Added support for mutiple comment lines, so that the full boost copyright info can be generated.


[SVN r13216]
2002-03-17 20:10:46 +00:00
Rene Rivera
d779246111 Added "basis" targets, functionality originally from Tim Witt.
Added concept of modifier functions to implement cleaner "basis".
Cleaned up declare-local-target and many other small spots.
Mostly full generalization of dependants.
Fixed multiple copy bug in "stage" target, and small cleanup.
Fixed spurious resetting of BUILD variable, which was causing incorrect builds.


[SVN r13215]
2002-03-17 20:08:48 +00:00
Rene Rivera
aa286fa5cf Fixed forward dependency bug, they now work again.
[SVN r13213]
2002-03-16 04:18:10 +00:00
Dave Abrahams
10ece33fb4 Tweaks for CWPro7.2
[SVN r13206]
2002-03-15 12:40:09 +00:00
Dave Abrahams
b5cb639b10 Quick bug fix for simultaneous vc6/7 operation
[SVN r13205]
2002-03-15 04:28:45 +00:00
Dave Abrahams
158dc4284a Fixed .pdb problem
[SVN r13204]
2002-03-15 03:05:35 +00:00
Rene Rivera
f4d1348355 Fixed same copy-paste error of resetting the BUILD variable, but this time in the stage targets.
[SVN r13190]
2002-03-14 05:12:46 +00:00
Rene Rivera
7d6a8dc5d2 Added distribution.jam to hold rules for management of distributions.
Initially only has the version-header rule.


[SVN r13174]
2002-03-11 16:13:46 +00:00
John Maddock
74cf1021a3 Added support for gcc versions that don't use the GNU linker -
basically we have to suppress some GNU specific command line
switches in this case.


[SVN r13168]
2002-03-10 12:07:05 +00:00
Dave Abrahams
726057769e *** empty log message ***
[SVN r13134]
2002-03-08 14:55:02 +00:00
Dave Abrahams
5dc82a35d3 <dir.h> -> <direct.h>
[SVN r13125]
2002-03-07 22:59:24 +00:00
Rene Rivera
f90b657592 Set to version 3.1
Changed options to allow GNU style options of "--x".
Added ARGV variable for invocation arguments.


[SVN r13124]
2002-03-07 17:14:12 +00:00
John Maddock
bde7c1ccb1 Added platform specific threading options.
[SVN r13122]
2002-03-07 12:21:17 +00:00
Vladimir Prus
30dd388d07 Added the 'PWD' builtin.
[SVN r13117]
2002-03-07 09:02:01 +00:00
Dave Abrahams
60c11a08da Merge with Perforce 2.4 state
[SVN r13111]
2002-03-06 14:13:29 +00:00
Dave Abrahams
1469854394 Bugfixes
[SVN r13107]
2002-03-06 01:20:56 +00:00
Rene Rivera
31abc2df39 Sstage targets where not using the complete local-build arguments
[SVN r13103]
2002-03-05 22:43:26 +00:00
Rene Rivera
8c34284a72 Fixed trying to copy multiple files at once in stage targets.
[SVN r13096]
2002-03-05 17:17:58 +00:00
Rene Rivera
7a7f3a1cfb Fixed rename-target, it needed to take multiple targets.
[SVN r13094]
2002-03-05 16:19:44 +00:00
Dave Abrahams
81396a6ccf Bug fix
[SVN r13093]
2002-03-05 13:16:25 +00:00
Dave Abrahams
461fbb0d97 Make <inlining> link-compatible
[SVN r13080]
2002-03-04 20:06:25 +00:00
Rene Rivera
c770786680 Updated soname to use <dllversion>, defaults to BOOST_VERSION if not specified.
[SVN r13034]
2002-03-02 23:06:58 +00:00
Rene Rivera
797eaf3fc2 Added <dllversion> feature to use for soname-ing.
[SVN r13031]
2002-03-02 23:01:34 +00:00
Dave Abrahams
243b76f02a experimental soname support
[SVN r13028]
2002-03-02 21:41:16 +00:00
Dave Abrahams
ccd4fca6a6 experimental soname support
[SVN r13027]
2002-03-02 21:39:34 +00:00
Rene Rivera
b3188df2dc Factored out the rename code from stage to rename-target.
Removed tabs.


[SVN r13021]
2002-03-02 19:56:12 +00:00
Rene Rivera
f1011cbdae Fixed link subvariant checking.
[SVN r13017]
2002-03-02 18:39:02 +00:00
Dave Abrahams
6a5699233a Fixed(?) BUILD bug
[SVN r13015]
2002-03-02 17:46:46 +00:00
Dave Abrahams
5654777558 Fixed "optimize for space" and "optimize for speed"
[SVN r12998]
2002-03-01 20:20:17 +00:00
Dave Abrahams
fc4aa52cfc AIX support
[SVN r12986]
2002-02-28 16:02:56 +00:00
Dave Abrahams
698220c557 Bug fix for Windows at least
[SVN r12983]
2002-02-28 15:22:17 +00:00
Dave Abrahams
574fea9c1a argument names for subvariant-target
[SVN r12980]
2002-02-28 12:25:12 +00:00
Dave Abrahams
23b94ce6ee better path handling
[SVN r12976]
2002-02-28 06:03:19 +00:00
Dave Abrahams
0193f1cab3 set DLL_AS_LIB for NT
[SVN r12975]
2002-02-28 05:30:13 +00:00
Dave Abrahams
e9b2987098 restore important warning
[SVN r12965]
2002-02-27 23:56:22 +00:00
Dave Abrahams
2f62b30769 fixed bogus warning
[SVN r12964]
2002-02-27 23:27:50 +00:00
Rene Rivera
b74e1a0d55 Simplyfied find-subvariant-target.
[SVN r12948]
2002-02-27 05:32:16 +00:00
Rene Rivera
d1b459994a Fixed template for expand-target-subvariants.
[SVN r12943]
2002-02-26 18:31:51 +00:00
Rene Rivera
1f0cf3ca7c Really fixed the compatible subvariant dependency. Factored some duplicate code.
[SVN r12941]
2002-02-26 16:28:20 +00:00
Rene Rivera
8d98b79dab Fixed link compat. testing so that specifying multi-value requirements works. (ex. <runtime-link>static/dynamic>
[SVN r12934]
2002-02-25 02:47:09 +00:00
Dave Abrahams
0556bc2103 strip symbols in linker when <debug-symbols>off
[SVN r12931]
2002-02-24 23:40:45 +00:00
Dave Abrahams
09f283984b Fix <optimization>space
[SVN r12930]
2002-02-24 22:05:13 +00:00
Dave Abrahams
0ec107e671 Can't really remove command-files until <find-library> arguments are accounted for in their dependencies.
[SVN r12923]
2002-02-24 05:18:22 +00:00
Dave Abrahams
8194a0a19c Added search behavior to link command
[SVN r12921]
2002-02-24 02:50:07 +00:00
Beman Dawes
a53047b3d3 Better chdir wording (Dan Nuffer)
[SVN r12905]
2002-02-22 19:48:00 +00:00
Dave Abrahams
4789f37a7b added multithread support
[SVN r12853]
2002-02-18 16:17:51 +00:00
Dave Abrahams
f6acca80d9 Fixes for Rene's modifications
[SVN r12850]
2002-02-17 22:46:30 +00:00
Rene Rivera
23e6ec30cf Use DLL_AS_LIB to "hard" link DLLs in addition to dynamic link (-l).
[SVN r12844]
2002-02-17 00:28:39 +00:00
Rene Rivera
8f32164e9e Added DLL_AS_LIB flagfalg variable to indicate wether DLLs need to be "hard" linked on a platf
[SVN r12843]
2002-02-17 00:27:59 +00:00
Rene Rivera
8fd8df37d2 Fixed name expansion for Windows, that is platforms that generate multiple targets for DLLs.
[SVN r12814]
2002-02-15 06:15:22 +00:00
Rene Rivera
df6f25727f Latest changes to legacy Boost.Build. Cleanups, addition of "stage", elimination of BOOST_BUILD_INSTALLATION, canonization of target names, etc.
[SVN r12799]
2002-02-14 04:09:50 +00:00
Dave Abrahams
25a8d975a2 Bug fix thanks to Hugo Duncan for the report
[SVN r12782]
2002-02-11 17:01:34 +00:00
Rene Rivera
051ec557cd Updated to reflect current status of code. Spelling fixes, some variable reference fixes. Additions include documentation of stage, lib vs. dll linking, and names of targets.
[SVN r12781]
2002-02-11 16:26:25 +00:00
Dave Abrahams
0d7d8c2a4d bug fixes and more test cases
[SVN r12780]
2002-02-11 04:59:35 +00:00
Dave Abrahams
d86f51c9fe Bug fix + associated test
[SVN r12779]
2002-02-10 20:52:13 +00:00
Dave Abrahams
cedad448d5 Build request expansion
[SVN r12778]
2002-02-10 00:49:29 +00:00
Toon Knapen
bba28ed765 flags declarations used xlc instead of the real toolset name : vacpp
[SVN r12752]
2002-02-08 11:32:26 +00:00
Dave Abrahams
1698192df2 skip incompatible builds
[SVN r12747]
2002-02-07 01:42:57 +00:00
Rene Rivera
17dec5add8 Modified ARFLAGS so that the "/" is not needed because it is translated to "\\" by Boost.Jam.
[SVN r12712]
2002-02-04 22:18:46 +00:00
Rene Rivera
bacdb88347 Added <arflags> feature to all toolsets.
[SVN r12710]
2002-02-04 21:05:31 +00:00
Rene Rivera
32293480e5 Removed tabsà
[SVN r12709]
2002-02-04 20:47:07 +00:00
Rene Rivera
831f28843f Removed tab.
[SVN r12708]
2002-02-04 20:44:58 +00:00
Ralf W. Grosse-Kunstleve
d43f0f6d5e Compaq Tru64 cxx 6.5 toolset (based on tr64cxx-tools.jam);
tested with libs/python/Jamfile


[SVN r12685]
2002-02-04 11:51:44 +00:00
Dave Abrahams
0204700120 Slightly more-sophisticated testing behavior
[SVN r12632]
2002-02-02 14:06:13 +00:00
Dave Abrahams
f385672095 Fixes from Hugo Duncan (and me)
[SVN r12605]
2002-01-31 14:49:09 +00:00
Dave Abrahams
87926970e6 Better compatibility with default Jamfile configuration for MSVC
[SVN r12583]
2002-01-30 15:47:47 +00:00
Dave Abrahams
6cbe7bf2a6 bug fix
[SVN r12582]
2002-01-30 15:47:00 +00:00
Dave Abrahams
4410ea493c Bug fixes
[SVN r12581]
2002-01-30 15:46:06 +00:00
Vladimir Prus
d8df56134c Module os.path completed.
[SVN r12542]
2002-01-29 08:40:58 +00:00
Dave Abrahams
5a086381a0 Make sure <target-type> is never clobbered.
[SVN r12516]
2002-01-25 22:30:06 +00:00
Toon Knapen
1558678062 added -Ae flag to compile on HP
[SVN r12503]
2002-01-25 14:24:41 +00:00
Toon Knapen
200e341eb3 added new-line character after #endif directive (vacpp complains loudly)
[SVN r12502]
2002-01-25 14:13:40 +00:00
Toon Knapen
0f4ae0f8c6 changed "//" comment into /* */ because Aix C compiler can't handle C++-style comments
[SVN r12501]
2002-01-25 14:10:52 +00:00
Rene Rivera
da9aab86e8 Specified "Initialization" sequence, and updated the "Preamble" to reflect the sequence.
[SVN r12461]
2002-01-23 16:58:06 +00:00
Dave Abrahams
b6cdcbc1d6 Fix misattribution of PWD rule
[SVN r12457]
2002-01-23 14:58:00 +00:00
Toon Knapen
79251aaede executable flag on yyacc is set by Jamfile automatically
[SVN r12453]
2002-01-23 12:29:46 +00:00
Dave Abrahams
6c06af98fe Make it possible to compile a given source file by giving its object file name as a target.
[SVN r12443]
2002-01-22 13:53:04 +00:00
Toon Knapen
6cfadf7793 yyacc added again, but this time with the executable flag set
[SVN r12430]
2002-01-22 09:02:47 +00:00
Toon Knapen
4198d15f7e just deleting it to add it again with the executable flag set
[SVN r12429]
2002-01-22 09:01:57 +00:00
Dave Abrahams
7a8a546d9d initial checkin
[SVN r12416]
2002-01-22 03:46:44 +00:00
Rene Rivera
15f497b05b - Moved <suppress> code to support it for all target types.
- Added <linkflags> feature.
- Added <sysinclude> and <linkflags> to all toolsets.
- Documented existing changes to "variant" inheritance.


[SVN r12408]
2002-01-21 22:25:03 +00:00
Vladimir Prus
eafb20a9d6 Added support for building RPMs.
[SVN r12395]
2002-01-21 12:33:20 +00:00
Dave Abrahams
915f27ffe5 *** empty log message ***
[SVN r12365]
2002-01-20 06:14:45 +00:00
Toon Knapen
337546503e removed declared but never referenced variables
(spotted by mipspro compiler, generating warnings)


[SVN r12346]
2002-01-18 15:38:00 +00:00
Dave Abrahams
7b6b7e3087 use byacc instead of bison to relieve dependence on alloca
[SVN r12345]
2002-01-18 13:04:16 +00:00
Dave Abrahams
af4854082b Added better directions about quoting
[SVN r12304]
2002-01-14 03:32:27 +00:00
Dave Abrahams
968370f6c6 Updated quoting documentation
[SVN r12303]
2002-01-14 03:14:59 +00:00
Dave Abrahams
baed11eddb initial checkin
[SVN r12302]
2002-01-13 17:51:31 +00:00
Dave Abrahams
210f83ee8b added tests for sequence, string, and numbers
[SVN r12301]
2002-01-13 17:50:10 +00:00
Dave Abrahams
18b7d9d1a1 added length function
[SVN r12300]
2002-01-13 17:49:05 +00:00
Dave Abrahams
dcdbf78059 optimized increment, decrement
added validity checking
added range, less, log10, and of course, many tests


[SVN r12299]
2002-01-13 17:47:47 +00:00
Toon Knapen
21cc7e9265 added link to precompile Tru64 (bin.osf) jam executable
[SVN r12266]
2002-01-10 11:15:51 +00:00
Ralf W. Grosse-Kunstleve
d28dfd40d8 Modified tru64cxx-tools.jam submitted by Vincenzo Vasta.
[SVN r12260]
2002-01-09 19:46:41 +00:00
Jörg Walter
f6e1a03c17 Set the exec permission
[SVN r12223]
2002-01-06 13:43:38 +00:00
Dave Abrahams
c75cbdd417 stop linking extensions against the python static library; that turns out to be bogus!
[SVN r12205]
2002-01-03 05:18:10 +00:00
Dave Abrahams
5c6b9f75cc get the runtime libs into the LD_LIBRARY_PATH
remove bogus -Bsymbolic linker option


[SVN r12204]
2002-01-03 05:15:10 +00:00
Dave Abrahams
5856aaee9f account for gRUN_LD_LIBRARY_PATH
[SVN r12203]
2002-01-02 20:57:57 +00:00
Dave Abrahams
23235f211d make gRUN_LD_LIBRARY_PATH work
[SVN r12202]
2002-01-02 20:57:14 +00:00
Dave Abrahams
318ed52a7a incorporate fixes from Joerg Walter
[SVN r12200]
2002-01-02 19:01:12 +00:00
Dave Abrahams
a8f0464bb7 bug fix
[SVN r12199]
2002-01-02 18:28:27 +00:00
Dave Abrahams
d43e608361 *** empty log message ***
[SVN r12197]
2002-01-01 19:15:13 +00:00
Dave Abrahams
0704ccfaab dummy
[SVN r12196]
2002-01-01 19:10:45 +00:00
Dave Abrahams
310fbfc5ac minor bug fix
[SVN r12195]
2002-01-01 18:58:05 +00:00
Dave Abrahams
2641f88fdb initial checkin
[SVN r12194]
2002-01-01 18:56:51 +00:00
Dave Abrahams
049cedc76c fixed spelling error by moving to utility.jam
[SVN r12172]
2001-12-29 00:02:57 +00:00
Dave Abrahams
0ece9a7110 initial checkin
[SVN r12171]
2001-12-29 00:02:06 +00:00
Dave Abrahams
39f14ddddc Moved peek/poke to utility.jam
[SVN r12170]
2001-12-29 00:01:53 +00:00
Dave Abrahams
ead5012aee record two-way inheritance links
[SVN r12169]
2001-12-29 00:01:11 +00:00
Vladimir Prus
08ff827840 Copyrights added to the version string.
[SVN r12147]
2001-12-25 08:59:07 +00:00
Dave Abrahams
1bd6d1ef56 fixes
[SVN r12146]
2001-12-24 19:27:39 +00:00
Dave Abrahams
0bfa09b1f6 fixes
[SVN r12140]
2001-12-22 02:01:14 +00:00
Dave Abrahams
57141e2819 fixes
[SVN r12133]
2001-12-20 04:02:40 +00:00
Dave Abrahams
02dfcc8d29 fixes
[SVN r12132]
2001-12-20 03:46:31 +00:00
Dave Abrahams
5111375a84 integrate Rene's variant inheritance and <suppress> hacks
[SVN r12131]
2001-12-19 23:05:07 +00:00
Dave Abrahams
59afe1b4e4 support for <sysinclude>
[SVN r12130]
2001-12-19 23:03:53 +00:00
Dave Abrahams
5efc3ed4d7 integrate Rene's variant inheritance and <suppress> hacks
fix for declaration of SHARED_TYPES


[SVN r12129]
2001-12-19 22:58:18 +00:00
Jens Maurer
77c2f84424 generating timing HTML page from message log
[SVN r12121]
2001-12-18 22:37:28 +00:00
Dave Abrahams
03cf70189f initial checkin
[SVN r12117]
2001-12-18 19:02:49 +00:00
Dave Abrahams
5b3faa9517 Unix extension-modules are .so files!
[SVN r12116]
2001-12-18 17:57:06 +00:00
Dave Abrahams
cf38f721a8 added cxx toolset
[SVN r12101]
2001-12-18 03:36:54 +00:00
Dave Abrahams
bf5644d7d0 bugfixes
[SVN r12091]
2001-12-17 22:23:25 +00:00
Dave Abrahams
ffabba31b2 tools/build/boost-base.jam
* Handle different spellings of the PATH environment variable for Windows

     * Ungristed elements of a target's requirements are now treated as
     rules which transform the target's property set. The rules must have
     the following signature:

        transform-properties ( toolset variant : properties * )

     and should return the new property set.


     * Added target name adjustment feature for Python debugging targets.

tools/build/borland-tools.jam
tools/build/gcc-tools.jam
tools/build/intel-linux.jam
tools/build/metrowerks-tools.jam
tools/build/msvc-tools.jam
tools/build/mingw-tools.jam

     * Adjustments to better support Python targets

tools/build/python.jam

     * Lots of adjustments for building / testing Python targets:
        PYTHON_LAUNCH variable prefixes Python executable name
                 -- can be used to invoke debugger.
        PYTHON_ARGS variable postfixes Python executable name
        CYGWIN_ROOT variable can be used to specify root of cygwin installation


[SVN r12071]
2001-12-16 17:52:31 +00:00
Dave Abrahams
d5c7ce0c8d no message
[SVN r12053]
2001-12-13 18:45:42 +00:00
Dave Abrahams
2c0ab5c1b8 improved error reporting, refactored
[SVN r12052]
2001-12-13 18:39:41 +00:00
Dave Abrahams
55e3ae2fea Suppress output from vcvars invocation
[SVN r12051]
2001-12-13 18:35:31 +00:00
Dave Abrahams
1a073eb0f9 initial checkin
[SVN r12050]
2001-12-13 18:34:57 +00:00
Dave Abrahams
0aa0f23143 fixed backslashes
[SVN r12049]
2001-12-13 18:34:48 +00:00
Dave Abrahams
7be9a7c0ff fixes for cygwin
[SVN r12048]
2001-12-13 18:34:06 +00:00
Dave Abrahams
08a7ccdd02 too many changes to list :(
[SVN r12047]
2001-12-13 18:32:37 +00:00
Dave Abrahams
bc3a910ed0 initial checkin
[SVN r12040]
2001-12-13 18:17:03 +00:00
John Maddock
de946c5cab Updated tlib command so that it will link the regex lib now.
[SVN r11986]
2001-12-09 12:51:33 +00:00
Dave Abrahams
80bab64f67 More fixes for Win95. MAXLINE must be computed appropriately EVERYWHERE!
[SVN r11953]
2001-12-06 14:56:42 +00:00
John Maddock
be4bb25264 Finally fixed -tWX options (well probably!).
[SVN r11951]
2001-12-06 12:37:28 +00:00
Dave Abrahams
8f2de614d2 bug fix
[SVN r11912]
2001-12-04 18:22:56 +00:00
Dave Abrahams
a2e5254f9e Fixes for rule import handling; also extended IMPORT to allow
execution in the target module


[SVN r11911]
2001-12-04 18:22:04 +00:00
Dave Abrahams
621ea94fe1 Fixes for Win95/98 command handling, I hope.
[SVN r11910]
2001-12-04 18:19:24 +00:00
Dave Abrahams
21bc219969 Add "call" to msvc setup invocation, for Win95 which won't run batch files through CMD
[SVN r11909]
2001-12-04 18:15:51 +00:00
Dave Abrahams
160642a7ef Don't fail to build a target if its command-file can't be deleted
[SVN r11908]
2001-12-04 18:14:36 +00:00
Dave Abrahams
e1709accbe Applied patch from Thomas Witt
[SVN r11907]
2001-12-04 14:07:36 +00:00
John Maddock
3f19dfd4b6 Hopefully fixed the -WX options
[SVN r11905]
2001-12-04 12:22:53 +00:00
Dave Abrahams
21dde45bae more fixes for running tests
[SVN r11864]
2001-12-02 23:49:25 +00:00
Dave Abrahams
9f2806f64d Metrowerks needs BOOST_NO_STD_LOCALE in config to be able to compile regex
regex test Jamfile updates so that some tests will actually run
warning suppression for condition.cpp

unit-test rule now accepts input files
updated metrowerks and borland to properly set up path for running tests

----------------------------------------------------------------------
Modified Files:
	boost/config/compiler/metrowerks.hpp
	libs/python/src/gen_function.py libs/regex/test/Jamfile
 Tag: thread-initial
	libs/thread/src/condition.cpp
 No tag
	tools/build/boost-base.jam tools/build/borland-tools.jam
	tools/build/metrowerks-tools.jam
----------------------------------------------------------------------


[SVN r11853]
2001-12-02 17:43:45 +00:00
Dave Abrahams
952a4ae591 Fixed MAXLINE calculation for Win95/98 (I hope)
Added command-file capability for msvc and metrowerks static libraries
Changed MSVC-tools.jam so that it would work without the prior use of VCVARS32.BAT

----------------------------------------------------------------------
Modified Files:
	boost-base.jam metrowerks-tools.jam msvc-tools.jam
	jam_src/execnt.c jam_src/makedebugjam.bat
----------------------------------------------------------------------


[SVN r11852]
2001-12-02 15:41:39 +00:00
Dave Abrahams
e90982893c Added update for intel-linux-tools.jam
[SVN r11820]
2001-11-30 00:12:33 +00:00
Dave Abrahams
662104fce2 Initial checkin
[SVN r11819]
2001-11-29 23:48:46 +00:00
Beman Dawes
58b64351ee Reorganize links to prebuilt executables
[SVN r11800]
2001-11-29 01:29:52 +00:00
Dave Abrahams
7ee7dc74d9 ----------------------------------------------------------------------
committing in tools/build

Modified Files:
	build_system.htm
		Documented:
			local rules
			the RULENAMES rule
			the EXPORT rule
			the BACKTRACE rule
			new IMPORT semantics
			-d+12 Dependency Graph Output
			Crude Argument Binding
			Variable numbers of arguments

	jam_src/compile.c
		implemented RULENAMES, EXPORT, varargs support, new IMPORT semantics
		removed unused variables

	jam_src/make1.c
	jam_src/hdrmacro.c
		removed unused variables

	jam_src/jamgram.{c,h,y,yy}
		"module local x" does not change module local value of x
		if it is already set.

	jam_src/lists.[ch]
		added list_pop_front()

	new/assert.jam new/boost-build.jam
	new/build-system.jam new/errors.jam
	new/modules.jam new/os.path.jam
		beginnings of new build system

	test/check-arguments.jam
	test/check-jam-patches.jam
	test/echo_args.jam
		Added tests for recent core modifications; comments

Added Files:
	new/feature.jam new/property.jam
	new/readme.txt new/sequence.jam
	new/test.jam
		beginnings of new build system
----------------------------------------------------------------------


[SVN r11789]
2001-11-27 16:41:59 +00:00
Dave Abrahams
d775b6904e A change to see if I have CVS write access
[SVN r11779]
2001-11-25 03:29:33 +00:00
Dave Abrahams
5181ca8fe6 A change to see if I have CVS write access
[SVN r11778]
2001-11-25 03:28:44 +00:00
Dave Abrahams
5af58ffabc fixed a unix-only shared library dependency problem
cleaned up an NT-only warning


[SVN r11768]
2001-11-22 05:42:11 +00:00
Dave Abrahams
8e4fea799a tests for local rules and backtraces
[SVN r11761]
2001-11-21 04:48:41 +00:00
Dave Abrahams
0f1220e17e some small progress made
[SVN r11760]
2001-11-21 04:47:44 +00:00
Dave Abrahams
c0c4acd13f Backtrace
Debug file/line numbers
Local rules not implicitly imported
Craig McPheeters' dependency graph output as -d+12
Grammar cleanup
Factored parse evaluation into parse_evaluate()

 Modified Files:
 	compile.c frames.h jam.h jamgram.c jamgram.y jamgram.yy make.c
 	parse.c parse.h rules.c rules.h scan.c scan.h


[SVN r11759]
2001-11-21 04:39:53 +00:00
Dave Abrahams
8adfcfa3ac turn off incremental linking of DLLs, which was a major disaster for dependency tracking.
[SVN r11755]
2001-11-21 03:02:23 +00:00
Dave Abrahams
b7ab92463b Avoid a bug which generated a dependency loop
Improved command-file support


[SVN r11754]
2001-11-21 03:00:21 +00:00
Dave Abrahams
c543f9b1c8 A tiny fix to un-confuse my Jam-mode
[SVN r11753]
2001-11-21 02:17:02 +00:00
Dave Abrahams
d3cc059e54 Fixed YYDEBUG bug fiasco
[SVN r11751]
2001-11-20 22:36:00 +00:00
Dave Abrahams
01ad6a776c * Updated to new handle_exception() idiom for boost::python
* Made Cygwin archiving reliable, even when the user supplies a path with backslashes

----------------------------------------------------------------------

Modified Files:
	tools/build/gcc-tools.jam tools/build/new/boost-build.jam
	boost/python/detail/config.hpp libs/python/build/Jamfile
	libs/python/example/do_it_yourself_convts.cpp
	libs/python/example/dvect.cpp libs/python/example/example1.cpp
	libs/python/example/getting_started1.cpp
	libs/python/example/getting_started2.cpp
	libs/python/example/ivect.cpp libs/python/example/nested.cpp
	libs/python/example/noncopyable_export.cpp
	libs/python/example/noncopyable_import.cpp
	libs/python/example/pickle1.cpp
	libs/python/example/pickle2.cpp
	libs/python/example/pickle3.cpp
	libs/python/example/richcmp1.cpp
	libs/python/example/richcmp2.cpp
	libs/python/example/richcmp3.cpp libs/python/example/rwgk1.cpp
	libs/python/example/simple_vector.cpp
	libs/python/test/comprehensive.cpp
Added Files:
	libs/python/example/rwgk2.cpp libs/python/example/rwgk3.cpp
----------------------------------------------------------------------


[SVN r11705]
2001-11-15 05:29:22 +00:00
Dave Abrahams
39acd29ec7 initial commit
[SVN r11695]
2001-11-14 21:24:42 +00:00
Dave Abrahams
99c7ca7c0b command-file support
[SVN r11693]
2001-11-14 20:37:04 +00:00
Dave Abrahams
fe70207f6d more IMPORT tests
[SVN r11689]
2001-11-14 19:57:52 +00:00
Dave Abrahams
9014a46999 multi-level CALLER_MODULE support
[SVN r11688]
2001-11-14 19:56:50 +00:00
Dave Abrahams
697e332b29 debug runtime, command-file support
[SVN r11687]
2001-11-14 19:55:12 +00:00
Dave Abrahams
971db8d0e0 updated CALLER_MODULE docs
[SVN r11686]
2001-11-14 19:54:30 +00:00
Dave Abrahams
232867f3f3 fixed -t option support
[SVN r11685]
2001-11-14 19:53:48 +00:00
Dave Abrahams
7dc3e6b85f Fix lib dependencies
Command file support


[SVN r11684]
2001-11-14 19:52:59 +00:00
Dave Abrahams
f5580f88b4 fixed missing local variable
[SVN r11666]
2001-11-12 03:56:18 +00:00
Dave Abrahams
1299187ef2 Added missing copyrights
[SVN r11665]
2001-11-11 13:15:45 +00:00
Dave Abrahams
d058d2747a Quoted $(MSVC_TOOL_PATH) and also allowed VISUALC for compatibility with FTJam.
[SVN r11664]
2001-11-11 13:09:27 +00:00
Dave Abrahams
de72f7f465 Added copyright notices
[SVN r11663]
2001-11-11 13:07:51 +00:00
Dave Abrahams
35eeb55747 Added copyright notices
[SVN r11662]
2001-11-11 13:01:26 +00:00
Dave Abrahams
bf4f35b23c updated
[SVN r11661]
2001-11-11 11:56:55 +00:00
Dave Abrahams
8c62a056e4 Fix join-path for unix
[SVN r11659]
2001-11-11 07:08:21 +00:00
Dave Abrahams
2c010f99a5 updated lineage
[SVN r11658]
2001-11-11 05:56:42 +00:00
Dave Abrahams
aaf9d8434b Updated instructions for building/installing Jam.
[SVN r11657]
2001-11-11 05:54:47 +00:00
Dave Abrahams
03bb1e1b55 Be sure that jam doesn't look for a different Jambase due to environment variable settings.
[SVN r11656]
2001-11-11 05:36:42 +00:00
Dave Abrahams
47c679c1c9 Better help for initial toolset settings
[SVN r11655]
2001-11-11 05:06:53 +00:00
Dave Abrahams
c76927be6c Cooperate better with FTJam pleas to set INTELC
[SVN r11654]
2001-11-11 05:04:56 +00:00
Dave Abrahams
1b58070058 Restored sibling-ness of dll & import libs
[SVN r11653]
2001-11-11 04:59:55 +00:00
Dave Abrahams
7561c2e5c5 Modified Files:
index.htm - fixed reference to CVS repository
	libs/python/build/Jamfile - first stab at metrowerks Pro7 support
	status/Jamfile - added RUN_ALL_TESTS variables to force tests to run
	tools/build/boost-build.jam - fix BOOST_BUILD_INSTALLATION setting
	tools/build/metrowerks-tools.jam - command file support
	tools/build/msvc-tools.jam - permanent command file support
	tools/build/intel-win32-tools.jam - made it an extension of msvc-tools.jam
	tools/build/gcc-tools.jam  - made FINDLIBS change submitted by Toon Knapen
	tools/build/jam_src/variable.c - changed command-line/env. variable
					interpretation so that
					surrounding them with quotes causes
					no breaking at spaces.

These files were converted from tabs to spaces:

	boost/python/conversions.hpp
	boost/python/reference.hpp boost/python/detail/base_object.hpp
	boost/python/detail/functions.hpp
	boost/python/detail/wrap_python.hpp libs/python/test/comprehensive.cpp
	tools/build/boost-base.jam
	tools/build/como-tools.jam


[SVN r11652]
2001-11-10 22:16:01 +00:00
Dave Abrahams
47a2341f11 Modified Files:
jam.c strings.c strings.h

Fixed a string bug; added reinforcing tests to detect it.


[SVN r11642]
2001-11-09 14:47:12 +00:00
Dave Abrahams
e723e798fa move to trunk
[SVN r11639]
2001-11-09 13:43:27 +00:00
Vladimir Prus
266afbbc73 Build testing framework added.
[SVN r11638]
2001-11-09 09:07:53 +00:00
Dave Abrahams
a2613ba00b updated instructions
[SVN r11630]
2001-11-08 13:07:23 +00:00
Dave Abrahams
98b260ad1f Integrated Vladimir Prus' improvements
[SVN r11612]
2001-11-06 15:55:45 +00:00
Dave Abrahams
0af83d3a75 merged to main trunk
[SVN r11610]
2001-11-06 15:36:16 +00:00
Dave Abrahams
c4a71a20a6 initial checkin
[SVN r11604]
2001-11-05 21:31:53 +00:00
Beman Dawes
2e839357f9 Minor working clarifications
[SVN r11587]
2001-11-05 15:58:08 +00:00
Dave Abrahams
beaa0419cb Made find-library work under Windows
[SVN r11530]
2001-11-02 05:23:14 +00:00
Jeremy Siek
4e19792f83 changed optimization=speed to +K2
[SVN r11526]
2001-11-02 03:49:46 +00:00
Jeremy Siek
d36a38cde7 brought this closer to being "up to date" compared with the gcc tools file.
[SVN r11524]
2001-11-02 01:50:14 +00:00
Dave Abrahams
bf8dc1727d quick bugfix
[SVN r11491]
2001-10-31 19:19:33 +00:00
Dave Abrahams
fede7624ea Modified Files:
boost/python/detail:
    base_object.hpp - Changed template parameter to MixedCase
    cast.hpp -        Killed off unused downcast_traits<>
    functions.hpp -   Added commentary

  libs/python/src
    functions.cpp, types.cpp -   Added comments

  tools/build
    TODO.txt - updated
    allyourbase.jam -           fixed a nasty typo which caused all kinds of bugs
    boost-base.jam -            changes to support the use of command files
    intel-win32-tools.jam -
         A feeble attempt at allowing intel to work without prior tool setup. More work needed
    msvc-tools.jam -            A first cut at command file support

  tools/build/jam_src
    jam.h -                     Fixed MAXLINE for NT


[SVN r11489]
2001-10-31 19:14:07 +00:00
Dave Abrahams
5294d85751 TODO.txt
Added missing jobs; marked others done.
allyourbase.jam
   Fixed split and split-path for Unix
boost-base.jam
   Fixed the Run action for Windows
gcc-tools.jam intel-win32-tools.jam kcc-tools.jam metrowerks-tools.jam msvc-tools.jam
   Removed UNDEFS from link line, moved NEEDLIBS to end
unit-tests.jam
   Added tests splitpath tests for rooted Unix paths
jam_src/make1.c
   NOCARE targets with build actions now don't cause the parent to fail when they fail.
build_system.htm
   Documented NOCARE enhancements


[SVN r11463]
2001-10-29 18:23:16 +00:00
Dave Abrahams
8ddd8df5d7 ----------------------------------------------------------------------
Modified Files:
 Tag: jam_src
	jam_src/Jambase
            commented out VC libraries that caused link warnings

        jam_src/Jamfile jam_src/common.mk
            added strings.c, filesys.c
            turned off assertions with -DNDEBUG by default

	jam_src/compile.c jam_src/expand.c jam_src/expand.h
	jam_src/filemac.c jam_src/filent.c jam_src/fileos2.c
	jam_src/fileunix.c jam_src/filevms.c
            use strings instead of fixed-size buffers
            added unit tests

	jam_src/hdrmacro.c jam_src/headers.c
            save and re-use precompiled regexp

        jam_src/jam.c
            added unit tests

	jam_src/jambase.c
            rebuilt automatically
        jam_src/mkjambase.c
            remove bogus '\r' from the inside of strings
        jam_src/modules.c
	jam_src/pathmac.c jam_src/pathunix.c jam_src/pathvms.c
	jam_src/search.c jam_src/timestamp.c jam_src/variable.c
            use strings instead of fixed-size buffers
	jam_src/builds/win32-visualc.mk
            Added JAM0_ARGS for debugging
        jam_src/filesys.{c,h}
             Added .c file with factored file_build1()
Added Files:
 Tag: jam_src
	jam_src/strings.c jam_src/strings.h jam_src/filesys.c
----------------------------------------------------------------------


[SVN r11447]
2001-10-26 06:40:49 +00:00
Jens Maurer
96c3b566a7 add -pthread flags for multi-threading
[SVN r11441]
2001-10-25 20:03:28 +00:00
Dave Abrahams
9f2bf0d1ac ----------------------------------------------------------------------
Modified Files:
	allyourbase.jam build_system.htm new-split.jam
 Tag: jam_src
	jam_src/Jambase jam_src/compile.c jam_src/compile.h
	jam_src/headers.c jam_src/jam.c jam_src/jam.h
	jam_src/jambase.c jam_src/jamgram.c jam_src/jamgram.h
	jam_src/jamgram.y jam_src/jamgram.yy jam_src/jamgramtab.h
	jam_src/lists.c jam_src/lists.h jam_src/makedebugjam.bat
	jam_src/modules.c jam_src/modules.h jam_src/newstr.c
	jam_src/newstr.h jam_src/parse.c jam_src/parse.h
	jam_src/rules.c jam_src/rules.h jam_src/search.c
	jam_src/subst.c
 No tag
	test/check-jam-patches.jam
Added Files:
	boost-build.jam
----------------------------------------------------------------------

allyourbase.jam
  Fix the way new-split.jam is included, by using $(JAM_VERSION) to detect the
  presence of new language features.

build_system.htm
  Updated documentation to include core Jam extensions.

jam_src/Jambase
  Updated so that the built-in Jambase can be completely overridden based on
  JAMBASE, BOOST_ROOT, and BOOST_BUILD_PATH environment variables.

jam_src/compile.{c,h}
  Added IMPORT and CALLER_MODULE rules, header legend for profile dump. Moved
  regex_compile so it could be used by more functions.

jam_src/headers.c, jambase.c, jamgram.{c,y,yy}, search.c, subst.c
  Adjusted for the addition of FRAMEs, which was needed for CALLER_MODULE.

jam_src/jam.c
  added JAM_VERSION and started using FRAMEs.

jam_src/jam.h
  swapped the -d argument numbers that were used by profiling and parse debugging.

jam_src/lists.{c,h}
  Pulled stack frames out of LOL and put them where they belong, in the interpreter.

jam_src/modules.{c,h}
  Use strncat instead of strncpy to get predictable behavior.

jam_src/parse.{c,h}, rules.{c,h}
  Adjust for FRAMEs, and added a rulename field in the PARSE node to support
  profiling with modules.

test/check-jam-patches.jam
  Added tests for IMPORT and CALLER_MODULE


[SVN r11427]
2001-10-23 23:10:28 +00:00
Dave Abrahams
debaa0a312 Fixed bogus $(UNDEFS) in the link line
[SVN r11422]
2001-10-23 15:26:24 +00:00
Dave Abrahams
37a5b9115f Deal with the fact that the old jam can't parse the new stuff.
[SVN r11420]
2001-10-23 00:43:20 +00:00
Dave Abrahams
6073526e74 Added temporarily
[SVN r11419]
2001-10-23 00:42:48 +00:00
Dave Abrahams
2fb5f9e406 ----------------------------------------------------------------------
Modified Files:
	Jambase allyourbase.jam
 Tag: jam_src
	jam_src/Jamfile jam_src/command.c jam_src/common.mk
	jam_src/compile.c jam_src/compile.h jam_src/hash.c
	jam_src/hash.h jam_src/jambase.c jam_src/jamgram.c
	jam_src/jamgram.h jam_src/jamgram.y jam_src/jamgram.yy
	jam_src/jamgramtab.h jam_src/lists.c jam_src/lists.h
	jam_src/make1.c jam_src/makedebugjam.bat jam_src/newstr.c
	jam_src/newstr.h jam_src/parse.c jam_src/parse.h
	jam_src/rules.c jam_src/rules.h jam_src/search.c
 No tag
	test/check-arguments.jam test/check-bindrule.jam
	test/check-jam-patches.jam test/recursive.jam
	test/test_nt_line_length.jam
Added Files:
 Tag: jam_src
	jam_src/modules.c jam_src/modules.h
Removed Files:
	Jamfile
----------------------------------------------------------------------

Jambase
   Removed obsolete check-arguments rule

allyourbase.jam
   Added different split rule definition for new Jam executable when
   NEW_BOOST_JAM is set.

Jamfile
    removed (this file was flotsam)

jam_src/Jamfile
    Added module.c; allowed yyacc to run under NT

jam_src/command.c
jam_src/make1.c
    added rule body/action reference-counting

jam_src/common.mk
    Added modules.c

jam_src/compile.c
    account for rule body/action reference-counting
    added "module { ... }, module local..." support
    cleaned up code for evaluate_rule

jam_src/compile.h
jam_src/parse.{c,h}
    Added module support

jam_src/hash.{c,h}
    Added a data parameter to hashenumerate() for flexibility

jam_src/jamgram.{yy,y,c,h}
jam_src/jamgramtab.h
jam_src/lists.{c,h}
    Added module support
    refactored grammar slightly

jam_src/makedebugjam.bat
    removed bogus invocation of yyacc
    cleaned up redundant variable settings

jam_src/modules.{c,h} - added

jam_src/rules.{c,h}
    added rule body/action reference-counting
    module support
    free list for SETTINGS

jam_src/search.c
    cleaned up a confusing name

test/check-arguments.jam
    added copyright notice
    made it stand on its own

test/check-bindrule.jam
test/recursive.jam
    use new argument-list feature

test/check-jam-patches.jam
    tests for:
      new SUBST behavior,
      "for local <var> in ...",
      while loops,
      negative indices/slices
      module rules and locals

test/test_nt_line_length.jam
    commenting and cleanup


[SVN r11411]
2001-10-20 13:01:16 +00:00
Dave Abrahams
95d7a69fa9 regex, threads, and python will all build from the top level. If you build the 'test' target from the top level, it will run all regressions.
Jamfile:
  subincludes for thread, python libs, and status for regression tests

Jamrules:
  Use the new path-global rule to establish BOOST_ROOT correctly for all subprojects

libs/regex/build/Jamfile
  Take advantage of correct BOOST_ROOT setting

libs/python/build/Jamfile
  Search for python executable; don't try to build anything if it can't be found.
  don't build tests by default
  improved comments, organization, and naming.

status/Jamfile
  Fixed references to config test files
  Failed tests now leave their stdout results in <testname>.error instead of removing it
  No test targets are dependencies of 'all' anymore
  Added comments
  Reorganized

tools/build/Jambase
  Meant to check this in long ago.

tools/build/allyourbase.jam
  Fixed SHELL_EXPORT setting, added SHELL_SET
  removed 'test' from the dependencies of 'all'; tests no longer run by default.
  Fixed the direction of slashes for Windows when ALL_LOCATE_TARGET is used.
  Added path-global rule for declaring path variables which may be relative
  rule in-invocation-subdir returns true if the current subproject is the one
     from which Jam was invoked
  rule protect-subdir is now used to protect subproject variables
  rule tokens-to-simple-path converts path tokens to a simplified path.

tools/build/boost-base.jam
  Fixed bugs

tools/build/jam_src/makedebugjam.bat
  Fixed a bug which prevented a final debug build

tools/build/jam_src/search.c
  Fixed a bug of mine which caused LOCATE to be ignored (!).


[SVN r11348]
2001-10-06 18:19:15 +00:00
Dave Abrahams
c64fa867e9 All of my pending changes
[SVN r11328]
2001-10-02 12:24:53 +00:00
Dave Abrahams
80be91c26d Fixed the link setup so it actually works.
[SVN r11239]
2001-09-24 22:23:56 +00:00
Beman Dawes
bd3331db09 Minor docs additions
[SVN r11223]
2001-09-24 15:23:13 +00:00
Beman Dawes
c491d5b93e Initial commit
[SVN r11222]
2001-09-24 15:22:49 +00:00
Dave Abrahams
afd5f6d60c fixed previous mistaken change
[SVN r11112]
2001-09-13 14:10:08 +00:00
Dave Abrahams
735f773be3 fixed optimization flags to include intrinsics
[SVN r11110]
2001-09-13 13:46:01 +00:00
Dave Abrahams
eccaae63bd Made it work again
[SVN r11092]
2001-09-10 22:32:53 +00:00
Dave Abrahams
7c1e626a48 beginnings of a test framework
[SVN r11083]
2001-09-10 02:53:41 +00:00
Dave Abrahams
750aa0a55e beginnings of a test framework
[SVN r11080]
2001-09-10 02:40:57 +00:00
Beman Dawes
07738b8210 Link to ftjam site for pre-built executables
[SVN r10968]
2001-08-30 16:23:25 +00:00
Dave Abrahams
bedb3042fe added warnings, etc.
[SVN r10949]
2001-08-28 18:16:10 +00:00
Dave Abrahams
9f0155ac7b Turned off default -d LEXFLAGS variable
[SVN r10948]
2001-08-28 17:28:58 +00:00
Dave Abrahams
cb467d09ca fixed missing optimizations for release mode!
[SVN r10935]
2001-08-24 22:13:43 +00:00
Dave Abrahams
bb0610a41f initial checkin
[SVN r10934]
2001-08-24 20:56:51 +00:00
Dave Abrahams
7bcb9ad0e8 Fixed GCC_BIN_DIRECTORY so it works.
[SVN r10909]
2001-08-22 22:07:44 +00:00
Dave Abrahams
e33b44304d initial checkin
[SVN r10901]
2001-08-20 10:39:42 +00:00
Dave Abrahams
e4065a4b1b added assertion tests
[SVN r10900]
2001-08-20 10:39:19 +00:00
Dave Abrahams
af9d1a3fe0 *** empty log message ***
[SVN r10899]
2001-08-20 10:36:41 +00:00
Toon Knapen
7ac2bfec81 Added comments describing the compiler (and the platforms) at the request of Beman
[SVN r10898]
2001-08-20 10:30:22 +00:00
Beman Dawes
1c5ab1bca8 Integrate links to Boost.Build into other pages.
[SVN r10893]
2001-08-19 14:31:50 +00:00
Dave Abrahams
e876dcc143 updated for CWPro7 compatibility
Removed -msgstyle gcc for better error reporting


[SVN r10883]
2001-08-17 02:26:53 +00:00
John Maddock
d281eead22 Added support for shared libs on BeOS
[SVN r10875]
2001-08-16 11:42:13 +00:00
Dave Abrahams
a249372cf8 Intermediate step in build system rewrite
Added Files:
 	Jambase ftjam-requests.txt test/Jamfile test/jam-fail.jam
 	test/unit-tests.jam


[SVN r10874]
2001-08-16 11:17:59 +00:00
Toon Knapen
e1fa18892e Jam rules specific to the IBM/Visual Age compiler
[SVN r10851]
2001-08-13 13:15:14 +00:00
Dave Abrahams
b034308dcd Better split-path tests
[SVN r10847]
2001-08-13 02:47:45 +00:00
Dave Abrahams
ba1017c76d Separate unit tests
[SVN r10846]
2001-08-13 02:47:17 +00:00
Dave Abrahams
8360d140d5 *** empty log message ***
[SVN r10845]
2001-08-13 02:46:41 +00:00
Dave Abrahams
03381665ae Make it work on Linux, sort of
[SVN r10822]
2001-08-08 22:45:57 +00:00
Dave Abrahams
80313a83c3 Turn on all warnings always
Go from -O3 to -O4 for speed optimization


[SVN r10821]
2001-08-08 22:43:56 +00:00
Dave Abrahams
9bb542fe4e *** empty log message ***
[SVN r10810]
2001-08-07 21:23:18 +00:00
Dave Abrahams
e5aa9f703b *** empty log message ***
[SVN r10809]
2001-08-07 21:19:17 +00:00
Beman Dawes
c41d47a53b Initial commit
[SVN r10716]
2001-07-29 18:45:47 +00:00
Beman Dawes
5193f7fe90 Spelling corrections
[SVN r10715]
2001-07-29 18:44:03 +00:00
Dave Abrahams
9fa3e467ac build system update
[SVN r10695]
2001-07-23 03:34:37 +00:00
Dave Abrahams
473108f207 Added gSUPPRESS_FAKE_TARGETS check to type-DEPENDS rule
[SVN r10693]
2001-07-22 17:10:18 +00:00
Dave Abrahams
7f4f061ebd Be a little more fastidious about target variables, cleaning them up when not in use so that things don't work "by mistake".
Fixed a missing semicolon bug


[SVN r10692]
2001-07-22 17:09:32 +00:00
Dave Abrahams
9d6562e848 Increase reserved stack size.
[SVN r10691]
2001-07-22 17:07:37 +00:00
Dave Abrahams
74576c7c13 This commit was generated by cvs2svn to compensate for changes in r3058,
which included commits to RCS files with non-trunk default branches.


[SVN r10675]
2001-07-20 16:50:21 +00:00