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