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

249 Commits

Author SHA1 Message Date
Vladimir Prus
5e191e6cc6 New builtin SORT.
[SVN r19430]
2003-08-04 09:27:47 +00:00
Vladimir Prus
07fbff6420 Move generators to new-style classes.
[SVN r19427]
2003-08-04 09:19:54 +00:00
Vladimir Prus
6070dd8fd6 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
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
Rene Rivera
4b1186fdcf 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
Rene Rivera
4071e14505 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
52e9bb8a6d fix --noassert option
[SVN r19119]
2003-07-14 21:55:47 +00:00
Dave Abrahams
11dea85da3 add --noassert option
[SVN r19114]
2003-07-14 18:53:03 +00:00
Rene Rivera
16cb4d5ef3 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
1760f25f87 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
Toon Knapen
bc6532ac28 only use C style comments since bjam is compiled with C compiler
[SVN r19049]
2003-07-11 13:19:37 +00:00
Toon Knapen
2980f74781 need prototype for init_cache
[SVN r19042]
2003-07-11 06:50:21 +00:00
Toon Knapen
a75808e99c need prototype for rexexp.h
[SVN r19041]
2003-07-11 06:49:58 +00:00
Toon Knapen
fe6829b911 need to cast return value from realloc to final type on sunpro
[SVN r19040]
2003-07-11 06:49:32 +00:00
Toon Knapen
6d619e1772 dereferencing env.var. just need leading dollar sign
[SVN r19039]
2003-07-11 06:48:52 +00:00
Toon Knapen
31664c7b50 removed own (incorrect) signature of regex_compile, including compile.h now for the signature
[SVN r19038]
2003-07-11 06:30:40 +00:00
Toon Knapen
6964177c48 also changed module to module_t in typedef
[SVN r19033]
2003-07-10 16:02:51 +00:00
Toon Knapen
f4826cf9ab port to sunpro
[SVN r19022]
2003-07-10 12:09:28 +00:00
Toon Knapen
6877925a9c added include of unistd.h for sunpro
[SVN r19020]
2003-07-10 11:00:51 +00:00
Toon Knapen
3f6b5baef6 added include unistd.h and wait.h for sunpro
[SVN r19019]
2003-07-10 10:59:26 +00:00
Toon Knapen
ee95830514 module type has become module_t
[SVN r19018]
2003-07-10 10:58:40 +00:00
Toon Knapen
b53a7a6905 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
59b7556296 added include of lists.h
[SVN r19016]
2003-07-10 10:54:45 +00:00
Toon Knapen
bde9ca4145 added prototype of backtrace (sunpro can't handle missing prototypes)
[SVN r19015]
2003-07-10 10:54:10 +00:00
Toon Knapen
63e5c44780 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
Vladimir Prus
9154b67026 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
Rene Rivera
90a641cf1d Added detection of SunPro compiler.
[SVN r18968]
2003-07-07 18:28:05 +00:00
Vladimir Prus
efa955eb10 Bugfix: don't assign the same number to two different flags.
[SVN r18961]
2003-07-07 15:02:36 +00:00
Vladimir Prus
06a42c2e47 Fix use of uninitialized memory.
[SVN r18954]
2003-07-07 07:37:34 +00:00
Rene Rivera
277126bf61 Fix minor typos after testing on Linux.
[SVN r18943]
2003-07-05 16:13:19 +00:00
Rene Rivera
8f0c4d8f9b 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
278c662f23 Fix segfault, caused by premature deletion of some data. Positively,
valgrind rocks!


[SVN r18931]
2003-07-03 09:57:51 +00:00
Vladimir Prus
dc5c32f5b4 Kill some warnings.
[SVN r18930]
2003-07-03 09:55:39 +00:00
Vladimir Prus
1dd6cf6703 Fix compilation errors on borland.
[SVN r18906]
2003-07-01 14:00:04 +00:00
Vladimir Prus
0cd8d6599d 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
a38232390f Bump Jam version to 3.1.6.
[SVN r18897]
2003-07-01 05:14:46 +00:00
Vladimir Prus
3ea74bbb4f Handle include dependencies between generated sources correctly.
[SVN r18889]
2003-06-30 14:24:20 +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
Vladimir Prus
bbdfabee4a Kill MinGW warning.
[SVN r18831]
2003-06-18 05:54:21 +00:00
Rene Rivera
8a7dcb64ba 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
Vladimir Prus
5a124394dd Fix debian package build.
[SVN r18492]
2003-05-22 08:41:18 +00:00
Vladimir Prus
5df16b625e 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
Dave Abrahams
69e27f57bf * 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
e44382cb5b 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
Dave Abrahams
3c60743371 Improved comment for Volodya
[SVN r18415]
2003-05-15 23:15:41 +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
deb8e8562a 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
0667999e30 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