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