Commit Graph

73 Commits (380bb350ca1283e1d48ef382d3e3a3cfb0e673ca)

Author SHA1 Message Date
Doug Coleman 5759f72745 db, db.sqlite: If we are in a transaction, don't start another transaction. Add a unit test. Fixes . Fixes . 2013-03-29 17:33:54 -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 . 2012-08-26 00:09:31 -07:00
Joe Groff 943596575a use radix literals 2011-11-23 19:03:40 -08: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 .
2011-09-18 23:19:06 -05:00
John Benediktsson 604f242862 db.sqlite: update word documentation. 2011-03-07 15:06:28 -08:00
John Benediktsson 6c4ba923ae db.sqlite.lib: fixing sqlite-row word. 2010-08-13 14:23:05 -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 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 33f1a7b03b db.sqlite.ffi: replace some TYPEDEF: void* foo* with C-TYPE: foo 2010-02-22 19:36:14 -08:00
Slava Pestov 7846074b3b db: update for ERROR: change 2010-02-03 23:11:31 +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
Doug Coleman 05ddfb37dc fixing docs 2009-09-23 12:52:42 -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
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 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
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
Doug Coleman 4dd615fa9e Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/db/types/types.factor
2008-12-17 21:07:42 -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 34792a9f23 Remove >r/r> 2008-12-17 19:17:37 -06:00
Slava Pestov 5cb18d51b3 Fixing test-all and help-lint-all failures 2008-12-15 03:33:04 -06:00
Doug Coleman 3dc417ae64 bool -> ? 2008-12-11 18:52:22 -06:00
Doug Coleman 14fb58f448 swap ... 3append -> surround in basis 2008-12-06 18:58:45 -06:00