John Benediktsson
368e1c8e47
io.directories.search: simplify interface.
...
Now we use a ``traversal-method`` variable that controls whether
we do a depth-first or breadth-first search rather than a stack
argument or a fixed default specified in each word.
This also fixes an issue where breadth-first traversal would
iterate across children in reverse order, now it does the normal
ordering which is typically alphabetical.
2017-03-05 09:16:00 -08:00
John Benediktsson
2628dbc5c9
io.directories.search.windows: merging with io.standard-paths.windows.
2016-10-06 14:57:40 -07:00
Björn Lindqvist
ba4bb45d4d
io.directories.*: move of the qualified directory listing words to io.directories
2016-07-30 19:03:22 +02:00
John Benediktsson
498285d7dd
unicode: make this the API for all unicode things.
2016-03-30 23:29:48 -07:00
John Benediktsson
ceb75057da
change ERROR: words from throw-foo back to foo.
2015-08-13 16:13:05 -07:00
Doug Coleman
b6be8685c3
basis: ERROR: changes.
2015-08-13 03:20:39 -07:00
John Benediktsson
5eec781b40
use ``if*`` instead of ``dup [ ] [ drop ] if``.
2015-07-20 22:24:30 -07:00
Doug Coleman
cf3ccd0abe
io.directories.search: Add some more combinators for finding files.
2015-05-21 22:35:24 -07:00
Doug Coleman
2aa6ce7e8c
io.directories.search: fix inline recursive combinator compilation. fix
...
reversed logic for containing-directory
2015-05-07 16:49:32 -07:00
Doug Coleman
510f605df9
io.directories.search: Add find-up-to-root combinator and helper words.
...
Example: "c:\\factor64\\.git\\objects" [ ".txt" tail? ] find-up-to-root .
"c:\\factor64\\.git"
2015-05-05 23:26:52 -07:00
John Benediktsson
ab969b072c
io.directories.search: some cleanup.
2014-05-20 14:46:01 -07:00
John Benediktsson
3fb1532bd6
io.directories.search: add quot stack effects, simplify find-all-files.
2014-05-20 12:29:02 -07:00
John Benediktsson
7e4f2ec618
io.directories.search: faster directory traversal.
2014-05-20 12:06:11 -07:00
Doug Coleman
7a35d85f30
io.directories.search: Show directory entries instead of throwing them away.
2013-04-13 16:18:54 -07:00
John Benediktsson
b519b52fa3
io.directories: cleanup and some performance improvements with move/copy.
2012-07-16 22:03:49 -07:00
Doug Coleman
94db86a6db
Make "foo.private" require load foo instead.
...
Move require from vocabs.loader to vocabs. Update everything.
Fixes #201 .
2011-11-02 11:50:03 -07:00
Joe Groff
e7968ceffc
mop up compiler errors from macosx load-all
2010-03-09 00:56:07 -08:00
Doug Coleman
8c1d202b4c
Rename accumulator to collector, pusher to selector
2010-01-22 15:00:53 -06:00
Slava Pestov
0612bc6177
Factor source files should not be executable
2009-11-21 17:50:43 -06:00
Doug Coleman
e376a0ece2
(normalize-path) -> absolute-path, canonicalize-path -> resolve-symlinks
2009-10-28 17:25:50 -05:00
Doug Coleman
42751cb148
fix io.directories.search on windows
2009-10-15 22:00:46 -05:00
Doug Coleman
0dc734195c
fix enumerating fully qualified paths by calling normalize-path first
2009-10-15 00:12:11 -05:00
U-C4\Administrator
ba1795c854
add a find-by-extensions word
2009-05-10 19:20:04 -05:00
Doug Coleman
5e5042fe5f
fix help-lint, compilation issue in io.directories.search
2009-04-24 19:01:26 -05:00
Doug Coleman
0220609928
handle errors when traversing directories
2009-04-24 16:24:31 -05:00
Doug Coleman
c3c51e2c60
more tests for io.directories.search, fix docs, refactoring
2009-04-24 15:22:12 -05:00
Doug Coleman
33743c1a3d
refactor io.directories.search
2009-04-24 14:49:31 -05:00
Doug Coleman
0759ddcfca
fix io.directories.search -- doens't call link-info twice on every file now
2009-04-24 01:18:29 -05:00
Doug Coleman
e8d695e314
refactoring directory searching
2009-04-20 19:01:33 -05:00
Doug Coleman
bf0b1e63c8
use link-info instead of file-info
2009-04-20 17:50:26 -05:00
Doug Coleman
5c236d6585
add a size-on-disk slot to file-info, the each-file combinator now works better, add a path>sizes word
2009-04-20 16:52:18 -05:00
Doug Coleman
d3bd574820
inline a couple of combinators to fix compile warnings
2009-03-28 16:34:52 -05:00
Doug Coleman
7bbcb569d4
fix find-in-directories and add unit tests
2009-03-12 17:01:44 -05:00
Doug Coleman
de9154fc5e
make find-all-files and find-in-program-files not take the traversal method
2009-02-26 21:50:01 -06:00
Doug Coleman
19acf89d82
fix find-in-program-files
2009-02-20 12:12:00 -06:00
Doug Coleman
4e7298cfa4
fix finding files
2009-01-16 12:34:59 -06:00
Doug Coleman
3db9705a99
making directory listing tool configurable, use bi in io.directories.search
2009-01-13 15:48:59 -06:00
Doug Coleman
e83713d557
Fix typo in each-file stack effect, document io.directories.search
2009-01-07 11:20:05 -06:00
Doug Coleman
bc4b8c8dee
fix using and in, rename windows -> windows-directory in shell32
2008-12-15 21:45:36 -06:00
Slava Pestov
e0f86889c7
Fixing load-everything for io.files split
2008-12-15 01:13:35 -06:00
Slava Pestov
dccbb84629
Updating unit tests for I/O re-organization
2008-12-14 21:21:44 -06:00
Slava Pestov
50e214c152
io.files split up and general refactoring work in progress
2008-12-14 20:03:00 -06:00