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