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