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