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