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