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