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

175 Commits

Author SHA1 Message Date
Dave Abrahams
7d1a1a4a44 Added --abbreviate-paths feature to help with windows length limitations.
[SVN r36709]
2007-01-12 17:58:53 +00:00
Vladimir Prus
fda66ebd79 Fix grammar
[SVN r36626]
2007-01-06 19:31:52 +00:00
Vladimir Prus
9bf8906869 Improve --help output.
[SVN r36624]
2007-01-06 19:19:09 +00:00
Dave Abrahams
0e6cb164f7 handle comma-separated toolsets
[SVN r36301]
2006-12-08 14:27:09 +00:00
Vladimir Prus
42304753f1 Fix a bug that caused path.glob-tree to ignore exclude patterns except
for top-level names.


[SVN r36160]
2006-11-23 09:16:51 +00:00
Vladimir Prus
9fd7a6eba9 Make the 'glob' rule accept the patterns to exclude.
[SVN r36159]
2006-11-23 09:01:47 +00:00
Dave Abrahams
9be6a0b049 Fixed various bugs in my last checkin, and one old one in assert.jam.
[SVN r36008]
2006-11-11 22:58:18 +00:00
Rene Rivera
9ef6242538 Add/update copyrights+license (with help of a shell script).
[SVN r35851]
2006-11-05 07:13:39 +00:00
Rene Rivera
8e287a2735 Add result-equal test which passes when the expected and result have the same elements.
[SVN r35718]
2006-10-24 15:59:10 +00:00
Rene Rivera
1302f61cef Add "USERPROFILE" dir to user directories so that when the other HOME related vars don't point to the usual Windows location the user-config.jam can still be found. This fixes running from non-CMD shells, like the MinGW MSYS shell.
[SVN r35697]
2006-10-23 16:30:38 +00:00
Rene Rivera
93cd350f59 Add exclusion patterns to glob-tree to allow for exclusing things like CVS directories from scanning. This fixes the problem of invalid/unknown target for those dirs when they are hidden as they get returned as files instead of dirs by the OS. Also updated copyright and license info.
[SVN r35641]
2006-10-16 20:43:26 +00:00
Rene Rivera
d96a798e06 Support the slower order stable sequence.unique with an extra flag argument.
[SVN r35522]
2006-10-07 22:05:03 +00:00
Rene Rivera
d5dc3dd12a Minor improvement in memory and complexity of sequence length calculation.
[SVN r35233]
2006-09-20 21:39:43 +00:00
Rene Rivera
624e973954 Order of magnitude speed and memory improvement on sequence.unique.
[SVN r35190]
2006-09-19 03:53:15 +00:00
Rene Rivera
7fdd3160f9 Add glob-tree which gobs complete directory trees.
[SVN r35155]
2006-09-18 05:31:51 +00:00
Vladimir Prus
f56c300b23 Revert the path for preserving relative names of sources, since it breaks
UBLAS tests. Will reconsider later.


[SVN r34233]
2006-06-08 05:31:39 +00:00
Vladimir Prus
aafe2d6065 Try to preserve relative paths in sources.
Based on a patch from Ryan Gallagher.


[SVN r34062]
2006-05-23 14:21:58 +00:00
Rene Rivera
4befe28c11 Fix file reading on Windows.
[SVN r33748]
2006-04-19 21:10:11 +00:00
Rene Rivera
89143e9723 Fix missing online help docs, and refactor to not use header scanning to speed up the parsing of Jamfiles for docs.
[SVN r33746]
2006-04-19 20:13:54 +00:00
Vladimir Prus
70155d8def Exit if one of processed options wants to exit.
[SVN r32769]
2006-02-09 13:53:20 +00:00
Vladimir Prus
fdf2aadc2f Print the value of "project-help" variant in ./Jamfile on --help option.
[SVN r32767]
2006-02-09 13:38:13 +00:00
Rene Rivera
62f0904354 boostbook.jam; remove locals when using print.text.
print.jam; reimplement in terms of @() feature.


[SVN r31583]
2005-11-06 22:34:44 +00:00
Rene Rivera
bc3396ff68 boostbook.jam; Remove some path.make calls as they are superfluous in the path.glob case.
path.jam; Kludge path.join into working as it did before when confronted with an initial empty string on the path.


[SVN r31212]
2005-10-06 19:47:58 +00:00
Rene Rivera
eed0cf6cc3 Variety of performance improvements.
* bjam; bump to version 3.1.12
* bjam; make it possible to build in MinGW/MSYS shell
* bjam; move profile code to debug.h/c to make it available for use everywhere
* bjam; cache all filesystem query operations, Unix and Windows only, include PWD and scanning
* bjam; add memory profile info, and sprinkle throught code
* bbv2; rewrite some while() loops into for() loops to reduce time and memory
* bbv2; keep a single instance counter instead of one per type to reduce memory use
* bjam+bbv2; change NORMALIZE_PATH builtin to join path parts to reduce memory use


[SVN r31177]
2005-10-03 00:47:36 +00:00
Vladimir Prus
1fa3a7afab Enable native version of regex.transform.
[SVN r31141]
2005-09-28 14:28:46 +00:00
Vladimir Prus
73b91b8537 Use caching inside path.pwd. The PWD rule on windows calls the
short_path_to_long_path function which takes a lot of time, and clearly
current directory of bjam will never change as it's running.


