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