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