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

17 Commits

Author SHA1 Message Date
Vladimir Prus
d6dfb4f9db 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
262fff312e 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
Toon Knapen
f4826cf9ab port to sunpro
[SVN r19022]
2003-07-10 12:09:28 +00:00
Vladimir Prus
dc5c32f5b4 Kill some warnings.
[SVN r18930]
2003-07-03 09:55:39 +00:00
Vladimir Prus
7cc06eca49 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
8bcec068c6 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
Dave Abrahams
3c7f65f943 * 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
5ee3726c1a Add missing "static" to suppress warning with aCC
[SVN r16484]
2002-12-03 00:02:47 +00:00
Rene Rivera
9c0c05b58f Fix "illegal constant expression" error on CodeWarrior.
[SVN r15907]
2002-10-12 17:02:42 +00:00
Vladimir Prus
a89955db06 Bugfix.
[SVN r15714]
2002-10-04 15:23:46 +00:00
Vladimir Prus
1c8db11b60 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
69126c8826 Eliminated several minor leaks.
[SVN r14305]
2002-07-05 10:41:53 +00:00
Dave Abrahams
5034244b39 Merged Matt Armstrong's patches
[SVN r14053]
2002-05-28 20:35:13 +00:00
Dave Abrahams
e262b37478 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
b3b7186846 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
7983e22211 Added copyright notices
[SVN r11662]
2001-11-11 13:01:26 +00:00
Dave Abrahams
49ba2cf8dd merged to main trunk
[SVN r11610]
2001-11-06 15:36:16 +00:00