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