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