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