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