Commit Graph

167 Commits (a68f50c183ce66355b1a63596966a60156f5b216)

Author SHA1 Message Date
Slava Pestov 421085c516 Fix inference error 2008-04-14 03:54:43 -05:00
Doug Coleman 72080fda4a construct-boa -> boa
construct-empty -> new
2008-04-13 15:06:27 -05:00
Doug Coleman dbac0a1543 Merge branch 'master' of git://factorcode.org/git/factor 2008-04-11 12:59:20 -05:00
Doug Coleman 5fa3bd8c74 cond/case 2008-04-11 12:55:57 -05:00
Doug Coleman 6a0dc9f024 fix unit tests 2008-04-23 00:07:26 -05:00
Doug Coleman d28212efe3 Merge branch 'master' of git://factorcode.org/git/factor 2008-04-10 19:37:36 -05:00
Slava Pestov 9c19ade981 Fix library path 2008-04-08 19:43:54 -05:00
Doug Coleman 5ca95e5515 Merge branch 'master' of git://factorcode.org/git/factor 2008-04-07 15:43:44 -05:00
Doug Coleman 719fc91432 fix sqlite 2008-04-07 15:27:35 -05:00
Doug Coleman b0e322bffc refactor db some 2008-04-07 14:19:29 -05:00
Doug Coleman 70573c01f0 comment out compiler error 2008-04-06 14:33:01 -05:00
Doug Coleman 0804c7e7af cleanup 2008-04-06 01:22:52 -05:00
Doug Coleman aade46d448 sqlite inheritance 2008-04-06 00:37:12 -05:00
Doug Coleman ec620ef0c8 inheritance with postgresql 2008-04-05 20:22:33 -05:00
Doug Coleman 3eb2bd784f fix library path 2008-04-03 23:36:14 -05:00
Doug Coleman a9cd31704d remove win32? and win64? words 2008-04-02 18:53:24 -05:00
Doug Coleman 393f77715c update everything to use os singletons 2008-04-02 18:25:33 -05:00
Doug Coleman b4adebb691 update usages of singleton 2008-04-01 16:53:32 -05:00
Slava Pestov 87539b8f4e Clean up db.types 2008-03-30 08:16:30 -05:00
Slava Pestov adb1dd14d0 Rename tuples vocab to classes.tuple for consistency 2008-03-29 03:34:48 -05:00
Slava Pestov 1f3e6fd0b7 combinators.cleave is now core 2008-03-28 23:00:20 -05:00
Slava Pestov 02727576c2 New slots are now in the core 2008-03-20 15:30:59 -05:00
Doug Coleman 3e7940216e swap append to swap append
refactoring path+ to append-path
swap path+ to prepend-path
calendar gmt-offset to duration
2008-03-19 19:15:32 -05:00
Doug Coleman 880a3a2af4 before major refactoring 2008-03-17 14:14:04 -05:00
Slava Pestov 604a895f99 Merge branch 'master' of git://factorcode.org/git/factor 2008-03-17 03:28:50 -05:00
Doug Coleman 16e6f36fc9 refactor db
start on random-id
2008-03-17 00:26:05 -05:00
Slava Pestov ea2723a5a0 Fix serialization of circular structure 2008-03-16 23:41:26 -05:00
Doug Coleman 382868b362 add a test to make sure assigned ids can't be inserted twice
fix a bug with sqlite finalizers
2008-03-15 23:21:53 -05:00
Slava Pestov 86ed87da0c Get some db words to infer 2008-03-15 07:57:38 -05:00
Doug Coleman e347e3d7ac fix typo in ffi 2008-03-14 20:52:08 -05:00
Doug Coleman c3d41967f7 fix some formatting 2008-03-13 02:10:43 -05:00
Doug Coleman 4398458248 add ensure-table 2008-03-12 23:57:56 -05:00
Slava Pestov 120c9cacb7 Fixing 64-bit image generation 2008-03-12 01:54:29 -05:00
Doug Coleman 00ed2c4d94 add some usings 2008-03-11 20:23:22 -05:00
Slava Pestov 28970d9469 Fix bugs 2008-03-11 16:03:22 -05:00
Doug Coleman f56b54077b more unit tests 2008-03-11 00:18:57 -05:00
Doug Coleman a5843a360c fix a bug that a unit test found 2008-03-11 00:09:49 -05:00
Doug Coleman 69f213fdce postgresql can store binary blobs! 2008-03-11 00:05:22 -05:00
Doug Coleman 563565d76d postgresql almost works with blobs 2008-03-10 17:00:28 -05:00
Doug Coleman 0e4ee18110 updating postgresql 2008-03-10 13:56:58 -05:00
Doug Coleman d7d64b202f minor cleanup 2008-03-08 12:02:19 -06:00
Slava Pestov 26df05b912 More unit test fixes 2008-03-08 04:27:19 -06:00
Slava Pestov 09352a9327 Cleanup 2008-03-08 04:01:43 -06:00
Slava Pestov 7ad74eb320 Various fixes 2008-03-08 02:51:26 -06:00
Slava Pestov 5adfc3a3b1 Merge branch 'master' of git://factorcode.org/git/factor 2008-03-07 21:29:24 -06:00
Doug Coleman 867e48199d use SYMBOLS: in several places 2008-03-07 21:24:50 -06:00
Doug Coleman eaf76aece1 Merge branch 'master' of git://factorcode.org/git/factor 2008-03-07 20:10:47 -06:00
Doug Coleman a8d776d2e2 add db.sql 2008-03-07 20:10:23 -06:00
Alex Chapman 641d345a99 Merge git://factorcode.org/git/wrunt into experimental 2008-03-08 10:22:34 +11:00
Doug Coleman 915fd4e0f8 fix two load errors 2008-03-07 16:45:11 -06:00
Doug Coleman ebc0127d01 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:

	extra/html/parser/analyzer/analyzer.factor
