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

370 Commits

Author SHA1 Message Date
Vladimir Prus
35c8e67749 Robustify the var_defined function -- don't crash if variable value is a
single quote.

Patch from Lewis Hyatt.


[SVN r31119]
2005-09-26 05:26:14 +00:00
Vladimir Prus
a95a91eb87 Make W32_GETREG work on cygwin.
Patch from Alexey Pakhunov.


[SVN r31079]
2005-09-22 14:52:05 +00:00
Douglas Gregor
6287adc232 Merged from 1.33.0 release
[SVN r30540]
2005-08-12 13:02:37 +00:00
Vladimir Prus
650f2a657c Fix off-by-one error in builtin_shell. The result contained one random
character at the end.


[SVN r30452]
2005-08-04 06:38:41 +00:00
Rene Rivera
8f432a1d9c Remove non-platform sources from bootstrap build.
[SVN r30361]
2005-08-01 14:14:43 +00:00
Rene Rivera
3d6effd607 Don't compile extra non-platform files during bootstrap.
[SVN r30358]
2005-08-01 13:39:46 +00:00
Vladimir Prus
a02448da4a Include <unistd.h> to get definition of _exit.
Patch from Craig Rodrigues.


[SVN r30308]
2005-07-29 09:30:12 +00:00
Vladimir Prus
5b78d3d117 Remove mention of "jam.exe", that's no longer is built.
Patch from Craig Rodrigues.


[SVN r30214]
2005-07-22 12:42:20 +00:00
Rene Rivera
473777ae70 Fix uninitialized in/out param for getting the registry value. Thanks to Alexey Pakhunov for the patch.
[SVN r30142]
2005-07-17 16:09:33 +00:00
Vladimir Prus
e3265fe6db Docs for the SHELL builtin.
Patch from Craig Rodrigues.


[SVN r30066]
2005-07-14 08:59:24 +00:00
Rene Rivera
328a8bba20 Add SHELL, execute command an capture output, builtin. Original work from Craig Rodrigues, implemented slightly modified.
[SVN r30027]
2005-07-13 04:26:01 +00:00
Markus Schöpflin
eb2c12a430 Added define for unix, which is defined on Tru64 4.0F but not on Tru64 5.1.
[SVN r29926]
2005-07-07 09:27:19 +00:00
Markus Schöpflin
f1a9faf2a7 Removed quotes around the command to run in echo_run(), because this was causing
the build to fail in the second stage on Tru64 4.0F. It seems like bjam tried to
build the target " " or something like that.


[SVN r29925]
2005-07-07 09:23:34 +00:00
Markus Schöpflin
a57c6910ab Fixed 'command -v' usage and added test for OSF1.
[SVN r29924]
2005-07-07 08:36:39 +00:00
Rene Rivera
25b48d95e0 Handle the case when 'command' doesn't support the -v option.
[SVN r29756]
2005-06-23 18:02:55 +00:00
Rene Rivera
ea46f36d69 Replace "whence" with "command" as that is more widely available.
[SVN r29733]
2005-06-22 13:59:39 +00:00
Rene Rivera
934212a32e Fix so that compiling with CW/metrowerks works again.
[SVN r29688]
2005-06-19 19:39:53 +00:00
Vladimir Prus
03dc36c02e Kill the "using independent target" warning.
It never helped to catch a real problem, but consistently annoys users.


[SVN r29612]
2005-06-16 10:19:09 +00:00
Vladimir Prus
81d11bddd4 Do not hardcode binary name for output, use argv[0].
Patch from Craig Rodrigues.


[SVN r29445]
2005-06-06 12:16:26 +00:00
Vladimir Prus
98d0cf2b28 Don't produce incomprehensible message with --debug-configuration when
boost-build.jam could not be loaded.


[SVN r29440]
2005-06-06 07:51:18 +00:00
Vladimir Prus
73e3efa2d8 rules.c (bindrule): When rule is not found, enter into the specified module,
not the global one.


[SVN r29439]
2005-06-06 06:29:52 +00:00
Vladimir Prus
39ca9ea59b When manipulating BOOST_BUILD_PATH, update the value in the .ENVRION module.
Otherwise, the added path elements won't be seen when loading user-config.jam
and site-config.jam and we'll get error when those files are present only
in V2 directories.


[SVN r29360]
2005-06-02 06:22:06 +00:00
Dave Abrahams
4d9c1ec841 const-correctness for strings.[ch]
Removed flotsam from modules.h

Bind all environment variables, without any preprocessing for quotes,
spaces, or path separators, into the .ENVIRON module.


[SVN r29277]
2005-05-30 03:42:38 +00:00
Rene Rivera
251f3b62a0 Fix use of C++ declaration semantics/syntax, in C file. Well Aleksey fixed it already.. So just cleanup the indentation, etc.
[SVN r29257]
2005-05-28 16:02:54 +00:00
Aleksey Gurtovoy
e0dea56553 move definition to the top of the block to make code ANSI C compliant
[SVN r29256]
2005-05-28 15:56:31 +00:00
Dave Abrahams
54e1155fa1 Workaround for vc6 preprocessor bug.
[SVN r29252]
2005-05-27 18:32:23 +00:00
Dave Abrahams
a9c901d25d Finally, a real fix for the spawn problem, I hope.
[SVN r29250]
2005-05-27 17:06:30 +00:00
Rene Rivera
30692a4049 Fix building of bjam itself after floating options change. Needed to make sure that we eat up the multi arg options if they exist.
[SVN r29239]
2005-05-27 03:48:04 +00:00
Dave Abrahams
0b205d30d3 Eliminate undefined behavior and fix a spelling error.
[SVN r29238]
2005-05-27 03:18:08 +00:00
Rene Rivera
a9e2ffa6a1 Remove restriction that option arguments need to be before target arguments. Options can now be intermixed with targets.
[SVN r29232]
2005-05-26 17:20:32 +00:00
Vladimir Prus
4e9af774ce Revamp path.glob.
The problem with the previous implementation is that it would iterate
over all elements in a dir even if 'pattern' had no metacharacters. First,
that was slow -- if you handed

  /cygdrive/w/My Documents/boost/test/a.cpp

