Commit Graph

51 Commits (82dd2ca3c9b3cfbeb7cc19ce09e5a39e00f3cd7d)

Author SHA1 Message Date
Joe Groff 943596575a use radix literals 2011-11-23 19:03:40 -08:00
John Benediktsson 4f42c72012 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
Doug Coleman bf2a96e9e0 Remove Windows CE from core/ basis/ and build-support/
Rename the winnt singleton to windows in core/ basis/ extra/
Rename boot images winnt -> windows
Fixes #84.
2011-09-18 23:19:06 -05:00
Doug Coleman deb1ac9e1d Change postgresql test database to prepend the cpu string so that running two builders on the Mac Pro build machine will not cause random failures due to interference. 2011-09-06 17:51:46 -07:00
Slava Pestov 446ee6896d alien.data: remove second quotation parameter from with-out-parameters, now all values are copied properly and calling 'clone' on structs in this quotation is not necessary 2010-07-16 17:32:05 -04:00
Slava Pestov 70a99e1cdb Updating code to use with-out-parameters 2010-05-23 03:07:47 -04:00
Joe Groff 65c3259761 "cdecl" -> cdecl 2010-03-31 19:20:35 -07: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
Joe Groff b0bf5f3106 get rid of the last few pointer typedefs in db.postgresql.ffi, windows.usp10, and windows.winsock 2010-02-23 10:17:48 -08:00
Joe Groff 866b62755e replace all TYPEDEF: void* XXX* with C-TYPE: XXX 2009-09-27 22:21:24 -05:00
Joe Groff 630e5ecc3b update vocabs so a load-all on macosx works without parsing c-type strings 2009-09-27 15:11:21 -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
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 7c92ab1ea5 move if-zero etc to math, remove 1-/1+ from math 2009-08-14 14:27:23 -05:00
Doug Coleman 8b7fcce399 update code for usages of add-library 2009-03-25 23:00:19 -05:00
sheeple d6d89e0a40 add parsing for postgresql errors and some unit tests 2009-02-21 21:22:51 -06:00
sheeple a1f3e5695b fix circularity in db 2009-02-20 22:59:01 -06:00
Doug Coleman 985597ba68 add error handling to sqlite, postgresql is next. switching computers.. 2009-02-20 20:40:17 -06:00
Slava Pestov 6b25e99470 Add summary for heaps more vocabs 2009-02-16 21:05:13 -06:00
Doug Coleman d46764d346 use CONSTANT: in db 2009-02-12 16:36:29 -06:00
Slava Pestov efc88c5b69 Remove nipd, 3nip, 4nip and tuckd from basis/shuffle 2009-02-09 18:11:42 -06:00
Slava Pestov d6aa376ed0 Removing now-redundant underlying>> calls 2009-02-06 04:37:28 -06:00
Slava Pestov f34c14a0f5 Remove some usages of tuck 2009-01-23 18:20:47 -06:00
Doug Coleman 2c678e64dc rename db symbol -> db-connection 2008-12-17 21:04:17 -06:00
Doug Coleman 4329578b2f add a new db-connection tuple for live database connections instead of reusing the db setup tuple
update sqlite and postgresql backends for the change
2008-12-17 19:35:53 -06:00
Slava Pestov ffecedf9de Fix db.postgresql load error 2008-12-04 02:21:36 -06:00
Doug Coleman 869fbf27a1 remove join-space from db 2008-12-04 00:06:02 -06:00
Slava Pestov f51708386d Fix conflicts 2008-12-01 20:39:43 -06:00
Doug Coleman 9d5732671d remove >r r> 2008-11-29 12:18:09 -06:00
Slava Pestov e8a69a3aea Fix conflict 2008-11-29 05:14:49 -06:00
Doug Coleman 87bdc0acd3 if we're on win64, don't run postgresql tests 2008-11-24 12:57:26 -06:00
Slava Pestov 2fe364a7bb Specialized arrays work in progress 2008-11-14 20:18:16 -06:00
Doug Coleman 8a494a0da4 fix the way postgresql creates functions 2008-11-01 15:24:05 -05:00
Doug Coleman 2779103b63 add on-update 2008-10-10 15:32:36 -05:00
Doug Coleman 83f1634219 clean up dispose a bit 2008-10-09 15:42:23 -05:00
Doug Coleman 50493ba446 fix unit tests 2008-10-02 16:02:31 -05:00
Doug Coleman 695d3dd2d2 Merge branch 'master' of git://factorcode.org/git/factor 2008-10-02 12:52:42 -05:00
Doug Coleman 67683dde20 make-db is gone, use <sqlite-db> or <postgresql-db> instead. docs. use dip instead of >r r> 2008-10-02 12:11:56 -05:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Doug Coleman 4547b713cf references with cascade on delete work 2008-09-27 16:26:21 -05:00
Doug Coleman 68b6515ac2 some work on foreign keys 2008-09-27 15:56:43 -05:00
Doug Coleman 511ecaff59 add composite primary keys to db 2008-09-27 14:07:39 -05:00
Doug Coleman e270db3768 fix usings 2008-09-24 19:47:32 -05:00
Slava Pestov cf80dd122a Updating code for make and fry changes 2008-09-10 22:11:40 -05:00
Doug Coleman 70c91ffad1 recording patches so i can go eat 2008-09-09 19:06:47 -05:00
Doug Coleman aa8c85f010 cleaning up db -- removed some unused words, moved words around 2008-09-09 14:44:14 -05:00
Doug Coleman 8a921c791c if-empty changes 2008-09-06 19:13:59 -05:00
Slava Pestov aea0fed14c Fixing basis -> extra dependencies 2008-09-05 19:29:14 -05:00
Doug Coleman b23ac6f137 fix stack effects, remove two redundant sqlite ffi words, minor cleanups 2008-09-02 22:50:46 -05:00