Commit Graph

255 Commits (eb46e23eabe2ee65f4560c0bfbf49aadfa3b1916)

Author SHA1 Message Date
John Benediktsson 41227954e7 Revert "db: don't nest transactions.
This reverts commit e599a83de7.
2012-09-26 13:29:40 -07:00
John Benediktsson 14c6bad2f6 db: don't nest transactions. 2012-09-26 10:35:22 -07:00
Doug Coleman 8b51ddcbe2 sqlite: Fix using. 2012-08-26 11:57:24 -07:00
Doug Coleman 22178a9475 db.sqlite: Fix using. 2012-08-26 01:20:06 -07:00
Doug Coleman bf4d4f73a2 db.sqlite: Append layouts:cell to sqlite file test db name. Fixes #647. 2012-08-26 00:09:31 -07:00
John Benediktsson 30a198e2ab classes.tuple: moving get-slot-named and set-slot-named from db.types. 2012-07-24 11:55:16 -07:00
Joe Groff 943596575a use radix literals 2011-11-23 19:03:40 -08:00
Doug Coleman 51c033a1f6 Fix all failures in the linux64 build email 2011-10-24 19:33:09 -07:00
Doug Coleman 763d9a3f7d Missed yet more renames 2011-10-24 17:00:09 -07:00
John Benediktsson d61de12011 Cleanup more lint warnings. 2011-10-14 12:31:46 -07:00
John Benediktsson 1987deb359 Fix M: stack effects. 2011-10-13 16:41:17 -07:00
John Benediktsson 3207244c60 sequences: define ?first and ?second. 2011-10-13 12:53:46 -07: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 c441d2a629 Only test postgresql on win32 2011-09-07 00:35:26 -07: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
John Benediktsson 9f34c9c676 Spelling fixes to documentation. 2011-08-26 16:20:31 -07:00
John Benediktsson bac951a618 Merge branch 'master' of git://github.com/slavapestov/factor 2011-03-14 22:47:02 -07:00
otoburb 5dab713692 basis/db/tuples: Minor doc fix for 'select-tuples' 2011-03-14 06:07:32 +00:00
John Benediktsson 604f242862 db.sqlite: update word documentation. 2011-03-07 15:06:28 -08:00
Keita Haga dce56c8f8f db: fix a couple of typos in docs 2011-01-15 02:03:20 +09:00
Keita Haga dbfc6ec386 db.tuples, timers: few $unchecked-examples turn into $codes 2011-01-08 22:31:07 +09:00
Keita Haga 7bd8c3deba db.tuples: fix a couple of examples in tutorial article a little 2010-12-06 06:14:24 +09:00
Keita Haga 2dbee396fb db: fix some examples 2010-11-28 03:34:27 +09:00
John Benediktsson 6c4ba923ae db.sqlite.lib: fixing sqlite-row word. 2010-08-13 14:23:05 -07:00
John Benediktsson 0b7ed3bdb9 db: fix typo in docs. 2010-07-26 08:11:51 -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
Doug Coleman bdecd564a3 Use keys/values where appropriate 2010-05-21 12:48:04 -05:00
Joe Groff 5f71d2bb18 db.sqlite.ffi: remove leftover stack effects from converted FUNCTION-ALIAS:es 2010-04-15 11:27:33 -07:00
Joe Groff 343856307e db.sqlite.ffi: use FUNCTION-ALIAS: 2010-04-14 21:58:52 -07: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 33f1a7b03b db.sqlite.ffi: replace some TYPEDEF: void* foo* with C-TYPE: foo 2010-02-22 19:36:14 -08:00
Slava Pestov b59da05347 Merge branch 'master' of git://github.com/erikcharlebois/factor 2010-02-19 12:35:21 +13:00
Slava Pestov 220dd88a2c Update documentation for new help lint check 2010-02-19 12:31:52 +13:00
Erik Charlebois c8192adf71 Fix some doc typos, metadata 2010-02-16 03:25:03 -08:00
Doug Coleman 3d8f77ca56 ERROR:s is immutable now, so don't use it in db 2010-02-03 12:25:55 -06:00
Slava Pestov 7846074b3b db: update for ERROR: change 2010-02-03 23:11:31 +13:00
Doug Coleman 8c1d202b4c Rename accumulator to collector, pusher to selector 2010-01-22 15:00:53 -06:00
Doug Coleman 4c71d71907 random is generic now -- iota random -> random 2010-01-14 12:48:57 -06:00
Slava Pestov df4fb4a3ee Removing integers-as-sequences 2010-01-15 07:15:33 +13:00
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06: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
Joe Groff 61d579360d remove non-primitive-related uses of tuck from basis 2009-11-05 17:03:24 -06:00
Joe Groff c3b8847936 update a bunch of alien-callbacks and alien-indirects to use c-type words 2009-10-21 21:10:11 -05:00
Joe Groff 7fac3682a6 update some naked alien-invokes to use c-type words 2009-10-21 18:44:00 -05:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04: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
Vesa Kaihlavirta eec0e5230b temp-file is in io.files.temp nowadays 2009-09-26 10:49:57 +03:00
Slava Pestov 0be72153ff db.tuples: add 'inline' declaration to example in docs 2009-09-26 02:26:07 -05:00
Doug Coleman 05ddfb37dc fixing docs 2009-09-23 12:52:42 -05:00
Doug Coleman b9bc619b1b fix db docs for multiline strings 2009-09-23 12:49:30 -05:00
Doug Coleman 5cb34724b7 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/classes/struct/struct-tests.factor
	basis/functors/functors-tests.factor
	basis/specialized-arrays/specialized-arrays-tests.factor