to it, it would crawl all the way to the top, listing each directory and
checking each file. Second, it would fail, because Cygwin is broken and
does not show 'cygdrive' is the list of directory elements of '/'.

Now we check if a pattern has metacharacters, and if not, just do
a simple 'timestamp' call.

The new glob is implemented as new 'GLOB-RECURSIVELY' builtin. I've decided
to use builtin since otherwise, we'd need 'does this name exist' builtin,
and if we need new builtin, why don't implement all globbing in core.


[SVN r29163]
2005-05-24 07:57:56 +00:00
Rene Rivera
f6815f3145 Patch from snaury@narod.ru to fix "a bug in file filent.c' in function file_archscan', which causes long .o files in archives invisible to jam, and thus jam always recompiles such .o files, when using, for instance, mingw".
[SVN r28703]
2005-05-06 23:46:50 +00:00
Rene Rivera
eefe778ebc * Increase version, long overdue.
* Build bjam only by default, instead of all the other misc binaries.
* Implement disabling of splitting of imported variables. Not enable yet.
* Fix 7zip archiver search to work with newest 7z version.


[SVN r28541]
2005-04-30 06:28:38 +00:00
Pedro Ferreira
bbb4a0449f Updated inadvertently.
[SVN r27567]
2005-03-07 20:27:00 +00:00
Pedro Ferreira
ac8323f2b6 Changed generators so that they now receive only an id of a rule, not the rule itself.
Added basic support for darwin.


[SVN r27566]
2005-03-07 20:22:39 +00:00
Vladimir Prus
17fbf80396 Initial Python integration support. Disabled by default, find and
change the setting of HAVE_PYTHON in build.jam to enable it.


[SVN r27559]
2005-03-05 07:59:14 +00:00
Rene Rivera
8e50f69670 _S_IFREG is not a standard stat() flag. The standard flag is "S_IFREG". This fixes compilation on CW8, probably others.
[SVN r27368]
2005-02-14 04:02:52 +00:00
Dave Abrahams
72a5e80e64 jam_src/
builtins.{c,h}
        Support for the REBUILDS rule
        remove unused variable

    rules.h
    make.c
        Support for the REBUILDS rule

    make1.c
        Support for the REBUILDS rule

        Support for recording timing information

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

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

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

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


[SVN r27334]
2005-02-12 02:30:18 +00:00
Rene Rivera
0663b6f0b6 build.bat - Change --incremental to --update.
build.sh - implement --update option.


[SVN r26591]
2004-12-28 06:09:25 +00:00
Rene Rivera
345bcc3348 Add --incremental option to skip bootstrap and clean if not needed.
[SVN r26588]
2004-12-27 22:33:07 +00:00
Rene Rivera
109366398f Bootstrap to a single directory instead of a per toolset directory. This helps in automated rebuilding per Dave A. suggestion.
[SVN r26587]
2004-12-27 20:54:13 +00:00
Rene Rivera
17889c132c Catch file open errors when creating batch command files. Thanks to Reece Dunn for catching the errors.
[SVN r26586]
2004-12-27 20:29:25 +00:00
Vladimir Prus
fb4d8c2e35 Fix compilation error on some msvc versions.
[SVN r26580]
2004-12-23 11:50:43 +00:00
Vladimir Prus
1f63c530e6 New builtin CHECK_IF_FILE, which check is a path refers to a regular file,
or something else.


[SVN r26572]
2004-12-22 07:33:12 +00:00
Vladimir Prus
2698cc5abb New builtins USER_MODULE and NEAREST_USER_LOCATION. V2 changes and
explanations are coming later.


[SVN r26466]
2004-12-07 10:21:25 +00:00
Rene Rivera
fcebc8300b Part 1 and 2 of http://article.gmane.org/gmane.comp.lib.boost.build/6997 - Add ability to mark targets as rquired to be files (ISFILE).
[SVN r26234]
2004-11-18 19:38:16 +00:00
Vladimir Prus
5969534549 Revert part of the previous commit. This caused problems in case of:
l = foo//bar ;
  ECHO $(l:G=) ;

bjam would replace double slash with single slash.

Thanks to Jurgen Hunold for the bug report.


[SVN r25928]
2004-10-29 09:25:33 +00:00
Vladimir Prus
04e3e65901 Bugfix: on windows, when building a path from root = "h:\" and base
"user-config.jam", the result was "h:\\user-config.jam", which was not
found.

* jam_src/pathunix.c (path_build): Check if root ends with slash before
  adding yet another one. Simply similiar check for directory element.

Thanks to Jurgen Hunold for the bug report.


[SVN r25909]
2004-10-28 08:47:15 +00:00
John Maddock
a89259ec36 Added original jam copyrights.
[SVN r25888]
2004-10-27 11:45:36 +00:00
Rene Rivera
3425be7fe8 Apply patches from Patrick Mauritz, with some changes, to account for DragonFly, a FreeBSD variant.
[SVN r25782]
2004-10-19 15:12:59 +00:00