Commit Graph

94 Commits (079bcaa570a51c55ece8e09bf533f95d33288fbe)

Author SHA1 Message Date
John Benediktsson e654e4afd9 Using "same?" in more places. 2012-07-21 10:22:44 -07:00
John Benediktsson ece5dc0ba9 io.directories: fix mistaken refactor. 2012-07-17 08:39:31 -07:00
John Benediktsson f25481b191 io.directories.hierarchy: faster directory-tree-files. 2012-07-17 08:25:53 -07:00
John Benediktsson 4123085a7d io.directories: cleanup and some performance improvements with move/copy. 2012-07-16 22:03:49 -07:00
John Benediktsson bdc5faad93 using if-zero in even more places. 2012-07-16 19:38:49 -07:00
Doug Coleman bbf5cfbc4d io.files.info.windows: Fix file-systems word in two ways. First, don't
allocate 32k on the local alloc stack (which causes a 'double fault.')
Second, if the volume doesnt look up to a real path, don't make a dummy
object for that. volume
Use alien>native-string and native-string>alien wherever possible instead of
utf16n for Windows.
2012-06-21 08:32:53 -07:00
Joe Groff ac86f90c02 io.directories.unix: remove redundant using 2011-11-28 20:36:46 -08:00
Joe Groff 98861a7c81 io.files.info: fix circularity
Remove the undocumented and redundant "copy-file-and-info" word, since "copy-file" does the same thing, and the circular dependency on "io.directories" was causing some deploys to fail
2011-11-28 19:37:01 -08:00
Joe Groff d7c34b6160 io.directories.unix: make copy-file copy perms
Like the docs claim it does
2011-11-27 12:37:54 -08:00
Joe Groff eee483654a use radix literals 2011-11-23 19:03:40 -08:00
Doug Coleman 6214c833fb io.directories: fix delete-file on windows, add unit test 2011-11-12 18:28:07 -08:00
Doug Coleman be12f2b27d 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
Doug Coleman 8136829135 Add throw-win32-error, use it in (delete-file) 2011-10-19 02:51:36 -07:00
Doug Coleman b0b023dfbd When deleting a file, if it fails with "Access is denied" then set the file
attributes to normal and try again. Some files in the .git directory are set
to read-only, preventing the build machines from deleting old builds.
2011-10-19 02:28:45 -07:00
Doug Coleman a1b5e2a5b1 Report which file doesn't get deleted on Windows. 2011-10-18 00:59:57 -07:00
Doug Coleman 17e0fbe501 Remove Windows CE from core/ basis/ and build-support/
Rename the winnt singleton to windows in core/ basis/ extra/
Rename boot images winnt -> windows
Fixes #84.
2011-09-18 23:19:06 -05:00
Slava Pestov 2d03de1f34 unix.*, io.directories.unix: remove unnecessary dependency on io.backend.unix 2011-09-01 22:31:45 -07:00
Erik Charlebois 0fc0edeb35 Fix bugs in unix ffi usage 2011-05-23 23:36:14 -04:00
Slava Pestov 55fd15c45a 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 245289dbd3 io.directories.search: fix a couple of examples 2010-12-23 05:15:20 +09:00
Keita Haga adbb8ef6c6 io.directories: fix typo in example 2010-11-14 17:18:56 +09:00
Doug Coleman 6510bdb1eb Remove usages of <void*> and *void* 2010-10-25 13:22:50 -05:00
Slava Pestov 49ce01e9f0 io.directories.hierarchy: add some tests 2010-09-20 21:36:22 -07:00
Slava Pestov 3132c92124 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 636f2ed2e5 Use flags{ instead of flags all over the place 2010-04-01 14:44:03 -05:00
Joe Groff 906a86ae2d mop up compiler errors from macosx load-all 2010-03-09 00:56:07 -08:00
Slava Pestov 0aad3e6e12 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 73b8249cf3 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 4154742755 Small cleanups 2010-02-16 04:04:09 +13:00
Joe Groff ac71127cf2 io.directories: directory-tree-files should include the directories too, not just their contents 2010-02-13 13:57:58 -08:00
Joe Groff 1ded034286 io.directories: add "directory-tree-files" and "with-directory-tree-files" words 2010-02-13 12:52:32 -08:00
Slava Pestov edd9de217e Minor doc fixes 2010-02-03 22:56:32 +13:00
Brad Christensen 64c22d69ad More documentation cleanup. 2010-02-03 00:05:04 -07:00
Doug Coleman 6bc071bfc1 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 8ae200d419 Rename accumulator to collector, pusher to selector 2010-01-22 15:00:53 -06:00
Doug Coleman 4fe466bcbd Fix using 2010-01-22 12:59:33 -06:00
Doug Coleman cc7615248d 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 7bbe8d97c8 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 08b6ebc7fa Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Doug Coleman 9ff38fb56c (normalize-path) -> absolute-path, canonicalize-path -> resolve-symlinks 2009-10-28 17:25:50 -05:00
Doug Coleman 0cc3a2c0ff fix io.directories.search on windows 2009-10-15 22:00:46 -05:00
Doug Coleman 82e9defef8 fix enumerating fully qualified paths by calling normalize-path first 2009-10-15 00:12:11 -05:00
Keith Lazuka 8f79ea91ba docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Doug Coleman 5fd8f1f762 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-29 23:39:20 -05:00
Doug Coleman cb338a57cf make a struct for dirents on linux, not a <c-object> 2009-08-30 22:49:35 -05:00
Doug Coleman c86b52bf0c update dirent for structs 2009-08-30 22:11:42 -05:00
Doug Coleman f421152c00 more WIN32_FIND_DATA structs 2009-08-29 19:43:56 -05:00
Doug Coleman be82de6cfd oops, forgot to update a struct 2009-08-29 14:37:09 -05:00
Joe Groff 5d574995e1 fix directory-entries so we can bootstrap again 2009-08-25 23:50:27 -05:00
Slava Pestov 01801c39c8 copy-tree now preserves file permissions on Unix 2009-05-14 17:36:07 -05:00