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