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