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