Commit Graph

296 Commits (revert-2214-feature-commandline-documentation)

Author SHA1 Message Date
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
Slava Pestov b88f537bc9 Fix circular dependency between db.tuples and db.types docs 2009-01-31 03:01:56 -06:00
Doug Coleman 2b6f9f31ff fix help-lint docs for db 2009-01-30 16:17:50 -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 e4c6977418 fix some db docs 2009-01-29 21:25:02 -06:00
Daniel Ehrenberg c025d9da87 Fixing formatting errors in db docs 2009-01-29 19:14:34 -06:00
Slava Pestov f34c14a0f5 Remove some usages of tuck 2009-01-23 18:20:47 -06:00
Doug Coleman fcf86d3bc3 test pooled db connections, change bogus test 2009-01-11 21:07:39 -06:00
Doug Coleman 0a9677c0af Test the database with parallel combinators 2009-01-08 16:41:38 -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 a62fcbe64c remove use of symbols 2008-12-17 21:06:41 -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 054bb8ff99 Fix load error in db.types 2008-12-17 19:23:44 -06:00
Slava Pestov 34792a9f23 Remove >r/r> 2008-12-17 19:17:37 -06:00
Slava Pestov 184de13b57 Some help lint fixes, including a fix for help lint itself 2008-12-16 06:00:45 -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
John Benediktsson b6263289c2 Merge branch 'master' of git://factorcode.org/git/factor 2008-12-07 14:46:53 -08:00
Doug Coleman 14fb58f448 swap ... 3append -> surround in basis 2008-12-06 18:58:45 -06:00
John Benediktsson 832ebcf26f Merge branch 'master' of git://factorcode.org/git/factor 2008-12-04 00:45:19 -08: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
Doug Coleman ded6b1963f fix docs for db 2008-12-03 22:05:52 -06:00
Doug Coleman db30415dcb basis: swap 3append -> glue 2008-12-03 19:10:41 -06:00
John Benediktsson b201020926 Merge branch 'master' of git://factorcode.org/git/factor 2008-12-03 02:20:22 -08:00
Slava Pestov f51708386d Fix conflicts 2008-12-01 20:39:43 -06:00
John Benediktsson 7144de58b4 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-30 06:15:45 -08:00
Doug Coleman 11fd4788db fix compile error 2008-11-29 15:19:09 -06:00
John Benediktsson d9efc63103 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-29 12:02:31 -08: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
John Benediktsson ce4454c223 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-26 14:58:40 -08: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
John Benediktsson 4f2605b0a8 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-02 11:30:59 -08:00
Doug Coleman 8a494a0da4 fix the way postgresql creates functions 2008-11-01 15:24:05 -05:00
John Benediktsson 8ef0a51def Merge branch 'master' of git://factorcode.org/git/factor 2008-10-31 00:33:37 -07:00
Doug Coleman 93e84d7bcd fix some database issues - sqlite booleans, >>group and >>order don't require arrays now, they can be passed strings for a single order or group by 2008-10-18 15:15:27 -05:00
John Benediktsson acbc658688 Merge branch 'master' of git://factorcode.org/git/factor 2008-10-13 05:58:03 -07:00
Doug Coleman 72be152832 fix db tutorial 2008-10-12 07:25:16 -06:00
Doug Coleman ad53391806 make all types singletons instead of symbols, add NULL support for select statements 2008-10-10 20:52:28 -05:00
Doug Coleman 2779103b63 add on-update 2008-10-10 15:32:36 -05:00
John Benediktsson fe2301df94 Merge branch 'master' of git://factorcode.org/git/factor 2008-10-09 19:48:20 -07:00
Doug Coleman ace2ce2ce7 remove old word 2008-10-09 16:40:19 -05:00
John Benediktsson bb32cc3eff Merge branch 'master' of git://factorcode.org/git/factor 2008-10-09 14:28:56 -07:00
Doug Coleman 83f1634219 clean up dispose a bit 2008-10-09 15:42:23 -05:00
Doug Coleman 7b9a3b61c3 partial fix for db, going to make it use dispose* soon 2008-10-09 14:07:11 -05:00
Doug Coleman ea69c8996f use ERROR:, inline database combinator examples 2008-10-08 19:06:19 -05:00
John Benediktsson da59346f71 Merge branch 'master' of git://factorcode.org/git/factor 2008-10-07 06:51:53 -07:00
Doug Coleman bc5f19b919 fix typo 2008-10-07 07:24:10 -05:00
John Benediktsson 7724a70fba Merge branch 'master' of git://factorcode.org/git/factor 2008-10-04 12:01:41 -07:00
Doug Coleman a057da4116 "finish" database docs 2008-10-04 13:21:06 -05:00
Doug Coleman 3d92ef87fe remove redundant section 2008-10-03 20:21:23 -05:00
Doug Coleman dc4e989002 clean up the db code some, more docs 2008-10-03 20:19:20 -05:00
John Benediktsson 0e48ccb4da Merge branch 'master' of git://factorcode.org/git/factor 2008-10-02 15:23:55 -07:00
Doug Coleman aeb5d60d3a fix test 2008-10-02 16:36:50 -05:00
John Benediktsson 414ddfe213 Fix typo in db-docs. 2008-10-02 14:16:53 -07:00
Doug Coleman 50493ba446 fix unit tests 2008-10-02 16:02:31 -05:00
Doug Coleman 1c189a479c more docs, fix typos 2008-10-02 14:02:38 -05:00