2008-03-06 17:12:15 -06:00
Doug Coleman 635749a50b move nmake to namespaces.lib 2008-03-06 17:10:17 -06:00
dharmatech a336cb7570 Unit test fixes 2008-03-06 13:46:15 -06:00
Alex Chapman 60ac79e5ab Merge branch 'master' of git://factorcode.org/git/factor into semantic-db 2008-03-06 23:54:46 +11:00
Slava Pestov 626334303c Fix build dir pollution in unit tests 2008-03-06 03:03:07 -06:00
Doug Coleman 1ee943c2d5 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:

	extra/db/sqlite/sqlite.factor
2008-03-05 21:38:16 -06:00
Doug Coleman b8eb5abd13 before major query overhaul 2008-03-05 20:56:40 -06:00
Doug Coleman dfb3dac5fd sqlite now gets return types with the optimized native functions
removed a hack in type conversion
serialize arbitrary factor objects to db
2008-03-05 19:59:29 -06:00
Alex Chapman 0c2ceed71b db: get rid of a hack no longer needed for semantic-db 2008-03-06 12:38:28 +11:00
Doug Coleman 3eb7830d2c before major overhaul on return values 2008-03-05 19:08:33 -06:00
Slava Pestov 3c98385c11 Fixes for recent method tuple cleanup 2008-03-05 16:00:34 -06:00
Slava Pestov 8da6f2a7f9 Fix conflict 2008-03-05 15:04:42 -06:00
Doug Coleman 4fd4882e02 fix unit tests 2008-03-05 13:51:31 -06:00
Alex Chapman 62e330319d Merge branch 'master' of git://factorcode.org/git/factor into frepublic 2008-03-04 09:58:57 +11:00
Doug Coleman 15947d6853 start moving db to new-slots
redo the tuple tests so it's a bit easier to work with
fix a bug where selecting based on an empty tuple wouldn't work
2008-03-03 08:56:06 -06:00
Slava Pestov a350a91232 db: minor fixes 2008-03-03 05:40:50 -05:00
Slava Pestov e98cd1fd59 New convention for unit tests 2008-03-01 17:00:45 -05:00
Doug Coleman 93a8cbcac3 fix a hack. oops 2008-02-29 15:41:54 -06:00
Doug Coleman 869cfd5463 fix sqlite -- wasn't settin gthe bound? flag 2008-02-29 15:38:20 -06:00
Alex Chapman 7af882a5fb Merge branch 'master' of http://factorcode.org/git/factor into semantic-db
Conflicts:

	extra/db/sqlite/sqlite.factor
