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