Commit Graph

50050 Commits

Author SHA1 Message Date
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
Peter Dimov
08818cf323 Fixed bool conversions for Sun 5.3
[SVN r18419]
2003-05-16 12:11:17 +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
7a380bea10 Suggested typo-revealing patch from Giovanni Bajo <giovannibajo-at-libero.it>
[SVN r18414]
2003-05-15 23:08:21 +00:00
Daniel Frey
99b9c6e072 Added bool_testable by Sam Partington
[SVN r18413]
2003-05-15 22:40:33 +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
Guillaume Melquiond
e0412ca232 Replace ICL by ICC for the detection of std:: C namespace; and hope for a better solution to be found
[SVN r18398]
2003-05-14 21:26:43 +00:00
John Maddock
5c9eccab0a Corrected Intel version check
[SVN r18397]
2003-05-14 10:42:20 +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
593318ac51 Bugfix from Alexey Nikitin.
* boost/graph/adjacency_list.hpp
  Register multisetS as container selector.


[SVN r18394]
2003-05-14 09:51:20 +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
John Maddock
b9dbcf758a Fixes for Intel C++ 7 on Linux
[SVN r18388]
2003-05-13 11:56:18 +00:00
Vladimir Prus
81f0f3fd7a Undo woraround that is no longer necessary.
[SVN r18387]
2003-05-13 08:25:52 +00:00
Jaakko Järvi
f0379d6db4 fixed a typo
[SVN r18386]
2003-05-12 14:51:42 +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
Guillaume Melquiond
0993dd8808 Corrected faulty conditional logic
[SVN r18384]
2003-05-11 22:23:30 +00:00
Beman Dawes
3985310d3b Add last_write_time function
[SVN r18383]
2003-05-11 13:56:56 +00:00
Aleksey Gurtovoy
6a251ad509 modify type_wrapper for the sake of GCC
[SVN r18382]
2003-05-11 10:48:26 +00:00
Guillaume Melquiond
94a1a78f2f Add (maybe) support for intel compiler on windows
[SVN r18381]
2003-05-11 07:37:58 +00:00
Guillaume Melquiond
9982bf4719 Correct (maybe) a failure with cw compiler
[SVN r18380]
2003-05-11 07:25:04 +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
John Maddock
3436a01256 Enabled BOOST_HAS_PARTIAL_STD_ALLOCATOR for vc7
[SVN r18376]
2003-05-10 11:35:40 +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
Dave Abrahams
ca59d2414f Used inheritance for syntax-friendly use in conditionals.
[SVN r18374]
2003-05-08 22:22:39 +00:00