Philipp Brüschweiler
1d552fdc9b
io.files.info.unix.linux: sometimes /etc/mtab isn't properly formatted (found on arch linux)
2010-08-01 14:00:03 +02:00
Slava Pestov
096b758ea0
io.files.unix: fix tests for recent calendar.unix vocab changes
2010-07-21 00:23:35 -04:00
Slava Pestov
cf6b910c9f
alien.data: remove second quotation parameter from with-out-parameters, now all values are copied properly and calling 'clone' on structs in this quotation is not necessary
2010-07-16 17:32:05 -04:00
Doug Coleman
b8ac578051
Add a combinator to make a unique directory, set that to the current and temp directories, and then delete the directory when done. Useful when working with apps that need to write intermediate files to the current directory
2010-06-13 19:34:17 -05:00
Slava Pestov
f04ae609c8
Fixes for out parameter changes
2010-05-23 03:27:40 -05:00
Slava Pestov
5d9993d46f
Updating code to use with-out-parameters
2010-05-23 03:07:47 -04:00
Doug Coleman
636f2ed2e5
Use flags{ instead of flags all over the place
2010-04-01 14:44:03 -05:00
Doug Coleman
d17ac3c283
Add utiltity words for io.files.unique
2010-03-31 15:09:51 -05:00
Slava Pestov
cca5dd082d
io.files.unix: fix load errors arising from byte-length being moved
2010-02-24 21:20:21 +13: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
Slava Pestov
0d0220a165
io.files.info: load io.files.info.unix if we're on Unix. Fixes long-standing no-method error on file-info
2010-02-15 17:15:26 +13: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
baf6682fa3
fix using
2010-01-22 12:59:27 -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
Doug Coleman
a99dc48ccb
Fix iota bug in io.files.info.windows
2010-01-15 21:17:47 -06:00
Doug Coleman
7521807b55
random is generic now -- iota random -> random
2010-01-14 12:48:57 -06:00
Slava Pestov
880fb747fc
Removing integers-as-sequences
2010-01-15 07:15:33 +13:00
Doug Coleman
b9b03524f1
add utility words for changing file permissions
2009-12-06 17:53:35 -06:00
Slava Pestov
08b6ebc7fa
Factor source files should not be executable
2009-11-21 17:50:43 -06:00
Slava Pestov
36639c7efd
Various Windows load fixes
2009-11-21 17:24:37 -06:00
Slava Pestov
2ad5796b6a
Update a few places that used string C type names to use words; fixes some deploy tests
2009-11-20 03:21:48 -06:00
Joe Groff
bd36fbb886
typo in io.files.info.windows
2009-11-07 22:23:39 -06:00
Joe Groff
25d384abe4
remove non-primitive-related uses of tuck from basis
2009-11-05 17:03:24 -06:00
Doug Coleman
9ff38fb56c
(normalize-path) -> absolute-path, canonicalize-path -> resolve-symlinks
2009-10-28 17:25:50 -05:00
Doug Coleman
7541e570de
fix using
2009-10-16 19:56:48 -05:00
Doug Coleman
55ff7dc943
fix using for io.pathnames changes
2009-10-16 05:48:51 -05:00
Doug Coleman
c5e9f652a3
add a move-file-unique word to move a file into a directory without name clashes
2009-10-15 15:29:24 -05:00
Keith Lazuka
8f79ea91ba
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04:00
Joe Groff
4a1422e7fe
move some allocation words that don't really have much to do with c types out of alien.c-types into a new alien.data vocab
2009-09-17 22:36:05 -05:00
Doug Coleman
fc4157a86e
fix bootstrap on openbsd
2009-09-13 00:21:57 -05:00
Doug Coleman
3d02802521
list file-systems with statfs instead of statvfs on openbsd
2009-09-12 21:05:26 -05:00
Slava Pestov
d4d354570a
Fix the build
2009-09-10 00:47:01 -05:00
Slava Pestov
527db8995a
Specialized array overhaul
...
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Doug Coleman
b7afe8689e
make something private
2009-09-08 17:10:19 -05:00
Doug Coleman
2ad9e50892
use raw pathnames for file-systems word
2009-09-08 17:05:05 -05:00
Slava Pestov
430f4a83f9
specialized-arrays.direct is no more; instead, every specialized-array.<foo> vocabulary has a <direct-T-array> constructor
2009-09-04 22:01:55 -05:00
Doug Coleman
379b56bd9c
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-01 18:16:31 -05:00
Doug Coleman
297cb5ef57
openbsd defined a struct with freebsd in the name. oops.....
2009-09-01 14:18:29 -05:00
erg
a8dcede569
fix file-systems on the bsds
2009-09-01 13:16:37 -05:00
Joe Groff
5e6787f7bd
fix newly introduced references to c-type-array
2009-08-31 12:49:09 -05:00
Joe Groff
51aff57337
Merge branch 'master' of git://factorcode.org/git/factor into struct-updates
2009-08-31 12:35:47 -05:00
Doug Coleman
7bc0d45add
fix using
2009-08-31 12:20:56 -05:00
Joe Groff
37e5711b59
Merge branch 'master' of git://factorcode.org/git/factor into struct-updates
2009-08-31 12:01:23 -05:00
Joe Groff
9d42347e8e
Merge branch 'master' of git://factorcode.org/git/factor into struct-updates
2009-08-31 12:01:04 -05:00
Doug Coleman
7b440e163d
typo
2009-08-31 12:00:39 -05:00
Doug Coleman
d84d6b5921
try to fix file-systems on a few platforms
2009-08-31 11:49:29 -05:00
Doug Coleman
efde19d940
fix netbsd file-systems
2009-08-31 11:38:21 -05:00
Doug Coleman
f4afb44e53
fix file-systems on freebsd
2009-08-31 11:35:52 -05:00
Joe Groff
82e3ec2fe8
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/environment/winnt/winnt.factor
basis/io/files/windows/nt/nt.factor
basis/windows/shell32/shell32.factor
2009-08-31 10:35:58 -05:00