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