Commit Graph

307 Commits (d35a89b4bda9d944204d9fbca469cd022cf17137)

Author SHA1 Message Date
Slava Pestov de18fb0789 Fix unix.time to actually load 2010-06-22 15:13:07 -04:00
Doug Coleman 207fa5de49 Better docs for users/groups 2010-06-21 12:10:45 -05:00
Doug Coleman b4274253d5 Fix a bug when calling all-groups twice. Add some users/groups utility words, unit tests, and docs. 2010-06-21 12:07:56 -05:00
Doug Coleman 5c9a3f5a0c Allow with-*-group/user to be a no-op if first parameter is f 2010-06-17 13:20:51 -05:00
Doug Coleman 2ec125c6d3 Throw an error on certain combinators if a user/group does not exist 2010-06-17 12:59:19 -05:00
Doug Coleman e31ffa013e Add more time bindings 2010-06-13 19:34:18 -05:00
Slava Pestov b5fb679943 Move system word from unix.ffi to libc since its not Unix-specific 2010-06-02 02:59:56 -04:00
Slava Pestov 5d9993d46f Updating code to use with-out-parameters 2010-05-23 03:07:47 -04:00
Slava Pestov c0f39aa99d Move remaining sequence operations from generalizations to sequences.generalizations where they belong 2010-05-18 18:36:47 -04:00
Daniel Ehrenberg d9878f81d7 Changing require-when usages to the new syntax for require-when 2010-04-18 14:29:24 -05:00
Slava Pestov 3466b75f94 unix.process: use if-zero instead of re-inventing it 2010-04-14 22:45:30 -07:00
Joe Groff 234fb5838f unix: don't hack _exit to have a terminating effect; just use FUNCTION: 2010-04-14 22:04:04 -07:00
Slava Pestov 3b92172115 Replace 'untested' tag with 'not loaded' and 'not tested' tags 2010-04-13 18:43:01 -07:00
Joe Groff ca9614e746 Merge branch 'master' into abi-symbols 2010-04-01 15:28:36 -07:00
Doug Coleman 636f2ed2e5 Use flags{ instead of flags all over the place 2010-04-01 14:44:03 -05:00
Joe Groff d951be1832 "cdecl" -> cdecl 2010-03-31 19:20:35 -07:00
Daniel Ehrenberg f2f80dadc7 Updating code to use require-when rather than vocab [ require ] when 2010-03-18 01:13:37 -04:00
Slava Pestov 2fa2c87aa1 unix.types.freebsd: fix time_t typedef 2010-03-17 17:39:43 +13:00
Joe Groff 96ab4492d2 rename current string-mangling "char*" to "c-string". char* is now just a boring old pointer to char 2010-02-23 11:42:02 -08:00
Joe Groff b24eabb7d8 _DARWIN_MAXNAMELEN+1 should actually be _DARWIN_MAXNAMELEN + 1 2010-02-22 23:55:52 -08:00
Joe Groff 47b4b10d03 scrub memory>struct calls made redundant 2010-02-22 12:22:29 -08:00
Doug Coleman 03059ec9ff Check if we're using ttys before starting curses, since initscr exits on error for some dumb reason 2010-02-21 23:38:18 -06:00
Slava Pestov 20ba956d5e unix.utmpx: fix load errors 2010-02-21 20:19:11 +13:00
Slava Pestov 98727eab46 unix.utilities: remove platforms.txt since its portable 2010-02-21 17:48:04 +13:00
Slava Pestov 3944277d04 Fix load errors exposed by platforms.txt change 2010-02-20 13:31:09 +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 ed3ce45f03 Fix help lint for user-id 2010-02-05 01:20:40 -06:00
Doug Coleman 7bf0e42615 Fix user-name in unix.users, add unit test 2010-02-04 22:14:53 -06:00
Doug Coleman 44f951a7a4 make unix.utilities unportable 2010-01-23 10:12:25 -06:00
Doug Coleman 5fddbe9111 Make unix.debugger unportable 2010-01-23 10:03:02 -06: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 f32b824d8a Fix netbsd load error 2010-01-22 17:10:32 -06:00
Doug Coleman cd961b712b Fix getgrent call in unix.groups 2010-01-22 16:55:05 -06:00
Doug Coleman 847f88e9e8 Move netbsd.structs into netbsd 2010-01-22 14:49:32 -06:00
Doug Coleman 08e722e7dc Fix load error 2010-01-22 14:45:15 -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 ce05955693 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 880fb747fc Removing integers-as-sequences 2010-01-15 07:15:33 +13: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
Doug Coleman ee7f0ac5e4 fix stack effects for nanosseconds, update io backends for nanos 2009-11-19 04:51:47 -06:00
Doug Coleman 8db173e9de add librt for monotonic timers, new timespec>nanoseconds word 2009-11-15 00:46:12 -06:00
Doug Coleman 43f03c6e61 move iokit typedefs to unix.types.macosx 2009-11-15 00:47:52 -06:00
Joe Groff 25d384abe4 remove non-primitive-related uses of tuck from basis 2009-11-05 17:03:24 -06:00
Joe Groff 8b6665c57e update existing code for [let change 2009-10-27 22:05:37 -05:00
Doug Coleman 8be2f764a3 fix typo in unix.statfs.freebsd 2009-10-04 15:31:19 -05:00
Keith Lazuka 8f79ea91ba docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Doug Coleman 3d2c739369 fix openbsd bootstrap 2009-09-30 21:07:57 -05:00
Slava Pestov 44602d005f unix.statvfs.netbsd: update for C type parser change 2009-09-28 19:38:00 -05:00
Slava Pestov f08521bf83 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 2695007c8b unix.linux: fix load errors from c-type changes 2009-09-28 04:26:05 -05:00
Slava Pestov 1e4c6f0b03 unix.statvfs.netbsd: load fix 2009-09-27 22:56:45 -05:00
Joe Groff 0a8d4db825 fill in missing USING:s in unix.linux and unix.bsd.* 2009-09-27 23:08:16 -05:00
Joe Groff dd67afe581 replace all TYPEDEF: void* XXX* with C-TYPE: XXX 2009-09-27 22:21:24 -05:00
Joe Groff 3a053383e6 fix linux bootstrap 2009-09-27 22:16:07 -05:00
Joe Groff e8cefe07b3 take a shot at making other platform vocabs c-type-string-free 2009-09-27 19:25:34 -05:00
Joe Groff e5d406693e 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 7226e18df9 unix.statfs.freebsd: add alien.c-types to using to future-proof 2009-09-25 16:06:55 -05:00
Joe Groff 316aecd1dd update structs in unix.utmpx 2009-09-18 18:30:48 -05: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
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 f64ebbfc86 remove deprecated inotify-event struct 2009-09-08 14:15:25 -05:00
Doug Coleman 62261f18fe update network structs. NO WHAMMY, NO WHAMMY, NO WHAMMY...STOP!!! 2009-09-03 16:57:36 -05:00
Slava Pestov 99608764d8 io.backend.unix.multiplexers.epoll: update for STRUCT: 2009-09-01 14:46:08 -05:00
Doug Coleman 88d6826213 update users/groups for new structs 2009-08-30 23:07:46 -05:00
Doug Coleman c86b52bf0c update dirent for structs 2009-08-30 22:11:42 -05:00
Doug Coleman 71f1899514 fix typo in stat struct 2009-08-30 20:46:49 -05:00
Doug Coleman bd6a89f5e4 update kqueue for structs 2009-08-30 20:26:25 -05:00
Doug Coleman eb0e829844 fix stat struct on freebsd 2009-08-30 20:25:57 -05:00
Doug Coleman d30f3e7770 typo in stat 2009-08-30 19:05:49 -05:00
Doug Coleman ae1ff81670 fit typo 2009-08-30 10:02:32 -05:00
Doug Coleman 7cc67ebbd0 change all stat, statfs, statvfs and calendar structs 2009-08-30 04:06:41 -05:00
Doug Coleman d1ce837569 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 677c2e9e9a 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 069a565126 unix.stat.netbsd: fix code duplication with unix.statvfs.netbsd 2009-05-16 16:28:24 -05:00
Slava Pestov 80d6233913 Fix even more usings 2009-05-16 10:45:17 -05:00
Slava Pestov d7db5edadc Cleaning up USING: lists for new strict semantics 2009-05-14 16:54:16 -05:00
Slava Pestov 052838b515 fix stat on 64bit linux 2009-05-12 18:04:22 -05:00
erg 608a967b7c fix bootstrap errors, add missing files 2009-05-07 16:53:32 -05:00
erg 021800a245 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