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