John Benediktsson
29006e4a86
libc: fix tests using.
2014-04-04 09:29:42 -07:00
John Benediktsson
d031109cc4
libc: test "1 strerror" since zero gives different output on different platforms.
2014-04-04 09:28:39 -07:00
Björn Lindqvist
58388f7c26
libc: fix vocab definition of platform dependent parts of libc
2014-04-02 12:13:14 -05:00
Björn Lindqvist
a222ac173b
libc.*: add platform files
2014-04-02 12:13:07 -05:00
Björn Lindqvist
eaca04de3b
libc: several vocabs now need to depend on libc
2014-04-02 12:13:00 -05:00
Björn Lindqvist
57a933e330
libc.*, unix.*: move constants and functions from the unix namespace to libc
...
The E* errno and SIG* constants are defined on Windows too, so they
should be in the libc vocab which is available there. They will be
used for SSL error handling.
2014-04-02 12:12:25 -05:00
John Benediktsson
26506a4b0b
destructors: use hash-sets to keep track of disposables.
2013-03-08 16:30:33 -08:00
John Benediktsson
4e72d80256
Using "same?" in more places.
2012-07-21 10:22:44 -07:00
Joe Groff
8cf18d1a82
remove BSD,solaris,etc. misc platform support code
2011-11-02 17:13:51 -07:00
Slava Pestov
653d433798
libc: make memory= inline just for fun
2010-08-06 00:16:25 -07:00
Slava Pestov
5803419b9d
libc: add memset just because
2010-07-16 17:13:44 -04:00
Slava Pestov
78dcc5bc33
Move system word from unix.ffi to libc since its not Unix-specific
2010-06-02 02:59:56 -04:00
Slava Pestov
cf7451131e
libc: use size_t instead of ulong for correct behavior on win64
2010-05-18 22:34:52 -04:00
Joe Groff
1c99d0cae0
update libc to use FUNCTION: and FUNCTION-ALIAS:
2010-04-14 21:50:30 -07:00
Joe Groff
f10ea3cbea
libc: add DESTRUCTOR: for (free)
2010-04-14 13:08:45 -07:00
Slava Pestov
2b68f56c89
Document (free), move it out of libc.private and mention it in the "c-strings" help article (reported by Blei)
2010-03-30 17:32:51 -04:00
Joe Groff
4cfa1a6c77
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
Doug Coleman
a2ce57d856
Allow setting errno instead of just clearing it
2010-02-03 17:20:24 -06: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
Joe Groff
f4c90fdabe
bitwise equal? for struct objects
2009-08-26 18:05:38 -05:00
Slava Pestov
3be328056d
libc: use central disposables mechanism to track mallocs
2009-08-24 20:21:03 -05:00
Slava Pestov
be40bd33ee
New initialize-alien word
2009-02-20 20:51:13 -06:00
Slava Pestov
043b77c702
Fix conflict
2009-02-08 00:07:59 -06:00
Doug Coleman
4ebc3203d6
unbreak bootstrap
2009-02-06 18:36:00 -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
dd9cf39467
Fix conflict in libc
2009-02-06 05:10:41 -06:00
Slava Pestov
d6aa376ed0
Removing now-redundant underlying>> calls
2009-02-06 04:37:28 -06:00
Slava Pestov
abd4a82f9f
Clean up stack shuffling in libc
2009-01-17 20:10:56 -06:00
Slava Pestov
69d02fe06d
Use alien.destructors functor to generate &free and |free words
2009-01-17 17:58:31 -06:00
Slava Pestov
22be7e5928
Remove with-malloc, use destructors instead
2008-12-02 21:51:21 -06:00
Slava Pestov
9bf63b1613
New $quotation markup element
2008-11-16 09:03:30 -06:00
Slava Pestov
c19f2257f4
Fix permission bits
2008-10-02 08:34:49 -05:00
Slava Pestov
279aeddeb3
Various fixes
2008-07-30 04:12:17 -05:00
Slava Pestov
4cb64aaeb8
Fixing unit tests for eval word being moved
2008-07-29 00:05:01 -05:00
Slava Pestov
13f52ea659
Fix minor load problems from words being moved around
2008-07-28 23:20:54 -05:00
Slava Pestov
8a2f1d0451
More core cleanups
2008-07-28 22:57:43 -05:00