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