Commit Graph

321 Commits (6be25de125e5fe8d116c209b21c73a07b69ce5cf)

Author SHA1 Message Date
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 7155447aed stack-checker: add inputs and outputs words, since 'infer (in>>|out>>) length' was coming up a lot 2010-01-15 08:04:14 +13:00
Slava Pestov df4fb4a3ee Removing integers-as-sequences 2010-01-15 07:15:33 +13:00
Slava Pestov ffd7de02d6 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
Doug Coleman adcb0df0c4 fix stack effects for nanosseconds, update io backends for nanos 2009-11-19 04:51:47 -06:00
Doug Coleman 0af1b3a7d9 add librt for monotonic timers, new timespec>nanoseconds word 2009-11-15 00:46:12 -06:00
Doug Coleman 9085f30b18 move iokit typedefs to unix.types.macosx 2009-11-15 00:47:52 -06:00
Joe Groff 61d579360d remove non-primitive-related uses of tuck from basis 2009-11-05 17:03:24 -06:00
Joe Groff 935c0797c3 update existing code for [let change 2009-10-27 22:05:37 -05:00
Doug Coleman 1ca81c3130 fix typo in unix.statfs.freebsd 2009-10-04 15:31:19 -05:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Doug Coleman 0e97398da8 fix openbsd bootstrap 2009-09-30 21:07:57 -05:00
Slava Pestov 0b0a2c5ce4 unix.statvfs.netbsd: update for C type parser change 2009-09-28 19:38:00 -05:00
Slava Pestov 4abfe06b51 Fixing various test failures caused by C type parser change, and clarify C type docs some more 2009-09-28 08:48:39 -05:00
Slava Pestov efe8f3c74c unix.linux: fix load errors from c-type changes 2009-09-28 04:26:05 -05:00
Slava Pestov 253db8fee0 unix.statvfs.netbsd: load fix 2009-09-27 22:56:45 -05:00
Joe Groff d4bfa0a581 fill in missing USING:s in unix.linux and unix.bsd.* 2009-09-27 23:08:16 -05:00
Joe Groff 866b62755e replace all TYPEDEF: void* XXX* with C-TYPE: XXX 2009-09-27 22:21:24 -05:00
Joe Groff 543ca72632 fix linux bootstrap 2009-09-27 22:16:07 -05:00
Joe Groff 24de21eac8 take a shot at making other platform vocabs c-type-string-free 2009-09-27 19:25:34 -05:00
Joe Groff 5054c954be add USING:s and rearrange definitions so macosx can compile without parsing c-type strings 2009-09-26 23:14:57 -05:00
Slava Pestov a8b851bb35 unix.statfs.freebsd: add alien.c-types to using to future-proof 2009-09-25 16:06:55 -05:00
Joe Groff 91902825ac update structs in unix.utmpx 2009-09-18 18:30:48 -05:00
Joe Groff 076ab42dc3 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
Slava Pestov 7f2e2b1777 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 eb558fcc9c remove deprecated inotify-event struct 2009-09-08 14:15:25 -05:00
Doug Coleman 475530ef3d update network structs. NO WHAMMY, NO WHAMMY, NO WHAMMY...STOP!!! 2009-09-03 16:57:36 -05:00
Slava Pestov 2037667473 io.backend.unix.multiplexers.epoll: update for STRUCT: 2009-09-01 14:46:08 -05:00
Doug Coleman 45629c63b3 update users/groups for new structs 2009-08-30 23:07:46 -05:00
Doug Coleman 14973eacb5 update dirent for structs 2009-08-30 22:11:42 -05:00
Doug Coleman 867d87998c fix typo in stat struct 2009-08-30 20:46:49 -05:00
Doug Coleman 05cc8babb6 update kqueue for structs 2009-08-30 20:26:25 -05:00
Doug Coleman 6867f2a806 fix stat struct on freebsd 2009-08-30 20:25:57 -05:00
Doug Coleman 8be06f0e5e typo in stat 2009-08-30 19:05:49 -05:00
Doug Coleman be9035753a fit typo 2009-08-30 10:02:32 -05:00
Doug Coleman 783eb0bb53 change all stat, statfs, statvfs and calendar structs 2009-08-30 04:06:41 -05:00
Doug Coleman 3f3d57032b Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Slava Pestov dd2bbc51b3 unix.types: define <time_t> alias; use it in calendar.unix to avoid clobbering data 2009-07-22 21:12:04 -05:00
Slava Pestov 2dd1e54ac2 unix.stat.netbsd: fix code duplication with unix.statvfs.netbsd 2009-05-16 16:28:24 -05:00
Slava Pestov a0eb60906d Fix even more usings 2009-05-16 10:45:17 -05:00
Slava Pestov fb6df472a2 Cleaning up USING: lists for new strict semantics 2009-05-14 16:54:16 -05:00
Slava Pestov c026702390 fix stat on 64bit linux 2009-05-12 18:04:22 -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 2d0925d995 add make-hard-link to io.files.links 2009-04-28 22:51:35 -05:00
Slava Pestov 05f3f9dcb9 Fixing unit tests for stack effect inference changes 2009-04-20 21:15:19 -05:00
Slava Pestov 2e158b2e08 Fix compile error on FreeBSD 2009-03-08 01:13:53 -06:00
Slava Pestov cd53c2bd37 produce and produce-as: don't need third quotation either 2009-02-28 15:31:34 -06:00
Doug Coleman 990513db60 use CONSTANT: in basis 2009-02-22 19:13:08 -06:00
Doug Coleman 8b0b5878d2 at* -> ?at in a couple places 2009-02-22 17:52:59 -06:00
Slava Pestov 6b25e99470 Add summary for heaps more vocabs 2009-02-16 21:05:13 -06:00
Doug Coleman 5f39a714be add some constants to unix 2009-02-07 00:59:50 -06:00
Doug Coleman 43a91efde9 rename err_no to errno, clear_err_no to clear-errno, move them to libc, update usages 2009-02-06 18:22:28 -06:00
Slava Pestov d6aa376ed0 Removing now-redundant underlying>> calls 2009-02-06 04:37:28 -06:00
Doug Coleman c9f0dc072a Merge branch 'master' of git://factorcode.org/git/factor 2009-01-30 18:36:29 -06:00
Doug Coleman 3c408342ef renaming: contain? -> any?, deep-contains? -> deep-any?, pad-left -> pad-head, pad-right -> pad-tail, trim-left -> trim-head, trim-right -> trim-tail 2009-01-29 22:19:07 -06:00
Slava Pestov 298fdecf32 Fixing eval unit test, and help lint failures from stricter help lint 2009-01-27 15:38:01 -06:00
Slava Pestov e32d11a4d0 Smart quotes 2009-01-26 23:22:50 -06:00
Slava Pestov 7851aac222 Replace some usages of prepose with fry 2009-01-25 23:04:35 -06:00
Slava Pestov f34c14a0f5 Remove some usages of tuck 2009-01-23 18:20:47 -06:00
Slava Pestov df7ad34db2 Credit where credit is due 2009-01-18 17:28:36 -06:00
Doug Coleman b08e1a0205 remove debug line 2009-01-09 17:44:21 -06:00
Doug Coleman 56808874f1 fix group-name on netbsd 2009-01-09 15:28:10 -06:00
Doug Coleman 7b36938e8c use unix.stat to fix bootstrap 2009-01-09 16:07:16 -06:00
Doug Coleman fe2a43b481 fix bootstrap 2009-01-09 14:41:00 -06:00
Doug Coleman 5135a2499a username -> user-name 2009-01-08 17:07:33 -06:00
Doug Coleman 3026f1c8e3 add another test for group-name 2009-01-07 16:05:48 -06:00
Doug Coleman d3220a607f add unit test for group-name 2009-01-07 16:04:42 -06:00
Doug Coleman 638f1f4ceb fix group-name word, rename username -> user-name because of symmetry with group-name, use cleave>array in a couple places to eliminate counting items in an array manually 2009-01-07 14:53:43 -06:00
Doug Coleman ffe0aac310 Fix a couple bugs in unix.users and add unit tests 2009-01-04 11:44:49 -06:00
Slava Pestov 49eeef4c35 Move unused unix.linux vocabs to unmaintained, some of them don't even load anymore 2008-12-17 19:25:01 -06:00
Slava Pestov c5160d76e9 Merge qualified, alias, symbols, constants into core 2008-12-17 18:10:01 -06:00
Doug Coleman 564a84b4e1 add using for linux inotify 2008-12-16 02:55:01 -06:00
Slava Pestov 4dcef7e94f Yet more unix fixes 2008-12-16 02:32:57 -06:00
Slava Pestov de75909550 More unix updates 2008-12-16 02:28:05 -06:00
Slava Pestov c03a12a885 Add alias to USING: 2008-12-16 02:11:52 -06:00
Slava Pestov 7926cab415 Fix Linux load error 2008-12-16 02:03:04 -06:00
Slava Pestov 63fda570bf Fixing assorted compile errors and help lint warnings 2008-12-16 01:12:36 -06:00
Slava Pestov 0021cde743 Fix more compile errors 2008-12-15 22:21:56 -06:00
Slava Pestov daf2857d7b define-inline now takes an effect parameter
C: now sets the stack effect of the new word to slot names
add new basis/constants vocab; CONSTANT: foo bar is equivalent to : foo bar ; inline
(going to fold CONSTANT:, ALIAS: and qualified into core soon perhaps)
tighten the screws: inline words now need a stack declaration too
update some usages of inline words
2008-12-15 19:44:56 -06:00
Slava Pestov 50e214c152 io.files split up and general refactoring work in progress 2008-12-14 20:03:00 -06:00
Doug Coleman e7979a1ac5 Merge branch 'master' of git://factorcode.org/git/factor 2008-12-12 13:49:59 -06:00
Slava Pestov e57b28b6e1 Check for signal exit status 2008-12-10 17:30:07 -06:00
Slava Pestov a4fc4046a0 Updating epoll code 2008-12-09 20:01:23 -06:00
Slava Pestov c2504f207d Use kqueue on Mac OS X instead of select 2008-12-09 17:49:03 -06:00
Slava Pestov 43fe6c56a2 Windows fixes 2008-12-09 06:02:39 -06:00
Slava Pestov 403ae9db9e Fix load error in unix.debugger 2008-12-08 18:48:35 -06:00
Slava Pestov 7940020491 Untangling more dependencies 2008-12-08 16:02:31 -06:00
Slava Pestov 13ed2476cd Fix bogus dependency 2008-12-03 03:44:15 -06:00
Slava Pestov 4eacebe3a3 Merge branch 'specialized-arrays' 2008-12-03 00:08:38 -06:00
Doug Coleman 8edcf841f1 back to using getmntinfo64 instead of getfsstat64 on mac 2008-12-02 23:10:27 -06:00
Doug Coleman 201c02414a file-systems works on netbsd now 2008-12-02 21:32:00 -06:00
Doug Coleman 89a0286c3b fix file-systems on freebsd 2008-12-02 20:16:53 -06:00
Slava Pestov 350e697615 Merge branch 'master' into specialized-arrays 2008-12-02 20:07:14 -06:00
Doug Coleman 9e3bc2b1a0 use getfsstat instead of getmntinfo on macosx 2008-12-02 19:18:48 -06:00
Doug Coleman 3183c65940 fix bootstrap error 2008-12-02 19:08:22 -06:00
Slava Pestov 1ac4b92051 Merge branch 'master' into specialized-arrays 2008-12-02 16:20:32 -06:00
sheeple f887d71965 file-systems on openbsd 2008-12-02 15:59:01 -06:00
Doug Coleman 9ac3f13b2a Call statfs on OpenBSD. Clean up unused code 2008-12-02 17:43:07 -06:00
Doug Coleman 5c446e3460 fix bootstrap on netbsd 2008-12-02 14:44:00 -06:00
Slava Pestov e559a101e8 Merge branch 'master' into specialized-arrays 2008-12-02 02:46:26 -06:00
Slava Pestov 402da00390 Fixing bootstrap with specialized arrays 2008-12-02 02:44:19 -06:00
Doug Coleman 3a8f784baa add a tags file 2008-12-02 00:53:30 -06:00
Doug Coleman 53d44bb78c remove unused vocab 2008-12-02 00:52:48 -06:00
Slava Pestov 722989d895 Merge branch 'master' of git://factorcode.org/git/factor into specialized-arrays 2008-12-01 21:55:32 -06:00
Slava Pestov f51708386d Fix conflicts 2008-12-01 20:39:43 -06:00
Doug Coleman da3936a162 fix netbsd file-system-info 2008-11-30 17:32:55 -06:00
erg dfde2dfef3 fix file-system-info on linux 2008-12-01 16:28:22 -06:00
Doug Coleman 72db24ad65 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/unix/statfs/netbsd/netbsd.factor
2008-12-01 14:07:56 -06:00
Doug Coleman 1f7b5ef6d0 redo most of statfs and statvfs 2008-12-01 14:04:31 -06:00
Doug Coleman 3f2907663f fix lame bug in netbsd statvfs code 2008-11-30 14:20:28 -06:00
Doug Coleman bc14b8c7c8 fix a netbsd struct definition and some >r r> usage 2008-11-29 20:19:40 -06:00
Slava Pestov e8a69a3aea Fix conflict 2008-11-29 05:14:49 -06:00
Slava Pestov 7788b3e0db Merge branch 'master' into microseconds 2008-11-23 03:06:32 -06:00
Doug Coleman f5b19f8c31 add the characters for ls -F to io.files.listing 2008-11-19 21:15:27 -06:00
Doug Coleman 25d9fd68fc translate directory-type flags to our factor symbols 2008-11-19 16:22:42 -06:00
Slava Pestov 8819f23312 Replace millis primitive with micros primitive
Add millis as a library word
sleep now takes either a duration or a microsecond count; code using durations doens't need to be updated, code using millisecond counts updated to use durations for the most part
2008-11-19 01:50:05 -06:00
Slava Pestov 281657dd82 Fix conflict 2008-11-18 22:18:14 -06:00
Slava Pestov f44d8f4cf5 Fix combinators so that directory. can infer on Unix 2008-11-18 11:45:55 -06:00
Slava Pestov 2fe364a7bb Specialized arrays work in progress 2008-11-14 20:18:16 -06:00
Doug Coleman fa282c5053 remove duplicate using 2008-11-11 15:37:32 -06:00
Doug Coleman 6ced106bee Merge branch 'master' of git://factorcode.org/git/factor 2008-11-11 15:37:30 -06:00
Doug Coleman 17916ed7f2 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-11 14:04:25 -06:00
Doug Coleman 78ab09d8bb move file-systems word to core 2008-11-11 14:04:05 -06:00
Doug Coleman c860ab78b6 removed duplicate file-system-info definition. oops 2008-11-11 13:41:34 -06:00
Doug Coleman bbaa8b95bd mounted -> file-systems 2008-11-11 13:30:12 -06:00
Doug Coleman 4d8b31f0d7 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-11 13:20:50 -06:00
Doug Coleman 482933f4d3 remove duplicated slot from linux statfs 2008-11-11 13:19:53 -06:00
Doug Coleman f6c0c43dd4 fix user-cache and add tests for this 2008-11-11 13:05:04 -06:00
Doug Coleman 5dc875e724 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-08 18:39:08 -06:00
Slava Pestov affb48a067 Fix docs 2008-11-05 04:27:12 -06:00
Doug Coleman 2937f71702 more usings 2008-10-23 13:38:26 -05:00
Doug Coleman a42c8d4ab7 fix using 2008-10-23 13:37:14 -05:00
Doug Coleman 03d96cc1bd rename name to mount-point 2008-10-23 13:18:00 -05:00
Doug Coleman b85b0f6820 fix typo 2008-10-22 21:43:19 -05:00
Doug Coleman c9167e2ab2 better file-system-info on mac 2008-10-22 20:32:39 -05:00
erg bccf9d9698 add device-name and type to file-system-info 2008-10-22 20:28:30 -05:00
Doug Coleman 4ddfc83423 id_t type 2008-10-22 20:22:35 -05:00
Doug Coleman 46fbd8c520 mounton -> name 2008-10-22 20:18:58 -05:00
erg 278b55ee57 include mount point in file-system-info 2008-10-22 20:04:10 -05:00
Doug Coleman 89e9fa8b6b mounted* -> mounted 2008-10-22 19:56:46 -05:00
erg b4b02d29fa fix mounted on linux 2008-10-22 19:54:22 -05:00
Doug Coleman f9b90d035b implement mounted on linux 2008-10-22 19:01:45 -05:00
Doug Coleman 371b1f8f20 fix mounted on macosx 2008-10-22 18:46:24 -05:00
Doug Coleman b9e043effe move >file-system-info 2008-10-21 23:43:36 -05:00
Doug Coleman 1423577d89 typo 2008-10-21 03:21:17 -05:00
Doug Coleman 33948aa024 linux32 and linx64 filesystem info objects instead of only one type 2008-10-21 03:16:48 -05:00
Doug Coleman 09c1f8cc01 split up linux statfs 2008-10-21 03:11:26 -05:00
Doug Coleman 69aad251c1 use common statfs fields on linux for now 2008-10-21 02:53:34 -05:00
Doug Coleman 3a910b5acc Merge branch 'master' of git://factorcode.org/git/factor 2008-10-20 04:16:28 -05:00