Commit Graph

58 Commits (14b1418f6a0c76397d0030c548408c56b4031163)

Author SHA1 Message Date
Doug Coleman d6ffd15185 libc.freebsd: platforms.txt not platform.txt
Fixes linux bootstrap
2019-03-21 19:52:07 -05:00
Jack Lucas 3154242a3a Re-add Freebsd Support 2019-02-08 19:17:30 -05:00
Doug Coleman 9f213f96f6 core: Add the shuffler words but without primitives.
The nipd branch slowed bootstrap by a minute, this patch does not.

sorry about changing the fjsc line endings...
2018-06-19 22:52:58 -05:00
John Benediktsson ca03896d74 more test IN: cleanup. 2018-02-15 09:20:01 -08:00
John Benediktsson ceb75057da change ERROR: words from throw-foo back to foo. 2015-08-13 16:13:05 -07:00
Doug Coleman b6be8685c3 basis: ERROR: changes. 2015-08-13 03:20:39 -07:00
Doug Coleman 5f8426cfbe factor: rename files that are not loadable on mac, too 2015-07-19 16:55:36 -07:00
Doug Coleman 0176591527 factor: actual patch to remove ; from all c/fortran functions 2015-07-19 16:25:30 -07:00
Doug Coleman 43d6f1d3e2 factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:. 2015-07-02 17:28:17 -07:00
Doug Coleman 59f3b1ea57 Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.

This reverts commit 7e54cc2824.
2015-07-02 13:47:06 -07:00
Doug Coleman 7e54cc2824 factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool! 2015-07-02 11:36:08 -07:00
John Benediktsson 7badef25ce libc: reduce code duplication. 2014-11-21 10:19:12 -08:00
John Benediktsson 39093727b1 libc: rename (io-error) to throw-errno. 2014-11-21 09:29:45 -08:00
John Benediktsson 115511038d libc: removing &(free) and |(free) destructors which aren't really used. 2014-11-20 19:51:10 -08:00
John Benediktsson 01187b378c libc: don't use unparse which requires prettyprint. 2014-10-24 17:09:27 -07:00
Doug Coleman 31b8a0e051 libc.windows: We have to use utf8 since this is a libc call and the native
encoding on windows is utf16n.
2014-07-07 00:50:47 -05:00
John Benediktsson cf3fdfc23e libc: fix usings. 2014-07-06 10:46:02 -07:00
John Benediktsson fd19fadcc6 libc: fix for linux using GNU strerror_r (for now). 2014-07-06 10:41:51 -07:00
Doug Coleman 451a621dad libc: Add default strerror that is not threadsafe. Move threadsafe unix load to the end of the file so that malloc is defined. 2014-07-04 03:31:11 -07:00
Doug Coleman dbba9f931b libc: Fix strerror for unix. 2014-07-04 03:25:57 -07:00
Doug Coleman df452dfb91 libc: Fix load error on windows. 2014-07-04 05:19:29 -05:00
Doug Coleman d7595bbb7c libc: First stab at using strerror_r and (strerror_s on Windows) instead of thread-unsafe strerror. 2014-07-04 03:11:45 -07:00
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