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