2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-01 08:22:15 +00:00
Files
build/test
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
..
2004-12-29 11:47:59 +00:00
2004-08-20 11:10:24 +00:00
2004-08-20 11:10:24 +00:00
2004-08-20 11:10:24 +00:00
2001-10-02 12:24:53 +00:00
2004-08-20 11:10:24 +00:00
BSL
2004-08-26 11:19:23 +00:00
2004-08-20 11:10:24 +00:00
2003-12-03 07:56:28 +00:00
2003-12-03 07:56:28 +00:00
2001-10-02 12:24:53 +00:00
2004-12-29 11:47:59 +00:00
2003-10-28 07:46:40 +00:00
2002-03-27 22:23:30 +00:00
2001-10-02 12:24:53 +00:00
2003-11-04 13:07:39 +00:00
2003-12-03 07:56:28 +00:00
2003-10-28 07:46:40 +00:00
2003-08-04 08:45:41 +00:00
2003-12-03 07:56:28 +00:00
2003-05-15 22:27:47 +00:00
2003-12-03 07:56:28 +00:00
2003-10-28 07:46:40 +00:00
2003-10-28 07:46:40 +00:00
2003-12-26 23:26:49 +00:00
2004-12-06 13:59:51 +00:00
2004-06-24 07:26:29 +00:00
2001-09-10 02:53:41 +00:00
2004-10-13 08:03:59 +00:00
2005-04-21 10:44:42 +00:00
2003-08-05 06:10:58 +00:00
2003-07-21 08:30:20 +00:00
2001-09-10 02:40:57 +00:00
2001-09-10 02:53:41 +00:00
2004-10-13 10:46:53 +00:00
2002-10-07 13:08:04 +00:00
2004-02-20 08:51:33 +00:00
2004-11-19 09:51:54 +00:00
2003-03-12 14:08:57 +00:00
2005-02-12 02:30:18 +00:00
2005-02-12 20:24:07 +00:00
2003-02-25 14:37:10 +00:00
2005-03-10 09:51:34 +00:00
2005-05-24 07:57:56 +00:00
2004-12-06 13:59:51 +00:00
2003-05-07 16:08:04 +00:00
2003-03-05 14:51:05 +00:00
2002-04-12 07:26:10 +00:00
2003-02-25 14:37:10 +00:00
2005-02-12 02:30:18 +00:00
2003-12-10 07:55:01 +00:00

Comprehensive tests for Boost.Build v2; requires Python. To test, execute:

    python test_all.py