2008-02-29 14:11:46 +11:00
Alex Chapman 0da202f178 latest db and semantic-db (not really working) 2008-02-29 13:51:59 +11:00
Doug Coleman eb8207a784 fix with-disposals to work on seq or obj 2008-02-27 19:36:32 -06:00
Doug Coleman 78266a3fc8 cache statements in db 2008-02-27 19:30:31 -06:00
Doug Coleman 3fcac9bd3d make postgresql pass unit tests 2008-02-27 18:47:14 -06:00
Doug Coleman 8cdec0202b fix sqlite
remove reset-statement from db vocab
2008-02-27 18:28:32 -06:00
Alex Chapman 44548d0d0e Merge branch 'master' of git://factorcode.org/git/factor into semantic-db
Conflicts:

	extra/db/sqlite/sqlite.factor
2008-02-28 10:31:43 +11:00
Alex Chapman 8613940e60 Merge branch 'master' of http://factorcode.org/git/factor into semantic-db
Conflicts:

	extra/db/tuples/tuples.factor
2008-02-28 10:30:07 +11:00
Doug Coleman 95aafbc188 some work on sqlite 2008-02-27 13:21:06 -06:00
Doug Coleman 6ea88c2e82 remove persist word
add another couple of unit tests
2008-02-25 15:31:07 -06:00
Doug Coleman 19d771f827 re-add delete-tuple
make all unit tests pass for assigned-id
2008-02-25 15:13:00 -06:00
Doug Coleman 94b183d5e6 db.tuples tests pass for postgresql
redo the with-db word
2008-02-25 14:50:42 -06:00
Doug Coleman b1876ee269 select-tuple, select-tuples work for postgresql 2008-02-24 19:23:14 -06:00
Doug Coleman a4518150a7 fix postgresql connect error message
fix unit test
2008-02-24 12:32:36 -06:00
Doug Coleman 67876e13d9 break sqlite
postgresql create/drop/insert/update/delete/select works
2008-02-22 17:06:00 -06:00
Doug Coleman d1e5fddbed fix a couple of minor bugs before major overhaul 2008-02-21 15:57:18 -06:00
Doug Coleman 4b881bb3dd work on the sql types 2008-02-20 18:30:55 -06:00
Doug Coleman 117a7b6643 debugging sqlite 2008-02-20 12:05:25 -06:00
Doug Coleman 779bd8c8d9 sql is correctly generated for sqlite and postgresql up to basic selects 2008-02-20 11:30:48 -06:00
Doug Coleman c12600815f add lots of unit tests to postgresql
select queries are generated now
2008-02-19 16:00:50 -06:00
Alex Chapman cfc7ef04b5 db.sqlite: add with-tmp-sqlite, db.tuples: some fixes 2008-02-19 12:09:59 +11:00
Doug Coleman d6ede4dda5 intermediate work on db, everything is broken 2008-02-18 16:52:00 -06:00
Doug Coleman c559ff4c6f fix load error 2008-02-16 18:15:18 -06:00
Doug Coleman 3a0b0341ba fix load error 2008-02-15 21:14:52 -06:00
Doug Coleman 3028416a4c checking in db before a major overhaul 2008-02-15 20:37:54 -06:00
Doug Coleman d8e7f0c84a add type conversion to the database library for sqlite and postgresql 2008-02-15 14:01:44 -06:00
Doug Coleman 46df9c16d1 fix load error 2008-02-15 12:16:31 -06:00
Doug Coleman def53a07d8 lose the bad codez in sqlite
change the db api to more-rows? and advance-row instead of just advance-row
sql-command takes a string or a seq of strings
postgresql create-sql handles native/assigned ids
2008-02-14 23:39:20 -06:00
Doug Coleman 86667aee23 execute-statement is now a word not a generic
sqlite works for tuple-tests
postgresql create/drop/insert works better now
2008-02-14 01:27:54 -06:00
Doug Coleman eb75685031 fix a bug in sqlite
add execute-statment-row-id to db
some work on postgresql
2008-02-13 16:51:16 -06:00
Doug Coleman 13106c2227 minor cleanup 2008-02-12 17:19:55 -06:00