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