6 years agodatabase-consistent-with-specification test case and partial bugfix
Ryszard Szopa [Wed, 07 Nov 2007 03:59:04]
database-consistent-with-specification test case and partial bugfix


d-c-w-s causes an error when you provide as a type of a column
things like (string 5). I partially fixed it (it still throws an
unnecessary condition, but a good fix is srill necessary.


6 years agoquery-dao, make-dao documentation
Ryszard Szopa [Tue, 16 Oct 2007 14:40:15]
query-dao, make-dao documentation

6 years agomake-dao, query-dao and new select-dao
Ryszard Szopa [Tue, 16 Oct 2007 14:30:57]
make-dao, query-dao and new select-dao


Make-dao: initiates a DAO object basing on alist of (slot-name . slot-value) pairs.

Query-dao: allows making dao's from arbitrary (s-)sql.

Select-sql has been rewritten to use QUERY-DAO, which makes it more efficient.
Tests included.

6 years agocode formatting
Ryszard Szopa [Tue, 16 Oct 2007 14:29:53]
code formatting

6 years agolimit the select in (shared-initialize dao).
Ryszard Szopa [Mon, 01 Oct 2007 10:48:57]
limit the select in (shared-initialize dao).

6 years agomop.lisp: submarine::id redefinition is now possible
Ryszard Szopa [Thu, 20 Sep 2007 11:05:35]
mop.lisp: submarine::id redefinition is now possible


There was an obscure bug in compute-effective-slot-definition :around db-class: TYPE wasn't inherited when a slot was redefined (like redefining submarine::id to have type string).

Appropriate test-cases added.

6 years agotypo: double space
Ryszard Szopa [Thu, 20 Sep 2007 11:05:08]
typo: double space

6 years agodao.lisp: def-many-to-many
Ryszard Szopa [Wed, 19 Sep 2007 18:31:08]
dao.lisp: def-many-to-many


Error in UNRELATEDP definition in macro DEF-MANY-TO-MANY corrected.

6 years agocorrected error in named-many-to-many test case.
Ryszard Szopa [Wed, 19 Sep 2007 18:30:15]
corrected error in named-many-to-many test case.

6 years agodao= plus appropriate tests plus documentation
Ryszard Szopa [Wed, 19 Sep 2007 15:50:54]
dao= plus appropriate tests plus documentation

6 years agoTAG 0.1
Ryszard Szopa [Tue, 18 Sep 2007 12:06:33]
TAG 0.1

6 years agonicer format recipe in example code
Ryszard Szopa [Tue, 18 Sep 2007 05:25:32]
nicer format recipe in example code

6 years agoinformation gone to the web-page taken from README.
Ryszard Szopa [Sun, 16 Sep 2007 16:03:07]
information gone to the web-page taken from README.

6 years agotinaa documentation
Ryszard Szopa [Sun, 16 Sep 2007 10:25:00]
tinaa documentation

6 years agoBugfix: unique constraints for single slots.
Ryszard Szopa [Sat, 15 Sep 2007 17:59:30]
Bugfix: unique constraints for single slots.

6 years agoapi change reflected in tests and example.
ryszard.szopa@gmail.com [Thu, 06 Sep 2007 10:09:01]
api change reflected in tests and example.

6 years agobugfix in many-to-many definition+unit-tests.
ryszard.szopa@gmail.com [Thu, 06 Sep 2007 10:07:54]
bugfix in many-to-many definition+unit-tests.

6 years agonamed relations
ryszard.szopa@gmail.com [Thu, 06 Sep 2007 07:24:07]
named relations

6 years agodone todo comment removed.
ryszard.szopa@gmail.com [Thu, 06 Sep 2007 03:32:48]
done todo comment removed.

6 years agodead commented function removed.
ryszard.szopa@gmail.com [Thu, 06 Sep 2007 03:31:33]
dead commented function removed.

6 years agodb-class can have multislot unique constraints.
ryszard.szopa@gmail.com [Thu, 06 Sep 2007 03:29:11]
db-class can have multislot unique constraints.

6 years agounrelate bug in def-many-to-many fixed.
ryszard.szopa@gmail.com [Thu, 06 Sep 2007 03:28:21]
unrelate bug in def-many-to-many fixed.

6 years agonew test: delete-dao.
ryszard.szopa@gmail.com [Thu, 06 Sep 2007 02:27:21]
new test: delete-dao.

6 years agorelatedp, unrelate test cases.
ryszard.szopa@gmail.com [Thu, 06 Sep 2007 02:26:52]
relatedp, unrelate test cases.

6 years agodocstring
ryszard.szopa@gmail.com [Thu, 06 Sep 2007 02:26:14]
docstring

6 years agodefine relatedp and unrelate.
ryszard.szopa@gmail.com [Thu, 06 Sep 2007 02:25:30]
define relatedp and unrelate.

6 years agoREADME: new repository, typo.
Ryszard Szopa [Sat, 08 Sep 2007 16:35:38]
README: new repository, typo.

6 years agocloser-mop dependency for non-SBCL compilers.
ryszard.szopa@gmail.com [Wed, 05 Sep 2007 09:04:22]
closer-mop dependency for non-SBCL compilers.

6 years agoremove outdated documentation.
ryszard.szopa@gmail.com [Wed, 05 Sep 2007 09:02:40]
remove outdated documentation.

6 years agobugfix: add-constraint/relate.
ryszard.szopa@gmail.com [Wed, 05 Sep 2007 08:58:08]
bugfix: add-constraint/relate.


No call to SQL-IZE in (add-constraint :around
(db-class-slot-definition)) caused many-to-many relations errors. Test
MANY-TO-MANY reproduces the bug.

6 years ago:format-control argument to unresolved-foreign-key error raising.
ryszard.szopa@gmail.com [Wed, 05 Sep 2007 08:57:22]
:format-control argument to unresolved-foreign-key error raising.

6 years agoexport run!
ryszard.szopa@gmail.com [Wed, 05 Sep 2007 01:16:48]
export run!

6 years agoerror in test save-dao-transaction corrected.
ryszard.szopa@gmail.com [Tue, 04 Sep 2007 06:52:04]
error in test save-dao-transaction corrected.

6 years agoapply-unique-constraints
ryszard.szopa@gmail.com [Tue, 04 Sep 2007 06:51:33]
apply-unique-constraints

6 years agonow by default connections are made with a transaction.
ryszard.szopa@gmail.com [Tue, 04 Sep 2007 01:49:56]
now by default connections are made with a transaction.

6 years agosave-dao-transaction test.
ryszard.szopa@gmail.com [Tue, 04 Sep 2007 01:49:28]
save-dao-transaction test.

6 years agodao.lisp: update-dao bugfix.
ryszard.szopa@gmail.com [Tue, 04 Sep 2007 01:44:09]
dao.lisp: update-dao bugfix.

6 years agotest for bug in update-dao: save-existing-dao.
ryszard.szopa@gmail.com [Tue, 04 Sep 2007 01:42:25]
test for bug in update-dao: save-existing-dao.

6 years agodao.lisp: removed unused function, save-all-foreign-daos.
ryszard.szopa@gmail.com [Mon, 03 Sep 2007 03:16:58]
dao.lisp: removed unused function, save-all-foreign-daos.

6 years agosave-dao bugfix
ryszard.szopa@gmail.com [Mon, 03 Sep 2007 03:14:16]
save-dao bugfix


Problem: save-dao on a dao containing references to unsaved objects
would raise an error (revealed by new save-dao tests).

Fixed by editing slot-value-or-id-if-foreign to save any unsaved
daos. slot-value-or-id-if-foreign has also been moved to dao.lisp.


6 years agonew tests for save-dao
ryszard.szopa@gmail.com [Mon, 03 Sep 2007 03:13:25]
new tests for save-dao

6 years agounit-tests: defsuite goes to submarine-tests-package.lisp
ryszard.szopa@gmail.com [Mon, 03 Sep 2007 02:57:13]
unit-tests: defsuite goes to submarine-tests-package.lisp

6 years agocleaning in unit-tests.
ryszard.szopa@gmail.com [Fri, 31 Aug 2007 09:00:10]
cleaning in unit-tests.

6 years agoremove-finished-classes, called before and after applying constraints.
ryszard.szopa@gmail.com [Fri, 31 Aug 2007 08:59:33]
remove-finished-classes, called before and after applying constraints.

6 years agonow you cannot initialize an object of an unfinished class.
ryszard.szopa@gmail.com [Fri, 31 Aug 2007 08:59:05]
now you cannot initialize an object of an unfinished class.

6 years agonew tests.
ryszard.szopa@gmail.com [Fri, 31 Aug 2007 08:56:15]
new tests.

6 years agoexport unresolved-foreign-key dao-error.
ryszard.szopa@gmail.com [Fri, 31 Aug 2007 07:53:05]
export unresolved-foreign-key dao-error.

6 years agonew tests, dependencies between tests.
ryszard.szopa@gmail.com [Fri, 31 Aug 2007 07:48:44]
new tests, dependencies between tests.

6 years agosuppress warnings while testing
ryszard.szopa@gmail.com [Fri, 31 Aug 2007 07:48:18]
suppress warnings while testing

6 years agoseparate package file for the tests
ryszard.szopa@gmail.com [Fri, 31 Aug 2007 07:47:43]
separate package file for the tests

Next ->