r9832: * sql/expressions.lisp: Change declaration that
[clsql.git] / ChangeLog
1 3 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
2         * Version 3.0.0 Release
3         * sql/expressions.lisp: Change declaration that
4         caused error on openmcl
5         * db-aodbc/aodbc-sql.lisp: Fix storage location
6         of odbc connection. Specialize database-query since
7         dbi's :types keyword is different than generic-odbc's
8         :result-types keyword
9         * sql/db-interface.lisp: Add warnings for methods
10         not specialized by a db backends
11         * tests/test-fddl.lisp: Fix case of symbols to support
12         case-sensitive Allegro 
13         * db-oracle/oracle-sql.lisp: Rework errbuf in handle-oci-error
14         * tests/test-init.lisp: Note that odbc driver for postgresql
15         doesn't properly handle table ownership
16         * LATEST-TEST-RESULTS: update with version 3.0.0
17         
18 1 Aug 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
19         * sql/expressions.lisp: conditionalise escaping of backslash in 
20         generated SQL strings on backend. 
21         * tests/test-fdml.lisp: test for escaping of backslash. 
22         * sql/oodml.lisp: minor tidying in FIND-ALL. 
23
24 26 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
25         * NEWS: Initial 3.0 announcement draft
26         * README: Expand acknowledgements of incorporated projects
27         * CONTRIBUTORS: Further document Marcus Pearce contributions
28         
29 23 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
30         * sql/oodml.lisp: add DATABASE-OUTPUT-SQL-AS-TYPE method specialisation
31         to print floats with the exponent markers removed. 
32         * tests/test-oodml.lisp: add tests for updating records with floats. 
33
34 22 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
35         * db-oracle/oracle-sql.lisp: enable :OWNER :ALL in DATABASE-LIST-* for 
36         CommonSQL compatibility. 
37         * tests/test-init.lisp: skip test :FDDL/TABLE/6 on Oracle since 
38         this column constraint syntax is not supported. 
39         * tests/test-fddl.lisp: change column indexed in test :FDDL/INDEXES/2
40         from EMPLID to LAST_NAME since Oracle complains that EMPLID is already 
41         indexed. 
42
43 17 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
44         * doc/ref-fdml.xml: document CACHE-TABLE-QUERIES. 
45         * tests/test-fdml.xml: add test for CACHE-TABLE-QUERIES. 
46         * doc/ref-ooddl.xml: minor changes to syntax and examples entries 
47         for uniformity. 
48         * doc/ref-oodml.xml: add examples for OODML. 
49         * sql/oodml.lisp: ensure SELECT passes on its REFRESH argument 
50         to FIND-ALL. 
51         * sql/metaclasses.lisp: update docstrings. 
52         * tests/test-init.lisp: change :db-constraints for emplid to 
53         (:not-null :unique) as a temporary test for multiple column constraints 
54         in DEF-VIEW-CLASS. 
55         * tests/test-oodml.lisp: add tests for *DB-AUTO-SYNC* and 
56         return type of (SETF SLOT-VALUE-USING-CLASS). 
57         * TODO, doc/TODO: remove items done. 
58         * README: fix typo. 
59         
60 16 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
61         * sql/oodml.lisp: on Lispworks, use weak valued hash tables for 
62         object caching. 
63         * sql/expressions.lisp: Fix SQL generation for the symbol NIL. 
64
65 16 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
66         * sql/expressions.lisp: reactivate caching of generated SQL strings. 
67         Move methods for DATABASE-OUTPUT-SQL, OUTPUT-SQL and SQL-HASH-KEY 
68         here from sql/fdml.lisp. Rationalise behaviour of SQL-OUTPUT, 
69         OUTPUT-SQL and DATABASE-OUTPUT-SQL. 
70         * sql/fdml.lisp: remove disabled method ADD-STORAGE-CLASS. Move 
71         methods for DATABASE-OUTPUT-SQL, OUTPUT-SQL and SQL-HASH-KEY to 
72         sql/expressions.lisp. 
73         * sql/ooddl.lisp: replace call to DATABASE-OUTPUT-SQL in 
74         DATABASE-PKEY-CONSTRAINT with call to SQL-OUTPUT. 
75         * sql/generics.lisp: add docstrings. 
76
77 15 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
78         * Version 2.11.16
79         * db-oracle/oracle-sql.lisp: Remove OpenMCL specific
80         code in favor of fixing UFFI with James Bielman's patch
81         
82 14 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
83         * Version 2.11.15
84         * db-oracle/oracle-sql.lisp: Apply patch for OpenMCL/OSX
85         from James Bielman
86         
87 14 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
88         * README, INSTALL: update URLs. Minor updates to descriptions. 
89         * tests/README: remove stuff about editing contexts. 
90
91 12 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
92         * db-oracle/oracle-objects.lisp: Change *default-varchar-length* to 
93         *default-string-length*
94         
95 12 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
96         * tests/test-syntax.lisp, tests/test-fdml.lisp: add tests for escaping 
97         of single quotes. 
98         * tests/test-fddl.lisp: add tests for column and table constraints 
99         in CREATE-TABLE. Add test for OWNER keyword parameter to 
100         LIST-TABLES (assuming same underlying machinery in other FDDL 
101         functions). 
102         * tests/test-init.lisp: restrict above test to postgresql and oracle. 
103         
104 12 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
105         * db-sqlite/sqlite-sql.lisp: Fix condition as reported by Aurelio 
106         Bignoli.
107
108 11 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
109         * sql/oodml.lisp, sql/package.lisp, doc/ref-ooddl.lisp, db-mysql/mysql-objects.lisp: Add tinyint type
110         
111 10 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
112         * Version 2.11.14
113         * doc/*.xml: documentation additionals and fixes so
114         that docbook passes xmllint.
115         
116 9 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
117         * Version 2.11.13
118         * sql/fdml.lisp: Apply patch from Kim Minh Kaplan 
119         to change escaping of single quotes. Mild optimizations
120         for escaped string output.
121         * doc/ref-ooddl.lisp: documentation additions
122         * doc/ref-oodml.lisp: Add purpose to functions
123         * TODO: Add need to test single quote escaping
124         
125 7 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
126         * doc/ref-ooddl.xml, doc-ref-oodml.xml: documentation additions
127         * sql/ooddl.lisp: Added SMALLINT type
128         * sql/generic-postgresql.lisp: Added INT2 as SMALLINT type
129         * db-mysql/mysql-objects.lisp: Added SMALLINT type
130         * sql/package.lisp: Export SMALLINT
131         * sql/expressions.lisp: Add MYSQL's UNSIGNED and ZEROFILL as
132         db-constraints
133         
134 6 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
135         * sql/expressions.lisp: add AUTO-INCREMENT and UNIQUE to the 
136         recognised column constraints for CREATE-TABLE and the :DB-CONSTRAINTS 
137         View Class slot option. 
138         * sql/ooddl.lisp: fix bug preventing the :DB-CONSTRAINTS View Class 
139         slot option accepting a list of constraints [reported by Travis Cross]. 
140         * doc/ref-fddl.xml: add some examples of specifying column and 
141         table constraints to the documentation for CREATE-TABLE. 
142         * TODO: add note about adding tests for table/column constraints. Add 
143         optimisation note about using cached attribute types in insert/update
144         operations. 
145         
146 3 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
147         * doc/appendix.xml: add notes about idiosyncrasies/unsupported 
148         features and so on the documentation for each backend. 
149         * doc/TODO: remove items done. 
150         * doc/ref-transaction.xml: add note in introduction about 
151         autocommit mode as a difference from CommonSQL. 
152         * doc/ref-syntax.xml: add notes about SQL syntax state functions 
153         being macros in CLSQL. Add note about SQL operators which are 
154         CLSQL extensions. 
155
156 2 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
157         * Version 2.11.12 released
158         * doc/ref-recording.xml: document SQL I/O recording. 
159         * doc/ref-prepared.xml: new file for documenting prepared statements. 
160         * doc/clsql.xml: comment out include for large object and CLSQL-SYS 
161         documentation. 
162         * doc/ref-conditions.xml: complete documentation of condition system. 
163         * doc/global-index.xml: add symbols from condition system and remove
164         those from LOB and prepared statement APIs. 
165         * doc/ref-fdml.xml: complete documentation of FDML.
166         * doc/glossary.xml: add View Class. 
167         * doc/TODO: remove items done. 
168         * sql/conditions.lisp: make SQL-CONDITION a parent of SQL-ERROR. 
169         * sql/package.lisp: remove FOR-EACH-ROW from exports list. Export 
170         additional slot accessors for condition classes. 
171
172 1 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
173         * doc/ref-ooddl.lisp: Add documentation
174         * doc/ooddl.lisp: Move *DEFAULT-VARCHAR-LENGTH* from oodml.lisp
175         and rename to *DEFAULT-STRING-LENGTH*. Add docstring.
176         * doc/oodml.lisp: Rename references to new name of
177         *DEFAULT-STRING-LENGTH*
178
179 1 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
180         * doc/ref-transaction.xml: document transaction handling. 
181         * sql/transaction.lisp: ensure that COMMIT, ROLLBACK and 
182         START-TRANSACTION return NIL as per the CommonSQL spec. Modify 
183         ADD-TRANSACTION-{ROLLBACK|COMMIT}-HOOK such that a database is 
184         passed as a keyword argument defaulting to *DEFAULT-DATABASE*.
185         Added docstrings. 
186
187 30 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
188         * doc/ref-fdml.xml: document the FDML. 
189         * doc/ref-fddl.xml: move documentation for TRUNCATE-DATABASE here. 
190         * sql/ooddl.lisp: moved *default-varchar-length* to here from 
191         oodml.lisp and renamed to *default-string-length*
192         
193 23 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
194         * sql/oodml.lisp: Add keyword :transactions to def-view-from-class
195         to allow specifying transactionless table creation
196         * doc/ref-oodml.lisp: Add new keyword to signature of 
197         DEF-VIEW-FROM-CLASS     
198         
199 18 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
200         * Version 2.11.11
201         * sql/expressions.lisp: when removing duplicate table identifiers 
202         in the FROM clause of a query, check both table name and alias 
203         are equivalent. 
204         * sql/fdml.lisp: remove DESCRIBE-TABLE. 
205         * sql/db-interface.lisp: remove generics DESCRIBE-TABLE and 
206         DATABASE-DESCRIBE-TABLE. 
207         * sql/package.lisp: remove DESCRIBE-TABLE, DATABASE-DESCRIBE-TABLE 
208         and LIST-TABLE-INDEXES. 
209         * sql/generic-postgresql.lisp: add reader conditional #+nil for 
210         DATABASE-DESCRIBE-TABLE and comment about its uses for 
211         re-implementing LIST-ATTRIBUTE-TYPES with a single SQL query 
212         returning type info for all attributes. 
213         Fix DATABASE-SEQUENCE-LAST. 
214         * sql/fddl.lisp: remove LIST-TABLE-INDEXES and redefine 
215         LIST-INDEXES with additional keyword parameter :ON. 
216         * tests/test-fddl.lisp: replace LIST-TABLE-INDEXES in :fddl/index/3 
217         with LIST-INDEXES (with :ON parameter). 
218         * doc/global-index.xml: remove DESCRIBE-TABLE and LIST-TABLE-INDEXES. 
219         * doc/ref-connect.xml: minor tidying. 
220         * doc/ref-fddl.xml: document the FDDL. 
221         * doc/TODO: removed items done. Moved note about transaction handling 
222         from TODO to here. 
223         * TODO: move note about transaction handling to doc/TODO. Added 
224         optimization note about LIST-ATTRIBUTE-TYPES and LIST-INDEXES. 
225         
226 13 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
227         * Version 2.11.10
228         * sql/syntax.lisp: updated docstrings. 
229         * sql/package.lisp: exported DATABASE-NAME-FROM-SPEC from CLSQL 
230         package.
231         * sql/database.lisp: add docstrings for CREATE-DATABASE, 
232         DESTROY-DATABASE, TRUNCATE-DATABASE and LIST-DATABASES. Replace 
233         CLSQL-GENERIC-ERROR signalled in RECONNECT with SQL-CONNECTION-ERROR. 
234         * doc/ref-syntax.xml, doc/global-index.xml: minor tidying. 
235         * doc/ref-connect.xml: document connection/initialisation. 
236         * doc/ref-fdml.xml: move TRUNCATE-DATABASE reference entry here. 
237         * doc/TODO: remove items done. 
238         * Makefile: add db-oracle to to SUBDIRS. 
239
240 13 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
241         * sql/oodml.lisp: Add new serialization functions:
242         WRITE-INSTANCE-TO-STREAM and READ-INSTANCE-FROM-STREAM
243         * sql/expressions.lisp: Avoid duplicate FROM names when selecting
244         from a table that has more than one primary index.
245         * sql/conditions.lisp: Fix printing of closed-database error
246         
247 13 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
248         * Version 2.11.9
249         * sql/conditions.lisp: Set initial slot value for message in SQL-WARNING
250         * sql/transactions.lisp: Correctly set slots of SQL-WARNING
251
252 12 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
253         * sql/package.lisp: export DATABASE-TYPE from CLSQL and subclasses 
254         of SQL-EXPRESSION from CLSQL-SYS. 
255         * sql/syntax.lisp: make error signalled in SQL-OPERATION an 
256         SQL-USER-ERROR. Make SQL-OPERATOR return just one value. 
257         * doc/Makefile: added Mandrake linux. 
258         * doc/catalog-redhat.xml, doc/catalog-mandrake.xml: new files. 
259         * doc/appendix.xml: fixed little typo (adsf). 
260         * doc/glossary.xml: removed closed-database and note about 
261         sql-expression, added some entries. 
262         * doc/ref-syntax.xml: documented the symbolic SQL syntax. 
263
264 10 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
265         * Version 2.11.8
266         * db-mysql/mysql-loader.lisp: Remove load of unnecessary zlib library
267         * multiple: Add generalized-boolean type as requested by
268         Edi Weitz
269         * TODO: Added need for test of generalized-boolean
270         
271 9 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
272         * Version 2.11.7 released
273         * uffi/clsql-uffi-loader.lisp: Apply patch from Edi Weitz
274         for loading with clc-register-user-package. Remove personal
275         directory from path lisp.
276         * db-mysql/mysql-loader.lisp: Similar changes
277         
278 8 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
279         * Version 2.11.6 released
280         * sql/oodml.lisp: Commit patch from Edi Weitz
281         to fix symbol writing/reading
282         * TODO: Add need for symbol slot test
283         
284 7 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
285         * sql/package.lisp: remove duplicate export of 
286         *CACHE-TABLE-QUERIES-DEFAULT*. 
287         * doc/ref-*.xml, doc/global-index.xml: new files documenting 
288         the CommonSQL compatible api. 
289         * tests/test-fdml.lisp: modified the test :fdml/transaction/3 to 
290         reflect changes in return values of WITH-TRANSACTION. 
291
292 04 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
293         * tests/README: Fix filename [reported by Bill Clementson]
294         * sql/transactions.lisp: Apply return value patch from
295         Edi Weitz for WITH-TRANSACTION
296         * tests/README: Remove ptester package requirement (as noted
297         by Bill Clementson)
298         
299 03 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
300         * Version 2.11.5 released
301         * examples/clsql-tutorial.lisp: Remove obsolete :nulls-ok attribute,
302         Select connection-spec based on connection type. Bugs reported by
303         Bill Clementson.
304         * uffi/uffi.dll, uffi/uffi.lib: Recompile with Visual Studio 2003
305         * db-mysql/mysql-loader.lisp: Update check for zlibwapi library
306         name on Windows, add \bin\ directory to search path
307         
308 31 May 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
309         * db-odbc/odbc-sql.lisp: DB-TYPE replaced with DATABASE-TYPE in 
310         DATABASE-CONNECT. 
311         * sql/operations.lisp: substr now generates SUBSTR for use on 
312         Oracle; added a new operator SUBSTRING for use elsewhere. minus 
313         now generates MINUS for use on Oracle. Nvl signals an error if 
314         not called with exactly 2 arguments. Add concat function for use 
315         instead of the || operator on MySQL and Oracle. 
316         * sql/syntax.lisp: changed internal symbol for the || operator to 
317         CONCAT-OP. 
318         * sql/expressions.lisp: removed redundant and unused functions 
319         GENERATE-SQL (cf. SQL-OUTPUT) and DATABASE-CONSTRAINT-DESCRIPTION
320         (cf. MAKE-CONSTRAINTS-DESCRIPTION). 
321         * sql/generics.lisp: removed generic function for 
322         DATABASE-CONSTRAINT-DESCRIPTION (see above). 
323         * tests/test-syntax.lisp: modified/added tests according to changes
324         in sql/operations.lisp. 
325         * tests/test-fdml.lisp: changed SUBSTR to SUBSTRING in test 
326         :fdml/select/21.  
327         * sql/package.lisp: added the operators SQL-SUBSTRING, SQL-CONCAT-OP 
328         and SQL-USERENV to the shared exports list. Removed 
329         ROLLBACK-TRANSACTION, COMMIT-TRANSACTION, DATABASE-START-TRANSACTION, 
330         DATABASE-ABORT-TRANSACTION, DATABASE-COMMIT-TRANSACTION, 
331         TRANSACTION-LEVEL, TRANSACTION,  RECORD-SQL-COMMAND and 
332         RECORD-SQL-RESULT from shared exports list. 
333         
334 30 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
335         * db-postgresql/postgresl-sql.lisp: Avoid computing
336         result-types lisp when nil result-types. Return only
337         one value when field-types nil.
338         * db-mysql/mysql-sql.lisp: Simple queries now
339         working with prepared statements.
340         
341 30 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
342         * Version 2.11.4: MySQL 4.1 now passes all tests
343         * sql/package.lisp: Add API for prepared statments.
344         * sql/fdml.lisp: Change implicit flatp processing
345         for string map-query for greater CommonSQL conformance.
346         Add high-high API for prepared statements.
347         * tests/test-basic.lisp: Add test for map-query and
348         single argument.
349         * sql/transactions.lisp: Change name/semantics of
350         autocommit to set-autocommit.
351         * sql/generic-postgresql.lisp: Add support for
352         prepared statements. 
353         * tests/test-internal.lisp: New file
354         * sql/odbc-api.lisp: Update to using ODBC V3 protocol
355         * clsql-mysql.asd, clsql-uffi.asd: Remove check and Common Lisp
356         Controller invocation.
357         * db-mysql/mysql-api.lisp: Add support for MySQL 4.1 field structure
358         * sql/expressions.lisp: Avoid emitting double parenthesis when a
359         function contains a subselect. 
360         
361 27 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
362         * Version 2.11.3
363         * sql/ooddl.lisp: Commit patch from Edi Weitz fixing return
364         type (setf slot-value-using-class)
365         * TODO: add not that need a test case for the above fix
366         * db-sqlite: Remove clisp support since clisp can not run CLSQL
367         with its MOP usage
368         * db-oracle/oracle-sql.lisp: By default, use OCIEnvCreate as 
369         introduced in Oracle8. Leave older code selectable by a reader macro
370         for Oracle7 and prior. Avoid use of OCIServerAttach since CLSQL
371         uses OCILogon and does not the more complex session management.
372         
373 26 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
374         * sql/oodml.lisp: Commit universal-time typo patch from Edi Weitz
375         * test/test-init.lisp: Add universal-time slot to person.
376         * test/test-fddl.lisp: Add tests of universal-time slot
377         * test/test-ooddl.lisp: Test universal-time slot in an object
378         * TODO: Remove need for universal-time test     
379         * debian/rules, debian/control: Add cl-sql-oracle binary package
380         * doc/appendix.xml: Add Oracle backend information
381         * db-oracle/oracle-objects.lisp: Add database-get-type-specifier for
382         universal-time. Convert BIGINT CLSQL type to CHAR SQL type
383         * db-mysql/mysql-sql.lisp: Fix condition name to sql-connection-error
384         * doc/ref-clsql.xml: Renamed from ref_clsql.xml. Change the documentation
385         for map-query to reflect changed in arguments to be CommonSQL compatible.
386         Updated old clsql conditions to new CommonSQL compatible conditions.
387         
388 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
389         * sql/oodml.lisp: (string n) now produces a CHAR field. Add new VARCHAR
390         type. Added *default-varchar-length* rather than previous hard-coded
391         varchar length. Remove 'simple-string and 'simple-base-string since they
392         are subtypes of 'string.
393         * db-oracle/oracle-sql.lisp: Use *default-varchar-length* rather than
394         local hard-coded value.
395         * sql/metaclasses.lisp: Convert specified type VARCHAR and (VARCHAR n) to Lisp
396         type string. Convert specified-type (CHAR n) to string. Convert specified-type
397         CHAR to lisp type character.
398         * sql/generic-postgresql.lisp: (string n) => (CHAR n)
399         * sql/operations.lisp: Add userenv
400         * doc/TODO: Add AUTOCOMMIT. Remove need for large table and bigint
401         slot tests
402         * sql/oracle-sql.lisp: Add 64-bit bigint direct conversion
403         * uffi/clsql-uffi.lisp: Handle signed 64-bit integers
404         * test/test-init.lisp: Add large table with bigint slot
405         
406 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
407         * Version 2.11.1 released: Much simpler Oracle client library loading.
408         Now uses ORACLE_HOME environmental variable as well as tests default
409         path for Oracle Instant Client. 
410         
411 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
412         * Version 2.11.0 released: Full Oracle support. All tests pass
413         * db-oracle/oracle-sql.lisp: Add declaration so that SBCL runs efficiently.
414         * tests/test-init.lisp: capitalize odbc backend name in banner
415         * CONTRIBUTORS: Add note about Marcus' excellent work
416         * sql/oodml.lisp: Removed old stub function     
417         * clsql.asd: Use module names in current package rather than keyword package
418         * db-oracle/oracle-sql.lisp: Don't trim trailing spaces. Prevent interrupts
419         in setting sequence position. Make autocommits more efficient.
420         * tests/test-init.lisp: Skip 2 tests on Oracle which have unsupported syntax 
421         * sql/oodml.lisp: Get rid of undocumented raw-string type. CommonSQL
422         strings are raw (non-trimmed trailing whitespace). Add database-get-type-specifier
423         and read-sql-value for NUMBER and CHAR.
424         * sql/base-classes.lisp: Add autocommit slot
425         * sql/transaction.lisp: Added autocommit processing, mild cleaning.
426         * doc/intro.xml: Add Oracle
427         
428 24 May 2004: Marcus Pearce (m.t.pearce@city.ac.uk) 
429         * db-postgresql-socket/postgresql-socket-sql.lisp: replace 
430         CLSQL-SIMPLE-WARNING with SQL-WARNING. 
431         * db-sqlite/sqlite-sql.lisp: replace CLSQL-SIMPLE-WARNING with 
432         SQL-WARNING. 
433         * db-aodbc/aodbc-sql.lisp: replace CLSQL-ERROR with SQL-ERROR. 
434         * clsql.asd: reworked module structure in package definition and 
435         file names to better reflect component functionality. 
436         * sql/package.lisp: added SQL-FATAL-ERROR and SQL-TIMEOUT-ERROR to 
437         exports list. Removed duplicate and obsolete exports. Exported 
438         remaining SQL operations: SQL-SOME, SQL-<>, SQL-BETWEEN, SQL-DISTINCT, 
439         SQL-NVL and SQL-FUNCTION. Organised exports by functionality/file and 
440         according to whether they are specified by CommonSQL or CLSQL 
441         extensions. 
442         * sql/transaction.lisp: replace CLSQL-SIMPLE-WARNING with 
443         SQL-WARNING. 
444         * sql/generics.lisp: moved generics for QUERY and EXECUTE-COMMAND 
445         here from basic-sql.lisp. 
446         * sql/expressions.lisp: NEW FILE: renamed from classes.lisp (deleted). 
447         * sql/fddl.lisp: NEW FILE: renamed from table.lisp (deleted). 
448         * sql/fdml.lisp: NEW FILE: merger of basic-sql.lisp and sql.lisp
449         (both deleted). 
450         * sql/ooddl.lisp: NEW FILE: ooddl from objects.lisp (deleted). 
451         * sql/oodml.lisp: NEW FILE: oodml from objects.lisp (deleted). 
452         
453 23 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
454         * Version 2.10.22 released
455         * sql/kmr-mop.lisp, sql/objects.lisp: Since SBCL is the only implementation that
456         has reversed class slots, change the default for ordered-class-slots so that slots
457         are now in the same order an in the def-view-class.
458         * sql/sql.lisp: Honor case of string table identifier to INSERT-RECORDS
459         * test/test-fddl.lisp: Add two tests for mixed case names
460         * db-oracle/oracle-sql.lisp: Add missing database qualifier. Return NUMBER (double)
461         for computed fields, this will require some adjustment to the test suite which
462         in many cases expects integers.
463         * test/test-fdml.lisp: Accomodate that Oracle returns doubles for computed columns
464         
465 22 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
466         * Version 2.10.21 released
467         * sql/sequences.lisp: Move generic sequence functions here from db-sqlite,
468         db-odbc, and db-aodbc.
469         * sql/*.lisp: Add db-type parameter to generic functions READ-SQL-VALUE,
470         DATABASE-GET-TYPE-SPECIFIER, and OUTPUT-SQL-VALUE-AS-TYPE. Update methods to use these.
471         * sql/generic-postgresql.lisp, sql/generic-odbc.lisp: New files
472         * db-odbc/odbc-sql.lisp, db-aodbc/aodbc-sql.lisp: Move common code to 
473         sql/generic-odbc.lisp
474         * db-postgresql/postgresql-sql.lisp, db-postgresql-socket/postgresql-socket-sql.lisp: 
475         Move common code to  sql/generic-postgresql.lisp
476         * sql/classes.lisp: honor case of string tables when outputting queries 
477         * sql/objects.lisp: Add database type to default database-get-type-specifier method
478         * sql/sql.lisp:  Add database type to default database-abort-transaction method
479         * db-mysql/mysql-objects.lisp: New file
480         * sql/objects.lisp: Move MySQL specific code to mysql-objects.lisp
481         * sql/utils.lisp: Add GETENV function which will be used to get ORACLE_HOME
482         from environment
483         * test/test-fdml.lisp: String table names are now case sensitive, so convert to
484         default db case for FDML/SELECT/25
485
486 22 May 2004 Kevin Rosenberg
487         * Version 2.10.20 released: Oracle backend now fails 6 out of 200 tests
488         * TODO: Added 2 variances from CommonSQL. Add tests for owner phrases
489         and string identifiers with non-default case
490         * sql/table.lisp: Don't convert string table name to a symbol.
491         * sql/classes.lisp: Honor case of string identifiers
492         * sql/sql.lisp: Ensure recyclebin is purged for Oracle in 
493         TRUNCATE-DATABASE
494         * db-oracle/oracle-sql.lisp: Add sequence functions, fix use of
495         of owner phrases. Obtain server and client versions.
496         * db-oracle/oracle-objects.lisp: Fix type specifiers
497         * tests/test-fddl.lisp: Allow :varchar2 and :number as data types
498         * tests/test-init.lisp: Properly get username from Oracle connection-spec
499         
500 22 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
501         * sql/generics.lisp: reworked docstrings. Remove generics for 
502         ADD-TO-RELATION and REMOVE-FROM-RELATION. 
503         * sql/objects.lisp: reworked docstrings. Changed UPDATE-OBJECT-JOINS 
504         to UPDATE-OBJECTS-JOINS for CommonSQL compatibility. 
505         * sql/package.lisp: Changed UPDATE-OBJECT-JOINS to UPDATE-OBJECTS-JOINS 
506         for CommonSQL compatibility. Remove ADD-TO-RELATION and 
507         REMOVE-FROM-RELATION. 
508         * tests/test-oodml.lisp: Changed UPDATE-OBJECT-JOINS to 
509         UPDATE-OBJECTS-JOINS for CommonSQL compatibility. 
510         * doc/TODO: added notes about extra slot options to DEF-VIEW-CLASS. 
511         * sql/conditions.lisp: add documentation for conditions. Add 
512         SQL-TIMEOUT-ERROR and SQL-FATAL-ERROR for CommonSQL compatibility. 
513
514 21 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
515         * sql/basic-sql.lisp: reworked docstrings. 
516         * sql/transactions.lisp: reworked docstrings. 
517         * sql/sql.lisp: reworked docstrings. 
518         * sql/initialize.lisp: reworked docstrings. INITIALIZE-DATABASE-TYPE 
519         sets *DEFAULT-DATABASE-TYPE* for CommonSQL compatibility. 
520         * sql/database.lisp: reworked docstrings. 
521         * doc/TODO: added notes about START-TRANSACTION and IN-TRANSACTION-P 
522         and FDML extensions and database extensions. 
523
524 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
525         * db-oracle/oracle-sql: Use clsql-specific error conditions. Use owner keyword.
526         * db-oracle/make9.sh: add makefile for building with Oracle 9 client
527         libraries
528         * sql/table.lisp: Add logic for dealing with Oracle 10g vs. previous
529         Oracle versions with the PURGE option required for drop table. This needs
530         to be converted to a generic function and moved to db-oracle/oracle-sql.lisp
531
532 20 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
533         * sql/classes.lisp: remove unused PARAMS slot in SQL-IDENT-ATTRIBUTE. 
534         * sql/syntax.lisp: remove unused PARAMS keyword arg to SQL-EXPRESSION. 
535         * sql/table.lisp: reworked docstrings. 
536         * sql/objects.lisp: moved *default-update-objects-max-len* here from 
537         table.lisp. 
538         * doc/TODO: notes about :if-does-not-exist arg to DROP-TABLE, 
539         DROP-VIEW and DROP-INDEX and the use of the :transactions and 
540         :constraints keyword args to CREATE-TABLE. 
541         * sql/classes.lisp: the DESCRIPTION argument to CREATE-TABLE is now 
542         CommonSQL compatible with respect to column constraints. 
543
544 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
545         * sql/oracle-sql.lisp: Now compiles and runs on SBCL.
546         Requires UFFI 1.5.0 or higher
547         
548 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
549         * Version 2.10.19
550         * sql/conditions.lisp: Fix cerror
551         
552 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
553         * Version 2.10.18 released: New condition hierarchy to be compatible
554         with CommonSQL -- not backward compatible with previous CLSQL.
555         * sql/db-interface.lisp: Add more default methods
556         * sql/objects.lisp: Add explicit table name to order-by parameters
557         in find-all when only one table to avoid selecting a duplicate row.
558         Fix error in FIND-ALL when using :order-by such as (([foo] :asc))
559         as previous logic was adding two fields (foo asc) to SELECT query.
560         Make :result-types :auto be the default for object selections.
561         Properly handle caching key when using multiple order-by with asc/desc
562         directions.
563         * db-oracle/*.lisp: Much improvements, now passes 90% of test suite
564         
565 19 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
566         * sql/recording.lisp: reworked docstrings. 
567         * sql/syntax.lisp: reworked docstrings. 
568         * doc/TODO: added notes about extensions to SQL-RECORDING-P and the 
569         SQL syntax state functions being macros. 
570
571 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
572         * sql/package.lisp: Export initialize-database-type and
573         *initialize-database-types* from CLSQL package.
574         * sql/conditions.lisp: Add new CommonSQL compatible conditions,
575         remove old CLSQL conditions.
576         * sql/loop-extensions.lisp: Make errors of type sql-user-error
577         * */*.lisp: Convert to from old to new conditions
578         
579 18 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
580         * sql/table.lisp: Add PURGE to drop command for oracle 10g backend.
581         To handle this difference, will need to add a new database-drop-table
582         generic function.
583         * db-oracle/oracle-sql.lisp: Move server-version and
584         major-version-number to database object to allow multiple connections
585         to Oracle servers of different versions.
586         
587 18 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
588         * TODO: moved notes about backends to doc/TODO. 
589         * doc/TODO: added notes about backends and select extensions. 
590         * sql/base-classes.lisp: remove obsolete schema slot in database 
591         class. 
592         
593 16 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
594         * db-oracle/oracle-api: Add OCIServerVersion
595         * db-oracle/oracle-sql: Query and store server version on connect
596         * sql/db-interface.lisp: Add new db-type-has-bigint? generic
597         function to handle OCI's lack of bigint support
598         * test/test-basic.lisp: Separate bigint testing
599         * test/test-utils.lisp: Add oracle to specs and list of backends
600         * doc/TODO: New file
601         * test/test-fdml.lisp: Added FDML/SELECT/34 to test
602         run-time instantiation of variables in reader macros.
603         * TODO: Remove item already complete. Add note about
604         condition variances
605         
606 16 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
607         * sql/syntax.lisp: added condition to the reader macro to treat [*] 
608         as a column identifier (rather than an operation) for CommonSQL 
609         compatibility. 
610         * tests/test-fdml.lisp: add tests for ORDER-BY and SET-OPERATION 
611         keword args to SELECT, [*] as column identifier, new MAP-QUERY 
612         behaviour and the ANY and ALL operators in subqueries. 
613         * tests/test-init.lisp: add set-operation and subquery tests to 
614         appropriate skip lists. 
615         * sql/objects.lisp: remove redundant and non CommonSQL compatible 
616         ORDER-BY-DESCENDING keyword argument for SELECT. 
617         * sql/classes.lisp: remove redundant and non CommonSQL compatible 
618         ORDER-BY-DESCENDING keyword argument for SELECT. 
619         * tests/test-oodml.lisp: add test for ORDER-BY keyword to SELECT 
620         with object queries. 
621
622 15 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
623         * sql/db-interface.lisp: Add new db-type-has-union? 
624         since Mysql 3.23 does not support unions.
625         * sql/test-init.lisp: Don't try union tests on database
626         backends which do not support it.
627         * db-oracle/*.lisp: initial port to UFFI
628         * sql/objects.lisp: implement UPDATE-OBJECT-JOINS,
629         implement REFRESH for SELECT.
630         * tests/test-oodml.lisp: Add tests for deferred retrieval,
631         caching, refresh, and update-object-joins
632         * tests/test-init.lisp: Add deferred-employee-address class
633         
634 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
635         * sql/operations.lisp: make MINUS operator a synonym for EXCEPT. Add 
636         COALESCE operator and make NVL a synonym for this. Make ANY, SOME, 
637         ALL and EXISTS generate function expressions so they output the 
638         correct SQL. 
639         * sql/classes.lisp: SELECT now generates appropriate SQL when 
640         passed the SET-OPERATION and ALL keyword arguments. 
641         * sql/classes.lisp: the ORDER-BY keyword argument to SELECT now 
642         accepts ordering constraints as pairs of the form (column direction) 
643         where direction may be :ASC or :DESC. 
644         * tests/test-syntax.lisp: added tests for MINUS and COALESCE/NVL. 
645         Correct tests for ANY, SOME, ALL and EXISTS. 
646         * tests/test-fdml.lisp: added test for COALESCE. 
647         * sql/sql.lisp: MAP-QUERY now applies FUNCTION to QUERY-EXPRESSION 
648         using funcall unless QUERY-EXPRESSION returns one column and its 
649         FLATP slot is not nil in which case apply is used. 
650         * tests/test-basic.lisp: modified calls to MAP-QUERY to reflect the 
651         changes. 
652         * TODO: remove items done. 
653         * db-postgresql/postgresql-sql.lisp: no need to reverse results in 
654         DATABASE-LIST-ATTRIBUTES. 
655         * db-postgresql-socket/postgresql-socket-sql.lisp: no need to reverse
656         results in DATABASE-LIST-ATTRIBUTES.    
657         
658 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
659         * sql/classes.lisp: SELECT now accepts table identifiers as strings 
660         for CommonSQL compliance. Add support for qualified sql identifiers 
661         with aliased table names. 
662         * tests/test-fdml.lisp: added tests for table identifiers as strings 
663         in SELECT and for aliased definitions. 
664         * tests/test-syntax.lisp: added tests for alias definitions. 
665         
666 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
667         * sql/sql.lisp: PRINT-QUERY now calls QUERY with result-types and 
668         field-names set to nil. 
669         * sql/sql.lisp: PRINT-QUERY now computes column sizes correctly 
670         with null attribute values. 
671         * sql/operations.lisp: modify SQL concatenation operator to accept 
672         unescaped || symbol.  
673         * sql/syntax.lisp: modify sql reader macro function to accept 
674         unescaped sql concatenation operator. 
675         * tests/test-fdml.lisp: unescape sql concatenation operator. 
676         * tests/test-syntax.lisp: unescape sql concatenation operator. 
677         * TODO: remove items done. Add notes about SQLITE/MYSQL backends. 
678         Note to add test for universal-time. Note about difference from 
679         CommonSQL in transaction handling. 
680
681 13 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
682         * tests/test-init.lisp: Add deferred-employee-address
683         class
684         * tests/test-oodml.lisp: Add deferred retrieval testgs
685         
686 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
687         * Version 2.10.17
688         * LATEST-TEST-RESULTS: Run on all platforms, add AMD64
689         * sql/sql.lisp: Add FOR-EACH-ROW macro from clsql-classic/sql.lisp
690         * db-sqlite/sqlite-uffi-api.lisp: Fix row-pointer type
691         * *: Fix minor style warnings
692         * clsql-classic: Remove system and subdirectory
693         * clsql-base: Remove system and subdirectory and
694         fold into clsql system
695         * doc/intro.xml: Remove reference to old clsql-base. Add x86_64
696         as supported platform.
697         
698 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
699         * Version 2.10.16: CLSQL now fully supports AllegroCL AMD64
700         * db-odbc/odbc-api.lisp: work around return-type bug [spr28889] in
701         Allegro 7.0beta AMD64
702         * db-odbc/*.lisp: Add a layer of indirection to foreign-type
703         of ODBC longs since this type can vary on 64-bit platforms depending
704         upon the compilation options of unixODBC.
705         * db-mysql/mysql-api.lisp: Fix int vs. long slots in foreign
706         structures found by testing with AllegroCL 7.0b AMD64.
707         * db-*/*-loader.lisp: Load 64-bit libraries on 64-bit platorms
708         * sql/objects.lisp: Simple implementation of UPDATE-OBJECT-JOINS.
709         Initial caching support for SELECT
710         * tests/test-oodml.lisp: Avoid using cache when testing select.
711         * sql/kmr-mop.lisp: Explicitly check slot order and
712         store as a cl:*feature*
713         * sql/recording.lisp: Remove additional types to
714         increase CommonSQL conformance.
715         * tests/test-init.lisp: Change a :column attribute
716         to test symbols as value
717         * sql/relations.lisp: Remove functions since they don't support
718         many to many relationships.
719         * examples/clsql-tutorial.lisp, doc/csql.lisp: Remove use
720         of add-to-relations function and replace with explicit field settings.
721         * base/classes.lisp: Remove obsolute query-stream. Add record-caches slot.
722         
723 9 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
724         * Version 2.10.15
725         * LATEST-TEST-RESULTS: results with current version
726         * sql/kmr-mop.lisp: Make CMUCL reader macros specific for cmu18
727         since cmu19 has opposite order of class slots.
728         * sql/objects.lisp: Fix (setf slot-value-using-class) for Lispworks
729         * tests/test-fdml.lisp: Renumber SELECT tests to avoid overwriting
730         a previous test
731         * tests/test-init.lisp: Check test-database-underlying-type for
732         ODBC/MySQL tests
733         
734 8 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
735         * sql/operations.lisp: complete remaining operations for the sql 
736         syntax: SUBSTR, SOME, ORDER-BY, GROUP-BY, NULL, DISTINCT, EXCEPT, 
737         UNION, INTERSECT, BETWEEN. 
738         * sql/classes.lisp: add new classes: SQL-BETWEEN-EXPRESSION, 
739         SQL-QUERY-MODIFIER-EXPRESSION and SQL-SET-EXPRESSION. 
740         * tests/test-syntax.lisp: add tests for new operations. 
741         * tests/test-fdml.lisp: add tests for queries based on new operations. 
742         * tests/test-init.lisp: add select/20 to tests skipped for sqlite and 
743         select/20, query/5, query/7 and query/8 to tests skipped by mysql. 
744         * TODO: removed entries done. 
745
746 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
747         * tests/benchmarks.lisp: Add immediate vs. deferred
748         join test.
749         
750 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
751         * Version 2.10.13: Now works on openmcl 0.14.2 
752         * sql/objects.lisp: Add :retrieval :immediate for
753         object selections
754         * tests/test-init.lisp: Add non-index fields for testing 
755         join class employee-addresss
756         * test/test-oodml.lisp: Add tests for retrieval immediate
757         * sql/metaclasses.lisp: Handle differences in direct-slot-definition 
758         values which are now listifed by openmcl 14.2.
759         * sql/objects.lisp: more framework for supporing immediate retrieval 
760
761 7 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
762         * docs/intro.xml: Upload location of a README file
763         * sql/metaclass.lisp: Work-around openmcl's CHANGE-CLASS
764         changing the type-specifier. Use a lisp type of (OR NULL FOO)
765         for a specified-type of FOO unless :db-constraints :not-null.
766         No need to specialize finalize-inheritance for openmcl.
767         * tests/test-*.lisp: Rename fields so that joins occur on
768         fields with different names. This ensures that join code is
769         selecting the proper name.
770         * test/test-init.lisp: Add :base-table for employee-address
771         view class for testing.
772         * sql/objects.lisp: Use view-table rather than name of table
773         in a number of places to fix errors noted with using :base-table.
774
775 6 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
776         * sql/objects.lisp: replace *update-records-on-make-instance* with 
777         *db-auto-sync* which also controls both automatic creation of 
778         new records on creation of new instance and updating of record 
779         fields on setting of instance slots (as suggested by Edi Weitz). 
780         * tests/test-init.lisp: replace *update-records-on-make-instance* 
781         with *db-auto-sync*. 
782         * sql/package.lisp: replace *update-records-on-make-instance* 
783         with *db-auto-sync*. 
784         * TODO: replace *update-records-on-make-instance* with *db-auto-sync*. 
785         * sql/objects.lisp: remove redundant rebindings of *db-initializing* 
786         and *default-database* in FIND-ALL. 
787         * sql/package.lisp: import time functions from CLSQL-BASE. 
788         * tests/test-time.lisp: replace CLSQl-BASE package qualifier with CLSQL. 
789         * tests/test-fdml.lisp: replace CLSQl-BASE package qualifier with CLSQL. 
790         * tests/test-init.lisp: replace CLSQl-BASE package qualifier with CLSQL. 
791         * tests/test-ooddl.lisp: replace CLSQl-BASE package qualifier with 
792         CLSQL. 
793
794 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
795         * sql/classes.lisp: Add SQL-OBJECT-QUERY type. Have [select 'class]
796         now return a sql-object-query type rather than directly performing a query.
797         This improves CommonSQL conformance.
798         * sql/sql.lisp: Add new QUERY method for SQL-OBJECT-QUERY. Move
799         from basic/basic-sql.lisp the DO-QUERY and MAP-QUERY since they now
800         depend on sql-object-query-type.
801         * sql/loop-extensions.lisp: Move from base package
802         * classic/package.lisp: remove references to map-query and do-query
803
804 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
805         * TODO: New section on optimizations, especially optimizing JOINs.
806         * sql/objects.lisp: Have :target-slot return of list of lists rather
807         than a list of cons pairs to be conformant with CommonSQL.
808         Make :target-slot much more efficient by using a SQL inner join
809         statement and just requiring one SQL query. Add :retrieval :deferrred
810         to target-slot joins. Add placeholder for update-objects-join.
811         * sql/classes.lisp: Add :inner-join and :on slots to sql-query class
812         and process them for query output-sql. 
813
814 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
815         * Version 2.10.11
816         * base/basic-sql.lisp: Avoid multiple evaluation
817         of query-expression in DO-QUERY
818         * sql/objects.lisp: Make SELECT a normal function.
819         SELECT now accepts type-modified database identifiers, such as
820         [foo :string] which means that the values in column foo are returned 
821         as Lisp strings. Add new *update-records-on-make-instance* special
822         variable controlling automatic creation of new instances. Add missing
823         RESULT-TYPES keyword to FIND-ALL. Add :target-slot support.
824         * sql/packages.lisp: Export *update-records-on-make-instance* 
825         * test/test-oodml.lisp: Add tests for :target-slot and many-to-many
826         selections.
827         * test/test-fdml.lisp: Add tests for type-modified
828         database identifiers.
829         * test/test-init.lisp: Stop using add-relation since implementing
830         many-to-many joins. Use *update-records-on-make-instance* 
831         to automatically store records on instance creation. Add many-to-many
832         employee-address view-class.
833         
834 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
835         * Version 2.10.10
836         * base/loop.lisp: Add object iteration. Use :result-type
837         :auto for result-set. Remove 
838         duplicate (and non-correct) code for non-list variables by
839         simply making an atom variable into a list. 
840         * sql/package.lisp: Remove unnecessary clsql-sys package
841         and replace it with clsql.
842         * sql/metaclasses.lisp: Properly store specified-type from
843         direct-slot-definition and then store translated type in
844         effective-slot-definition
845         * sql/classes.lisp: Don't output type in sql-output
846         for SQL-IDENT-ATTRIBUTE. This is in preparation for supporting
847         [foo :integer] as fields in SELECT.
848         * sql/query.lisp: Set default for :result-types to :auto in
849         FDML QUERY.
850         * sql/objects.lisp: Use specified-type when invocating 
851         database-get-type-specifier. def-view-class macro now returns
852         the class instance.
853         * base/basic-sql.lisp: Make :AUTO the default value for
854         :RESULT-TYPES for MAP-QUERY and DO-QUERY.
855         * sql/objects.lisp: Add bigint type
856         * test/tests-basic.lisp: Add tests for :result-types for
857         MAP-QUERY and DO-QUERY
858         * test/test-fdml.lisp: Add test for result-types in LOOP
859         and also using single symbol rather than a list for variables.
860         Add test that default :result-types is auto for FDML QUERY.
861         * test/test-syntax.lisp: Don't expect TYPE in the SQL-OUTPUT
862         of SQL-IDENT-ATTRIBUTE.
863         * test/test-oodml.lisp: Enable OO loop iteration test,
864         modify it so it doesn't depend on boolean where.
865         
866 4 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
867         * Version 2.10.9
868         * sql/objects.lisp: added derived type specifier for universal time. 
869         * sql/package.lisp: added #:universal-time to clsql-sys exports. 
870         * tests/test-oodml.lisp: added test for translation of boolean slots 
871         in SELECT with object queries. 
872         
873 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
874         * db-odbc/odbc-api.lisp: Fix changing nil to "NIL" 
875         for odbc/postgresql backend.
876         * db-odbc/odbc-sql.lisp: Fix ATTRIBUTE-TYPE so that
877         it can handle NIL values from the ODBC driver
878         * tests/benchmarks.lisp: New file with initial
879         benchmark suite
880         * sql/relations.lisp: fix to add subclassing support,
881         minor optimizations [Edi Weitz]
882         
883 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
884         * Version 2.10.8        
885         * base/conditions.lisp: Add *backend-warning-behavior*
886         special variable.
887         * db-postgresql-socket/postgresql-socket-sql.lisp:
888         Honor value of *backend-warning-behavior*
889         * tests/test-fdml.lisp: Remove test of raw boolean value
890         since different backends handle this differently. Add
891         test for :column attribute.
892         * tests/test-oodml.lisp: Add tests for boolean slot value
893         and for :void-value attribute
894         * tests/test-init.lisp: Use *backend-warning-behavior*
895         to suppress warnings from postgresql about implicitly
896         creating primary key in tables. Add new address table.
897         
898 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
899         * Version 2.10.7
900         * db-odbc/odbc-dbi.lisp: Convert TINYINT to integers when
901         result-types is :auto
902         * sql/objects.lisp: Properly handled writing/reading Boolean
903         values from SQL database when retrieving objects.
904         * test/test-fdml.lisp: Add another test for boolean results
905         * test/utils.lisp: Fix incorrect declaration
906         
907 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
908         * Version 2.10.6
909         * sql/generics.lisp: add generic function for SELECT. 
910         * sql/objects.lisp: make SELECT a method specialisation. 
911         * sql/classes.lisp: MAKE-QUERY now calls SELECT if the selections 
912         referred to are View Classes. 
913         * base/basic-sql.lisp: in DO-QUERY and MAP-QUERY, if the 
914         query-expression arg evaluates to a list, then we have an object 
915         query. 
916         * tests/test-oodml.lisp: add tests for DO-QUERY and MAP-QUERY with 
917         object queries. 
918         * TODO: remove items done and add a todo for SELECT. 
919         * sql/objects.lisp: SELECT takes a :field-names arg to pass on to 
920         QUERY. 
921         * sql/sql.lisp: add :field-names arg to QUERY. 
922         * tests/test-fdml.lisp: minor rework to use :field-names arg to 
923         SELECT. 
924
925 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
926         * sql/objects.lisp: fix bug in FIND-ALL when SELECT called with 2 
927         or more View Classes. 
928         * sql/objects.lisp: make the :flatp argument to SELECT work with 
929         object queries. 
930         * sql/objects.lisp: make SELECT accept a :result-types argument 
931         (defaults to :auto) which is passed on to QUERY.  
932         * sql/objects.lisp: SELECT returns field-names as a second value. 
933         * tests/test-ooddl.lisp: add flatp arg to SELECT calls as appropriate. 
934         * tests/test-fdml.lisp: add flatp/result-types arguments to calls 
935         to SELECT and take only first value as appropriate.
936         * tests/test-fdml.lisp: add two new tests for query result coercion 
937         and the field-names returned as a second value from SELECT. 
938         * tests/test-oodml.lisp: add flatp arg to SELECT calls as appropriate. 
939         
940 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
941         * Version 2.10.6-pre1
942         * sql/metaclasses.lisp: Add void-value slot
943         * doc/csql.xml: Update def-view-class documentation
944         * test/test-init.lisp: Change old :db-type to :db-kind.
945         Remove old :nulls-ok attributes.
946         * sql/objects.lisp: Add new universal-time and bigint
947         types. Optimize reading of integers using parse-integer
948         rather than read-from-string.
949         * */*.lisp: Merge clsql-base-sys and clsql-base packages
950         into clsql-base package
951         * classic/sql.lisp: Move large object support into base, leaving
952         classic without any functionality that is provided in the clsql
953         system.
954         * classic/package.lisp: Rename clsql-classic-sys package to
955         its former nickname of clsql-classic
956         
957 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
958         * Version 2.10.5: SQLite backend now passes all result-types tests
959         * clsql-sqlite.asd: Depend on clsql-uffi system
960         * db-sqlite/sqlite-sql.lisp: Use clsql-uffi:convert-raw-field
961         for efficiency and code reuse. 
962         * db-sqlite/sqlite-api-uffi.lisp: Change (* :char) to (* :unsigned-char)
963         for better cross-implementation compatibility.
964
965 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
966         * Version 2.10.4
967         * sql/tables.lisp: Fix typo in CACHE-TABLE-QUERIES
968         [Marcus Pearce]
969         * db-postgresql/postgresql-sql.lisp: Fix foreign-string vs. cstring
970         bug on SBCL in result-field-names function as reported by Marcus Pearce
971         * db-sqlite/sqlite-sql.lisp: Fix  in database-store-next-row
972         manifest in SBCL testing
973         
974 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
975         * Version 2.10.3
976         * sql/database.lisp: Conform more to CommonSQL output
977         for STATUS command [Marcus Pearce]
978         * sql/sqlite-sql.lisp: Rework to use result-types
979         * sql/sqlite-api-clisp.lisp: Add compatibility layer
980         with sqlite-api-uffi.lisp so that sqlite-sql.lisp can
981         be cleaned up of most clisp reader conditionals
982         * sql/test-init.lisp: Now run field type tests on sqlite
983         backend
984         
985 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
986         * Version 2.10.2
987         * base/basic-sql.lisp: Set default value of :result-types 
988         to :auto for more CommonSQL conformance. 
989         * test/test-fdml.lisp: Add tests for numeric value of fields
990         
991
992 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
993         * Version 2.10.1: New API function: CACHE-TABLE-QUERIES.
994         * base/basic-sql.lisp, db-*/*-sql.lisp: More CommonSQL conformance.
995         Return field names as second value for QUERY. This can be overridden
996         for efficiency with the new keyword :FIELD-NAMES set to NIL
997         in the QUERY invocation.
998         * test/test-fdml.lisp: Add tests for new field-name feature
999         * sql/metaclass.lisp: Remove old Lispworks cruft
1000         and replace it with invocation of new code in kmr-mop.lisp
1001         which actually works with Lispworks 4.2
1002         * doc/ref_clsql.xml: Document new :FIELD-NAMES keyword to
1003         QUERY function
1004         * base/db-interface.lisp: Document the multiple values
1005         returned by DATABASE-ATTRIBUTE-TYPE so matches the
1006         undocumented CommonSQL behavior. 
1007         * sql/table.lisp: Add *CACHE-TABLE-QUERIES-DEFAULT* and
1008         *DEFAULT-UPDATE-OBJECTS-MAX-LEN* variables and export them.
1009         LIST-ATTRIBUTE-TYPES now conforms to CommonSQL spec.
1010         Implement CACHE-TABLE-QUERIES.
1011         * db-odbc/odbc-sql.lisp: Fix attribute-type function
1012         * test/test-fddl.lisp: Add tests for attribute type     
1013         * db-mysql/mysql-sql.lisp: Mild optimization in accessing
1014         field structures.
1015         * base/classes.lisp: Add attribute-cache slot to database clas
1016         * base/initialize.lisp: initialize-database-type now automatically
1017         loads database-type backend as needed.
1018         * base/test-init.lisp: Utilize new initialize-database-type functionality.
1019         * TODO: remove items done
1020         
1021 30 Apr 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
1022         * Version 2.9.6
1023         * sql/objects.lisp: remove create/drop-sequence-from-class. 
1024         * sql/objects.lisp: add INSTANCE-REFRESHED generic function. 
1025         * sql/objects.lisp: improved CommonSQL compatibility for
1026         UPDATE-RECORD-FROM-SLOT, UPDATE-RECORD-FROM-SLOTS,
1027         UPDATE-RECORDS-FROM-INSTANCE and DELETE-INSTANCE-RECORDS. 
1028         * sql/generics.lisp: move generics from objects.lisp to here. 
1029         
1030 29 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1031         * Version 2.9.6-pre1
1032         * db-mysql/mysql-client-info.lisp: Add client version 4.1
1033         detection
1034         * sql/sql.lisp: Make *default-database* the default for
1035         TRUNCATE-DATABASE
1036         
1037 28 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1038         * Version 2.9.5
1039         * db-mysql/mysql-sql.lisp: Fix bug in transaction capability
1040         detection
1041         * sql/objects.lisp: Commit patch from Slawek Zak to allow specifying 
1042         :metaclass in DEF-VIEW-CLASS invocation. This allows defining classes 
1043         on a metaclass specialized from standard-db-class.
1044
1045         
1046 24 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1047         * Version 2.9.4: Multiple changes to support Allegro's "modern"
1048         lisp which uses a lowercase reader and has case-sensitive symbols
1049         * sql/classes.lisp: Fix make-load-form bug for sql-ident-table
1050         exposed by case-sensitive mlisp. 
1051
1052 22 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1053         * Version 2.9.3: All tests now pass on all platforms!
1054         * LATEST-TEST-RESULTS: New file with summary of test results
1055         * sql/generics.lisp: New file for generic function definitions.
1056         * test/test-init.lisp: Display names of skipped tests.
1057         Use unwind-protect to ensure disconnect
1058         * sql/objects.lisp: Change database-type to database-underlying-type
1059         so that actual database engine is properly identified
1060         * db-odbc/odbc-api.lisp: Have default *time-conversion-function*
1061         return an ISO timestring for compatibility with other drivers.
1062         Workaround bug in MyODBC for LIST-TABLE-INDEXES
1063         * test/test-fdml.lisp: Accomodate that odbc-postgresql driver
1064         returns floating-point values for floor and truncate operations 
1065         * db-aodbc/aodbc-sql.lisp: Implement DATABASE-LIST-VIEWS
1066         * tests/test-basic.lisp: Port to regression tester
1067         * test/test-init.lisp: Output to *report-stream*
1068         * docs/appendix.xml: Document ODBC and SQLite backends.
1069         * sql/classes.lisp: Make output-sql require a database parameter.
1070         This allows SQL generation to have the proper case to support
1071         the differences in case handling between CommonSQL API,
1072         Postgresql, MySQL, Oracle.
1073         
1074 21 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1075         * Version 2.9.2: Improvments in database capability introspection
1076         and querying. Support transactions in MySQL where available.
1077         All tests now pass on MySQL and SQLite in addition to postgresql
1078         and postgresql-socket. ODBC fails only with OODDL/TIME/1 and OODDL/TIME/2.
1079         * db-odbc/odbc-sql.lisp: Add DATABASE-LIST-VIEWS. Better support
1080         DATABASE-LIST-SEQUENCES.
1081         * clsql-uffi.asd, clsql-mysql.asd: Improve shared library loading
1082         * Database_capabilies: add HAS-VIEWS, HAS-CREATE/DESTROY-DB,
1083         HAS-BOOLEAN-WHERE, TRANSACTION-CAPABLE
1084         * tests/*.lisp: Check database capabilities and remove tests which
1085         the database backend does not support
1086         * sql/table.lisp: Add :TRANSACTIONS keyword to create table which
1087         controls whether InnoDB tables will be created when supported on
1088         the underlying MySQL server.
1089         
1090 20 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1091         * Version 2.9.0: New API function: LIST-TABLE-INDEXES,
1092         supported by all database backends (except AODBC since
1093         AODBC doesn't support index querying)
1094         * db-obdc/odbc-sql.lisp: Support DATABASE-LIST-INDEXES
1095         * db-odbc/odbc-api.lisp: Add %TABLE-STATISTICS function
1096         to support index queries
1097         * db-aodbc/aodbc-sql.lisp: Filter driver manager
1098         "information_schema" tables from LIST-TABLES
1099         * tests/test-basic.lisp: Remove table after testing
1100         * tests/test-fddl.lisp: Test LIST-TABLE-INDEXES
1101         * base/db-interface.lisp: Add DATABASE-UNDERLYING-TYPE
1102         which gets the underlying type of database -- required
1103         when dealing with ODBC databases and want to query
1104         database capabilities. Added DB-USE-COLUMN-ON-DROP-TABLES?
1105         as first database-backend specific feature. Is T on
1106         :mysql, NIL on other backends. Change DROP-TABLE to
1107         query this.
1108         
1109 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1110         * Version 2.8.2: Build changes for FreeBSD [Slawek Zak]
1111
1112 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1113         * Version 2.8.1
1114         * db-odbc/odbc-sql.lisp: Add DATABASE-LIST function 
1115         * db-odbc/odbc-dbi.lisp: Add LIST-ALL-DATA-SOURCES function 
1116
1117 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1118         * Version 2.8.0: New API function: LIST-DATABASES
1119         * base/utils.lisp: Fix command-output on CMUCL/SBCL
1120         * db-*/*-sql.lisp: Add new database-list function
1121         * base/database.lisp: Add new LIST-DATABASES command
1122         
1123 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1124         * Version 2.7.9
1125         * db-sqlite/sqlite-sql.lisp: Fix sequence functions.
1126         * db-sqlite/sqlite-api-uffi.lisp: Print error string
1127         correctly.
1128         
1129 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1130         * Version 2.7.7
1131         * doc/csql.xml, examples/clsql-tutorial.lisp: Patch for db-kind
1132         from Eduardo Munoz.
1133         
1134 17 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1135         * Version 2.7.6
1136         * base/objects.lisp, base/classes.lisp: Patch
1137         for db-kind from Eduardo Munoz
1138         
1139 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1140         * Version 2.7.5
1141         * base/basic-sql.lisp: Fix FLATP in QUERY
1142
1143 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1144         * Version 2.7.3: Implement RECONNECT
1145
1146 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1147         * Version 2.7.2: Fix ODBC on Lispworks Windows
1148
1149 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1150         * Version 2.7.1: Fix for new ODBC backend.
1151         clsql-odbc now works on SBCL, CMUCL, OpenMCL
1152         in addition to AllegroCL and Lispworks.
1153
1154 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1155         * Version 2.7.0: New backend: ODBC. Tests as
1156         well as AODBC backend on Allegro,Lispworks.
1157         SBCL and CMUCL don't work quite yet.  Requires UFFI v1.4.11+
1158         * db-odbc/*.lisp: Add ODBC3 function SQLSetEnvAttr
1159         to explicitly set ODBC2 support. Add BIGINT support.
1160         Add result-types support. Added SQLTables.
1161         Fix array type in fetch-all-rows. Make width
1162         changable by database or query.
1163         * base/utils.lisp: Add process functions
1164         * base/package.lisp: Export utils to CLSQL-BASE-SYS
1165         * db-aodbc: Implement sequence functions,
1166         database-list-tables, database-list-attributes
1167         * tests/utils.lisp: Add support for ODBC backend,
1168         rework READ-SPECS to use +all-db-types+
1169         * db-mysql/mysql-sql.lisp: Use WITHOUT-INTERRUPTS
1170         for SEQUENCE-NEXT
1171         
1172 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1173         * Version 2.6.13. Requires UFFI version 1.4.9
1174         * db-odbc/*.lisp: Further porting.
1175         Pre-alpha code! But, basic query is now working.
1176
1177 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1178         * Version 2.6.12
1179         * base/transactions.lisp: Add quote for macro
1180         expansion of WITH-TRANSACTIONS [Time Howe]
1181         * db-sqlite/sqlite-sql.lisp: Support memory database
1182         in database-probe [Ng Pheng Siong]
1183         * db-odbc/*.lisp: Initial port to UFFI of SQL-ODBC.
1184         The DBI layer is not finished.
1185         
1186 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1187         * Version 2.6.11
1188         * sql/objects.lisp: add :root-class functionality for
1189         list-classes and add duration type support [Marcus Pearce]
1190         * db-odbc: Add mid-level [DBI] layer
1191
1192 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1193         * Version 2.6.10
1194         * db-aodbc: Add methods for generic functions, some are
1195         not yet implemented.
1196         * clsql-odbc.asd, db-odbc/*.lisp: Initial start of ODBC
1197         support
1198
1199 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1200         * Version 2.6.9
1201         * base/package.lisp: Add missing symbols [Marcus Pearce]
1202
1203 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1204         * Version 2.6.8
1205         * test/test-fddl.lisp: Cleanup fix [Marcus Pearce]
1206         * utils/time.lisp: Multiple fixes [Marcus Pearce]
1207         * sql/sql.lisp: Fix for truncate-database [Marcus Pearce]
1208         
1209 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1210         * Version 2.6.7
1211         * sql/*.lisp: Remove schema versioning cruft
1212         [Marcus Pearce]
1213         * Makefile: Add classic subdirectory
1214         
1215 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1216         * Version 2.6.6
1217         * sql/sql.lisp: Fix TRUNCATE command, bug reported
1218         by Marcus Pearce
1219         * sql/sql.lisp: Remove EXPLAIN function. Postgresql/Oracle
1220         specific and easy for an application to directly support.
1221         Idea from Marcus Pearce.
1222         * base/basic-sql.lisp: Remove DESCRIBE-TABLE top-level 
1223         API as duplicates LIST-ATTRIBUTE-TYPES [Marcus Pearce].
1224         Keep low-level interface for future optimization
1225         supporting LIST-ATTRIBUTE-TYPES command.
1226         * Makefile: Add to db-sqlite and test directories.
1227         Include them in top-level Makefile
1228         
1229 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1230         * Version 2.6.5
1231         * sql/relations.lisp: Add missing file
1232         * utils/time.lisp: Fixes/extensions [Marcus Pearce]
1233         * test/test-time.lips: New file [Marcus Pearce]
1234         
1235 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1236         * Version 2.6.4
1237         * test/test-init.lisp: Properly handle object
1238         creation. Close database after use.
1239         * sql/sql.lisp: Make DESCRIBE-TABLE a generic
1240         function so can have methods specialized on
1241         table being a string or an sql-table object.
1242         * base/pool.lisp: Really fix CMUCL locking
1243         
1244 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1245         * Version 2.6.3
1246         * test/test-init.lisp: Signal correctly
1247         if any errors occurred in any test suite
1248         * base/loop-extensions.lisp: Fix error
1249         introduced for Lispworks
1250         * base/pool.lisp: Fix locking for CMUCL
1251         * base/objects.lisp: Remove schema-version cruft
1252         
1253 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1254         * Version 2.6.2: New CLSQL API functions:
1255         DESCRIBE-TABLE AND TRUNCATE-DATABASE
1256         Currently, this are only supported on :postgresql
1257         and :postgresql-socket
1258         * base/database.lisp: automatically load ASDF system
1259         in CONNECT if not already loaded
1260         * base/tests.lisp: disconnect database after testing 
1261         * base/*.lisp: Remove CLOSED-DATABASE type in favor
1262         of storing open/closed status in slot of database
1263         * base/pool.lisp: Support locks for CMUCL, OpenMCL, SBCL
1264         * db-postgresql/postgresql-sql.lisp: add DATABASE-RECONNECT,
1265         DATABASE-DESCRIBE-TABLE
1266         * db-sqlite/sqlite-sql.lisp: Add missing slots in database
1267         * base/conditions: Remove duplicate condition
1268         * db-*/*-sql.lisp: Fill new database slot DATABASE-TYPE
1269         * base/recording.lisp: Add new :QUERY type for recording
1270         
1271 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1272         * Version 2.6.1: documentation fixes, merged
1273         classic-tests into tests
1274
1275 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1276         * Version 2.6.0 released: New API functions
1277         CREATE-DATABASE, DESTORY-DATABASE, PROBE-DATABASE
1278         * doc/ref_clsql.xml: Document new functions
1279         * base/database.lisp: New API functions
1280         * base/conditions.lisp: Added CLSQL-ACCESS-ERROR
1281         * base/utils.lisp: Fix use of position-char.
1282         Add COMMAND-OUTPUT used by backends for running
1283         external programs. Fix parsing of SQL*NET-compatible
1284         connection-specs.
1285         * base/loop-extension.lisp: Simplify package use
1286         for Lispworks and Allegro
1287         * db-*/*-sql.lisp: Added DATABASE-CREATE,
1288         DATABASE-DESTORY, PROBE-DATABASE methods
1289         * tests/test-init.lisp, clasic-tests/tests.lisp:
1290         Use destroy-database and create-database to ensure 
1291         testing with empty database
1292         * tests/test-connection.lisp: Add tests for
1293         parsing of string connection-specs
1294         * examples/run-tests.sh: New file for running
1295         test suite on all installed CL implementations
1296         * examples/clsql-tutorial.lisp: moved from
1297         doc directory
1298         * examples/dot.clsql-tests.config: New file
1299         giving an example test configuration
1300         * test/README: Add notes about rtest/ptester
1301         downloads and link to sample test configuration file.
1302         
1303 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1304         * Version 2.5.1 released:
1305         * tests/*.lisp: Rework so tests are run
1306         on multiple backends automatically based
1307         on the contents of ~/.clsql-tests.config.
1308         Reuse helper functions from classic-tests.
1309         * base/database.lisp: Support connection-spec
1310         as string for CONNECT
1311         * classic-tests/tests.lisp: Automatically
1312         load database backends as needed. 
1313         
1314 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1315         * Version 2.5.0 released:
1316         All tests for CLSQL and CLSQL-CLASSIC pass
1317         on all platforms.
1318         * base/loop-extension.lisp: Add Lispworks
1319         loop-extension. Improve type specifying on
1320         other platforms.
1321         
1322 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1323         * Version 2.4.2 released:
1324         loop extension now supported on Allegro, all
1325         CLSQL-TESTS pass on Allegro.
1326         * sql/metaclasses.lisp: Some optimization
1327         of compute-slots, be selective when
1328         ordered-class-slots needs to be called
1329         instead of class-slots
1330         * TODO: add URL with documentation on
1331         extending Lispworks LOOP form
1332         
1333 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1334         * Version 2.4.1 released: CLSQL-TESt suite passes
1335         all tests for postgresql and CMUCL, SBCL, OpenMCL.
1336         Allegro and Lispworks pass all tests except for
1337         FDML/LOOP/1 since the loop extension have not yet
1338         been ported to those implementions.
1339         * sql/metaclasses.lisp: Added new slot to standard-db-class
1340         to hold user-specified type. OpenMCL adjustments to compensate
1341         for its type-predicate function. Since AllegroCL, Lispworks,
1342         and OpenMCL have different slot orders, added compute-slots
1343         and ordered-class-slots functions so their slot order matches
1344         SBCL/CMUCL.
1345
1346 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1347         * Version 2.4.0 released: All tests for clsql-classic now finish
1348         correctly on Allegro, Lispworks, CMUCL, SBCL, OpenMCL for
1349         mysql, postgresql, postgresql-sockets, and sqlite backends.
1350         * db-mysql/mysql-sql.lisp: Fix array dereferencing
1351         * classic-tests/tests.lisp: Fix package name of
1352         number-to-sql-string. 
1353         * clsql.asd/clsql-tests.asd: Add support for asdf:test-op
1354         * db-sqlite/sqlite-api-{uffi,sql}.lisp: Multiple UFFI fixes,
1355         now passes tests on all support UFFI platforms.
1356         * db-postgresql-socket/postgresql-socket-api.list: Ported to 
1357         SBCL and OpenMCL
1358         * multiple: Finish renaming of :types keyword to :result-types for
1359         greater CommonSQL compatibility, including documentation
1360         * sql/basic-cmds.lisp: Remove obsolete file
1361         
1362 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1363         * Version 2.3.3 released
1364         * Fixes for sequences on mysql and sqlite [Marcus Pearce]
1365         * Fixes for uffi sqlite backend [Aurelio Bignoli / Kevin Rosenberg]
1366         * Fix for schema table [Marcus Pearce]
1367         * Add loop extension support for SBCL and OpenMCL [Marcus Pearce]
1368         * Fixes to test suite [Marcus Pearce]
1369
1370 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1371         * db-*/*-sql.lisp: Ensure that expr in
1372         database-query-result-set is a string
1373         * Documentation integration
1374         
1375 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1376         * With for Marcus Pearce's excellent work, I've merged
1377         his clsql-usql port into clsql. The original clsql
1378         interface is available in the clsql-classic package.
1379
1380 02 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1381         * Integrate patch from Marcus Pearce <ek735@soi.city.ac.uk>
1382         adding further support for providing backend for UncommonSQL
1383
1384 10 Mar 2004 Kevin Rosenberg (kevin@rosenberg.net)
1385         * Integrate patch from Aurelio Bignoli for SQLite backend
1386
1387 11 Nov 2003 Kevin Rosenberg (kevin@rosenberg.net)
1388         * Converted documentation to XML format
1389         * Made package installable with asdf-install
1390
1391 23 Jul 2003 Kevin Rosenberg (kevin@rosenberg.net)
1392         * Add for-each-row macro
1393
1394 12 Dec 2002 Kevin Rosenberg (kevin@rosenberg.net)
1395         * uffi/clsql-uffi.lisp: return NIL for numeric fields that are NULL
1396         
1397 16 Oct 2002 Kevin Rosenberg (kevin@rosenberg.net)
1398         * Add support for SBCL, OpenMCL, and SCL
1399         * Add *load-truename* to search path for clsql's
1400         compiled libraries.
1401
1402 01 Sep 2002 Kevin Rosenberg (kevin@rosenberg.net)
1403         * Rework use of file types in .asd files
1404
1405 17 Aug 2002 Kevin Rosenberg (kevin@rosenberg.net)
1406         * Add .asd definition files for ASDF users
1407
1408 31 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
1409         * Restructure directories for Common Lisp Controller v3 compatibility
1410
1411 25 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
1412         * Also change case of logical host in loader files
1413         * Rework handling of logical pathnames
1414         
1415 05 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
1416         * Change case of logical host
1417         
1418 14 May 2002 Kevin Rosenberg (kevin@rosenberg.net)
1419         * clsql-base.system: Added base package that can be used without
1420         high-level SQL commands. Used for adding support for UncommonSQL.
1421         * *.system: Reworked logical pathnames to be more consistent with
1422         Common Lisp Controller.
1423         * debian/*: Completed initial Debian support
1424         
1425 10 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1426         * sql/classes.cl:
1427         * sql/transactions.cl:
1428         Added transaction support. Functions/macros added:
1429         with-transaction, commit-transaction, rollback-transaction,
1430         add-transaction-commit-hook, add-transaction-rollback-hook
1431
1432 04 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1433         * sql/sql.cl:
1434         * sql/pool.cl:
1435         * sql/functional.cl:
1436         Added pool support in connect/disconnect and with-database.
1437         Removed with-db-from-pool as with-database can now works with the connections pool
1438
1439 01 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1440         * sql/sql.cl:
1441         * sql/pool.cl:
1442         * sql/classes.cl:
1443         * sql/package.cl:
1444         Completed connection pool.
1445         Added with-db-from-pool macro.
1446         
1447 27 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1448         * Multiple files:
1449         Added initial support for connection pool
1450         * sql/transactions.cl
1451         Took transaction code from UncommonSQL and integrated
1452         into CLSQL code. See file for disclaimer about why this
1453         was added.
1454
1455 23 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1456         * interfaces/postgresql/postgresql-sql.cl:
1457         Fix keyword typo in database-read-large-object
1458         * interfaces/mysql/mysql-loader.cl
1459         Fix loading on Win32
1460         * test-suite/tester-clsql.cl
1461         Fix type coercion of double-float
1462         * doc/*
1463         Added debian docbook catalog, made it the default
1464         
1465 19 Apr 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1466         * interface/postgresql/postgresql-api.cl:
1467         * interface/postgresql/postgresql-sql.cl:
1468         * sql/sql.cl:
1469         * sql/db-interface.cl:
1470         Added large objects support for postgresql.
1471
1472 07 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1473         * src/postgresql-socket/postgresql-socket-api.cl:
1474         Fixed find-foreign-function call, eliminated crypt warning
1475         * Makefiles:
1476         Multiple improvements
1477         * sql/usql.cl:
1478         Moved functionality from low-level interfaces to this file
1479         via generic functions
1480         * test-suite/tester.cl:
1481         Added test with acl-compat-tester, moved others to old-tests
1482         directory.
1483         
1484 06 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1485         * src/usql.cl:
1486         Reinstated commented out sections
1487         * interfaces/postgresql/postgresql-loader.cl:
1488         * interfaces/mysql/mysql-loader.cl:
1489         Updated find-forieign-library support.
1490         * interfaces/postgresql-socket/postgresql-socket-package.cl:
1491         Fixed require form for Lispworks (Thanks Marc Battyani!)
1492         * interfaces/postgresql-socket/postgresql-socket-api.cl:
1493         Fixed eval of def-function for crypt library.
1494                 
1495 31 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1496         * Added interface to support USQL high-level rouines
1497         
1498 29 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1499         * Separated db-interface and conditions from sql/sql.cl
1500         * Improved foreign library loading testing
1501         * interfaces/postgresql/postgresql-api.cl
1502         Added PQisBusy function
1503         * interfaces/clsql-uffi/clsql-uffi.cl
1504         Fixed sign error for 64-bit processing
1505         
1506 27 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1507         * interfaces/postgresql-socket/postgresql-socket-api.cl:
1508         Fixes to read-double-from-socket. Added 64-bit integer support.
1509         * test-suite/xptest-clsql.cl
1510         Added testint for 64-bit integers
1511         * Additons to installation docs
1512         
1513 26 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1514         * interfaces/postgresql-socket/postgresql-socket-api.cl:
1515         Implemented direct socket reading for field type :double
1516         * Added usage information for :types to documentation
1517         * interfaces/mysql/mysql-sql.cl: Fixed type specifiers in atoi,
1518         atol, atof calls
1519         * interfaces/clsql-uffi: Created new directory. Split common
1520         interface routines that use UFFI into this package. Required
1521         especially to support direct reading of 64-bit integers into
1522         bignums and bypassing temporary strings.
1523         * test-clsql.cl: Updated to test postgresql-socket's
1524         read-double-from-socket function.
1525         * test-suite/xptest-clsql.cl
1526         Started work on test suite
1527
1528 25 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1529         * interfaces/mysql/mysql-api.cl: Added mysql-fetch-fields,
1530         mysql-fetch-field-direct Got :auto types working
1531         * interfaces/postgresql/postgresql-api.cl
1532         * interfaces/postgresql-socket/postgresql-socket-api.cl
1533         Added pgsql-field-types enum. Got :auto types working.
1534         * multiple-files
1535         Renamed :field-types to :types.
1536         
1537 24 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1538         * Added field-types parameter to query, database-query,
1539         database-query-result-set, map-query. Haven't added code
1540         to utilize field types, yet.
1541         * Changed postgresql-socket result set from cons to a structure
1542         * Updated test-clsql.cl to use automated testing with a config
1543         file
1544         * Changed return types of field accessors from cstring to
1545         (* :unsigned-char).  This prepares for being able to use specified
1546         type conversions when taking field data into lisp.
1547         * Added field-type processing for most interfaces. Not done yet.
1548         
1549 23 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1550         * doc/ref.sgml: Updated MAP-QUERY example to use
1551         *read-default-float-format* (John Foderaro)
1552         * Extensive work to foreign library loaders and .system files to
1553         check for successful loading of foreign libraries.
1554         * Modified test-clsql.cl to allow more modularity and
1555         automated testing in future release.
1556         * mysql/mysql-sql.lisp: Added field types
1557         
1558 01 Jan 2002 Kevin Rosenberg (kevin@rosenberg.net)
1559         * mysql/mysql-sql.lisp:
1560         - Added support for Allegro CL and Lispworks using UFFI layer
1561         - Changed database-connect to use mysql-real-connect. This way,
1562           can avoid using double (unwind-protect)
1563         - Changed database-connect to have MySQL library allocate space
1564           for MYSQL structure. This will make the code more robust in
1565           the event that MySQL library changes the size of the mysql-mysql
1566           structure.
1567
1568