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