Fix previous patch for SBCL so that patch works on non-SBCL systems
[clsql.git] / ChangeLog
1 2011-03-30  Kevin Rosenberg <kevin@rosenberg.net>
2         * Version 5.3.1
3         * sql/metaclasses.lisp: Fix previous patch to work
4         on non-SBCL systems
5
6 2011-03-29  Kevin Rosenberg <kevin@rosenberg.net>
7         * Version 5.3.0
8         * sql/metaclasses.lisp: Apply one-line patch to fix
9         for newer SBCL (thanks to Nikodemus Siivola)
10         * many_files: Applied multiple patches from Holger Schauer
11         to improve autoincrement capability.
12
13 2010-10-24  Kevin Rosenberg <kevin@rosenberg.net>
14         * Version 5.2.0
15         * db-odbc/odbc-api.lisp: Change from SBCL-specific
16         to UFFI version of octets-to-strings. Reported by
17         Daniel Brunner <daniel@dbrunner.de>
18         * sql/oodml.lisp: Apply patch from Rupert Swarbrick
19         <rswarbrick@gmail.com>: Fix behaviour with auto-inc
20         primary keys.
21         * sql/expressions.lisp, tests/test-syntax.lisp: Apply
22         patch from Russ Tyndall to quote identifiers with space
23         or special character.
24
25 2010-09-20  Kevin Rosenberg <kevin@rosenberg.net>
26         * Version 5.1.4
27         * sql/{pool,database}.lisp: Pass encoding argument to
28         connections made from pool and with reconnect.
29
30 2010-08-16  Kevin Rosenberg <kevin@rosenberg.net>
31         * Version 5.1.3
32         * db-odbc/odbc-{api,dbi}.lisp: Commit patch from
33         Memet Bilgin to fix issue with unicode and ODBC.
34
35 2010-08-16  Kevin Rosenberg <kevin@rosenberg.net>
36         * Version 5.1.2
37         * uffi/clsql-uffi.lisp: Commit patch from JT Klein fixing
38         invocation of uffi:convert-from-foreign-string macro. When
39         time allows, I'll investigate changing UFFI's macro to
40         a function call and then revert this patch.
41
42 2010-06-15  Kevin Rosenberg <kevin@rosenberg.net>
43         * Version 5.1.1
44         * clsql-{uffi,mysql}.asd: Modify operation-done-p functions
45         to guard against change introduced in new ASDF traversing.
46
47 2010-04-20  Kevin Rosenberg <kevin@rosenberg.net>
48         * Version 5.1.0 [DEPENDENCY UPGRADE: UFFI 2.x needed]
49         * clsql-uffi.asd: Depend on UFFI version >= 2.0
50         to support foreign encoding of strings.
51
52 2010-04-16  Kevin Rosenberg <kevin@rosenberg.net>
53         * Version 5.0.6
54         * db-postgresql.lisp, sql/fddl.lisp: Fix typos [Thanks to
55         Walter C. Pelissero]
56         * sql/metaclasses.lisp: Work around type-check-function being set
57         during defclass expansion in SBCL [Thanks to Walter C. Pelissero]
58         * uffi/clsql-uffi.lisp: In call to uffi:convert-from-foreign-string,
59         Set null-terminated-p to T when length not specified.
60         [Thanks to Walter C. Pelissero]
61
62 2010-03-21  Kevin Rosenberg <kevin@rosenberg.net>
63         * Version 5.0.5
64         * sql/fdml.lisp: Fix DO-QUERY to actually return the last value of
65         the body.
66
67 2010-03-02  Nathan Bird  <nathan@acceleration.net>
68         * doc/: Added a README on how to build doc; now builds on Ubuntu.
69         * sql/oodml.lisp: READ-SQL-VALUE now has explicit method for
70         handling double-floats and the default method will no longer
71         attempt to convert values that have already been converted.
72         * sql/syntax.lisp: Introduce file-enable-sql-reader-syntax which
73         enables the syntax for the scope of the file without trying to
74         keep track of the current syntax state.
75         * sql/pool.lisp: Introduce
76         clsql-sys:*db-pool-max-free-connections* which is a heuristic
77         threshold for when to disconnect a connection rather than
78         returning it to the pool.
79         * sql/pool.lisp: Check connections for validity before returning
80         to the user.
81
82 2010-03-01  Kevin Rosenberg <kevin@rosenberg.net>
83         * db-mysql/mysql-api.lisp: Remove spurious enumeration
84
85 2010-02-16  Kevin Rosenberg <kevin@rosenberg.net>
86         * Version 5.0.4
87         * db-mysql/mysql-api.lisp: Fix mysql_options UFFI parameter list
88         * doc/ref-connect.xml: Document the MySQL options parameter as
89         part of the connection-spec.
90
91 2010-02-15  Kevin Rosenberg <kevin@rosenberg.net>
92         * db-mysql/mysql-{api,sql}.lisp: Support sending options
93         to MySQL using mysql_options, which occurs between the API calls
94         of mysql_init and mysql_real_connect.
95
96 2010-02-11  Kevin Rosenberg <kevin@rosenberg.net>
97         * Version 5.0.3
98         * multiple-files: Further internationalization. Change
99         UFFI:CONVERT-RAW-FIELD and UFFI:CONVERT-FROM-FOREIGN-STRINGS
100         invocations to use the foreign character set encoding of the
101         database object. Requires UFFI v.1.8.6
102         * Makefile.common: Fix OS_DARWIN64 setting
103
104 2010-02-11  Nathan Bird  <nathan@acceleration.net>
105         * MSSQL: better support for fddl 'date type.
106
107 2010-02-11  Kevin Rosenberg <kevin@rosenberg.net>
108         * Makefile.common, uffi/Makefile, db-mysql/Makefile:
109         Better support OS X Snow Leopard by building universal
110         (x86_64,i386) dylib bundles
111
112 2010-02-08  Kevin Rosenberg <kevin@rosenberg.net>
113         * Version 5.0.2
114         * sql/database.lisp: Fix missing slot-accessor 
115         (Thanks to Stelian Ionescu)
116         * sql/generics.lisp: Add missing keyword to defgeneric
117         (Thanks to Stelian Ionescu)
118
119 2010-02-07  Kevin Rosenberg <kevin@rosenberg.net>
120         * Version 5.0.1
121         * sql/{base-classes,database}.lisp: Add encoding slot for 
122         non-ASCII strings.
123         * db-mysql/mysql-sql.lisp: Use UFFI:FOREIGN-ENCODED-OCTET-COUNT.
124         Requires UFFI version 1.8.2 or above.
125
126 2010-02-06  Kevin Rosenberg <kevin@rosenberg.net>
127         * Version 5.0.0: First release of CLSQL to formally and
128         consistently support non-ASCII strings with encoding of external
129         formats for SQL strings. UFFI version 1.8.1 is higher is required.
130
131         This change may introduce some differences in string handling for
132         people who are using non-ASCII encoded characters.  Thus, because
133         of the risk of BACKWARD INCOMPATIBILITY, the major version number
134         was incremented with this release.
135
136 2010-02-06  Kevin Rosenberg <kevin@rosenberg.net>
137         * tests/test-i18n.lisp: Bind UFFI:*DEFAULT-EXTERNAL-FORMAT*
138         for testing multibyte encodings.
139         * uffi/clsql-uffi.lisp: Changes for UFFI 1.7.4's new support
140         for encoding foreign strings with a specified external format.
141
142 2010-02-06  Kevin Rosenberg <kevin@rosenberg.net>
143         * sql/metaclasses.lisp: If no declared slot type in
144         compute-lisp-type-from-specified-type, then use t as lisp type.
145         Issue noted when testing Clozure CL 1.4.
146
147 2010-02-06  Kevin Rosenberg <kevin@rosenberg.net>
148         * tests/test-init.lisp: Turn off the benign console notices for
149         testing on postgres.
150
151 2010-02-05  Kevin Rosenberg <kevin@rosenberg.net>
152         * clsql-test.asd, tests/{test-i18n,test-init}.lisp:
153         Load test-i18n.lisp and use its tests as long as 'uffi:no-i18n is
154         not present in cl:*features*. This requires UFFI 1.7.2 or above.
155
156 2010-02-05  Kevin Rosenberg <kevin@rosenberg.net>
157         * sql/utils.lisp: Reading #\no-break_space causes an
158         error for non-unicode SBCL. Conditionalize read of
159         #\no-break_space for non-unicode SBCL and 8-bit string
160         Allegro.
161
162 2010-02-03  Kevin Rosenberg <kevin@rosenberg.net>
163         * tests/test-init.lisp: Add *test-report-width* variable
164         and word-wrap skipped test reason field.
165
166 2010-01-29  Kevin Rosenberg <kevin@rosenberg.net>
167         * Version 4.3.3
168         * clsql-cffi.asd: New file that causes CLSQL to use
169         CFFI-UFFI-COMPAT library rather than UFFI. Perform 'asdf:load-op
170         on CLSQL-CFFI rather than CLSQL system to use CFFI-UFFI-COMPAT.
171
172 2010-01-29  Nathan Bird  <nathan@acceleration.net>
173         * tests/*.lisp: A lot more tests and test setup tweaks.
174         * sql/expressions.lisp: output-sql on sql-relational-exp does
175         better arity checking now. (apply #'sql-and some-list) gives
176         better results.
177
178 29 Jan 2009  Kevin Rosenberg <kevin@rosenberg.net>
179         * sql/oodml.lisp: Fix for UPDATE-RECORD-FROM-SLOTS for normalized
180         view classes
181
182 28 Jan 2009  Kevin Rosenberg <kevin@rosenberg.net>
183         * Version 4.3.2
184         * Change "normalise" from British spelling for consistency with
185         other American spellings in CLSQL.
186
187 28 Jan 2009  Kevin Rosenberg <kevin@rosenberg.net>
188         * db-mysql/Makefile: Add directory for Fedora 11/12 on 64-bit
189         platform (Thanks to Michael Pheasant) and remove a 32-bit directory
190
191 28 Jan 2009  Kevin Rosenberg <kevin@rosenberg.net>
192         * Version 4.3.1
193         * sql/utils.lisp: Ensure Lispworks 6 lock is created in sharing mode
194
195 20 Jan 2009  Nathan Bird <nathan@acceleration.net>
196         * Version 4.3.0
197         * Rewrite tests to use datasets
198
199 07 Jan 2009  Kevin Rosenberg <kevin@rosenberg.net>
200         * sql/utils.lisp: Changes to support Lispworks 6
201
202 10 Dec 2009  Kevin Rosenberg <kevin@rosenberg.net>
203         * Version 4.2.0
204         * doc/ref-ooddl.lisp: Add needed CDATA escapes
205         * doc/clsql.pdf, doc/html.tar.gz: Build new manuals with
206         normalized view classes.
207
208 10 Dec 2009  Kevin Rosenberg <kevin@rosenberg.net>
209         Large patch from Thijs Oppermann <thijso+clsql@gmail.com> to add
210         support for normalized view classes.  When having view class that
211         inherit from others, CLSQL by default builds tab all the columns
212         from the parent in the child. This patch is meant to normali so
213         that a join is done on the primary keys of the concerned tables to
214         get a set.
215
216 10 Dec 2009  Kevin Rosenberg <kevin@rosenberg.net>
217         * sql/time.lisp: Patch from Oleg Tihonov to SYNTAX-PARSE-ISO-8601
218         to properly parse fractions of seconds.
219
220 10 Dec 2009  Kevin Rosenberg <kevin@rosenberg.net>
221         * sql/time.lisp: Patch from Oleg Tihonov to roll function
222         to properly use USEC argument.
223
224 21 Nov 2009  Kevin Rosenberg <kevin@rosenberg.net>
225         * Version 4.1.2
226         * Makefiles: On 64-bit Linux systems, try to build both 32 and 64-bit
227         interface libraries. This requires the installation of multiarch build tools
228         as well as 32-bit support libraries (libc, libz and libmysqlclient).
229
230 04 Sep 2009  Kevin Rosenberg <kevin@rosenberg.net>
231         * Version 4.1.1
232         * sql/fdml.lisp: Rework do-query to use supplied database
233         parameter when passed a sql-object-query
234         (thanks to JTK <jetmonk@gmail.com>)
235         * sql/generic-postgresql.lisp: Allow optional connect
236         parameters for postgresql databases (thanks to Stephen Compall)
237         * doc/ref-{clsql,connect}.xml, sql/db-interfaces.lisp:
238         Fix transposed letters (thanks to Stephen Compall)
239         * db-mysql/Makefile: Add directory for MacPorts mysql5 port
240         (thanks to Stephen Compall)
241         * sql/database.lisp: Have database-type default be
242         *default-database-type* (thanks to Desmond O. Chang)
243         * sql/transactions.lisp: Improved handlining of nested
244         transactions (thanks to Eli Naeher)
245         * sql/time.lisp: Commit patch to fix parse-iso-8601-duration
246         (thanks to Stephen Compall)
247         * sql/database.lisp: Use :verbose nil for asdf:operate
248         invocation (Thanks to Mackram Raydan)
249         * sql/metaclasses.lisp: Rework initialize-instance for
250         view-class-direct-slot-definition (thanks to Stephen Compall)
251
252 31 Aug 2009  Kevin Rosenberg <kevin@rosenberg.net>
253         * sql/db-interface.lisp: Fix spelling error (thanks to
254         David Thompson)
255         * clsql-mysql.asd/db-mysql/mysql-loader.lisp: Commit
256         patch from Andreas Franke to honor windows drive letter
257         when loading clsql_mysql C library.
258
259 31 Aug 2009  Kevin Rosenberg <kevin@rosenberg.net>
260         * Version 4.1.0
261         * db-mysql/mysql-{sql,api}.lisp,db-mysql/clsql_mysql.c:
262         Latest version of mysqlclient once again changed the C
263         structures from which the mysql backend reads data.
264         Rather than adding yet another structure definition which
265         is enabled by the client version as read by mysql-client-info.lisp,
266         the mysql backend has been re-written to ignore in the internal
267         C structures. Instead, C wrapper functions for slot access have
268         been added to clsql_mysql.c and are used by mysql-sql.lisp to
269         access the internals of C structures. This adds a bit of overhead,
270         but completely separates the lisp code from trying to keep up
271         with the continually changing internal C structure of mysql.
272         All tests in the test suite executed correctly with this change.
273
274 31 Aug 2009  Kevin Rosenberg <kevin@rosenberg.net>
275         * Version 4.0.6
276         * sql/database.lisp: Fix syntax on process-lock (thanks to
277         Stian Sletner)
278         * db-mysql/mysql-sql.lisp: Allow use of database parameter
279         in database-list function (thanks to Michael Pheasant)
280         * sql/oodml.lisp: Allow NULL values for floating-point fields
281         (thanks to Jan Rychter)
282
283 02 Jun 2009  Kevin Rosenberg <kevin@rosenberg.net>
284         * Version 4.0.5
285         * sql/database.lisp: Add process-lock for deleting database from
286         a pool (thanks to Ralf Mattes).
287
288 25 Feb 2008  Kevin Rosenberg <kevin@rosenberg.net>
289         * Version 4.0.4
290         * sql/expressions.lisp: Remove stray form (thanks to Samuel Ward)
291
292 12 Dec 2007  Kevin Rosenberg <kevin@rosenberg.net>
293         * sql/expressions.lisp: Bind *in-subselect* when outputting
294         selections (patch from unknown source).
295         
296 11 Dec 2007  Kevin Rosenberg <kevin@rosenberg.net>
297         * Version 4.0.3
298         * sql/metaclasses.lisp: Unify base-table processing by extracting 
299         the correct code from initialize-instance :around into the helper
300         function set-view-table-slot. Call that function also in
301         reinitialize-instance :around replacing erroneous code discovered
302         by Josh Feinstein.
303         
304 17 Nov 2007  Kevin Rosenberg <kevin@rosenberg.net>
305         * BUGS: Add note about benefit of using configure file to create
306         Makefiles (suggestion from Joe Corneli)
307         
308 22 Oct 2007  Kevin Rosenberg <kevin@rosenberg.net>
309         * Version 4.0.2
310         * db-postgresql/postgresql-sql.lisp: Patch from Gabriele Favalessa based on
311         Andrew Golding suggestion for more informative :error-id slot.
312         
313 17 Sep 2007  Kevin Rosenberg <kevin@rosenberg.net>
314         * Version 4.0.1
315         * db-mysql/mysql-sql.lisp: Convert query to uffi cstring (thanks to
316         Albert Krewinkel).
317         * doc/Makefile, doc/html.xsl: Change output encoding from ISO-8859-1 to UTF-8
318         
319 14 Sep 2007  Kevin Rosenberg <kevin@rosenberg.net>
320         * Version 4.0.0: Major version increase to warn of potential
321         backwards incompatibility.
322         * NEWS: Document potentional backward incompatible changes
323         * db-mysql/mysql-sql.lisp: Changes session SQL mode to ANSI immediately
324         after connecting. This may break compatibility with some applications
325         who are using non-ANSI features with MySQL. This change is required to
326         properly support view-classes using a string as their :base-table
327         attribute. This allows users to specify the case of table names. 
328         This is feature is even more essential for MySQL itself since MySQL
329         uses case-sensitive table names. Use connection-based database-create
330         and database-destroy rather than trying to invoke command-line mysql 
331         utility. Remove automatic upcasing of strings from list-indices. 
332         * db-postgresql/postgresql-sql.lisp: Use connection-based 
333         database-create and database-destroy rather than trying to invoke
334         command-line utilities.
335         * db-postgresql-socket/postgresql-socket-sql.lisp: Use
336         database-execute-command rather than execute-command for
337         database-{create,destroy}. Connect to postgres database
338         rather than template1 for those database creation/deletion.
339         * sql/metaclasses.lisp: Store the string value of :base-table if a 
340         string is provided. Perform sql-escape at time of view-table name
341         creation.
342         * tests/test-init.lisp: Use "ej_join" as a string, rather than a 
343         symbol, since "ej_join" is specified as :base-table. Clear the
344         expression output-cache in case the code for generating sql output
345         has changed.
346         * test/test-oodml.lisp: whitespace fix
347         * sql/ooddl.lisp: Use quoted string for primary key constraint if
348         table name is specified as a string.
349         * sql/oodml.lisp: Don't convert a string view-table name to database's 
350         default case.
351         * sql/expressions.lisp: Properly handle table and attribute identifiers
352         when they are a string. Do not change case of symbols to match database
353         default case.
354         * sql/operations.lisp: Change multiword symbols to upper case.
355         * sql/fddl.lisp: Quote base-table if a string to preserve case
356         for drop-table and create-table.
357         * tests/test-syntax.lisp: Add tests of low-level string attribute
358         identifiers.
359         
360 20 Jul 2007  Kevin Rosenberg <kevin@rosenberg.net>
361         * Version 3.8.6
362         * db-oracle/oracle-loader.lisp: Rework use of ORACLE_HOME directory
363         (problem noted on clsql-devel by icardo Boccato Alves)
364         * sql/pool.lisp: Remove incorrect keyword
365         * sql/database.lisp: Rework WITH-DATABASE to not make the database the
366         default database (reported by Saurabh Nanda and Chaitanya Gupta)
367         * doc/ref-connect.lisp: Update the documentation to WITH-DATABASE to
368         emphasis that make-default has a default value of nil.
369         * sql/transaction.lisp: Adjust commit/rollback messages for Microsoft
370         SQL Server. (patch from Nathan Bird)
371         * sql/metaclasses.lisp: Use finalize-inheritance hack on SBCL because
372         of trouble with def-view-class compilations (patch from Nathan Bird)
373         
374 15 Jul 2007  Kevin Rosenberg <kevin@rosenberg.net>
375         * Version 3.8.5
376         * db-mysql/mysql-loader.lisp: Revert previous change since libmysql is
377         not dynamically loaded on Windows
378         
379 22 Jun 2007  Kevin Rosenberg <kevin@rosenberg.net>
380         * Version 3.8.4
381         * db-mysql/mysql-loader.lisp: Do not bother loading libmysqlclient since
382         that library is dymically linked to clsql-mysql library. Thus, the mysql
383         library will be automatically loaded. This has only been tested on Linux,
384         thus far.
385
386 29 May 2007  Kevin Rosenberg <kevin@rosenberg.net>
387         * tests/test-fddl.lisp: Add :order-by for :fddl/big/1 as
388         reported by Ricardo Boccato Alves
389
390 02 May 2007  Kevin Rosenberg <kevin@rosenberg.net>
391         * sql/database.lisp: Add ability of WITH-DATABASE to return
392         multiple values (patch from Liam Healy)
393         
394 25 Apr 2007  Kevin Rosenberg <kevin@rosenberg.net>
395         * Version 3.8.3
396         * doc/connect.xml: variable description fix by Liam Healy
397         * db-sqlite3/sqlite3-api.lisp, uffi/clsql-uffi-loader.lisp:
398         Apply patches from Marcus Pierce to reduce load-time warnings
399         * sql/package.lisp: Export iso-timestring as requested by Kevin Blaisdell
400
401 23 Mar 2007  Kevin Rosenberg <kevin@rosenberg.net>
402         * Version 3.8.2
403         * sql/db-postgresql-socket-api.lisp: Change read-socket-sequence to
404         disable wide characters for crypt salt sequence on SBCL, based
405         on patch from Lars Nostdal.
406
407 26 Jan 2007  Kevin Rosenberg <kevin@rosenberg.net>
408         * Version 3.8.1
409         * sql/pool.lisp: Test pooled connection when popped from
410         the pool to ensure the connection still works. Currently, implemented
411         only for MySQL.
412
413 17 Jan 2007  Kevin Rosenberg <kevin@rosenberg.net>
414         * db-mysql/Makefile: Add potential mysql directories
415
416 31 Dec 2006  Kevin Rosenberg <kevin@rosenberg.net>
417         * sql/metaclasses.lisp: Remove usused saved-initargs
418         * clsql.asd: Also check ~/.clsql-init.lisp at load-time (usually used to
419         push search libraries)
420         
421 30 Dec 2006  Kevin Rosenberg <kevin@rosenberg.net>
422         * Version 3.8.0: BACKWARD INCOMPATABLE CHANGE!
423         * db-postgresql/postgresql-{api,loader,sql,package}.lisp:
424         Apply patch from Edi Weitz to avoid conflict with new Lispworks 5
425         POSTGRESQL package name. CLSQL's new package will be PGSQL, however
426         on non-Lispworks platforms, the nickname POSTGRESQL will still be
427         available. Applications directly using low-level POSTGRESQL package
428         are recommended to use the new PGSQL name.
429         * db-oracle/oracle-{api,sql}.lisp, sql/{expressions,loop-extension}.lisp,
430         Apply patch from Edi Weitz to reduce compiler warnings.
431         
432 28 Dec 2006  Kevin Rosenberg <kevin@rosenberg.net>
433         * Version 3.7.9
434         * sql/expressions.lisp: Commit patch from Edi Weitz to
435         use *default-database* for SQL-OUTPUT if no database is
436         explicitly passed to function.
437         * uffi/clsql-uffi-loader.lisp: Change load order to first try
438         plain name/type before attempting user-specified paths (patch
439         from Edi Weitz)
440         * uffi/ptrbits.c: New file to return number of bits in an pointer
441         * uffi/Makefile: use intbits to name .so file based on bit size.
442         Build both 32-bit and 64-bit libraries on 64-bit platform.
443         
444 30 Nov 2006  Kevin Rosenberg <kevin@rosenberg.net>
445         * Version 3.7.8
446         * db-sqlite3/sqlite3-sql.lisp: Commit patch from Edi Weitz fixing
447         error display
448
449 16 Oct 2006  Kevin Rosenberg <kevin@rosenberg.net>
450         * Version 3.7.7
451         * db-postgresql/postgresql-sql.lisp: Remove 
452         uffi:convert-foreign-to-native wrapper since using cstring for
453         PQresultErrorField
454
455 16 Oct 2006  Kevin Rosenberg <kevin@rosenberg.net>
456         * Version 3.7.6
457         * db-postgresql/postgresql-api.lisp: Fix UFFI return type for
458         PQresultErrorField foreign function.
459
460 16 Oct 2006  Kevin Rosenberg <kevin@rosenberg.net>
461         * Version 3.7.5
462         * doc/intro.xml: Update supported platforms.
463         * db-postgresql/postgresql-{package,api,sql}.lisp: Apply
464         changes from Andew Golding to use a more-specific error code
465         from PostgreSQL than the generic fatal error code of the result set.
466
467 03 Oct 2006  Kevin Rosenberg <kevin@rosenberg.net>
468         * sql/syntax.lisp: Commit patch from Marcus Pearce to improve
469         readtable modifications
470
471 02 Oct 2006  Kevin Rosenberg <kevin@rosenberg.net>
472         * sql/syntax.lisp: Check that original reader syntax functions
473         stored before trying to restore them.
474         
475 20 Sep 2006  Kevin Rosenberg <kevin@rosenberg.net>
476         * sql/syntax.lisp: Apply patch from Marcus Pearce to correctly
477         display sql reader syntax.
478
479 06 Sep 2006  Kevin Rosenberg <kevin@rosenberg.net>
480         * uffi/clsql-uffi-loader.lisp, db-mysql/mysql-loader.lisp: Change from using *features*
481         to decide on 64-bit platform and check size of most-positive-fixnum instead.
482         Needed to support clisp amd64.
483
484 03 Sep 2006  Kevin Rosenberg <kevin@rosenberg.net>
485         * Version 3.7.1
486         * sql/metaclasses.lisp: Rework slot type's to be more AMOP
487         compatibile. Add warning for a metaclass condition that should
488         not occur.
489         * sql/time.lisp: Fixed symbol case inconsistency causing problem
490         in AllegroCL's modern lisp. First sign of bug noted by
491         Joel Reymond on clsql-devel.
492         * clsql.asd: Make time.lisp depend on utils.lisp
493
494 31 Aug 2006  Kevin Rosenberg <kevin@rosenberg.net>
495         * db-mysql/mysql-loader.lisp: Apply patch from Marcus Pearce to push 
496         *library-file-dir* to CLSQL's library path.
497
498 30 Aug 2006  Kevin Rosenberg <kevin@rosenberg.net>
499         * Version 3.7.0: New platforms supported: SBCL/Win32, CLISP/Win32, CLISP/Cygwin,
500         CLISP/Linux x86, CLISP/Linux amd64, OpenMCL amd64. CLISP support requires the
501         latest development versions of CLISP, cffi, and cffi-uffi-compat packages.
502         * Makefile.common: Add OS detection
503         * uffi/make.sh, db-mysql/make.sh: Remove files
504         * uffi/Makefile, db-mysql/Makefile: Add support for cygwin compilation.
505         Refactor to remove need to make.sh shell scripts. 
506         * clsql.asd: Add support for loop extensions for clisp. Support clisp via cffi.
507         * sql/loop-extension.lisp: Define loop-record-iteration-path in CLSQL-SYS 
508         package rather than CL-USER. Add support for ansi-loop on clisp. 
509         * sql/ansi-loop.lisp: New file to support iteration on clisp. 
510         * db-mysql/mysql-api.lisp: Remove old mysql C API functions that no
511         longer exist in the mysql client library.
512         * doc/ref-fdml.lisp: Correct default field-type.
513         * sql/expressions.lisp: Use database-output-as-type if value exists for boolean output.
514         Fixed bug with noted with MySQL 5.0.24 and boolean values.
515         
516 28 Aug 2006  Kevin Rosenberg <kevin@rosenberg.net>
517         * Version 3.6.7
518         * sql/oodml.lisp: Remove high debugging level declaration
519
520 14 Aug 2006  Kevin Rosenberg <kevin@rosenberg.net>
521         * Version 3.6.6
522         * sql/generic-postgresql.lisp: Fix assumption that postgres user id
523         is always 1. Fixes problem noted with PostgreSQL 8.1.
524
525 12 Aug 2006  Kevin Rosenberg <kevin@rosenberg.net>
526         * Version 3.6.5
527         * sql/generic-postgresql.lisp: Add slot for has-table-pg_roles to
528         lazily cache if pg_roles tables exist. Selectively use SQL from
529         Joel's previous patch if pg_roles table exists. Should now work
530         with both postgresql 7.4 and 8.x.
531         
532 12 Aug 2006  Kevin Rosenberg <kevin@rosenberg.net>
533         * Version 3.6.4
534         * clsql.asd: Add support for c:\etc\clsql-init.lisp as possible
535         local initialization file
536         * db-mysql/mysql-loader.lisp: Remove former method of using pathnames
537         as name candidates.
538         * db-odbc/odbc-api.lisp: Work-around Allegro/Windows FFI bug
539         that generates incorrect integer return type
540         * sql/generic-postgresql.lisp: Revert patch from Joel Reymont since
541         it fails on versions of postgresql that lack the pg_role table
542         
543 07 Jul 2006  Kevin Rosenberg <kevin@rosenberg.net>
544         * Version 3.6.3
545         * sql/transactions.lisp: Important typo fix from Alexey Antipov
546         for database-start-transaction
547         
548 04 Jul 2006  Kevin Rosenberg <kevin@rosenberg.net>
549         * Version 3.6.2
550         * db-postgresql/postgresql-sql.lisp: Apply patch from Vladimir Sekissov
551         to close connection when failing to connect to database.
552         * sql/generic-postgresql.lisp: Apply patch from Joel Reymont
553         to avoid dropping system views.
554         * sql/oodml.lisp: Apply patch from Joel Reymont to avoid listify
555         a nil value [patch sponsored by Flektor]
556         * clsql-uffi.asd, uffi/make.sh: Patch from Richard Kreuter
557         for netbsd compilation
558         
559 15 May 2006  Kevin Rosenberg <kevin@rosenberg.net>
560         * doc/ref-ooddl.xml: Add documentation for :db-reader and :db-writer
561         slots for def-view-class macro [as reported missing by Thomas Fischbacher].
562         
563 09 May 2006  Kevin Rosenberg <kevin@rosenberg.net>
564         * db-postgresql-socket/postgresql-socket-api.lisp:
565         Apply patch from Marko Kocic adding the socket creation
566         function needed for CLISP.
567
568 08 May 2006  Kevin Rosenberg <kevin@rosenberg.net>
569         * Version: 3.6.0 (requires UFFI v1.5.11 or greater)
570         * db-oracle/metaclasses.lisp: Patch from James Bielman for
571         checking slot constraints.
572         * db-oracle/oracle-{api,sql}.lisp: Avoid dead pointers on loading
573         saved openmcl images (based on patch from James Bielman)
574
575 06 May 2006  Kevin Rosenberg <kevin@rosenberg.net>
576         * doc/ref-fdml.xml: Documentation patch from Marcus Pearce for limit keyword
577         
578 03 May 2006  Kevin Rosenberg <kevin@rosenberg.net>
579         * Version 3.5.7
580         * sql/time.lisp: Apply patch from Aleksandar Bakic to extended
581         duration parsing and unparsing to include year and month.
582         * clsql-uffi.asd, uffi/clsql-uffi-loader.lisp: Apply patch from Nathan Bird
583         improving library search on Windows platform.
584         * doc/ref-fdml.xml, /doc/TODO, tests/test-fdml.lisp, tests/test-init.lisp:
585         Apply patch from Marcus Pearce documenting and testing :limit and :offset for SELECT
586
587 20 Mar 2006  Kevin Rosenberg <kevin@rosenberg.net>
588         * Version 3.5.6
589         * clsql-postgresql-socket.asd, 
590         * db-postgresql-socket/postgresql-socket-package.lisp: 
591         Use the cl-md5 package on all platforms. Based on report 
592         from Alan Caulkins.
593         
594 09 Mar 2006  Kevin Rosenberg <kevin@rosenberg.net>
595         * Version 3.5.5
596         * uffi/make.sh, db-mysql/make.sh: Add GNU uname
597         
598 28 Feb 2006  Kevin Rosenberg <kevin@rosenberg.net>
599         * Version 3.5.4
600         * sql/metaclasses.lisp: Apply patch from Friedrich Dominicus to
601         fix accessor for new versions of SBCL
602         * db-oracle/oracle-sql.lisp: Apply patch from James Bielman
603         to improving parsing of time.
604         * db-db2/db2-constants.lisp: Change NULL_HANDLE has suggested
605         by Harold Lee.
606         * db-oracle/oracle-dbi.lisp: Add support for SQL BIT type
607         as noted by Russ Tyndall.
608         
609 16 Jan 2006  Kevin Rosenberg <kevin@rosenberg.net>
610         * Version 3.5.3
611         * sql/time.lisp: Commit patch from Aleksandar Bakic
612         to properly handle destructive flag
613         * db-postgresql-socket/postgresql-socket-api.lisp: Apply patch
614         from Steven Harris for socket files with SBCL.
615         * sql/pool.lisp: Apply patch from Vladimir Sekissov so that
616         new connections added to the pool do not become the *default-database*
617         * sql/connect.lisp: Optionally set *default-database* for pooled
618         connection when make-default is generalized true.
619         
620 23 Dec 2005  Kevin Rosenberg <kevin@rosenberg.net>
621         * Version 3.5.1
622         * sql/expressions.lisp: Ensure table names are properly escaped
623         before comparing -- fixes bug reported by Asbjørn Bjørnstad
624         on CLSQL-Devel.
625
626 02 Dec 2005  Kevin Rosenberg <kevin@rosenberg.net>
627         * sql/generic-postgresql.lisp: improved decoding of table attribute
628           parameters [from Vladimir Sekissov]
629         * sql/metaclasses.lisp: check that metaclass is standard-db-class or
630           it's subclass to prevent adding standard-db-object to supers if
631           somebody in the path has it already when metaclass inherited from
632           standard-db-class. [from Vladimir Sekissov]
633         
634 26 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
635         * Version 3.5.0
636         * tests/test-init.lisp, tests/test-fddl.lisp, tests/test-fdml.lisp, 
637         * db-odbc/odbc-api.lisp, db-odbc/odbc-ff-interface.lisp,
638         * db-odbc/odbc-package.lisp, db-odbc/odbc-constants.lisp
639         * db-odbc/odbc-dbi.lisp, db-odbc/odbc-sql.lisp
640         * sql/fddl.lisp, sql/generic-odbc.lisp, sql/db-interface.lisp
641         * sql/transaction.lisp, sql/package.lisp, sql/time.lisp
642         Commit patch from Dominic Robinson providing support for 
643         Microsoft SQL Server
644         * doc/csql.lisp: Fix typo in slot name
645         
646 24 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
647         * Version 3.4.7
648         * sql/time.lisp: Commit patch from Aleksandar Bakic for
649         correct handling of decode-time usec value  
650         * clsql-mysql.asd: Commit patch from Harald Hanche-Olsen to
651         correct the name of the shared library file.
652         
653 16 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
654         * version 3.4.6
655         * sql/metaclasses.lisp: Avoid calling change-class on
656         effective-slot-definitions on sbcl to conform to sbcl 0.9.6.38
657         changes.
658         
659 15 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
660         * Version 3.4.5
661         * sql/expressions.lisp: Patch from James Biel to add subselects
662
663 14 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
664         * Version 3.4.4 [ Requires UFFI 1.5.7+] 
665         * db-oracle/oracle-{api,sql}.lisp: Patch from James Biel
666         to fix lifetime of foreign strings for Oracle calls
667
668 13 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
669         * Version 3.4.3
670         * db-oracle/oracle-{api,sql}.lisp: Patch from James Biel
671         to improve performance
672         
673 12 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
674         * Version 3.4.2
675         * clsql-uffi.asd: Patch from James Biel improving loading
676         * db-oracle/oracle-{api,sql}.lisp: Patch from James Biel
677         to support 64-bit lisps
678         
679 12 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
680         * Version 3.4.1
681         * sql/expressions.lisp: Escape numbers to SQL strings
682         at expression level.
683         
684 11 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
685         * Version 3.4: Add MySQL 5 support
686         * db-mysql/mysql-client-info.lisp: Recognize MySQL 5
687         * db-mysql/mysql-sql.lisp: Add support for views in MySQL 5
688         * doc/mysql-macosx-notes.txt: New document from Martin Brooks
689         
690 7 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
691         * src/time.lisp: Apply patch from Aleksandar Bakic for ROLL
692         function.
693         * BUGS: Added report for update-object-joins by Aleksandar Bakic
694         
695 4 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
696         * Version 3.3.4 [UFFI >= 1.5.5 needed]
697         * db-odbc/odbc-api.lisp: Apply patch from Yaroslav Kavenchuk
698         to add missing #\' character.
699         * clsql.asd: Add support for CLSQLINIT environmental variable,
700         based on patch from Yaroslav Kavenchcuk. New version of UFFI
701         required.
702         
703 30 Oct 2005  Kevin Rosenberg <kevin@rosenberg.net>
704         * Version 3.3.3
705         * sql/oodml.lisp: Apply patch from Drew Crampsie to fix
706         update-objects-joins when using the :target-slot attribute
707         
708 26 Oct 2005  Kevin Rosenberg <kevin@rosenberg.net>
709         * Version 3.3.2
710         * sql/expressions.lisp: Avoid parenthesis on multiple group-by fields
711         as noted by Harald Hanche-Olsen.
712         * tests/test-syntax.lisp: Add test for multiple field group-by
713         
714 25 Oct 2005  Kevin Rosenberg <kevin@rosenberg.net>
715         * Version 3.3.1
716         * sql/time.lisp: Commit patch from Alan Shields to
717         display escape string on wall-time display only when *print-escape*
718         is true.
719         
720 11 Oct 2005  Kevin Rosenberg <kevin@rosenberg.net>
721         * sql/metaclasses.lisp: Commit patch from Will to
722         properly set db-reader slot in effective-slot-definition
723         * sql/expressions.lisp: Commit patch from Alan Shields
724         adding make-load-form for sql-relational-exp
725         * sql/generic-postgresql.lisp: Commit patch from Aleksandar Bakic
726         adding support for new NUMBER type
727         
728 17 Sep 2005  Kevin Rosenberg <kevin@rosenberg.net>
729         * Version 3.3.0
730         * sql/time.lisp: Apply patch from Alan Shields adding DATE type.
731         * doc/ref-ooddl.xml: Documentation of new type
732         * notes/add-type-hints.txt: New file from Alan Shields
733         * sql/fddl.lisp: Add owner keyword to drop-table as suggested
734         by Francis Leboutte
735         * db-postgresql-socket/postgresql-socket-sql.lisp: Fix database-probe
736         as noted by Francis Leboutte. Similar fix applied to db-mysql and
737         db-postgresql.
738         * sql/expressions.lisp: Allow string table names for output as
739         contributed by Francis Leboutte.
740         * examples/clsql-tutorial.lisp: Support :postgresql-socket as noted 
741         by Francis Leboutte
742         
743 08 Sep 2005  Kevin Rosenberg <kevin@rosenberg.net>
744         * Version 3.2.4
745         * doc/into.xml: Change download from ftp to http protocol
746
747 08 Sep 2005  Kevin Rosenberg <kevin@rosenberg.net>
748         * Version 3.2.3
749         * db-oracle/oracle-sql.lisp: Correction for v3.2.2 changes by
750         Edi Weitz
751
752 08 Sep 2005  Kevin Rosenberg <kevin@rosenberg.net>
753         * Version 3.2.2
754         * db-oracle/oracle-sql.lisp: Add check for zero increment as
755         suggested by Edi Weitz. Add missing database-sequence-last function
756         as noted and tested by Edi Weitz. Ensure that UFFI buffer is freed
757         in handle-oci-error. Add unwind-protect to sql-stmt-exec. Free UFFI
758         stmthp object when query cursor is freed with OCI.
759
760 22 Aug 2005  Kevin Rosenberg <kevin@rosenberg.net>
761         * uffi/clsql-uffi-loader.lisp: Commit patch from astor@pvv.ntnu.no to
762         display search path when error occurs loading foreign library.
763         
764 05 Jul 2005  Kevin Rosenberg <kevin@rosenberg.net>
765         * Version 3.2.1
766         * doc/appendix.xml: Incorporate Edi Weitz's notes into documentation
767         with changes to support case-sensitive lisp implementations. Add
768         paragraph on using /etc/clsql-init.lisp site initialization file.
769         * clsql.asd: Load file /etc/clsql-init.lisp, if it
770         exists, after package is loaded to set site-specific configuration
771         
772 2005-06-24  Edi Weitz  <edi@agharta.de>
773         * sql/db-interface.lisp: Added new special variable
774         *FOREIGN-LIBRARY-SEARCH-PATHS* and function PUSH-LIBRARY-PATH to
775         manipulate it.
776         * sql/package.lisp: Export these.
777         * uffi/clsql-uffi-loader.lisp: Used new variable; changed order of
778         libs.
779         * db-mysql/mysql-loader.lisp: Changed order of libs.
780
781 09 Jun 2005 Kevin Rosenberg <kevin@rosenberg.net>
782         * Version 3.2.0: REQUIRES UFFI VERSION 1.4.38 OR HIGHER
783         * clsql-mysql.asd: Renamed clsql/mysql interface library from
784         mysql to clsql_mysql
785         * clsql-uffi.asd: Renamed clsql/uffi interface library from
786         mysql to clsql_uffi
787         * uffi/clsql_uffi.c: Renamed from uffi.c
788         * db-mysql/clsql_mysql.c: Renamed from mysql.c
789         * db-mysql/Makefile, db-mysql/Makefile.msvc, db-mysql/mysql-loader.lisp: Rename shared library
790         * uffi/Makefile, uffi/Makefile.msvc, uffi/uffi-loader.lisp: Rename shared library
791         * db-*/*-loader.lisp: Commit big patch from Edi Weitz to remove
792         absolute pathnames when searching for foreign libraries.
793         foreign library loading.
794         
795 07 Jun 2005 Kevin Rosenberg <kevin@rosenberg.net>
796         * Version 3.1.16
797         * db-mysql/mysql-api.lisp: Commit patch from Espen Wiborn
798         to support UTF-8 on sbcl unicode.
799         
800 18 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
801         * Version 3.1.15
802         * sql/time.lisp: Fix bug in roll that caused failure in test suite
803
804 17 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
805         * Version 3.1.14
806         * sql/oodml.lisp: Properly handle when db-writer is NIL
807
808 11 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
809         * sql/expressions.lisp: Avoid using simple-string declaration when
810         a non-simple string may be encountered. [issue noted by 
811         will@cesmail.net] Add a simple-string declaration for a local
812         string generated.
813         
814 06 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
815         * sql/oodml.lisp: Change db-writer and db-reader processing to accept
816         a symbol as well as function to serve as a function designator
817         [issue noted by will@cesmail.net]
818
819 05 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
820         * Version 3.1.13
821         * sql/time.lisp: Fix error in submitted patch which caused error
822         in timestrings with 19 or less characters.
823         
824 27 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
825         * Version 3.1.12
826         * db-postgresql-socket/postgresql-api.lisp: Commit patch from Tim Howe
827         to fix read-socket-sequence on non-sb-unicode sbcl.
828         
829 26 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
830         * Version 3.1.12
831         * sql/time.lisp: Commit patch from Daniel Lowe which adds support
832         for fractional seconds which is required by PostgreSQL
833         * db-postgresql/postgresql-loader.lisp: Add library path for Windows
834         
835 25 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
836         * sql/csql.lisp: Update URL for "SQL for Web Dummies" [Sean Champ]
837         
838 24 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
839         * Version 3.1.11
840         * sql/syntax: Commit patch from Alan Shields to supress reader
841         macros when *read-supress* is T.
842         
843 13 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
844         * Version 3.1.10
845         * db-postgresql-socket/postgresql-socket-api.lisp: Commit patch
846         from Janis Dzerins to support unicode on SBCL
847         * sql/syntax: Commit patch from Alan Shields to improve reporting
848         of invalid syntax statements.
849         
850 06 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
851         * Version 3.1.9
852         * db-mysql/mysql-sql.lisp: Add port to connection specification
853         based on patch from Dave Watson
854         * doc/appendix.xml: Document MySQL port parameter to connection spec
855
856 03 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
857         * Version 3.1.8
858         * sql/time.lisp: Patch from Keith James for parsing ISO-8601 timestamps
859         
860 18 Mar 2005 Kevin Rosenberg <kevin@rosenberg.net>
861         * sql/oodml.lisp: Add missing database argument [Patch from
862         Alan Caulkins]
863         
864 03 Mar 2005 Kevin Rosenberg <kevin@rosenberg.net>
865         * sql/oodml.lisp: Improve database priority in 
866         update-records-from-instance [Patch from Walter C. Pelissero]
867         
868 17 Feb 2005 Kevin Rosenberg <kevin@rosenberg.net>
869         * Version 3.1.7
870         * sql/package.lisp: Export database-reconnect from clsql-sys
871
872 08 Feb 2005 Kevin Rosenberg <kevin@rosenberg.net>
873         * sql/oodml.lisp: Use explicit database in fault-join-target-slot
874         [Patch from Walter Pelissero]
875         
876 29 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
877         * db-postgresql/postgresql-loader.lisp: Add additional
878         directories to Fink on darwin [patch from Cyrus Harmon].
879         
880 29 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
881         * Version 3.1.6
882         * sql/oodml.lisp: Clear view instance cache when delete-instance-records
883         is invoked [suggested by Alan Shutko].
884         * uffi/clsql-uffi-loader.lisp: Improvements for loading with SBCL X86-64
885         * sql/metaclasses.lisp: Don't change case of a :base-table string supplied
886         to def-view-class [fix suggested by Fred Gilham].
887         
888 25 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
889         * tests/*.lisp: Change Vladamir to Vladimir per Cyrus Harmon's
890         suggestion.
891         * sql/utils.lisp: Fix unnecessary consing noted by Fred Gilham.
892         * doc/*.xml: Fix spelling of Vladimir
893         
894 24 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
895         * doc/bookinfo.xml, doc/csql.xml, doc/intro.xml: Update links
896         now that LispWorks is an independant company [noted by
897         Martin Thornquist]
898         
899 22 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
900         * db-sqlite/sqlite-sql.lisp, db-sqlite3/sqlite3-sql.lisp:
901         Better support for 64 bit environments
902
903 05 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
904         * Version 3.1.5
905         * sql/metaclass.lisp: Make t the default value of :set
906         [noted by Cyrus Harmon]
907
908 28 Dec 2004 Kevin Rosenberg <kevin@rosenberg.net>
909         * Version 3.1.4
910         * uffi/clsql-uffi.lisp: Add support for unsigned integers
911         * db-mysql/mysql-sql.lisp: Add support for detecting/marking
912         unsigned integers. Apply patch from Yannick Gingras to
913         implement database-sequence-last.
914         
915 26 Dec 2004 Kevin Rosenberg <kevin@rosenberg.net>
916         * doc/ref-fdml.lisp: Fix variable tag name to varname
917         [noted by Eduardo Munoz]
918         * db-mysql/mysql-loader.lisp: Handle library paths for 64-bit systems
919         
920 06 Dec 2004 Kevin Rosenberg <kevin@rosenberg.net>
921         * Version 3.1.2
922         * sql/ooddl.lisp: Accept patch from Klaus Harbo for
923         update-object-joins.
924         * sql/metaclass.lisp: Remove unnecssary (and runtime error
925         causing) change-class invocation when running on CLISP.
926         * db-mysql/mysql-api.lisp: Commit patch from Paul Werkowski
927         to fix structure name.
928         * sql/database.lisp: More specific error message with trying
929         to use a database value of NIL.
930         * sql/expressions.lisp: Accept a string for the table name
931         in (sql-output sql-delete database) [suggested by Ed Symanzik].
932         
933 11 Nov 2004 Kevin Rosenberg <kevin@rosenberg.net>
934         * Version 3.1.1
935         * sql/generic-postgresql.lisp: Commit patch from Chris Capel to
936         ignore columns which have been dropped.
937         * clsql-postgresql-socket.asd, db-postgresql-socket/postgresql-socket-package.lisp:
938         Use sb-md5 package on SBCL, recommended by Chris Capel
939         
940 09 Nov 2004 Kevin Rosenberg <kevin@rosenberg.net>
941         * Version 3.1.0 released: New SQLite3 backend by Aurelio Bignoli
942         * doc/appendix.xml: Document SQLITE3 backend, patch by Aurelio Bignoli
943         * sql/operations.lisp: Add lower and upper SQL functions [Daniel Lowe].
944         
945 08 Nov 2004 Kevin Rosenberg <kevin@rosenberg.net>
946         * sql/expressions.lisp: Fix slot name [thanks to Daniel Lowe]
947
948 31 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
949         * clsql-sqlite3, db-sqlite3/*: NEW BACKEND
950         contributed by Aurelio Bignoli
951
952 23 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
953         * sql/oodml.lisp: Commit patch from Walter Pelis
954         to use an object's database for a select on its slot.
955         
956 20 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
957         * uffi/uffi.c, uffi/clsql-uffi.lisp: Commit patch from
958         Aurelio Bignoli to fix negative 64-bit integers
959         
960 07 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
961         * db-mysql/mysql.c: Fix parameters in bind_param call
962
963 07 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
964         * uffi/clsql-uffi.lisp: Add support for :blob result-type
965         * db-mysql/mysql-sql.lisp: Add support for :blob
966         result-type
967         
968 04 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
969         * db-mysql/mysql-sql.lisp, db-db2/db2-sql.lisp: Add
970         missing quotes for types in code that is still in development
971         (thanks to Joerg Hoehle)
972         
973 03 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
974         * Version 3.0.8 released
975         * db-sqlite/sqlite-*.lisp: Apply patch from
976         Aurelio Bignoli with improvements
977         
978 01 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
979         * multiple: Apply patch from Joerg Hoehle with multiple
980         improvements.
981         
982 01 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
983         * Version 3.0.7 released
984         * sql/oodml.lisp, sql/package.lisp, db-mysql/mysql-objects.lisp:
985         Add support for mediumint.
986         * sql/metaclass.lisp: Rework CLISP MOP handling
987         * sql/ooddl.lisp: Work-around to have CLISP finalize standard-db-class
988         
989 28 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
990         * sql/metaclass.lisp: Support CLISP's attribute name
991         for the type field in direct class slots
992         
993 27 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
994         * Version 3.0.6 released
995         * BUGS: New file. Document suspected SIGPIPE
996         interaction between SBCL and libpq used in
997         postgresql backend.
998         * doc/ref-fdml.lisp: Document the :caching and :refresh
999         keywords of the SELECT function.
1000         * doc/ref-ooddml.lisp: Document the new *default-caching*
1001         variable.
1002         * sql/package.lisp: Export *default-caching*
1003         * sql/oodml.lisp: Use *default-caching* to 
1004         control default caching behavior.
1005         
1006 21 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
1007         * Version 3.0.5 release
1008         * doc/appendix.xml: Add note about loading Oracle8 version
1009         * db-oracle/oracle-loader.lisp: Support Oracle8 based on
1010         data from David Young.
1011
1012 10 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
1013         * doc/Makefile, doc/catalog-darwin.xml: Apply
1014         patch from Cyrus Harmon for building docs on Mac OS X
1015         * sql/package.lisp: Add new (pre-release) clisp MOP package     
1016         
1017 09 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
1018         * Version 3.0.4 Release
1019         * multiple: Remove superfluous quotes in UFFI def-type
1020         and def-foreign-type forms.
1021         
1022 07 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
1023         * Version 3.0.3 Release
1024         * db-postgresql-socket/postgresql-socket-api.lisp: Commit patch
1025         from Tagore Smith to call force-output after sending authentication
1026         * db-odbc/odbc-api.lisp: Move ODBC v3 conversons
1027         * db-odbc/odbc-sql.lisp: Load mysql or postgresql package when connecting
1028         to a database of that type so that functions that indicate capabilities of
1029         database are available.
1030         
1031 02 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
1032         * db-odbc/odbc-api.lisp: More conversions to ODBC v3
1033         
1034 02 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
1035         * Version 3.0.2 Release
1036         * TODO: Add note about ODBC on Windows
1037         * db-odbc/odbc-loader.lisp: Add /winnt/system32/ to
1038         search directories
1039         * db-odbc/odbc-ff-interface.lisp: Change the return type 
1040         of SQLSetEnvAttr to :short
1041         
1042 02 Sep 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1043         * examples/clsql-tutorial.lisp: added missing initarg for the COMPANYID
1044         slot of the employee View Class definition [reported by Franz Deuzer]. 
1045
1046 01 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
1047         * Version 3.0.1 Release
1048         * tests/test-init.lisp: Add second join class to employee-address
1049         to test a class with two join slots.
1050         * sql/oodml.lisp: Fix find-all function for a class with multiple
1051         join slots
1052         * TODO: Remove need to test/fix multiple join classes
1053         
1054 27 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
1055         * db-mysql/Makefile, db-mysql/mysql-loader.lisp: accept patch
1056         from Jon Buffington for file locations on Darwin.
1057         
1058 17 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
1059         * sql/db-interface.lisp: Improve messages when functions
1060         are passed a database object, but the method is not specialized
1061         for that database type.
1062         * sql/metaclasses.lisp: Fix inline declaration (reported by
1063         Cyrus Harmon)
1064         
1065 14 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
1066         * TODO: Add bug report about SQL generation with a table
1067         containing two join slots.
1068         * sql/oodml.lisp: Add optional size to VARCHAR type
1069         
1070 3 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
1071         * Version 3.0.0 Release
1072         * sql/expressions.lisp: Change declaration that
1073         caused error on openmcl
1074         * db-aodbc/aodbc-sql.lisp: Fix storage location
1075         of odbc connection. Specialize database-query since
1076         dbi's :types keyword is different than generic-odbc's
1077         :result-types keyword
1078         * sql/db-interface.lisp: Add warnings for methods
1079         not specialized by a db backends
1080         * tests/test-fddl.lisp: Fix case of symbols to support
1081         case-sensitive Allegro 
1082         * db-oracle/oracle-sql.lisp: Rework errbuf in handle-oci-error
1083         * tests/test-init.lisp: Note that odbc driver for postgresql
1084         doesn't properly handle table ownership
1085         * LATEST-TEST-RESULTS: update with version 3.0.0
1086         
1087 1 Aug 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1088         * sql/expressions.lisp: conditionalise escaping of backslash in 
1089         generated SQL strings on backend. 
1090         * tests/test-fdml.lisp: test for escaping of backslash. 
1091         * sql/oodml.lisp: minor tidying in FIND-ALL. 
1092
1093 26 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1094         * NEWS: Initial 3.0 announcement draft
1095         * README: Expand acknowledgements of incorporated projects
1096         * CONTRIBUTORS: Further document Marcus Pearce contributions
1097         
1098 23 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1099         * sql/oodml.lisp: add DATABASE-OUTPUT-SQL-AS-TYPE method specialisation
1100         to print floats with the exponent markers removed. 
1101         * tests/test-oodml.lisp: add tests for updating records with floats. 
1102
1103 22 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1104         * db-oracle/oracle-sql.lisp: enable :OWNER :ALL in DATABASE-LIST-* for 
1105         CommonSQL compatibility. 
1106         * tests/test-init.lisp: skip test :FDDL/TABLE/6 on Oracle since 
1107         this column constraint syntax is not supported. 
1108         * tests/test-fddl.lisp: change column indexed in test :FDDL/INDEXES/2
1109         from EMPLID to LAST_NAME since Oracle complains that EMPLID is already 
1110         indexed. 
1111
1112 17 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1113         * doc/ref-fdml.xml: document CACHE-TABLE-QUERIES. 
1114         * tests/test-fdml.xml: add test for CACHE-TABLE-QUERIES. 
1115         * doc/ref-ooddl.xml: minor changes to syntax and examples entries 
1116         for uniformity. 
1117         * doc/ref-oodml.xml: add examples for OODML. 
1118         * sql/oodml.lisp: ensure SELECT passes on its REFRESH argument 
1119         to FIND-ALL. 
1120         * sql/metaclasses.lisp: update docstrings. 
1121         * tests/test-init.lisp: change :db-constraints for emplid to 
1122         (:not-null :unique) as a temporary test for multiple column constraints 
1123         in DEF-VIEW-CLASS. 
1124         * tests/test-oodml.lisp: add tests for *DB-AUTO-SYNC* and 
1125         return type of (SETF SLOT-VALUE-USING-CLASS). 
1126         * TODO, doc/TODO: remove items done. 
1127         * README: fix typo. 
1128         
1129 16 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1130         * sql/oodml.lisp: on Lispworks, use weak valued hash tables for 
1131         object caching. 
1132         * sql/expressions.lisp: Fix SQL generation for the symbol NIL. 
1133
1134 16 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1135         * sql/expressions.lisp: reactivate caching of generated SQL strings. 
1136         Move methods for DATABASE-OUTPUT-SQL, OUTPUT-SQL and SQL-HASH-KEY 
1137         here from sql/fdml.lisp. Rationalise behaviour of SQL-OUTPUT, 
1138         OUTPUT-SQL and DATABASE-OUTPUT-SQL. 
1139         * sql/fdml.lisp: remove disabled method ADD-STORAGE-CLASS. Move 
1140         methods for DATABASE-OUTPUT-SQL, OUTPUT-SQL and SQL-HASH-KEY to 
1141         sql/expressions.lisp. 
1142         * sql/ooddl.lisp: replace call to DATABASE-OUTPUT-SQL in 
1143         DATABASE-PKEY-CONSTRAINT with call to SQL-OUTPUT. 
1144         * sql/generics.lisp: add docstrings. 
1145
1146 15 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1147         * Version 2.11.16
1148         * db-oracle/oracle-sql.lisp: Remove OpenMCL specific
1149         code in favor of fixing UFFI with James Bielman's patch
1150         
1151 14 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1152         * Version 2.11.15
1153         * db-oracle/oracle-sql.lisp: Apply patch for OpenMCL/OSX
1154         from James Bielman
1155         
1156 14 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1157         * README, INSTALL: update URLs. Minor updates to descriptions. 
1158         * tests/README: remove stuff about editing contexts. 
1159
1160 12 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1161         * db-oracle/oracle-objects.lisp: Change *default-varchar-length* to 
1162         *default-string-length*
1163         
1164 12 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1165         * tests/test-syntax.lisp, tests/test-fdml.lisp: add tests for escaping 
1166         of single quotes. 
1167         * tests/test-fddl.lisp: add tests for column and table constraints 
1168         in CREATE-TABLE. Add test for OWNER keyword parameter to 
1169         LIST-TABLES (assuming same underlying machinery in other FDDL 
1170         functions). 
1171         * tests/test-init.lisp: restrict above test to postgresql and oracle. 
1172         
1173 12 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1174         * db-sqlite/sqlite-sql.lisp: Fix condition as reported by Aurelio 
1175         Bignoli.
1176
1177 11 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1178         * sql/oodml.lisp, sql/package.lisp, doc/ref-ooddl.lisp, db-mysql/mysql-objects.lisp: Add tinyint type
1179         
1180 10 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1181         * Version 2.11.14
1182         * doc/*.xml: documentation additionals and fixes so
1183         that docbook passes xmllint.
1184         
1185 9 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1186         * Version 2.11.13
1187         * sql/fdml.lisp: Apply patch from Kim Minh Kaplan 
1188         to change escaping of single quotes. Mild optimizations
1189         for escaped string output.
1190         * doc/ref-ooddl.lisp: documentation additions
1191         * doc/ref-oodml.lisp: Add purpose to functions
1192         * TODO: Add need to test single quote escaping
1193         
1194 7 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1195         * doc/ref-ooddl.xml, doc-ref-oodml.xml: documentation additions
1196         * sql/ooddl.lisp: Added SMALLINT type
1197         * sql/generic-postgresql.lisp: Added INT2 as SMALLINT type
1198         * db-mysql/mysql-objects.lisp: Added SMALLINT type
1199         * sql/package.lisp: Export SMALLINT
1200         * sql/expressions.lisp: Add MYSQL's UNSIGNED and ZEROFILL as
1201         db-constraints
1202         
1203 6 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1204         * sql/expressions.lisp: add AUTO-INCREMENT and UNIQUE to the 
1205         recognised column constraints for CREATE-TABLE and the :DB-CONSTRAINTS 
1206         View Class slot option. 
1207         * sql/ooddl.lisp: fix bug preventing the :DB-CONSTRAINTS View Class 
1208         slot option accepting a list of constraints [reported by Travis Cross]. 
1209         * doc/ref-fddl.xml: add some examples of specifying column and 
1210         table constraints to the documentation for CREATE-TABLE. 
1211         * TODO: add note about adding tests for table/column constraints. Add 
1212         optimisation note about using cached attribute types in insert/update
1213         operations. 
1214         
1215 3 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1216         * doc/appendix.xml: add notes about idiosyncrasies/unsupported 
1217         features and so on the documentation for each backend. 
1218         * doc/TODO: remove items done. 
1219         * doc/ref-transaction.xml: add note in introduction about 
1220         autocommit mode as a difference from CommonSQL. 
1221         * doc/ref-syntax.xml: add notes about SQL syntax state functions 
1222         being macros in CLSQL. Add note about SQL operators which are 
1223         CLSQL extensions. 
1224
1225 2 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1226         * Version 2.11.12 released
1227         * doc/ref-recording.xml: document SQL I/O recording. 
1228         * doc/ref-prepared.xml: new file for documenting prepared statements. 
1229         * doc/clsql.xml: comment out include for large object and CLSQL-SYS 
1230         documentation. 
1231         * doc/ref-conditions.xml: complete documentation of condition system. 
1232         * doc/global-index.xml: add symbols from condition system and remove
1233         those from LOB and prepared statement APIs. 
1234         * doc/ref-fdml.xml: complete documentation of FDML.
1235         * doc/glossary.xml: add View Class. 
1236         * doc/TODO: remove items done. 
1237         * sql/conditions.lisp: make SQL-CONDITION a parent of SQL-ERROR. 
1238         * sql/package.lisp: remove FOR-EACH-ROW from exports list. Export 
1239         additional slot accessors for condition classes. 
1240
1241 1 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1242         * doc/ref-ooddl.lisp: Add documentation
1243         * doc/ooddl.lisp: Move *DEFAULT-VARCHAR-LENGTH* from oodml.lisp
1244         and rename to *DEFAULT-STRING-LENGTH*. Add docstring.
1245         * doc/oodml.lisp: Rename references to new name of
1246         *DEFAULT-STRING-LENGTH*
1247
1248 1 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1249         * doc/ref-transaction.xml: document transaction handling. 
1250         * sql/transaction.lisp: ensure that COMMIT, ROLLBACK and 
1251         START-TRANSACTION return NIL as per the CommonSQL spec. Modify 
1252         ADD-TRANSACTION-{ROLLBACK|COMMIT}-HOOK such that a database is 
1253         passed as a keyword argument defaulting to *DEFAULT-DATABASE*.
1254         Added docstrings. 
1255
1256 30 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1257         * doc/ref-fdml.xml: document the FDML. 
1258         * doc/ref-fddl.xml: move documentation for TRUNCATE-DATABASE here. 
1259         * sql/ooddl.lisp: moved *default-varchar-length* to here from 
1260         oodml.lisp and renamed to *default-string-length*
1261         
1262 23 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1263         * sql/oodml.lisp: Add keyword :transactions to def-view-from-class
1264         to allow specifying transactionless table creation
1265         * doc/ref-oodml.lisp: Add new keyword to signature of 
1266         DEF-VIEW-FROM-CLASS     
1267         
1268 18 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1269         * Version 2.11.11
1270         * sql/expressions.lisp: when removing duplicate table identifiers 
1271         in the FROM clause of a query, check both table name and alias 
1272         are equivalent. 
1273         * sql/fdml.lisp: remove DESCRIBE-TABLE. 
1274         * sql/db-interface.lisp: remove generics DESCRIBE-TABLE and 
1275         DATABASE-DESCRIBE-TABLE. 
1276         * sql/package.lisp: remove DESCRIBE-TABLE, DATABASE-DESCRIBE-TABLE 
1277         and LIST-TABLE-INDEXES. 
1278         * sql/generic-postgresql.lisp: add reader conditional #+nil for 
1279         DATABASE-DESCRIBE-TABLE and comment about its uses for 
1280         re-implementing LIST-ATTRIBUTE-TYPES with a single SQL query 
1281         returning type info for all attributes. 
1282         Fix DATABASE-SEQUENCE-LAST. 
1283         * sql/fddl.lisp: remove LIST-TABLE-INDEXES and redefine 
1284         LIST-INDEXES with additional keyword parameter :ON. 
1285         * tests/test-fddl.lisp: replace LIST-TABLE-INDEXES in :fddl/index/3 
1286         with LIST-INDEXES (with :ON parameter). 
1287         * doc/global-index.xml: remove DESCRIBE-TABLE and LIST-TABLE-INDEXES. 
1288         * doc/ref-connect.xml: minor tidying. 
1289         * doc/ref-fddl.xml: document the FDDL. 
1290         * doc/TODO: removed items done. Moved note about transaction handling 
1291         from TODO to here. 
1292         * TODO: move note about transaction handling to doc/TODO. Added 
1293         optimization note about LIST-ATTRIBUTE-TYPES and LIST-INDEXES. 
1294         
1295 13 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1296         * Version 2.11.10
1297         * sql/syntax.lisp: updated docstrings. 
1298         * sql/package.lisp: exported DATABASE-NAME-FROM-SPEC from CLSQL 
1299         package.
1300         * sql/database.lisp: add docstrings for CREATE-DATABASE, 
1301         DESTROY-DATABASE, TRUNCATE-DATABASE and LIST-DATABASES. Replace 
1302         CLSQL-GENERIC-ERROR signalled in RECONNECT with SQL-CONNECTION-ERROR. 
1303         * doc/ref-syntax.xml, doc/global-index.xml: minor tidying. 
1304         * doc/ref-connect.xml: document connection/initialisation. 
1305         * doc/ref-fdml.xml: move TRUNCATE-DATABASE reference entry here. 
1306         * doc/TODO: remove items done. 
1307         * Makefile: add db-oracle to to SUBDIRS. 
1308
1309 13 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1310         * sql/oodml.lisp: Add new serialization functions:
1311         WRITE-INSTANCE-TO-STREAM and READ-INSTANCE-FROM-STREAM
1312         * sql/expressions.lisp: Avoid duplicate FROM names when selecting
1313         from a table that has more than one primary index.
1314         * sql/conditions.lisp: Fix printing of closed-database error
1315         
1316 13 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1317         * Version 2.11.9
1318         * sql/conditions.lisp: Set initial slot value for message in SQL-WARNING
1319         * sql/transactions.lisp: Correctly set slots of SQL-WARNING
1320
1321 12 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1322         * sql/package.lisp: export DATABASE-TYPE from CLSQL and subclasses 
1323         of SQL-EXPRESSION from CLSQL-SYS. 
1324         * sql/syntax.lisp: make error signalled in SQL-OPERATION an 
1325         SQL-USER-ERROR. Make SQL-OPERATOR return just one value. 
1326         * doc/Makefile: added Mandrake linux. 
1327         * doc/catalog-redhat.xml, doc/catalog-mandrake.xml: new files. 
1328         * doc/appendix.xml: fixed little typo (adsf). 
1329         * doc/glossary.xml: removed closed-database and note about 
1330         sql-expression, added some entries. 
1331         * doc/ref-syntax.xml: documented the symbolic SQL syntax. 
1332
1333 10 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1334         * Version 2.11.8
1335         * db-mysql/mysql-loader.lisp: Remove load of unnecessary zlib library
1336         * multiple: Add generalized-boolean type as requested by
1337         Edi Weitz
1338         * TODO: Added need for test of generalized-boolean
1339         
1340 9 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1341         * Version 2.11.7 released
1342         * uffi/clsql-uffi-loader.lisp: Apply patch from Edi Weitz
1343         for loading with clc-register-user-package. Remove personal
1344         directory from path lisp.
1345         * db-mysql/mysql-loader.lisp: Similar changes
1346         
1347 8 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1348         * Version 2.11.6 released
1349         * sql/oodml.lisp: Commit patch from Edi Weitz
1350         to fix symbol writing/reading
1351         * TODO: Add need for symbol slot test
1352         
1353 7 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1354         * sql/package.lisp: remove duplicate export of 
1355         *CACHE-TABLE-QUERIES-DEFAULT*. 
1356         * doc/ref-*.xml, doc/global-index.xml: new files documenting 
1357         the CommonSQL compatible api. 
1358         * tests/test-fdml.lisp: modified the test :fdml/transaction/3 to 
1359         reflect changes in return values of WITH-TRANSACTION. 
1360
1361 04 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1362         * tests/README: Fix filename [reported by Bill Clementson]
1363         * sql/transactions.lisp: Apply return value patch from
1364         Edi Weitz for WITH-TRANSACTION
1365         * tests/README: Remove ptester package requirement (as noted
1366         by Bill Clementson)
1367         
1368 03 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1369         * Version 2.11.5 released
1370         * examples/clsql-tutorial.lisp: Remove obsolete :nulls-ok attribute,
1371         Select connection-spec based on connection type. Bugs reported by
1372         Bill Clementson.
1373         * uffi/uffi.dll, uffi/uffi.lib: Recompile with Visual Studio 2003
1374         * db-mysql/mysql-loader.lisp: Update check for zlibwapi library
1375         name on Windows, add \bin\ directory to search path
1376         
1377 31 May 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1378         * db-odbc/odbc-sql.lisp: DB-TYPE replaced with DATABASE-TYPE in 
1379         DATABASE-CONNECT. 
1380         * sql/operations.lisp: substr now generates SUBSTR for use on 
1381         Oracle; added a new operator SUBSTRING for use elsewhere. minus 
1382         now generates MINUS for use on Oracle. Nvl signals an error if 
1383         not called with exactly 2 arguments. Add concat function for use 
1384         instead of the || operator on MySQL and Oracle. 
1385         * sql/syntax.lisp: changed internal symbol for the || operator to 
1386         CONCAT-OP. 
1387         * sql/expressions.lisp: removed redundant and unused functions 
1388         GENERATE-SQL (cf. SQL-OUTPUT) and DATABASE-CONSTRAINT-DESCRIPTION
1389         (cf. MAKE-CONSTRAINTS-DESCRIPTION). 
1390         * sql/generics.lisp: removed generic function for 
1391         DATABASE-CONSTRAINT-DESCRIPTION (see above). 
1392         * tests/test-syntax.lisp: modified/added tests according to changes
1393         in sql/operations.lisp. 
1394         * tests/test-fdml.lisp: changed SUBSTR to SUBSTRING in test 
1395         :fdml/select/21.  
1396         * sql/package.lisp: added the operators SQL-SUBSTRING, SQL-CONCAT-OP 
1397         and SQL-USERENV to the shared exports list. Removed 
1398         ROLLBACK-TRANSACTION, COMMIT-TRANSACTION, DATABASE-START-TRANSACTION, 
1399         DATABASE-ABORT-TRANSACTION, DATABASE-COMMIT-TRANSACTION, 
1400         TRANSACTION-LEVEL, TRANSACTION,  RECORD-SQL-COMMAND and 
1401         RECORD-SQL-RESULT from shared exports list. 
1402         
1403 30 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1404         * db-postgresql/postgresl-sql.lisp: Avoid computing
1405         result-types lisp when nil result-types. Return only
1406         one value when field-types nil.
1407         * db-mysql/mysql-sql.lisp: Simple queries now
1408         working with prepared statements.
1409         
1410 30 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1411         * Version 2.11.4: MySQL 4.1 now passes all tests
1412         * sql/package.lisp: Add API for prepared statments.
1413         * sql/fdml.lisp: Change implicit flatp processing
1414         for string map-query for greater CommonSQL conformance.
1415         Add high-high API for prepared statements.
1416         * tests/test-basic.lisp: Add test for map-query and
1417         single argument.
1418         * sql/transactions.lisp: Change name/semantics of
1419         autocommit to set-autocommit.
1420         * sql/generic-postgresql.lisp: Add support for
1421         prepared statements. 
1422         * tests/test-internal.lisp: New file
1423         * sql/odbc-api.lisp: Update to using ODBC V3 protocol
1424         * clsql-mysql.asd, clsql-uffi.asd: Remove check and Common Lisp
1425         Controller invocation.
1426         * db-mysql/mysql-api.lisp: Add support for MySQL 4.1 field structure
1427         * sql/expressions.lisp: Avoid emitting double parenthesis when a
1428         function contains a subselect. 
1429         
1430 27 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1431         * Version 2.11.3
1432         * sql/ooddl.lisp: Commit patch from Edi Weitz fixing return
1433         type (setf slot-value-using-class)
1434         * TODO: add not that need a test case for the above fix
1435         * db-sqlite: Remove clisp support since clisp can not run CLSQL
1436         with its MOP usage
1437         * db-oracle/oracle-sql.lisp: By default, use OCIEnvCreate as 
1438         introduced in Oracle8. Leave older code selectable by a reader macro
1439         for Oracle7 and prior. Avoid use of OCIServerAttach since CLSQL
1440         uses OCILogon and does not the more complex session management.
1441         
1442 26 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1443         * sql/oodml.lisp: Commit universal-time typo patch from Edi Weitz
1444         * test/test-init.lisp: Add universal-time slot to person.
1445         * test/test-fddl.lisp: Add tests of universal-time slot
1446         * test/test-ooddl.lisp: Test universal-time slot in an object
1447         * TODO: Remove need for universal-time test     
1448         * debian/rules, debian/control: Add cl-sql-oracle binary package
1449         * doc/appendix.xml: Add Oracle backend information
1450         * db-oracle/oracle-objects.lisp: Add database-get-type-specifier for
1451         universal-time. Convert BIGINT CLSQL type to CHAR SQL type
1452         * db-mysql/mysql-sql.lisp: Fix condition name to sql-connection-error
1453         * doc/ref-clsql.xml: Renamed from ref_clsql.xml. Change the documentation
1454         for map-query to reflect changed in arguments to be CommonSQL compatible.
1455         Updated old clsql conditions to new CommonSQL compatible conditions.
1456         
1457 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1458         * sql/oodml.lisp: (string n) now produces a CHAR field. Add new VARCHAR
1459         type. Added *default-varchar-length* rather than previous hard-coded
1460         varchar length. Remove 'simple-string and 'simple-base-string since they
1461         are subtypes of 'string.
1462         * db-oracle/oracle-sql.lisp: Use *default-varchar-length* rather than
1463         local hard-coded value.
1464         * sql/metaclasses.lisp: Convert specified type VARCHAR and (VARCHAR n) to Lisp
1465         type string. Convert specified-type (CHAR n) to string. Convert specified-type
1466         CHAR to lisp type character.
1467         * sql/generic-postgresql.lisp: (string n) => (CHAR n)
1468         * sql/operations.lisp: Add userenv
1469         * doc/TODO: Add AUTOCOMMIT. Remove need for large table and bigint
1470         slot tests
1471         * sql/oracle-sql.lisp: Add 64-bit bigint direct conversion
1472         * uffi/clsql-uffi.lisp: Handle signed 64-bit integers
1473         * test/test-init.lisp: Add large table with bigint slot
1474         
1475 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1476         * Version 2.11.1 released: Much simpler Oracle client library loading.
1477         Now uses ORACLE_HOME environmental variable as well as tests default
1478         path for Oracle Instant Client. 
1479         
1480 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1481         * Version 2.11.0 released: Full Oracle support. All tests pass
1482         * db-oracle/oracle-sql.lisp: Add declaration so that SBCL runs efficiently.
1483         * tests/test-init.lisp: capitalize odbc backend name in banner
1484         * CONTRIBUTORS: Add note about Marcus' excellent work
1485         * sql/oodml.lisp: Removed old stub function     
1486         * clsql.asd: Use module names in current package rather than keyword package
1487         * db-oracle/oracle-sql.lisp: Don't trim trailing spaces. Prevent interrupts
1488         in setting sequence position. Make autocommits more efficient.
1489         * tests/test-init.lisp: Skip 2 tests on Oracle which have unsupported syntax 
1490         * sql/oodml.lisp: Get rid of undocumented raw-string type. CommonSQL
1491         strings are raw (non-trimmed trailing whitespace). Add database-get-type-specifier
1492         and read-sql-value for NUMBER and CHAR.
1493         * sql/base-classes.lisp: Add autocommit slot
1494         * sql/transaction.lisp: Added autocommit processing, mild cleaning.
1495         * doc/intro.xml: Add Oracle
1496         
1497 24 May 2004: Marcus Pearce (m.t.pearce@city.ac.uk) 
1498         * db-postgresql-socket/postgresql-socket-sql.lisp: replace 
1499         CLSQL-SIMPLE-WARNING with SQL-WARNING. 
1500         * db-sqlite/sqlite-sql.lisp: replace CLSQL-SIMPLE-WARNING with 
1501         SQL-WARNING. 
1502         * db-aodbc/aodbc-sql.lisp: replace CLSQL-ERROR with SQL-ERROR. 
1503         * clsql.asd: reworked module structure in package definition and 
1504         file names to better reflect component functionality. 
1505         * sql/package.lisp: added SQL-FATAL-ERROR and SQL-TIMEOUT-ERROR to 
1506         exports list. Removed duplicate and obsolete exports. Exported 
1507         remaining SQL operations: SQL-SOME, SQL-<>, SQL-BETWEEN, SQL-DISTINCT, 
1508         SQL-NVL and SQL-FUNCTION. Organised exports by functionality/file and 
1509         according to whether they are specified by CommonSQL or CLSQL 
1510         extensions. 
1511         * sql/transaction.lisp: replace CLSQL-SIMPLE-WARNING with 
1512         SQL-WARNING. 
1513         * sql/generics.lisp: moved generics for QUERY and EXECUTE-COMMAND 
1514         here from basic-sql.lisp. 
1515         * sql/expressions.lisp: NEW FILE: renamed from classes.lisp (deleted). 
1516         * sql/fddl.lisp: NEW FILE: renamed from table.lisp (deleted). 
1517         * sql/fdml.lisp: NEW FILE: merger of basic-sql.lisp and sql.lisp
1518         (both deleted). 
1519         * sql/ooddl.lisp: NEW FILE: ooddl from objects.lisp (deleted). 
1520         * sql/oodml.lisp: NEW FILE: oodml from objects.lisp (deleted). 
1521         
1522 23 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1523         * Version 2.10.22 released
1524         * sql/kmr-mop.lisp, sql/objects.lisp: Since SBCL is the only implementation that
1525         has reversed class slots, change the default for ordered-class-slots so that slots
1526         are now in the same order an in the def-view-class.
1527         * sql/sql.lisp: Honor case of string table identifier to INSERT-RECORDS
1528         * test/test-fddl.lisp: Add two tests for mixed case names
1529         * db-oracle/oracle-sql.lisp: Add missing database qualifier. Return NUMBER (double)
1530         for computed fields, this will require some adjustment to the test suite which
1531         in many cases expects integers.
1532         * test/test-fdml.lisp: Accomodate that Oracle returns doubles for computed columns
1533         
1534 22 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1535         * Version 2.10.21 released
1536         * sql/sequences.lisp: Move generic sequence functions here from db-sqlite,
1537         db-odbc, and db-aodbc.
1538         * sql/*.lisp: Add db-type parameter to generic functions READ-SQL-VALUE,
1539         DATABASE-GET-TYPE-SPECIFIER, and OUTPUT-SQL-VALUE-AS-TYPE. Update methods to use these.
1540         * sql/generic-postgresql.lisp, sql/generic-odbc.lisp: New files
1541         * db-odbc/odbc-sql.lisp, db-aodbc/aodbc-sql.lisp: Move common code to 
1542         sql/generic-odbc.lisp
1543         * db-postgresql/postgresql-sql.lisp, db-postgresql-socket/postgresql-socket-sql.lisp: 
1544         Move common code to  sql/generic-postgresql.lisp
1545         * sql/classes.lisp: honor case of string tables when outputting queries 
1546         * sql/objects.lisp: Add database type to default database-get-type-specifier method
1547         * sql/sql.lisp:  Add database type to default database-abort-transaction method
1548         * db-mysql/mysql-objects.lisp: New file
1549         * sql/objects.lisp: Move MySQL specific code to mysql-objects.lisp
1550         * sql/utils.lisp: Add GETENV function which will be used to get ORACLE_HOME
1551         from environment
1552         * test/test-fdml.lisp: String table names are now case sensitive, so convert to
1553         default db case for FDML/SELECT/25
1554
1555 22 May 2004 Kevin Rosenberg
1556         * Version 2.10.20 released: Oracle backend now fails 6 out of 200 tests
1557         * TODO: Added 2 variances from CommonSQL. Add tests for owner phrases
1558         and string identifiers with non-default case
1559         * sql/table.lisp: Don't convert string table name to a symbol.
1560         * sql/classes.lisp: Honor case of string identifiers
1561         * sql/sql.lisp: Ensure recyclebin is purged for Oracle in 
1562         TRUNCATE-DATABASE
1563         * db-oracle/oracle-sql.lisp: Add sequence functions, fix use of
1564         of owner phrases. Obtain server and client versions.
1565         * db-oracle/oracle-objects.lisp: Fix type specifiers
1566         * tests/test-fddl.lisp: Allow :varchar2 and :number as data types
1567         * tests/test-init.lisp: Properly get username from Oracle connection-spec
1568         
1569 22 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
1570         * sql/generics.lisp: reworked docstrings. Remove generics for 
1571         ADD-TO-RELATION and REMOVE-FROM-RELATION. 
1572         * sql/objects.lisp: reworked docstrings. Changed UPDATE-OBJECT-JOINS 
1573         to UPDATE-OBJECTS-JOINS for CommonSQL compatibility. 
1574         * sql/package.lisp: Changed UPDATE-OBJECT-JOINS to UPDATE-OBJECTS-JOINS 
1575         for CommonSQL compatibility. Remove ADD-TO-RELATION and 
1576         REMOVE-FROM-RELATION. 
1577         * tests/test-oodml.lisp: Changed UPDATE-OBJECT-JOINS to 
1578         UPDATE-OBJECTS-JOINS for CommonSQL compatibility. 
1579         * doc/TODO: added notes about extra slot options to DEF-VIEW-CLASS. 
1580         * sql/conditions.lisp: add documentation for conditions. Add 
1581         SQL-TIMEOUT-ERROR and SQL-FATAL-ERROR for CommonSQL compatibility. 
1582
1583 21 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
1584         * sql/basic-sql.lisp: reworked docstrings. 
1585         * sql/transactions.lisp: reworked docstrings. 
1586         * sql/sql.lisp: reworked docstrings. 
1587         * sql/initialize.lisp: reworked docstrings. INITIALIZE-DATABASE-TYPE 
1588         sets *DEFAULT-DATABASE-TYPE* for CommonSQL compatibility. 
1589         * sql/database.lisp: reworked docstrings. 
1590         * doc/TODO: added notes about START-TRANSACTION and IN-TRANSACTION-P 
1591         and FDML extensions and database extensions. 
1592
1593 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1594         * db-oracle/oracle-sql: Use clsql-specific error conditions. Use owner keyword.
1595         * db-oracle/make9.sh: add makefile for building with Oracle 9 client
1596         libraries
1597         * sql/table.lisp: Add logic for dealing with Oracle 10g vs. previous
1598         Oracle versions with the PURGE option required for drop table. This needs
1599         to be converted to a generic function and moved to db-oracle/oracle-sql.lisp
1600
1601 20 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
1602         * sql/classes.lisp: remove unused PARAMS slot in SQL-IDENT-ATTRIBUTE. 
1603         * sql/syntax.lisp: remove unused PARAMS keyword arg to SQL-EXPRESSION. 
1604         * sql/table.lisp: reworked docstrings. 
1605         * sql/objects.lisp: moved *default-update-objects-max-len* here from 
1606         table.lisp. 
1607         * doc/TODO: notes about :if-does-not-exist arg to DROP-TABLE, 
1608         DROP-VIEW and DROP-INDEX and the use of the :transactions and 
1609         :constraints keyword args to CREATE-TABLE. 
1610         * sql/classes.lisp: the DESCRIPTION argument to CREATE-TABLE is now 
1611         CommonSQL compatible with respect to column constraints. 
1612
1613 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1614         * sql/oracle-sql.lisp: Now compiles and runs on SBCL.
1615         Requires UFFI 1.5.0 or higher
1616         
1617 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1618         * Version 2.10.19
1619         * sql/conditions.lisp: Fix cerror
1620         
1621 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1622         * Version 2.10.18 released: New condition hierarchy to be compatible
1623         with CommonSQL -- not backward compatible with previous CLSQL.
1624         * sql/db-interface.lisp: Add more default methods
1625         * sql/objects.lisp: Add explicit table name to order-by parameters
1626         in find-all when only one table to avoid selecting a duplicate row.
1627         Fix error in FIND-ALL when using :order-by such as (([foo] :asc))
1628         as previous logic was adding two fields (foo asc) to SELECT query.
1629         Make :result-types :auto be the default for object selections.
1630         Properly handle caching key when using multiple order-by with asc/desc
1631         directions.
1632         * db-oracle/*.lisp: Much improvements, now passes 90% of test suite
1633         
1634 19 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
1635         * sql/recording.lisp: reworked docstrings. 
1636         * sql/syntax.lisp: reworked docstrings. 
1637         * doc/TODO: added notes about extensions to SQL-RECORDING-P and the 
1638         SQL syntax state functions being macros. 
1639
1640 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1641         * sql/package.lisp: Export initialize-database-type and
1642         *initialize-database-types* from CLSQL package.
1643         * sql/conditions.lisp: Add new CommonSQL compatible conditions,
1644         remove old CLSQL conditions.
1645         * sql/loop-extensions.lisp: Make errors of type sql-user-error
1646         * */*.lisp: Convert to from old to new conditions
1647         
1648 18 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1649         * sql/table.lisp: Add PURGE to drop command for oracle 10g backend.
1650         To handle this difference, will need to add a new database-drop-table
1651         generic function.
1652         * db-oracle/oracle-sql.lisp: Move server-version and
1653         major-version-number to database object to allow multiple connections
1654         to Oracle servers of different versions.
1655         
1656 18 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
1657         * TODO: moved notes about backends to doc/TODO. 
1658         * doc/TODO: added notes about backends and select extensions. 
1659         * sql/base-classes.lisp: remove obsolete schema slot in database 
1660         class. 
1661         
1662 16 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1663         * db-oracle/oracle-api: Add OCIServerVersion
1664         * db-oracle/oracle-sql: Query and store server version on connect
1665         * sql/db-interface.lisp: Add new db-type-has-bigint? generic
1666         function to handle OCI's lack of bigint support
1667         * test/test-basic.lisp: Separate bigint testing
1668         * test/test-utils.lisp: Add oracle to specs and list of backends
1669         * doc/TODO: New file
1670         * test/test-fdml.lisp: Added FDML/SELECT/34 to test
1671         run-time instantiation of variables in reader macros.
1672         * TODO: Remove item already complete. Add note about
1673         condition variances
1674         
1675 16 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
1676         * sql/syntax.lisp: added condition to the reader macro to treat [*] 
1677         as a column identifier (rather than an operation) for CommonSQL 
1678         compatibility. 
1679         * tests/test-fdml.lisp: add tests for ORDER-BY and SET-OPERATION 
1680         keword args to SELECT, [*] as column identifier, new MAP-QUERY 
1681         behaviour and the ANY and ALL operators in subqueries. 
1682         * tests/test-init.lisp: add set-operation and subquery tests to 
1683         appropriate skip lists. 
1684         * sql/objects.lisp: remove redundant and non CommonSQL compatible 
1685         ORDER-BY-DESCENDING keyword argument for SELECT. 
1686         * sql/classes.lisp: remove redundant and non CommonSQL compatible 
1687         ORDER-BY-DESCENDING keyword argument for SELECT. 
1688         * tests/test-oodml.lisp: add test for ORDER-BY keyword to SELECT 
1689         with object queries. 
1690
1691 15 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1692         * sql/db-interface.lisp: Add new db-type-has-union? 
1693         since Mysql 3.23 does not support unions.
1694         * sql/test-init.lisp: Don't try union tests on database
1695         backends which do not support it.
1696         * db-oracle/*.lisp: initial port to UFFI
1697         * sql/objects.lisp: implement UPDATE-OBJECT-JOINS,
1698         implement REFRESH for SELECT.
1699         * tests/test-oodml.lisp: Add tests for deferred retrieval,
1700         caching, refresh, and update-object-joins
1701         * tests/test-init.lisp: Add deferred-employee-address class
1702         
1703 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
1704         * sql/operations.lisp: make MINUS operator a synonym for EXCEPT. Add 
1705         COALESCE operator and make NVL a synonym for this. Make ANY, SOME, 
1706         ALL and EXISTS generate function expressions so they output the 
1707         correct SQL. 
1708         * sql/classes.lisp: SELECT now generates appropriate SQL when 
1709         passed the SET-OPERATION and ALL keyword arguments. 
1710         * sql/classes.lisp: the ORDER-BY keyword argument to SELECT now 
1711         accepts ordering constraints as pairs of the form (column direction) 
1712         where direction may be :ASC or :DESC. 
1713         * tests/test-syntax.lisp: added tests for MINUS and COALESCE/NVL. 
1714         Correct tests for ANY, SOME, ALL and EXISTS. 
1715         * tests/test-fdml.lisp: added test for COALESCE. 
1716         * sql/sql.lisp: MAP-QUERY now applies FUNCTION to QUERY-EXPRESSION 
1717         using funcall unless QUERY-EXPRESSION returns one column and its 
1718         FLATP slot is not nil in which case apply is used. 
1719         * tests/test-basic.lisp: modified calls to MAP-QUERY to reflect the 
1720         changes. 
1721         * TODO: remove items done. 
1722         * db-postgresql/postgresql-sql.lisp: no need to reverse results in 
1723         DATABASE-LIST-ATTRIBUTES. 
1724         * db-postgresql-socket/postgresql-socket-sql.lisp: no need to reverse
1725         results in DATABASE-LIST-ATTRIBUTES.    
1726         
1727 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
1728         * sql/classes.lisp: SELECT now accepts table identifiers as strings 
1729         for CommonSQL compliance. Add support for qualified sql identifiers 
1730         with aliased table names. 
1731         * tests/test-fdml.lisp: added tests for table identifiers as strings 
1732         in SELECT and for aliased definitions. 
1733         * tests/test-syntax.lisp: added tests for alias definitions. 
1734         
1735 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
1736         * sql/sql.lisp: PRINT-QUERY now calls QUERY with result-types and 
1737         field-names set to nil. 
1738         * sql/sql.lisp: PRINT-QUERY now computes column sizes correctly 
1739         with null attribute values. 
1740         * sql/operations.lisp: modify SQL concatenation operator to accept 
1741         unescaped || symbol.  
1742         * sql/syntax.lisp: modify sql reader macro function to accept 
1743         unescaped sql concatenation operator. 
1744         * tests/test-fdml.lisp: unescape sql concatenation operator. 
1745         * tests/test-syntax.lisp: unescape sql concatenation operator. 
1746         * TODO: remove items done. Add notes about SQLITE/MYSQL backends. 
1747         Note to add test for universal-time. Note about difference from 
1748         CommonSQL in transaction handling. 
1749
1750 13 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1751         * tests/test-init.lisp: Add deferred-employee-address
1752         class
1753         * tests/test-oodml.lisp: Add deferred retrieval testgs
1754         
1755 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1756         * Version 2.10.17
1757         * LATEST-TEST-RESULTS: Run on all platforms, add AMD64
1758         * sql/sql.lisp: Add FOR-EACH-ROW macro from clsql-classic/sql.lisp
1759         * db-sqlite/sqlite-uffi-api.lisp: Fix row-pointer type
1760         * *: Fix minor style warnings
1761         * clsql-classic: Remove system and subdirectory
1762         * clsql-base: Remove system and subdirectory and
1763         fold into clsql system
1764         * doc/intro.xml: Remove reference to old clsql-base. Add x86_64
1765         as supported platform.
1766         
1767 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1768         * Version 2.10.16: CLSQL now fully supports AllegroCL AMD64
1769         * db-odbc/odbc-api.lisp: work around return-type bug [spr28889] in
1770         Allegro 7.0beta AMD64
1771         * db-odbc/*.lisp: Add a layer of indirection to foreign-type
1772         of ODBC longs since this type can vary on 64-bit platforms depending
1773         upon the compilation options of unixODBC.
1774         * db-mysql/mysql-api.lisp: Fix int vs. long slots in foreign
1775         structures found by testing with AllegroCL 7.0b AMD64.
1776         * db-*/*-loader.lisp: Load 64-bit libraries on 64-bit platorms
1777         * sql/objects.lisp: Simple implementation of UPDATE-OBJECT-JOINS.
1778         Initial caching support for SELECT
1779         * tests/test-oodml.lisp: Avoid using cache when testing select.
1780         * sql/kmr-mop.lisp: Explicitly check slot order and
1781         store as a cl:*feature*
1782         * sql/recording.lisp: Remove additional types to
1783         increase CommonSQL conformance.
1784         * tests/test-init.lisp: Change a :column attribute
1785         to test symbols as value
1786         * sql/relations.lisp: Remove functions since they don't support
1787         many to many relationships.
1788         * examples/clsql-tutorial.lisp, doc/csql.lisp: Remove use
1789         of add-to-relations function and replace with explicit field settings.
1790         * base/classes.lisp: Remove obsolute query-stream. Add record-caches slot.
1791         
1792 9 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1793         * Version 2.10.15
1794         * LATEST-TEST-RESULTS: results with current version
1795         * sql/kmr-mop.lisp: Make CMUCL reader macros specific for cmu18
1796         since cmu19 has opposite order of class slots.
1797         * sql/objects.lisp: Fix (setf slot-value-using-class) for Lispworks
1798         * tests/test-fdml.lisp: Renumber SELECT tests to avoid overwriting
1799         a previous test
1800         * tests/test-init.lisp: Check test-database-underlying-type for
1801         ODBC/MySQL tests
1802         
1803 8 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
1804         * sql/operations.lisp: complete remaining operations for the sql 
1805         syntax: SUBSTR, SOME, ORDER-BY, GROUP-BY, NULL, DISTINCT, EXCEPT, 
1806         UNION, INTERSECT, BETWEEN. 
1807         * sql/classes.lisp: add new classes: SQL-BETWEEN-EXPRESSION, 
1808         SQL-QUERY-MODIFIER-EXPRESSION and SQL-SET-EXPRESSION. 
1809         * tests/test-syntax.lisp: add tests for new operations. 
1810         * tests/test-fdml.lisp: add tests for queries based on new operations. 
1811         * tests/test-init.lisp: add select/20 to tests skipped for sqlite and 
1812         select/20, query/5, query/7 and query/8 to tests skipped by mysql. 
1813         * TODO: removed entries done. 
1814
1815 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1816         * tests/benchmarks.lisp: Add immediate vs. deferred
1817         join test.
1818         
1819 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1820         * Version 2.10.13: Now works on openmcl 0.14.2 
1821         * sql/objects.lisp: Add :retrieval :immediate for
1822         object selections
1823         * tests/test-init.lisp: Add non-index fields for testing 
1824         join class employee-addresss
1825         * test/test-oodml.lisp: Add tests for retrieval immediate
1826         * sql/metaclasses.lisp: Handle differences in direct-slot-definition 
1827         values which are now listifed by openmcl 14.2.
1828         * sql/objects.lisp: more framework for supporing immediate retrieval 
1829
1830 7 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1831         * docs/intro.xml: Upload location of a README file
1832         * sql/metaclass.lisp: Work-around openmcl's CHANGE-CLASS
1833         changing the type-specifier. Use a lisp type of (OR NULL FOO)
1834         for a specified-type of FOO unless :db-constraints :not-null.
1835         No need to specialize finalize-inheritance for openmcl.
1836         * tests/test-*.lisp: Rename fields so that joins occur on
1837         fields with different names. This ensures that join code is
1838         selecting the proper name.
1839         * test/test-init.lisp: Add :base-table for employee-address
1840         view class for testing.
1841         * sql/objects.lisp: Use view-table rather than name of table
1842         in a number of places to fix errors noted with using :base-table.
1843
1844 6 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
1845         * sql/objects.lisp: replace *update-records-on-make-instance* with 
1846         *db-auto-sync* which also controls both automatic creation of 
1847         new records on creation of new instance and updating of record 
1848         fields on setting of instance slots (as suggested by Edi Weitz). 
1849         * tests/test-init.lisp: replace *update-records-on-make-instance* 
1850         with *db-auto-sync*. 
1851         * sql/package.lisp: replace *update-records-on-make-instance* 
1852         with *db-auto-sync*. 
1853         * TODO: replace *update-records-on-make-instance* with *db-auto-sync*. 
1854         * sql/objects.lisp: remove redundant rebindings of *db-initializing* 
1855         and *default-database* in FIND-ALL. 
1856         * sql/package.lisp: import time functions from CLSQL-BASE. 
1857         * tests/test-time.lisp: replace CLSQl-BASE package qualifier with CLSQL. 
1858         * tests/test-fdml.lisp: replace CLSQl-BASE package qualifier with CLSQL. 
1859         * tests/test-init.lisp: replace CLSQl-BASE package qualifier with CLSQL. 
1860         * tests/test-ooddl.lisp: replace CLSQl-BASE package qualifier with 
1861         CLSQL. 
1862
1863 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1864         * sql/classes.lisp: Add SQL-OBJECT-QUERY type. Have [select 'class]
1865         now return a sql-object-query type rather than directly performing a query.
1866         This improves CommonSQL conformance.
1867         * sql/sql.lisp: Add new QUERY method for SQL-OBJECT-QUERY. Move
1868         from basic/basic-sql.lisp the DO-QUERY and MAP-QUERY since they now
1869         depend on sql-object-query-type.
1870         * sql/loop-extensions.lisp: Move from base package
1871         * classic/package.lisp: remove references to map-query and do-query
1872
1873 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1874         * TODO: New section on optimizations, especially optimizing JOINs.
1875         * sql/objects.lisp: Have :target-slot return of list of lists rather
1876         than a list of cons pairs to be conformant with CommonSQL.
1877         Make :target-slot much more efficient by using a SQL inner join
1878         statement and just requiring one SQL query. Add :retrieval :deferrred
1879         to target-slot joins. Add placeholder for update-objects-join.
1880         * sql/classes.lisp: Add :inner-join and :on slots to sql-query class
1881         and process them for query output-sql. 
1882
1883 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1884         * Version 2.10.11
1885         * base/basic-sql.lisp: Avoid multiple evaluation
1886         of query-expression in DO-QUERY
1887         * sql/objects.lisp: Make SELECT a normal function.
1888         SELECT now accepts type-modified database identifiers, such as
1889         [foo :string] which means that the values in column foo are returned 
1890         as Lisp strings. Add new *update-records-on-make-instance* special
1891         variable controlling automatic creation of new instances. Add missing
1892         RESULT-TYPES keyword to FIND-ALL. Add :target-slot support.
1893         * sql/packages.lisp: Export *update-records-on-make-instance* 
1894         * test/test-oodml.lisp: Add tests for :target-slot and many-to-many
1895         selections.
1896         * test/test-fdml.lisp: Add tests for type-modified
1897         database identifiers.
1898         * test/test-init.lisp: Stop using add-relation since implementing
1899         many-to-many joins. Use *update-records-on-make-instance* 
1900         to automatically store records on instance creation. Add many-to-many
1901         employee-address view-class.
1902         
1903 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1904         * Version 2.10.10
1905         * base/loop.lisp: Add object iteration. Use :result-type
1906         :auto for result-set. Remove 
1907         duplicate (and non-correct) code for non-list variables by
1908         simply making an atom variable into a list. 
1909         * sql/package.lisp: Remove unnecessary clsql-sys package
1910         and replace it with clsql.
1911         * sql/metaclasses.lisp: Properly store specified-type from
1912         direct-slot-definition and then store translated type in
1913         effective-slot-definition
1914         * sql/classes.lisp: Don't output type in sql-output
1915         for SQL-IDENT-ATTRIBUTE. This is in preparation for supporting
1916         [foo :integer] as fields in SELECT.
1917         * sql/query.lisp: Set default for :result-types to :auto in
1918         FDML QUERY.
1919         * sql/objects.lisp: Use specified-type when invocating 
1920         database-get-type-specifier. def-view-class macro now returns
1921         the class instance.
1922         * base/basic-sql.lisp: Make :AUTO the default value for
1923         :RESULT-TYPES for MAP-QUERY and DO-QUERY.
1924         * sql/objects.lisp: Add bigint type
1925         * test/tests-basic.lisp: Add tests for :result-types for
1926         MAP-QUERY and DO-QUERY
1927         * test/test-fdml.lisp: Add test for result-types in LOOP
1928         and also using single symbol rather than a list for variables.
1929         Add test that default :result-types is auto for FDML QUERY.
1930         * test/test-syntax.lisp: Don't expect TYPE in the SQL-OUTPUT
1931         of SQL-IDENT-ATTRIBUTE.
1932         * test/test-oodml.lisp: Enable OO loop iteration test,
1933         modify it so it doesn't depend on boolean where.
1934         
1935 4 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
1936         * Version 2.10.9
1937         * sql/objects.lisp: added derived type specifier for universal time. 
1938         * sql/package.lisp: added #:universal-time to clsql-sys exports. 
1939         * tests/test-oodml.lisp: added test for translation of boolean slots 
1940         in SELECT with object queries. 
1941         
1942 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1943         * db-odbc/odbc-api.lisp: Fix changing nil to "NIL" 
1944         for odbc/postgresql backend.
1945         * db-odbc/odbc-sql.lisp: Fix ATTRIBUTE-TYPE so that
1946         it can handle NIL values from the ODBC driver
1947         * tests/benchmarks.lisp: New file with initial
1948         benchmark suite
1949         * sql/relations.lisp: fix to add subclassing support,
1950         minor optimizations [Edi Weitz]
1951         
1952 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1953         * Version 2.10.8        
1954         * base/conditions.lisp: Add *backend-warning-behavior*
1955         special variable.
1956         * db-postgresql-socket/postgresql-socket-sql.lisp:
1957         Honor value of *backend-warning-behavior*
1958         * tests/test-fdml.lisp: Remove test of raw boolean value
1959         since different backends handle this differently. Add
1960         test for :column attribute.
1961         * tests/test-oodml.lisp: Add tests for boolean slot value
1962         and for :void-value attribute
1963         * tests/test-init.lisp: Use *backend-warning-behavior*
1964         to suppress warnings from postgresql about implicitly
1965         creating primary key in tables. Add new address table.
1966         
1967 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1968         * Version 2.10.7
1969         * db-odbc/odbc-dbi.lisp: Convert TINYINT to integers when
1970         result-types is :auto
1971         * sql/objects.lisp: Properly handled writing/reading Boolean
1972         values from SQL database when retrieving objects.
1973         * test/test-fdml.lisp: Add another test for boolean results
1974         * test/utils.lisp: Fix incorrect declaration
1975         
1976 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
1977         * Version 2.10.6
1978         * sql/generics.lisp: add generic function for SELECT. 
1979         * sql/objects.lisp: make SELECT a method specialisation. 
1980         * sql/classes.lisp: MAKE-QUERY now calls SELECT if the selections 
1981         referred to are View Classes. 
1982         * base/basic-sql.lisp: in DO-QUERY and MAP-QUERY, if the 
1983         query-expression arg evaluates to a list, then we have an object 
1984         query. 
1985         * tests/test-oodml.lisp: add tests for DO-QUERY and MAP-QUERY with 
1986         object queries. 
1987         * TODO: remove items done and add a todo for SELECT. 
1988         * sql/objects.lisp: SELECT takes a :field-names arg to pass on to 
1989         QUERY. 
1990         * sql/sql.lisp: add :field-names arg to QUERY. 
1991         * tests/test-fdml.lisp: minor rework to use :field-names arg to 
1992         SELECT. 
1993
1994 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1995         * sql/objects.lisp: fix bug in FIND-ALL when SELECT called with 2 
1996         or more View Classes. 
1997         * sql/objects.lisp: make the :flatp argument to SELECT work with 
1998         object queries. 
1999         * sql/objects.lisp: make SELECT accept a :result-types argument 
2000         (defaults to :auto) which is passed on to QUERY.  
2001         * sql/objects.lisp: SELECT returns field-names as a second value. 
2002         * tests/test-ooddl.lisp: add flatp arg to SELECT calls as appropriate. 
2003         * tests/test-fdml.lisp: add flatp/result-types arguments to calls 
2004         to SELECT and take only first value as appropriate.
2005         * tests/test-fdml.lisp: add two new tests for query result coercion 
2006         and the field-names returned as a second value from SELECT. 
2007         * tests/test-oodml.lisp: add flatp arg to SELECT calls as appropriate. 
2008         
2009 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2010         * Version 2.10.6-pre1
2011         * sql/metaclasses.lisp: Add void-value slot
2012         * doc/csql.xml: Update def-view-class documentation
2013         * test/test-init.lisp: Change old :db-type to :db-kind.
2014         Remove old :nulls-ok attributes.
2015         * sql/objects.lisp: Add new universal-time and bigint
2016         types. Optimize reading of integers using parse-integer
2017         rather than read-from-string.
2018         * */*.lisp: Merge clsql-base-sys and clsql-base packages
2019         into clsql-base package
2020         * classic/sql.lisp: Move large object support into base, leaving
2021         classic without any functionality that is provided in the clsql
2022         system.
2023         * classic/package.lisp: Rename clsql-classic-sys package to
2024         its former nickname of clsql-classic
2025         
2026 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2027         * Version 2.10.5: SQLite backend now passes all result-types tests
2028         * clsql-sqlite.asd: Depend on clsql-uffi system
2029         * db-sqlite/sqlite-sql.lisp: Use clsql-uffi:convert-raw-field
2030         for efficiency and code reuse. 
2031         * db-sqlite/sqlite-api-uffi.lisp: Change (* :char) to (* :unsigned-char)
2032         for better cross-implementation compatibility.
2033
2034 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2035         * Version 2.10.4
2036         * sql/tables.lisp: Fix typo in CACHE-TABLE-QUERIES
2037         [Marcus Pearce]
2038         * db-postgresql/postgresql-sql.lisp: Fix foreign-string vs. cstring
2039         bug on SBCL in result-field-names function as reported by Marcus Pearce
2040         * db-sqlite/sqlite-sql.lisp: Fix  in database-store-next-row
2041         manifest in SBCL testing
2042         
2043 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2044         * Version 2.10.3
2045         * sql/database.lisp: Conform more to CommonSQL output
2046         for STATUS command [Marcus Pearce]
2047         * sql/sqlite-sql.lisp: Rework to use result-types
2048         * sql/sqlite-api-clisp.lisp: Add compatibility layer
2049         with sqlite-api-uffi.lisp so that sqlite-sql.lisp can
2050         be cleaned up of most clisp reader conditionals
2051         * sql/test-init.lisp: Now run field type tests on sqlite
2052         backend
2053         
2054 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2055         * Version 2.10.2
2056         * base/basic-sql.lisp: Set default value of :result-types 
2057         to :auto for more CommonSQL conformance. 
2058         * test/test-fdml.lisp: Add tests for numeric value of fields
2059         
2060
2061 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2062         * Version 2.10.1: New API function: CACHE-TABLE-QUERIES.
2063         * base/basic-sql.lisp, db-*/*-sql.lisp: More CommonSQL conformance.
2064         Return field names as second value for QUERY. This can be overridden
2065         for efficiency with the new keyword :FIELD-NAMES set to NIL
2066         in the QUERY invocation.
2067         * test/test-fdml.lisp: Add tests for new field-name feature
2068         * sql/metaclass.lisp: Remove old Lispworks cruft
2069         and replace it with invocation of new code in kmr-mop.lisp
2070         which actually works with Lispworks 4.2
2071         * doc/ref_clsql.xml: Document new :FIELD-NAMES keyword to
2072         QUERY function
2073         * base/db-interface.lisp: Document the multiple values
2074         returned by DATABASE-ATTRIBUTE-TYPE so matches the
2075         undocumented CommonSQL behavior. 
2076         * sql/table.lisp: Add *CACHE-TABLE-QUERIES-DEFAULT* and
2077         *DEFAULT-UPDATE-OBJECTS-MAX-LEN* variables and export them.
2078         LIST-ATTRIBUTE-TYPES now conforms to CommonSQL spec.
2079         Implement CACHE-TABLE-QUERIES.
2080         * db-odbc/odbc-sql.lisp: Fix attribute-type function
2081         * test/test-fddl.lisp: Add tests for attribute type     
2082         * db-mysql/mysql-sql.lisp: Mild optimization in accessing
2083         field structures.
2084         * base/classes.lisp: Add attribute-cache slot to database clas
2085         * base/initialize.lisp: initialize-database-type now automatically
2086         loads database-type backend as needed.
2087         * base/test-init.lisp: Utilize new initialize-database-type functionality.
2088         * TODO: remove items done
2089         
2090 30 Apr 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
2091         * Version 2.9.6
2092         * sql/objects.lisp: remove create/drop-sequence-from-class. 
2093         * sql/objects.lisp: add INSTANCE-REFRESHED generic function. 
2094         * sql/objects.lisp: improved CommonSQL compatibility for
2095         UPDATE-RECORD-FROM-SLOT, UPDATE-RECORD-FROM-SLOTS,
2096         UPDATE-RECORDS-FROM-INSTANCE and DELETE-INSTANCE-RECORDS. 
2097         * sql/generics.lisp: move generics from objects.lisp to here. 
2098         
2099 29 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2100         * Version 2.9.6-pre1
2101         * db-mysql/mysql-client-info.lisp: Add client version 4.1
2102         detection
2103         * sql/sql.lisp: Make *default-database* the default for
2104         TRUNCATE-DATABASE
2105         
2106 28 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2107         * Version 2.9.5
2108         * db-mysql/mysql-sql.lisp: Fix bug in transaction capability
2109         detection
2110         * sql/objects.lisp: Commit patch from Slawek Zak to allow specifying 
2111         :metaclass in DEF-VIEW-CLASS invocation. This allows defining classes 
2112         on a metaclass specialized from standard-db-class.
2113
2114         
2115 24 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2116         * Version 2.9.4: Multiple changes to support Allegro's "modern"
2117         lisp which uses a lowercase reader and has case-sensitive symbols
2118         * sql/classes.lisp: Fix make-load-form bug for sql-ident-table
2119         exposed by case-sensitive mlisp. 
2120
2121 22 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2122         * Version 2.9.3: All tests now pass on all platforms!
2123         * LATEST-TEST-RESULTS: New file with summary of test results
2124         * sql/generics.lisp: New file for generic function definitions.
2125         * test/test-init.lisp: Display names of skipped tests.
2126         Use unwind-protect to ensure disconnect
2127         * sql/objects.lisp: Change database-type to database-underlying-type
2128         so that actual database engine is properly identified
2129         * db-odbc/odbc-api.lisp: Have default *time-conversion-function*
2130         return an ISO timestring for compatibility with other drivers.
2131         Workaround bug in MyODBC for LIST-TABLE-INDEXES
2132         * test/test-fdml.lisp: Accomodate that odbc-postgresql driver
2133         returns floating-point values for floor and truncate operations 
2134         * db-aodbc/aodbc-sql.lisp: Implement DATABASE-LIST-VIEWS
2135         * tests/test-basic.lisp: Port to regression tester
2136         * test/test-init.lisp: Output to *report-stream*
2137         * docs/appendix.xml: Document ODBC and SQLite backends.
2138         * sql/classes.lisp: Make output-sql require a database parameter.
2139         This allows SQL generation to have the proper case to support
2140         the differences in case handling between CommonSQL API,
2141         Postgresql, MySQL, Oracle.
2142         
2143 21 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2144         * Version 2.9.2: Improvments in database capability introspection
2145         and querying. Support transactions in MySQL where available.
2146         All tests now pass on MySQL and SQLite in addition to postgresql
2147         and postgresql-socket. ODBC fails only with OODDL/TIME/1 and OODDL/TIME/2.
2148         * db-odbc/odbc-sql.lisp: Add DATABASE-LIST-VIEWS. Better support
2149         DATABASE-LIST-SEQUENCES.
2150         * clsql-uffi.asd, clsql-mysql.asd: Improve shared library loading
2151         * Database_capabilies: add HAS-VIEWS, HAS-CREATE/DESTROY-DB,
2152         HAS-BOOLEAN-WHERE, TRANSACTION-CAPABLE
2153         * tests/*.lisp: Check database capabilities and remove tests which
2154         the database backend does not support
2155         * sql/table.lisp: Add :TRANSACTIONS keyword to create table which
2156         controls whether InnoDB tables will be created when supported on
2157         the underlying MySQL server.
2158         
2159 20 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2160         * Version 2.9.0: New API function: LIST-TABLE-INDEXES,
2161         supported by all database backends (except AODBC since
2162         AODBC doesn't support index querying)
2163         * db-obdc/odbc-sql.lisp: Support DATABASE-LIST-INDEXES
2164         * db-odbc/odbc-api.lisp: Add %TABLE-STATISTICS function
2165         to support index queries
2166         * db-aodbc/aodbc-sql.lisp: Filter driver manager
2167         "information_schema" tables from LIST-TABLES
2168         * tests/test-basic.lisp: Remove table after testing
2169         * tests/test-fddl.lisp: Test LIST-TABLE-INDEXES
2170         * base/db-interface.lisp: Add DATABASE-UNDERLYING-TYPE
2171         which gets the underlying type of database -- required
2172         when dealing with ODBC databases and want to query
2173         database capabilities. Added DB-USE-COLUMN-ON-DROP-TABLES?
2174         as first database-backend specific feature. Is T on
2175         :mysql, NIL on other backends. Change DROP-TABLE to
2176         query this.
2177         
2178 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2179         * Version 2.8.2: Build changes for FreeBSD [Slawek Zak]
2180
2181 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2182         * Version 2.8.1
2183         * db-odbc/odbc-sql.lisp: Add DATABASE-LIST function 
2184         * db-odbc/odbc-dbi.lisp: Add LIST-ALL-DATA-SOURCES function 
2185
2186 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2187         * Version 2.8.0: New API function: LIST-DATABASES
2188         * base/utils.lisp: Fix command-output on CMUCL/SBCL
2189         * db-*/*-sql.lisp: Add new database-list function
2190         * base/database.lisp: Add new LIST-DATABASES command
2191         
2192 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2193         * Version 2.7.9
2194         * db-sqlite/sqlite-sql.lisp: Fix sequence functions.
2195         * db-sqlite/sqlite-api-uffi.lisp: Print error string
2196         correctly.
2197         
2198 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2199         * Version 2.7.7
2200         * doc/csql.xml, examples/clsql-tutorial.lisp: Patch for db-kind
2201         from Eduardo Munoz.
2202         
2203 17 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2204         * Version 2.7.6
2205         * base/objects.lisp, base/classes.lisp: Patch
2206         for db-kind from Eduardo Munoz
2207         
2208 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2209         * Version 2.7.5
2210         * base/basic-sql.lisp: Fix FLATP in QUERY
2211
2212 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2213         * Version 2.7.3: Implement RECONNECT
2214
2215 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2216         * Version 2.7.2: Fix ODBC on Lispworks Windows
2217
2218 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2219         * Version 2.7.1: Fix for new ODBC backend.
2220         clsql-odbc now works on SBCL, CMUCL, OpenMCL
2221         in addition to AllegroCL and Lispworks.
2222
2223 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2224         * Version 2.7.0: New backend: ODBC. Tests as
2225         well as AODBC backend on Allegro,Lispworks.
2226         SBCL and CMUCL don't work quite yet.  Requires UFFI v1.4.11+
2227         * db-odbc/*.lisp: Add ODBC3 function SQLSetEnvAttr
2228         to explicitly set ODBC2 support. Add BIGINT support.
2229         Add result-types support. Added SQLTables.
2230         Fix array type in fetch-all-rows. Make width
2231         changable by database or query.
2232         * base/utils.lisp: Add process functions
2233         * base/package.lisp: Export utils to CLSQL-BASE-SYS
2234         * db-aodbc: Implement sequence functions,
2235         database-list-tables, database-list-attributes
2236         * tests/utils.lisp: Add support for ODBC backend,
2237         rework READ-SPECS to use +all-db-types+
2238         * db-mysql/mysql-sql.lisp: Use WITHOUT-INTERRUPTS
2239         for SEQUENCE-NEXT
2240         
2241 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2242         * Version 2.6.13. Requires UFFI version 1.4.9
2243         * db-odbc/*.lisp: Further porting.
2244         Pre-alpha code! But, basic query is now working.
2245
2246 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2247         * Version 2.6.12
2248         * base/transactions.lisp: Add quote for macro
2249         expansion of WITH-TRANSACTIONS [Time Howe]
2250         * db-sqlite/sqlite-sql.lisp: Support memory database
2251         in database-probe [Ng Pheng Siong]
2252         * db-odbc/*.lisp: Initial port to UFFI of SQL-ODBC.
2253         The DBI layer is not finished.
2254         
2255 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2256         * Version 2.6.11
2257         * sql/objects.lisp: add :root-class functionality for
2258         list-classes and add duration type support [Marcus Pearce]
2259         * db-odbc: Add mid-level [DBI] layer
2260
2261 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2262         * Version 2.6.10
2263         * db-aodbc: Add methods for generic functions, some are
2264         not yet implemented.
2265         * clsql-odbc.asd, db-odbc/*.lisp: Initial start of ODBC
2266         support
2267
2268 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2269         * Version 2.6.9
2270         * base/package.lisp: Add missing symbols [Marcus Pearce]
2271
2272 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2273         * Version 2.6.8
2274         * test/test-fddl.lisp: Cleanup fix [Marcus Pearce]
2275         * utils/time.lisp: Multiple fixes [Marcus Pearce]
2276         * sql/sql.lisp: Fix for truncate-database [Marcus Pearce]
2277         
2278 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2279         * Version 2.6.7
2280         * sql/*.lisp: Remove schema versioning cruft
2281         [Marcus Pearce]
2282         * Makefile: Add classic subdirectory
2283         
2284 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2285         * Version 2.6.6
2286         * sql/sql.lisp: Fix TRUNCATE command, bug reported
2287         by Marcus Pearce
2288         * sql/sql.lisp: Remove EXPLAIN function. Postgresql/Oracle
2289         specific and easy for an application to directly support.
2290         Idea from Marcus Pearce.
2291         * base/basic-sql.lisp: Remove DESCRIBE-TABLE top-level 
2292         API as duplicates LIST-ATTRIBUTE-TYPES [Marcus Pearce].
2293         Keep low-level interface for future optimization
2294         supporting LIST-ATTRIBUTE-TYPES command.
2295         * Makefile: Add to db-sqlite and test directories.
2296         Include them in top-level Makefile
2297         
2298 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2299         * Version 2.6.5
2300         * sql/relations.lisp: Add missing file
2301         * utils/time.lisp: Fixes/extensions [Marcus Pearce]
2302         * test/test-time.lips: New file [Marcus Pearce]
2303         
2304 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2305         * Version 2.6.4
2306         * test/test-init.lisp: Properly handle object
2307         creation. Close database after use.
2308         * sql/sql.lisp: Make DESCRIBE-TABLE a generic
2309         function so can have methods specialized on
2310         table being a string or an sql-table object.
2311         * base/pool.lisp: Really fix CMUCL locking
2312         
2313 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2314         * Version 2.6.3
2315         * test/test-init.lisp: Signal correctly
2316         if any errors occurred in any test suite
2317         * base/loop-extensions.lisp: Fix error
2318         introduced for Lispworks
2319         * base/pool.lisp: Fix locking for CMUCL
2320         * base/objects.lisp: Remove schema-version cruft
2321         
2322 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2323         * Version 2.6.2: New CLSQL API functions:
2324         DESCRIBE-TABLE AND TRUNCATE-DATABASE
2325         Currently, this are only supported on :postgresql
2326         and :postgresql-socket
2327         * base/database.lisp: automatically load ASDF system
2328         in CONNECT if not already loaded
2329         * base/tests.lisp: disconnect database after testing 
2330         * base/*.lisp: Remove CLOSED-DATABASE type in favor
2331         of storing open/closed status in slot of database
2332         * base/pool.lisp: Support locks for CMUCL, OpenMCL, SBCL
2333         * db-postgresql/postgresql-sql.lisp: add DATABASE-RECONNECT,
2334         DATABASE-DESCRIBE-TABLE
2335         * db-sqlite/sqlite-sql.lisp: Add missing slots in database
2336         * base/conditions: Remove duplicate condition
2337         * db-*/*-sql.lisp: Fill new database slot DATABASE-TYPE
2338         * base/recording.lisp: Add new :QUERY type for recording
2339         
2340 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2341         * Version 2.6.1: documentation fixes, merged
2342         classic-tests into tests
2343
2344 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2345         * Version 2.6.0 released: New API functions
2346         CREATE-DATABASE, DESTORY-DATABASE, PROBE-DATABASE
2347         * doc/ref_clsql.xml: Document new functions
2348         * base/database.lisp: New API functions
2349         * base/conditions.lisp: Added CLSQL-ACCESS-ERROR
2350         * base/utils.lisp: Fix use of position-char.
2351         Add COMMAND-OUTPUT used by backends for running
2352         external programs. Fix parsing of SQL*NET-compatible
2353         connection-specs.
2354         * base/loop-extension.lisp: Simplify package use
2355         for Lispworks and Allegro
2356         * db-*/*-sql.lisp: Added DATABASE-CREATE,
2357         DATABASE-DESTORY, PROBE-DATABASE methods
2358         * tests/test-init.lisp, clasic-tests/tests.lisp:
2359         Use destroy-database and create-database to ensure 
2360         testing with empty database
2361         * tests/test-connection.lisp: Add tests for
2362         parsing of string connection-specs
2363         * examples/run-tests.sh: New file for running
2364         test suite on all installed CL implementations
2365         * examples/clsql-tutorial.lisp: moved from
2366         doc directory
2367         * examples/dot.clsql-tests.config: New file
2368         giving an example test configuration
2369         * test/README: Add notes about rtest/ptester
2370         downloads and link to sample test configuration file.
2371         
2372 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2373         * Version 2.5.1 released:
2374         * tests/*.lisp: Rework so tests are run
2375         on multiple backends automatically based
2376         on the contents of ~/.clsql-tests.config.
2377         Reuse helper functions from classic-tests.
2378         * base/database.lisp: Support connection-spec
2379         as string for CONNECT
2380         * classic-tests/tests.lisp: Automatically
2381         load database backends as needed. 
2382         
2383 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2384         * Version 2.5.0 released:
2385         All tests for CLSQL and CLSQL-CLASSIC pass
2386         on all platforms.
2387         * base/loop-extension.lisp: Add Lispworks
2388         loop-extension. Improve type specifying on
2389         other platforms.
2390         
2391 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2392         * Version 2.4.2 released:
2393         loop extension now supported on Allegro, all
2394         CLSQL-TESTS pass on Allegro.
2395         * sql/metaclasses.lisp: Some optimization
2396         of compute-slots, be selective when
2397         ordered-class-slots needs to be called
2398         instead of class-slots
2399         * TODO: add URL with documentation on
2400         extending Lispworks LOOP form
2401         
2402 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2403         * Version 2.4.1 released: CLSQL-TESt suite passes
2404         all tests for postgresql and CMUCL, SBCL, OpenMCL.
2405         Allegro and Lispworks pass all tests except for
2406         FDML/LOOP/1 since the loop extension have not yet
2407         been ported to those implementions.
2408         * sql/metaclasses.lisp: Added new slot to standard-db-class
2409         to hold user-specified type. OpenMCL adjustments to compensate
2410         for its type-predicate function. Since AllegroCL, Lispworks,
2411         and OpenMCL have different slot orders, added compute-slots
2412         and ordered-class-slots functions so their slot order matches
2413         SBCL/CMUCL.
2414
2415 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2416         * Version 2.4.0 released: All tests for clsql-classic now finish
2417         correctly on Allegro, Lispworks, CMUCL, SBCL, OpenMCL for
2418         mysql, postgresql, postgresql-sockets, and sqlite backends.
2419         * db-mysql/mysql-sql.lisp: Fix array dereferencing
2420         * classic-tests/tests.lisp: Fix package name of
2421         number-to-sql-string. 
2422         * clsql.asd/clsql-tests.asd: Add support for asdf:test-op
2423         * db-sqlite/sqlite-api-{uffi,sql}.lisp: Multiple UFFI fixes,
2424         now passes tests on all support UFFI platforms.
2425         * db-postgresql-socket/postgresql-socket-api.list: Ported to 
2426         SBCL and OpenMCL
2427         * multiple: Finish renaming of :types keyword to :result-types for
2428         greater CommonSQL compatibility, including documentation
2429         * sql/basic-cmds.lisp: Remove obsolete file
2430         
2431 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2432         * Version 2.3.3 released
2433         * Fixes for sequences on mysql and sqlite [Marcus Pearce]
2434         * Fixes for uffi sqlite backend [Aurelio Bignoli / Kevin Rosenberg]
2435         * Fix for schema table [Marcus Pearce]
2436         * Add loop extension support for SBCL and OpenMCL [Marcus Pearce]
2437         * Fixes to test suite [Marcus Pearce]
2438
2439 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2440         * db-*/*-sql.lisp: Ensure that expr in
2441         database-query-result-set is a string
2442         * Documentation integration
2443         
2444 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2445         * With for Marcus Pearce's excellent work, I've merged
2446         his clsql-usql port into clsql. The original clsql
2447         interface is available in the clsql-classic package.
2448
2449 02 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2450         * Integrate patch from Marcus Pearce <ek735@soi.city.ac.uk>
2451         adding further support for providing backend for UncommonSQL
2452
2453 10 Mar 2004 Kevin Rosenberg (kevin@rosenberg.net)
2454         * Integrate patch from Aurelio Bignoli for SQLite backend
2455
2456 11 Nov 2003 Kevin Rosenberg (kevin@rosenberg.net)
2457         * Converted documentation to XML format
2458         * Made package installable with asdf-install
2459
2460 23 Jul 2003 Kevin Rosenberg (kevin@rosenberg.net)
2461         * Add for-each-row macro
2462
2463 12 Dec 2002 Kevin Rosenberg (kevin@rosenberg.net)
2464         * uffi/clsql-uffi.lisp: return NIL for numeric fields that are NULL
2465         
2466 16 Oct 2002 Kevin Rosenberg (kevin@rosenberg.net)
2467         * Add support for SBCL, OpenMCL, and SCL
2468         * Add *load-truename* to search path for clsql's
2469         compiled libraries.
2470
2471 01 Sep 2002 Kevin Rosenberg (kevin@rosenberg.net)
2472         * Rework use of file types in .asd files
2473
2474 17 Aug 2002 Kevin Rosenberg (kevin@rosenberg.net)
2475         * Add .asd definition files for ASDF users
2476
2477 31 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
2478         * Restructure directories for Common Lisp Controller v3 compatibility
2479
2480 25 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
2481         * Also change case of logical host in loader files
2482         * Rework handling of logical pathnames
2483         
2484 05 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
2485         * Change case of logical host
2486         
2487 14 May 2002 Kevin Rosenberg (kevin@rosenberg.net)
2488         * clsql-base.system: Added base package that can be used without
2489         high-level SQL commands. Used for adding support for UncommonSQL.
2490         * *.system: Reworked logical pathnames to be more consistent with
2491         Common Lisp Controller.
2492         * debian/*: Completed initial Debian support
2493         
2494 10 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
2495         * sql/classes.cl:
2496         * sql/transactions.cl:
2497         Added transaction support. Functions/macros added:
2498         with-transaction, commit-transaction, rollback-transaction,
2499         add-transaction-commit-hook, add-transaction-rollback-hook
2500
2501 04 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
2502         * sql/sql.cl:
2503         * sql/pool.cl:
2504         * sql/functional.cl:
2505         Added pool support in connect/disconnect and with-database.
2506         Removed with-db-from-pool as with-database can now works with the connections pool
2507
2508 01 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
2509         * sql/sql.cl:
2510         * sql/pool.cl:
2511         * sql/classes.cl:
2512         * sql/package.cl:
2513         Completed connection pool.
2514         Added with-db-from-pool macro.
2515         
2516 27 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
2517         * Multiple files:
2518         Added initial support for connection pool
2519         * sql/transactions.cl
2520         Took transaction code from UncommonSQL and integrated
2521         into CLSQL code. See file for disclaimer about why this
2522         was added.
2523
2524 23 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
2525         * interfaces/postgresql/postgresql-sql.cl:
2526         Fix keyword typo in database-read-large-object
2527         * interfaces/mysql/mysql-loader.cl
2528         Fix loading on Win32
2529         * test-suite/tester-clsql.cl
2530         Fix type coercion of double-float
2531         * doc/*
2532         Added debian docbook catalog, made it the default
2533         
2534 19 Apr 2002 Marc Battyani (marc.battyani@fractalconcept.com)
2535         * interface/postgresql/postgresql-api.cl:
2536         * interface/postgresql/postgresql-sql.cl:
2537         * sql/sql.cl:
2538         * sql/db-interface.cl:
2539         Added large objects support for postgresql.
2540
2541 07 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
2542         * src/postgresql-socket/postgresql-socket-api.cl:
2543         Fixed find-foreign-function call, eliminated crypt warning
2544         * Makefiles:
2545         Multiple improvements
2546         * sql/usql.cl:
2547         Moved functionality from low-level interfaces to this file
2548         via generic functions
2549         * test-suite/tester.cl:
2550         Added test with acl-compat-tester, moved others to old-tests
2551         directory.
2552         
2553 06 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
2554         * src/usql.cl:
2555         Reinstated commented out sections
2556         * interfaces/postgresql/postgresql-loader.cl:
2557         * interfaces/mysql/mysql-loader.cl:
2558         Updated find-forieign-library support.
2559         * interfaces/postgresql-socket/postgresql-socket-package.cl:
2560         Fixed require form for Lispworks (Thanks Marc Battyani!)
2561         * interfaces/postgresql-socket/postgresql-socket-api.cl:
2562         Fixed eval of def-function for crypt library.
2563                 
2564 31 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2565         * Added interface to support USQL high-level rouines
2566         
2567 29 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2568         * Separated db-interface and conditions from sql/sql.cl
2569         * Improved foreign library loading testing
2570         * interfaces/postgresql/postgresql-api.cl
2571         Added PQisBusy function
2572         * interfaces/clsql-uffi/clsql-uffi.cl
2573         Fixed sign error for 64-bit processing
2574         
2575 27 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2576         * interfaces/postgresql-socket/postgresql-socket-api.cl:
2577         Fixes to read-double-from-socket. Added 64-bit integer support.
2578         * test-suite/xptest-clsql.cl
2579         Added testint for 64-bit integers
2580         * Additons to installation docs
2581         
2582 26 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2583         * interfaces/postgresql-socket/postgresql-socket-api.cl:
2584         Implemented direct socket reading for field type :double
2585         * Added usage information for :types to documentation
2586         * interfaces/mysql/mysql-sql.cl: Fixed type specifiers in atoi,
2587         atol, atof calls
2588         * interfaces/clsql-uffi: Created new directory. Split common
2589         interface routines that use UFFI into this package. Required
2590         especially to support direct reading of 64-bit integers into
2591         bignums and bypassing temporary strings.
2592         * test-clsql.cl: Updated to test postgresql-socket's
2593         read-double-from-socket function.
2594         * test-suite/xptest-clsql.cl
2595         Started work on test suite
2596
2597 25 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2598         * interfaces/mysql/mysql-api.cl: Added mysql-fetch-fields,
2599         mysql-fetch-field-direct Got :auto types working
2600         * interfaces/postgresql/postgresql-api.cl
2601         * interfaces/postgresql-socket/postgresql-socket-api.cl
2602         Added pgsql-field-types enum. Got :auto types working.
2603         * multiple-files
2604         Renamed :field-types to :types.
2605         
2606 24 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2607         * Added field-types parameter to query, database-query,
2608         database-query-result-set, map-query. Haven't added code
2609         to utilize field types, yet.
2610         * Changed postgresql-socket result set from cons to a structure
2611         * Updated test-clsql.cl to use automated testing with a config
2612         file
2613         * Changed return types of field accessors from cstring to
2614         (* :unsigned-char).  This prepares for being able to use specified
2615         type conversions when taking field data into lisp.
2616         * Added field-type processing for most interfaces. Not done yet.
2617         
2618 23 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2619         * doc/ref.sgml: Updated MAP-QUERY example to use
2620         *read-default-float-format* (John Foderaro)
2621         * Extensive work to foreign library loaders and .system files to
2622         check for successful loading of foreign libraries.
2623         * Modified test-clsql.cl to allow more modularity and
2624         automated testing in future release.
2625         * mysql/mysql-sql.lisp: Added field types
2626         
2627 01 Jan 2002 Kevin Rosenberg (kevin@rosenberg.net)
2628         * mysql/mysql-sql.lisp:
2629         - Added support for Allegro CL and Lispworks using UFFI layer
2630         - Changed database-connect to use mysql-real-connect. This way,
2631           can avoid using double (unwind-protect)
2632         - Changed database-connect to have MySQL library allocate space
2633           for MYSQL structure. This will make the code more robust in
2634           the event that MySQL library changes the size of the mysql-mysql
2635           structure.