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