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