Commit Graph

78 Commits (c57c26b3be74bac3676c23c86d2da58186559db4)

Author SHA1 Message Date
Slava Pestov a8633d28c7 unix.*, io.directories.unix: remove unnecessary dependency on io.backend.unix 2011-09-01 22:31:45 -07:00
Erik Charlebois 662bc3b07b Fix bugs in unix ffi usage 2011-05-23 23:36:14 -04:00
Slava Pestov 75560699ea Move <ref>, deref and little-endian? from alien.c-types to alien.data, remove <c-object> 2010-12-25 16:55:36 -08:00
Keita Haga 7a9591674c io.directories.search: fix a couple of examples 2010-12-23 05:15:20 +09:00
Keita Haga ae7b44e5eb io.directories: fix typo in example 2010-11-14 17:18:56 +09:00
Doug Coleman 4ca9bd0bba Remove usages of <void*> and *void* 2010-10-25 13:22:50 -05:00
Slava Pestov 3bd23f2414 io.directories.hierarchy: add some tests 2010-09-20 21:36:22 -07:00
Slava Pestov f3b264522c io.directories: move directory-tree-files words to io.directories.hierarchy, where all the other *-tree stuff is 2010-09-11 18:43:47 -07:00
Doug Coleman 026499e64f Use flags{ instead of flags all over the place 2010-04-01 14:44:03 -05:00
Joe Groff e7968ceffc mop up compiler errors from macosx load-all 2010-03-09 00:56:07 -08:00
Slava Pestov 95bfc8a240 vocabs.metadata: replace unportable tag with a platforms.txt file for more fine-grained control. Rename unportable tag to untested for remaining cases 2010-02-20 13:30:49 +13:00
Joe Groff f06e278e17 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/tools/deploy/shaker/shaker.factor
2010-02-15 11:50:43 -08:00
Slava Pestov 4893ebf183 Small cleanups 2010-02-16 04:04:09 +13:00
Joe Groff 1632fa6448 io.directories: directory-tree-files should include the directories too, not just their contents 2010-02-13 13:57:58 -08:00
Joe Groff 2b05f90c7b io.directories: add "directory-tree-files" and "with-directory-tree-files" words 2010-02-13 12:52:32 -08:00
Slava Pestov 080609c281 Minor doc fixes 2010-02-03 22:56:32 +13:00
Brad Christensen 7381d47103 More documentation cleanup. 2010-02-03 00:05:04 -07:00
Doug Coleman 7c40fc1a36 unix-system-call io-error -> unix-system-call drop
make unix.ffi, unix.ffi.linux unportable
fix spacing in io.cpp before refactoring
2010-01-23 09:07:35 -06:00
Doug Coleman 8c1d202b4c Rename accumulator to collector, pusher to selector 2010-01-22 15:00:53 -06:00
Doug Coleman 3c09c7052c Fix using 2010-01-22 12:59:33 -06:00
Doug Coleman 8d952277a2 Handle EINTR in a lot of cases where it wasn't handled before. Split off unix into unix.ffi and unix. 2010-01-22 12:59:24 -06:00
Doug Coleman 07fcb43a06 Make unix-system-call retry the call immediately upon hitting EINTR. Use unix-system-call wherever EAGAIN or EINPROGRESS are not handled. Handle EINTR if connect returns it. 2010-01-22 12:59:17 -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
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Doug Coleman d88cdffa47 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-29 23:39:20 -05:00
Doug Coleman d8be0561fb make a struct for dirents on linux, not a <c-object> 2009-08-30 22:49:35 -05:00
Doug Coleman 14973eacb5 update dirent for structs 2009-08-30 22:11:42 -05:00
Doug Coleman dedc1eb0cb more WIN32_FIND_DATA structs 2009-08-29 19:43:56 -05:00
Doug Coleman b8164120f5 oops, forgot to update a struct 2009-08-29 14:37:09 -05:00
Joe Groff a6c8e91f88 fix directory-entries so we can bootstrap again 2009-08-25 23:50:27 -05:00
Slava Pestov 1214e22839 copy-tree now preserves file permissions on Unix 2009-05-14 17:36:07 -05:00
Doug Coleman 0ef5826b86 remove the rest of the unportable fields from dirent for now 2009-05-11 22:03:07 -05:00
Doug Coleman e3a3aea5de d_off is missing on macosx, remove for now 2009-05-11 21:56:09 -05:00
erg 9aaa04acea Merge branch 'master' of git://factorcode.org/git/factor 2009-05-09 10:21:38 -05:00
U-C4\Administrator ba1795c854 add a find-by-extensions word 2009-05-10 19:20:04 -05:00
erg 3bf8e41eef fix bootstrap errors, add missing files 2009-05-07 16:53:32 -05:00
erg 8c19ab04c9 use open64 instead of open on linux. use stat64 instead of stat on
linux. add word to report if a file is sparse
2009-05-07 16:41:37 -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