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