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