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