Commit Graph

270 Commits (66ce47e30a70feb628696a7410c92b957d757fde)

Author SHA1 Message Date
John Benediktsson de179243ce basis/extra: cleanup uses of add-library. 2014-11-13 13:05:14 -08:00
John Benediktsson 3a0c04340e Revert "alien.libraries.finder: using find-library for some often missing libs"
This reverts commit a6b3f50e2c.

Conflicts:
	basis/gtk/ffi/ffi.factor
2014-11-13 09:33:30 -08:00
Doug Coleman f8e858652d db.postgresql: This is not actually the case on my Mac. 2014-10-08 10:12:16 -07:00
Doug Coleman 63895f04e4 db.tester: postgresql template1 database name should be "template1" 2014-10-08 10:11:04 -07:00
Björn Lindqvist 5fe8dd7604 db.tester: with-disposal needed to release the db connections in the pool 2014-10-03 07:12:27 -07:00
Björn Lindqvist 655797ff34 db.postgresql: ensure that 2 line error messages are handled 2014-09-30 14:53:22 +02:00
Björn Lindqvist 97b3ee37ff db.tester: the postgresql-db variable shouldn't be mutated 2014-09-30 14:51:07 +02:00
Björn Lindqvist e62acb7db3 db.postgresql: configurable test db setting
adds a \ postgresql-db global (analoguous to the \ imap-settings one)
which holds settings to a postgres db so that the tests have something
to test against.
2014-09-29 20:47:39 +02:00
Björn Lindqvist 101780d2cd db.postgresql.lib: if PQsetdbLogin fails, PQfinish must be called 2014-09-22 14:29:57 -07:00
Björn Lindqvist 60ffe0680e kernel: new combinator 2with = with with 2014-07-22 07:40:13 -07:00
Doug Coleman 6612867742 db.postgresql: Enable postgresql tests on win64! YAY!! 2014-07-08 01:26:52 -05:00
Björn Lindqvist a6b3f50e2c alien.libraries.finder: using find-library for some often missing libs 2014-06-07 11:48:05 -07:00
John Benediktsson 57f9d78892 improve help by linking to types directly. 2014-05-23 20:20:15 -07:00
John Benediktsson 115f53b0be db.tester: put cpu in sqlite-test-db name. 2013-04-17 16:14:09 -07:00
Doug Coleman 5759f72745 db, db.sqlite: If we are in a transaction, don't start another transaction. Add a unit test. Fixes #631. Fixes #623. 2013-03-29 17:33:54 -07:00
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