[SVN r31138]
2005-09-28 11:37:17 +00:00
Vladimir Prus
d75e3021e9 Add forgotten file
[SVN r29809]
2005-06-27 12:53:32 +00:00
Vladimir Prus
f8b3ba4bf6 Fix the dynamic library path variables on OSX.
Thanks to Daniel Heck for the report.


[SVN r29650]
2005-06-17 09:06:57 +00:00
Vladimir Prus
fa7edfe511 Automatically prepend "lib" prefix to LIB targets on Unix.
[SVN r29602]
2005-06-16 07:24:16 +00:00
Dave Abrahams
12dd819611 Immunize against the case when %HOMEDRIVE% and/or %HOMEPATH% are not
even defined in the environment.


[SVN r29332]
2005-06-01 01:52:46 +00:00
Dave Abrahams
088e2a02b0 Look in the user's real home directory first on NT.
[SVN r29312]
2005-05-31 02:33:54 +00:00
Vladimir Prus
648a7b2970 Do no call sequence.unique on result of GLOB-RECURSIVELY.
That was an old hack which was only needed in one context -- when we
passed both Jamroot and jamroot as patterns, got back Jamroot and jamroot
(because windows is case-insensitive and reports that both exist), and get
confused.

Calling 'unique' does not harm in most cases, but in Boost Jamfiles we glob
for all headers, and O(n^2) algorithm used by unique considerably slows us.


[SVN r29187]
2005-05-25 13:51:33 +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
Vladimir Prus
4447529606 Fix setting of DLL search path for testing on CYGWIN.
[SVN r28509]
2005-04-28 12:05:22 +00:00
Vladimir Prus
05baf3245d Fix path.glob on cygwin.
It was completely broken with absolute windows paths because /cygdrive
is valid cygwin path, but 'cygdrive' is not shown when listing the '/'
directory.


[SVN r28508]
2005-04-28 08:04:41 +00:00
Vladimir Prus
adf2fa4533 Unbreak path.glob on Windows.
[SVN r28061]
2005-04-08 11:41:47 +00:00
Vladimir Prus
5ed8231d59 Cleanup path.glob and make it handle absolute paths without infinite looping.
[SVN r28018]
2005-04-06 15:27:41 +00:00
Vladimir Prus
97e91c8e3f Tweak computation of target names from source names.
* build/generators.jam
  (generator.generated-targets): Comment the desired semantics.

* util/utility.jam
  (basename): Take the part till the last dot, not the first.


[SVN r27374]
2005-02-14 08:25:07 +00:00
Dave Abrahams
1cc643b939 General system for get-xxxx() constants implemented
[SVN r27099]
2005-02-04 20:20:08 +00:00
Vladimir Prus
5b15a18ae3 * util/path.jam (glob): Call 'set.unique' on the result, to workaround
case-insensitivity of some platforms.


[SVN r26837]
2005-01-24 15:45:07 +00:00
Vladimir Prus
ae5634b7f3 Really fix include paths with spaces.
* util/print.jam: Do not quote the argument to the
  'echo' command on windows. It's special, and does not need quotes.
  Adding them will cause the quotes to always appear in the output,
  which would be different behaviour from Unix.

* tools/common.jam (response-file): Add quotes here.


[SVN r26836]
2005-01-24 15:16:00 +00:00
Vladimir Prus
9836220c83 Refactoring of virtual targets.
- Drop separate 'suffix' field in file targets. Store suffix as part of
  the name' field. This avoids the need to copy the suffix field and the
  name everywhere.
- Do not pass generated targets to constructor of 'action'. Instead,
  pass the acton to constructor of target.


[SVN r26778]
2005-01-21 08:42:51 +00:00
Vladimir Prus
7ece5c82b8 Use proper escaping on windows.
[SVN r26761]
2005-01-20 12:26:36 +00:00
Dave Abrahams
1095e9b580 Fix typo
[SVN r26616]
2005-01-02 00:39:24 +00:00
Dave Abrahams
e624d928bc Fix typo
[SVN r26615]
2005-01-02 00:35:36 +00:00
Vladimir Prus
29bc552733 Fix a regression in the 'glob' rule -- it is broken with the current bjam.
Handle ".." correctly.


[SVN r26595]
2004-12-28 17:54:35 +00:00
Vladimir Prus
8b1b6a2d02 Expand path.glob comments.
[SVN r26485]
2004-12-10 09:24:59 +00:00
Dave Abrahams
63adbc97f6 Factored html type out of boostbook.jam and in the process created a
modular system for registering new types.


[SVN r26484]
2004-12-10 02:39:57 +00:00
Vladimir Prus
58566b47bd * tools/common.jam (path-variable-setting-command): Allow to refer to
enviroment variables in the list of values. No it's possible to add
  an element to a variable.
* build/project.jam: Remove obsolete test.
* build/toolset.jam (find-property-subset): No longer local,
  so that test can call it.
* test/test.jam: Import 'print' and 'common'.
* util/print.jam: Comment out failing unit test.


[SVN r26413]
2004-12-03 10:46:05 +00:00
Vladimir Prus
8d9bd4d70b Allow the 'path.glob' and 'glob' Jamfile rule to accept wildcards in
directory names. For example:

  exe a : [ glob */*.cpp ] ;

now works.


[SVN r26398]
2004-12-02 09:41:31 +00:00