John Benediktsson
d5b27e107f
io.files.info.unix.linux: fix more M: stack effects.
2011-10-13 17:55:30 -07:00
John Benediktsson
1ea0532ab7
io.files.info.unix.linux: fix M: stack effect.
2011-10-13 17:38:30 -07:00
John Benediktsson
463c7292d1
Fix M: stack effects.
2011-10-13 16:41:17 -07:00
John Benediktsson
0e3d598e69
specialized-arrays: performed some cleanup.
...
Specifically,
• Created >c-array to be replacement for >T-array.
• Created cast-array to be generic replacement for all T-array-cast words.
• Created c-array@ to be generic replacement for T-array@ words.
• Replaced usages of <T-array> with T <c-array>
• Replaced usages of <direct-T-array> with T <c-direct-array>
• Replaced usages of >T-array with T >c-array
• Replaced usages of T-array-cast with T cast-array
• Replaced usages of malloc-T-array with T malloc-array.
• Removed malloc-T-array.
• Removed T-array-cast.
• Removed T-array@.
• Removed >T-array.
I also added (but didn't change any code to use):
• T c-array-type, returns T-array
• T c-array?, returns T-array?
• c-array{ T ... }, returns T-array{ ... }
Bootstraps just find on Mac OS X. Also `load-all test-all` works for me.
2011-09-26 11:37:51 -07: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
ff5e74ebcf
io.files.info.unix, sequences: few $examples and $unchecked-examples turn into $codes
2010-12-23 04:05:06 +09:00
Keita Haga
88254386a6
io.files.info.unix: fix IN: in docs
2010-11-18 04:29:36 +09:00
Keita Haga
b368656753
io.files.info.unix: fix a couple of set-file-permissions examples
2010-11-18 03:46:02 +09:00
Doug Coleman
6510bdb1eb
Remove usages of <void*> and *void*
2010-10-25 13:22:50 -05:00
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
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
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
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
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
Doug Coleman
9ff38fb56c
(normalize-path) -> absolute-path, canonicalize-path -> resolve-symlinks
2009-10-28 17:25:50 -05:00
Keith Lazuka
8f79ea91ba
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04: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
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
Doug Coleman
48e9f3655f
escape the class name in io.files.info
2009-08-30 20:10:41 -05:00
Doug Coleman
21791cb97a
remove direct uint arrays in file info
2009-08-30 11:58:30 -05:00
Doug Coleman
7cc67ebbd0
change all stat, statfs, statvfs and calendar structs
2009-08-30 04:06:41 -05:00
Slava Pestov
4121dbe932
Fix usings on X11
2009-05-16 11:50:16 -04:00
Slava Pestov
01801c39c8
copy-tree now preserves file permissions on Unix
2009-05-14 17:36:07 -05:00
Doug Coleman
bd6eb42d0f
fix size-on-disk for unix
2009-04-20 17:44:12 -05:00
Doug Coleman
12a89f1550
fix size-on-disk for unix
2009-04-20 17:25:18 -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
990513db60
use CONSTANT: in basis
2009-02-22 19:13:08 -06:00
Doug Coleman
6324fb6c13
add unix canonicalize-path
2009-02-18 13:34:45 -06:00
Slava Pestov
f34c14a0f5
Remove some usages of tuck
2009-01-23 18:20:47 -06:00
Doug Coleman
4a01649d15
add with-directory-entries and file-type>trailing
2009-01-13 00:05:19 -06:00
Doug Coleman
69e4fe1f76
fix bootstrap on a couple platforms
2009-01-09 14:31:02 -06:00