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