2009-09-20 23:02:49 -05:00
Doug Coleman eceed177d6 replace usages of <" with """ 2009-09-20 22:42:40 -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 765aa5bc1d db: fix some typos in docs 2009-09-15 15:45:03 -07:00
Slava Pestov 87c7f882ca db: fix with-book-db combinator in db tutorial 2009-09-12 16:05: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 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 66a9416473 Update documentation for stricter vocabulary search path semantics 2009-05-16 00:29:21 -05:00
Slava Pestov b62630b5ac Updating code in basis and extra for stricter vocab search path semantics 2009-05-14 23:23:06 -05:00
Slava Pestov 97a522da0e Fix conflict 2009-04-21 16:26:22 -05:00
Doug Coleman 706fb78d5b better fix for db.tester 2009-04-20 21:47:55 -05:00
Doug Coleman 687190bbee fix a bug in db.tester 2009-04-20 21:32:23 -05:00
Slava Pestov 05f3f9dcb9 Fixing unit tests for stack effect inference changes 2009-04-20 21:15:19 -05:00
Slava Pestov 0ffd43e2e3 1.0/0.0 => 1/0. 2009-04-13 19:48:08 -05:00
Doug Coleman cd2ce4c9ae fix blob selects in db.tuples 2009-04-11 09:03:00 -05:00
Slava Pestov 2e03bd5cc0 db.errors.sqlite: don't give up on bad inputs 2009-04-06 22:00:08 -05:00
Doug Coleman 8b7fcce399 update code for usages of add-library 2009-03-25 23:00:19 -05:00
Slava Pestov 723bfab030 Fixing unit tests for syntax change 2009-03-23 00:34:02 -05:00
Doug Coleman f7512da692 fix example 2009-03-16 14:44:40 -05:00
Slava Pestov 8e55533bfa Tweak some furnace code to infer and load with almost no warnings 2009-03-15 18:19:29 -05:00
Doug Coleman a4817a0e17 dont run postgresql tests on win64 2009-02-23 08:37:38 -06:00
Doug Coleman 7a3c086178 remove ?at from db.types, images.tiff 2009-02-22 17:14:46 -06:00
sheeple 06f6eb98aa use quoting vocab 2009-02-22 00:42:35 -06:00
sheeple 02cec3a9f4 add more postgres error handling, remove usage of ignore-errors in db.tuples 2009-02-21 21:59:23 -06: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
Doug Coleman b54833c728 remove a bunch of trigger deletion code -- triggers get deleted when tables are dropped 2009-02-20 20:11:26 -06:00
Doug Coleman 6eaa5aee24 fix compile error 2009-02-20 17:29:11 -06:00
Doug Coleman 8b5a2f4a0e fix sqlite triggers -- NEW.table-id not NEW.foreign-table-id 2009-02-20 14:52:38 -06:00
Daniel Ehrenberg dd1587c745 Fixing SQLite unit tests 2009-02-19 18:52:45 -06:00
Doug Coleman a61bac7ab5 fix sqlite foreign triggers create/delete bug
ignore-errors only if there is a sql spec defined for the class until database-specific errors are implemented
2009-02-19 18:26:11 -06:00
Slava Pestov 6b25e99470 Add summary for heaps more vocabs 2009-02-16 21:05:13 -06:00
Daniel Ehrenberg f3db8fdc4a Another failing unit test for db.sqlite 2009-02-13 16:07:17 -06:00
Daniel Ehrenberg 8253bf4662 Another failing test in db.sqlite 2009-02-13 16:05:18 -06:00
Daniel Ehrenberg d09567e31e Failing test case for db.sqlite 2009-02-12 21:59:59 -06:00
Doug Coleman 8993e0536b rename db-table to db-table-name, use db-table-name instead of class name in creating triggers for sqlite 2009-02-12 17:29:31 -06:00
Daniel Ehrenberg 4e5b7bfa21 Merge branch 'master' of git://factorcode.org/git/factor 2009-02-12 17:14:20 -06:00
Daniel Ehrenberg c4f45e3f74 Fixing bug in db (don't use unparse!), adding still-failing unit test 2009-02-12 17:13:01 -06:00
Doug Coleman d46764d346 use CONSTANT: in db 2009-02-12 16:36:29 -06:00
Daniel Ehrenberg eaaf2af7b7 Fixing db.sqlite bug: database schema don't need primary keys 2009-02-12 01:39:14 -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