Commit Graph

252 Commits (6c88577ee782a5e657be7f2c8a680dbf360aad19)

Author SHA1 Message Date
Björn Lindqvist ebdf57d175 db.sqlite: fix the delete constraint for the restrict case 2016-08-25 13:52:44 +02:00
Björn Lindqvist 66083e263c db.sqlite: fix text of generated triggers
An opening brace was missing for some variables
2016-08-25 13:10:42 +02:00
Alexander Iljin 2fd5654473 Add EOL at EOF for all authors.txt files for consistency
In some instances replaced CR/LF with LF.
2016-07-30 09:25:30 -07:00
Doug Coleman 858c9b3a96 db.sqlite: Fix NULL returns for INTEGER columns in sqlite
The api for getting integer/double columns from sqlite3 returns a zero, but the value could still be NULL, so an extra api check for the sqlite type is required.

Fixes #1674.
2016-07-22 08:20:56 -07:00
John Benediktsson 6b12e2e3bc use ?delete-file instead of [ delete-file ] ignore-errors. 2016-07-10 20:28:46 -07:00
Alexander Iljin 853d470179 db.errors: update ignore-error parameter list to be more self-documented 2016-06-29 14:17:57 -07:00
Alexander Iljin e606ce278d db.queries: add ensure-index 2016-06-29 14:17:57 -07:00
Alexander Iljin 9c9764cc2d db.(sqlite.)errors: add sql-index-exists error 2016-06-29 14:17:57 -07:00
Alexander Iljin ca19a01c1b db.sqlite.errors: simplify implementation 2016-06-29 14:17:57 -07:00
John Benediktsson 2269b07d33 use with-temp-file and with-temp-directory in some tests. 2016-04-04 10:33:03 -07:00
John Benediktsson 498285d7dd unicode: make this the API for all unicode things. 2016-03-30 23:29:48 -07:00
John Benediktsson 6ec952c436 db.errors: move to db.{postgresql,sqlite}.errors. 2016-03-22 12:44:50 -07:00
John Benediktsson baae677276 io.files.unique: change to create unique files and directories relative to the current-directory. 2016-03-18 10:57:54 -07:00
John Benediktsson 3affad7681 docs: using $maybe. 2015-12-11 17:05:45 -08:00
John Benediktsson e477f6996f Fix comments to be ! not #!. 2015-09-08 16:15:10 -07:00
John Benediktsson ceb75057da change ERROR: words from throw-foo back to foo. 2015-08-13 16:13:05 -07:00
Doug Coleman b6be8685c3 basis: ERROR: changes. 2015-08-13 03:20:39 -07:00
Doug Coleman eeb7cf508f db.sqlite: fix ERROR: 2015-08-13 00:18:29 -07:00
Doug Coleman 1fcf96cada factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping \", and something else soon. 2015-07-25 22:59:56 -07:00
Doug Coleman e4c39bcf3c factor: superclass -> superclass-of, superclasses -> superclasses-of 2015-07-20 00:46:33 -07:00
Doug Coleman e2d80fee5f db.postgresql.ffi: fix 2015-07-19 17:45:52 -07:00
Doug Coleman af553861e0 factor: fix a few spots where FUNCTION: was malformed 2015-07-19 17:43:09 -07:00
Doug Coleman 0176591527 factor: actual patch to remove ; from all c/fortran functions 2015-07-19 16:25:30 -07:00
Doug Coleman 4ec2311406 factor: Trim whitespace after ! comments and a few USING: lines that got skipped before. 2015-07-18 20:14:22 -07:00
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -07:00
Doug Coleman 59f3b1ea57 Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.

This reverts commit 7e54cc2824.
2015-07-02 13:47:06 -07:00
Doug Coleman 7e54cc2824 factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool! 2015-07-02 11:36:08 -07:00
Doug Coleman 999aa7c897 factor: clean up spaces in -tests files 2015-07-02 10:34:01 -07:00
Doug Coleman 352e5de16a core, basis, extra: Remove DOS line endings from files.
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
John Benediktsson b366a06c41 use reject instead of [ ... not ] filter. 2015-05-12 18:50:34 -07:00
John Benediktsson 7e4d1178c3 interpolate: don't break backwards compatibility. 2015-04-18 20:22:29 -07:00
John Benediktsson c5ed2c89fe interpolate: some fixes for recent API change. 2015-04-18 19:36:49 -07:00
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