fe3f1d2bf1a99a6e1d21770b5ee9e8ffea2a4513
[clsql.git] / ChangeLog
1 16 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
2         * sql/expressions.lisp: reactivate caching of generated SQL strings. 
3         Move methods for DATABASE-OUTPUT-SQL, OUTPUT-SQL and SQL-HASH-KEY 
4         here from sql/fdml.lisp. Rationalise behaviour of SQL-OUTPUT, 
5         OUTPUT-SQL and DATABASE-OUTPUT-SQL. 
6         * sql/fdml.lisp: remove disabled method ADD-STORAGE-CLASS. Move 
7         methods for DATABASE-OUTPUT-SQL, OUTPUT-SQL and SQL-HASH-KEY to 
8         sql/expressions.lisp. 
9         * sql/ooddl.lisp: replace call to DATABASE-OUTPUT-SQL in 
10         DATABASE-PKEY-CONSTRAINT with call to SQL-OUTPUT. 
11         * sql/generics.lisp: add docstrings. 
12
13 15 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
14         * Version 2.11.16
15         * db-oracle/oracle-sql.lisp: Remove OpenMCL specific
16         code in favor of fixing UFFI with James Bielman's patch
17         
18 14 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
19         * Version 2.11.15
20         * db-oracle/oracle-sql.lisp: Apply patch for OpenMCL/OSX
21         from James Bielman
22         
23 14 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
24         * README, INSTALL: update URLs. Minor updates to descriptions. 
25         * tests/README: remove stuff about editing contexts. 
26
27 12 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
28         * db-oracle/oracle-objects.lisp: Change *default-varchar-length* to 
29         *default-string-length*
30         
31 12 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
32         * tests/test-syntax.lisp, tests/test-fdml.lisp: add tests for escaping 
33         of single quotes. 
34         * tests/test-fddl.lisp: add tests for column and table constraints 
35         in CREATE-TABLE. Add test for OWNER keyword parameter to 
36         LIST-TABLES (assuming same underlying machinery in other FDDL 
37         functions). 
38         * tests/test-init.lisp: restrict above test to postgresql and oracle. 
39         
40 12 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
41         * db-sqlite/sqlite-sql.lisp: Fix condition as reported by Aurelio 
42         Bignoli.
43
44 11 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
45         * sql/oodml.lisp, sql/package.lisp, doc/ref-ooddl.lisp, db-mysql/mysql-objects.lisp: Add tinyint type
46         
47 10 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
48         * Version 2.11.14
49         * doc/*.xml: documentation additionals and fixes so
50         that docbook passes xmllint.
51         
52 9 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
53         * Version 2.11.13
54         * sql/fdml.lisp: Apply patch from Kim Minh Kaplan 
55         to change escaping of single quotes. Mild optimizations
56         for escaped string output.
57         * doc/ref-ooddl.lisp: documentation additions
58         * doc/ref-oodml.lisp: Add purpose to functions
59         * TODO: Add need to test single quote escaping
60         
61 7 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
62         * doc/ref-ooddl.xml, doc-ref-oodml.xml: documentation additions
63         * sql/ooddl.lisp: Added SMALLINT type
64         * sql/generic-postgresql.lisp: Added INT2 as SMALLINT type
65         * db-mysql/mysql-objects.lisp: Added SMALLINT type
66         * sql/package.lisp: Export SMALLINT
67         * sql/expressions.lisp: Add MYSQL's UNSIGNED and ZEROFILL as
68         db-constraints
69         
70 6 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
71         * sql/expressions.lisp: add AUTO-INCREMENT and UNIQUE to the 
72         recognised column constraints for CREATE-TABLE and the :DB-CONSTRAINTS 
73         View Class slot option. 
74         * sql/ooddl.lisp: fix bug preventing the :DB-CONSTRAINTS View Class 
75         slot option accepting a list of constraints [reported by Travis Cross]. 
76         * doc/ref-fddl.xml: add some examples of specifying column and 
77         table constraints to the documentation for CREATE-TABLE. 
78         * TODO: add note about adding tests for table/column constraints. Add 
79         optimisation note about using cached attribute types in insert/update
80         operations. 
81         
82 3 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
83         * doc/appendix.xml: add notes about idiosyncrasies/unsupported 
84         features and so on the documentation for each backend. 
85         * doc/TODO: remove items done. 
86         * doc/ref-transaction.xml: add note in introduction about 
87         autocommit mode as a difference from CommonSQL. 
88         * doc/ref-syntax.xml: add notes about SQL syntax state functions 
89         being macros in CLSQL. Add note about SQL operators which are 
90         CLSQL extensions. 
91
92 2 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
93         * Version 2.11.12 released
94         * doc/ref-recording.xml: document SQL I/O recording. 
95         * doc/ref-prepared.xml: new file for documenting prepared statements. 
96         * doc/clsql.xml: comment out include for large object and CLSQL-SYS 
97         documentation. 
98         * doc/ref-conditions.xml: complete documentation of condition system. 
99         * doc/global-index.xml: add symbols from condition system and remove
100         those from LOB and prepared statement APIs. 
101         * doc/ref-fdml.xml: complete documentation of FDML.
102         * doc/glossary.xml: add View Class. 
103         * doc/TODO: remove items done. 
104         * sql/conditions.lisp: make SQL-CONDITION a parent of SQL-ERROR. 
105         * sql/package.lisp: remove FOR-EACH-ROW from exports list. Export 
106         additional slot accessors for condition classes. 
107
108 1 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
109         * doc/ref-ooddl.lisp: Add documentation
110         * doc/ooddl.lisp: Move *DEFAULT-VARCHAR-LENGTH* from oodml.lisp
111         and rename to *DEFAULT-STRING-LENGTH*. Add docstring.
112         * doc/oodml.lisp: Rename references to new name of
113         *DEFAULT-STRING-LENGTH*
114
115 1 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
116         * doc/ref-transaction.xml: document transaction handling. 
117         * sql/transaction.lisp: ensure that COMMIT, ROLLBACK and 
118         START-TRANSACTION return NIL as per the CommonSQL spec. Modify 
119         ADD-TRANSACTION-{ROLLBACK|COMMIT}-HOOK such that a database is 
120         passed as a keyword argument defaulting to *DEFAULT-DATABASE*.
121         Added docstrings. 
122
123 30 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
124         * doc/ref-fdml.xml: document the FDML. 
125         * doc/ref-fddl.xml: move documentation for TRUNCATE-DATABASE here. 
126         * sql/ooddl.lisp: moved *default-varchar-length* to here from 
127         oodml.lisp and renamed to *default-string-length*
128         
129 23 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
130         * sql/oodml.lisp: Add keyword :transactions to def-view-from-class
131         to allow specifying transactionless table creation
132         * doc/ref-oodml.lisp: Add new keyword to signature of 
133         DEF-VIEW-FROM-CLASS     
134         
135 18 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
136         * Version 2.11.11
137         * sql/expressions.lisp: when removing duplicate table identifiers 
138         in the FROM clause of a query, check both table name and alias 
139         are equivalent. 
140         * sql/fdml.lisp: remove DESCRIBE-TABLE. 
141         * sql/db-interface.lisp: remove generics DESCRIBE-TABLE and 
142         DATABASE-DESCRIBE-TABLE. 
143         * sql/package.lisp: remove DESCRIBE-TABLE, DATABASE-DESCRIBE-TABLE 
144         and LIST-TABLE-INDEXES. 
145         * sql/generic-postgresql.lisp: add reader conditional #+nil for 
146         DATABASE-DESCRIBE-TABLE and comment about its uses for 
147         re-implementing LIST-ATTRIBUTE-TYPES with a single SQL query 
148         returning type info for all attributes. 
149         Fix DATABASE-SEQUENCE-LAST. 
150         * sql/fddl.lisp: remove LIST-TABLE-INDEXES and redefine 
151         LIST-INDEXES with additional keyword parameter :ON. 
152         * tests/test-fddl.lisp: replace LIST-TABLE-INDEXES in :fddl/index/3 
153         with LIST-INDEXES (with :ON parameter). 
154         * doc/global-index.xml: remove DESCRIBE-TABLE and LIST-TABLE-INDEXES. 
155         * doc/ref-connect.xml: minor tidying. 
156         * doc/ref-fddl.xml: document the FDDL. 
157         * doc/TODO: removed items done. Moved note about transaction handling 
158         from TODO to here. 
159         * TODO: move note about transaction handling to doc/TODO. Added 
160         optimization note about LIST-ATTRIBUTE-TYPES and LIST-INDEXES. 
161         
162 13 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
163         * Version 2.11.10
164         * sql/syntax.lisp: updated docstrings. 
165         * sql/package.lisp: exported DATABASE-NAME-FROM-SPEC from CLSQL 
166         package.
167         * sql/database.lisp: add docstrings for CREATE-DATABASE, 
168         DESTROY-DATABASE, TRUNCATE-DATABASE and LIST-DATABASES. Replace 
169         CLSQL-GENERIC-ERROR signalled in RECONNECT with SQL-CONNECTION-ERROR. 
170         * doc/ref-syntax.xml, doc/global-index.xml: minor tidying. 
171         * doc/ref-connect.xml: document connection/initialisation. 
172         * doc/ref-fdml.xml: move TRUNCATE-DATABASE reference entry here. 
173         * doc/TODO: remove items done. 
174         * Makefile: add db-oracle to to SUBDIRS. 
175
176 13 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
177         * sql/oodml.lisp: Add new serialization functions:
178         WRITE-INSTANCE-TO-STREAM and READ-INSTANCE-FROM-STREAM
179         * sql/expressions.lisp: Avoid duplicate FROM names when selecting
180         from a table that has more than one primary index.
181         * sql/conditions.lisp: Fix printing of closed-database error
182         
183 13 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
184         * Version 2.11.9
185         * sql/conditions.lisp: Set initial slot value for message in SQL-WARNING
186         * sql/transactions.lisp: Correctly set slots of SQL-WARNING
187
188 12 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
189         * sql/package.lisp: export DATABASE-TYPE from CLSQL and subclasses 
190         of SQL-EXPRESSION from CLSQL-SYS. 
191         * sql/syntax.lisp: make error signalled in SQL-OPERATION an 
192         SQL-USER-ERROR. Make SQL-OPERATOR return just one value. 
193         * doc/Makefile: added Mandrake linux. 
194         * doc/catalog-redhat.xml, doc/catalog-mandrake.xml: new files. 
195         * doc/appendix.xml: fixed little typo (adsf). 
196         * doc/glossary.xml: removed closed-database and note about 
197         sql-expression, added some entries. 
198         * doc/ref-syntax.xml: documented the symbolic SQL syntax. 
199
200 10 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
201         * Version 2.11.8
202         * db-mysql/mysql-loader.lisp: Remove load of unnecessary zlib library
203         * multiple: Add generalized-boolean type as requested by
204         Edi Weitz
205         * TODO: Added need for test of generalized-boolean
206         
207 9 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
208         * Version 2.11.7 released
209         * uffi/clsql-uffi-loader.lisp: Apply patch from Edi Weitz
210         for loading with clc-register-user-package. Remove personal
211         directory from path lisp.
212         * db-mysql/mysql-loader.lisp: Similar changes
213         
214 8 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
215         * Version 2.11.6 released
216         * sql/oodml.lisp: Commit patch from Edi Weitz
217         to fix symbol writing/reading
218         * TODO: Add need for symbol slot test
219         
220 7 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
221         * sql/package.lisp: remove duplicate export of 
222         *CACHE-TABLE-QUERIES-DEFAULT*. 
223         * doc/ref-*.xml, doc/global-index.xml: new files documenting 
224         the CommonSQL compatible api. 
225         * tests/test-fdml.lisp: modified the test :fdml/transaction/3 to 
226         reflect changes in return values of WITH-TRANSACTION. 
227
228 04 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
229         * tests/README: Fix filename [reported by Bill Clementson]
230         * sql/transactions.lisp: Apply return value patch from
231         Edi Weitz for WITH-TRANSACTION
232         * tests/README: Remove ptester package requirement (as noted
233         by Bill Clementson)
234         
235 03 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
236         * Version 2.11.5 released
237         * examples/clsql-tutorial.lisp: Remove obsolete :nulls-ok attribute,
238         Select connection-spec based on connection type. Bugs reported by
239         Bill Clementson.
240         * uffi/uffi.dll, uffi/uffi.lib: Recompile with Visual Studio 2003
241         * db-mysql/mysql-loader.lisp: Update check for zlibwapi library
242         name on Windows, add \bin\ directory to search path
243         
244 31 May 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
245         * db-odbc/odbc-sql.lisp: DB-TYPE replaced with DATABASE-TYPE in 
246         DATABASE-CONNECT. 
247         * sql/operations.lisp: substr now generates SUBSTR for use on 
248         Oracle; added a new operator SUBSTRING for use elsewhere. minus 
249         now generates MINUS for use on Oracle. Nvl signals an error if 
250         not called with exactly 2 arguments. Add concat function for use 
251         instead of the || operator on MySQL and Oracle. 
252         * sql/syntax.lisp: changed internal symbol for the || operator to 
253         CONCAT-OP. 
254         * sql/expressions.lisp: removed redundant and unused functions 
255         GENERATE-SQL (cf. SQL-OUTPUT) and DATABASE-CONSTRAINT-DESCRIPTION
256         (cf. MAKE-CONSTRAINTS-DESCRIPTION). 
257         * sql/generics.lisp: removed generic function for 
258         DATABASE-CONSTRAINT-DESCRIPTION (see above). 
259         * tests/test-syntax.lisp: modified/added tests according to changes
260         in sql/operations.lisp. 
261         * tests/test-fdml.lisp: changed SUBSTR to SUBSTRING in test 
262         :fdml/select/21.  
263         * sql/package.lisp: added the operators SQL-SUBSTRING, SQL-CONCAT-OP 
264         and SQL-USERENV to the shared exports list. Removed 
265         ROLLBACK-TRANSACTION, COMMIT-TRANSACTION, DATABASE-START-TRANSACTION, 
266         DATABASE-ABORT-TRANSACTION, DATABASE-COMMIT-TRANSACTION, 
267         TRANSACTION-LEVEL, TRANSACTION,  RECORD-SQL-COMMAND and 
268         RECORD-SQL-RESULT from shared exports list. 
269         
270 30 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
271         * db-postgresql/postgresl-sql.lisp: Avoid computing
272         result-types lisp when nil result-types. Return only
273         one value when field-types nil.
274         * db-mysql/mysql-sql.lisp: Simple queries now
275         working with prepared statements.
276         
277 30 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
278         * Version 2.11.4: MySQL 4.1 now passes all tests
279         * sql/package.lisp: Add API for prepared statments.
280         * sql/fdml.lisp: Change implicit flatp processing
281         for string map-query for greater CommonSQL conformance.
282         Add high-high API for prepared statements.
283         * tests/test-basic.lisp: Add test for map-query and
284         single argument.
285         * sql/transactions.lisp: Change name/semantics of
286         autocommit to set-autocommit.
287         * sql/generic-postgresql.lisp: Add support for
288         prepared statements. 
289         * tests/test-internal.lisp: New file
290         * sql/odbc-api.lisp: Update to using ODBC V3 protocol
291         * clsql-mysql.asd, clsql-uffi.asd: Remove check and Common Lisp
292         Controller invocation.
293         * db-mysql/mysql-api.lisp: Add support for MySQL 4.1 field structure
294         * sql/expressions.lisp: Avoid emitting double parenthesis when a
295         function contains a subselect. 
296         
297 27 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
298         * Version 2.11.3
299         * sql/ooddl.lisp: Commit patch from Edi Weitz fixing return
300         type (setf slot-value-using-class)
301         * TODO: add not that need a test case for the above fix
302         * db-sqlite: Remove clisp support since clisp can not run CLSQL
303         with its MOP usage
304         * db-oracle/oracle-sql.lisp: By default, use OCIEnvCreate as 
305         introduced in Oracle8. Leave older code selectable by a reader macro
306         for Oracle7 and prior. Avoid use of OCIServerAttach since CLSQL
307         uses OCILogon and does not the more complex session management.
308         
309 26 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
310         * sql/oodml.lisp: Commit universal-time typo patch from Edi Weitz
311         * test/test-init.lisp: Add universal-time slot to person.
312         * test/test-fddl.lisp: Add tests of universal-time slot
313         * test/test-ooddl.lisp: Test universal-time slot in an object
314         * TODO: Remove need for universal-time test     
315         * debian/rules, debian/control: Add cl-sql-oracle binary package
316         * doc/appendix.xml: Add Oracle backend information
317         * db-oracle/oracle-objects.lisp: Add database-get-type-specifier for
318         universal-time. Convert BIGINT CLSQL type to CHAR SQL type
319         * db-mysql/mysql-sql.lisp: Fix condition name to sql-connection-error
320         * doc/ref-clsql.xml: Renamed from ref_clsql.xml. Change the documentation
321         for map-query to reflect changed in arguments to be CommonSQL compatible.
322         Updated old clsql conditions to new CommonSQL compatible conditions.
323         
324 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
325         * sql/oodml.lisp: (string n) now produces a CHAR field. Add new VARCHAR
326         type. Added *default-varchar-length* rather than previous hard-coded
327         varchar length. Remove 'simple-string and 'simple-base-string since they
328         are subtypes of 'string.
329         * db-oracle/oracle-sql.lisp: Use *default-varchar-length* rather than
330         local hard-coded value.
331         * sql/metaclasses.lisp: Convert specified type VARCHAR and (VARCHAR n) to Lisp
332         type string. Convert specified-type (CHAR n) to string. Convert specified-type
333         CHAR to lisp type character.
334         * sql/generic-postgresql.lisp: (string n) => (CHAR n)
335         * sql/operations.lisp: Add userenv
336         * doc/TODO: Add AUTOCOMMIT. Remove need for large table and bigint
337         slot tests
338         * sql/oracle-sql.lisp: Add 64-bit bigint direct conversion
339         * uffi/clsql-uffi.lisp: Handle signed 64-bit integers
340         * test/test-init.lisp: Add large table with bigint slot
341         
342 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
343         * Version 2.11.1 released: Much simpler Oracle client library loading.
344         Now uses ORACLE_HOME environmental variable as well as tests default
345         path for Oracle Instant Client. 
346         
347 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
348         * Version 2.11.0 released: Full Oracle support. All tests pass
349         * db-oracle/oracle-sql.lisp: Add declaration so that SBCL runs efficiently.
350         * tests/test-init.lisp: capitalize odbc backend name in banner
351         * CONTRIBUTORS: Add note about Marcus' excellent work
352         * sql/oodml.lisp: Removed old stub function     
353         * clsql.asd: Use module names in current package rather than keyword package
354         * db-oracle/oracle-sql.lisp: Don't trim trailing spaces. Prevent interrupts
355         in setting sequence position. Make autocommits more efficient.
356         * tests/test-init.lisp: Skip 2 tests on Oracle which have unsupported syntax 
357         * sql/oodml.lisp: Get rid of undocumented raw-string type. CommonSQL
358         strings are raw (non-trimmed trailing whitespace). Add database-get-type-specifier
359         and read-sql-value for NUMBER and CHAR.
360         * sql/base-classes.lisp: Add autocommit slot
361         * sql/transaction.lisp: Added autocommit processing, mild cleaning.
362         * doc/intro.xml: Add Oracle
363         
364 24 May 2004: Marcus Pearce (m.t.pearce@city.ac.uk) 
365         * db-postgresql-socket/postgresql-socket-sql.lisp: replace 
366         CLSQL-SIMPLE-WARNING with SQL-WARNING. 
367         * db-sqlite/sqlite-sql.lisp: replace CLSQL-SIMPLE-WARNING with 
368         SQL-WARNING. 
369         * db-aodbc/aodbc-sql.lisp: replace CLSQL-ERROR with SQL-ERROR. 
370         * clsql.asd: reworked module structure in package definition and 
371         file names to better reflect component functionality. 
372         * sql/package.lisp: added SQL-FATAL-ERROR and SQL-TIMEOUT-ERROR to 
373         exports list. Removed duplicate and obsolete exports. Exported 
374         remaining SQL operations: SQL-SOME, SQL-<>, SQL-BETWEEN, SQL-DISTINCT, 
375         SQL-NVL and SQL-FUNCTION. Organised exports by functionality/file and 
376         according to whether they are specified by CommonSQL or CLSQL 
377         extensions. 
378         * sql/transaction.lisp: replace CLSQL-SIMPLE-WARNING with 
379         SQL-WARNING. 
380         * sql/generics.lisp: moved generics for QUERY and EXECUTE-COMMAND 
381         here from basic-sql.lisp. 
382         * sql/expressions.lisp: NEW FILE: renamed from classes.lisp (deleted). 
383         * sql/fddl.lisp: NEW FILE: renamed from table.lisp (deleted). 
384         * sql/fdml.lisp: NEW FILE: merger of basic-sql.lisp and sql.lisp
385         (both deleted). 
386         * sql/ooddl.lisp: NEW FILE: ooddl from objects.lisp (deleted). 
387         * sql/oodml.lisp: NEW FILE: oodml from objects.lisp (deleted). 
388         
389 23 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
390         * Version 2.10.22 released
391         * sql/kmr-mop.lisp, sql/objects.lisp: Since SBCL is the only implementation that
392         has reversed class slots, change the default for ordered-class-slots so that slots
393         are now in the same order an in the def-view-class.
394         * sql/sql.lisp: Honor case of string table identifier to INSERT-RECORDS
395         * test/test-fddl.lisp: Add two tests for mixed case names
396         * db-oracle/oracle-sql.lisp: Add missing database qualifier. Return NUMBER (double)
397         for computed fields, this will require some adjustment to the test suite which
398         in many cases expects integers.
399         * test/test-fdml.lisp: Accomodate that Oracle returns doubles for computed columns
400         
401 22 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
402         * Version 2.10.21 released
403         * sql/sequences.lisp: Move generic sequence functions here from db-sqlite,
404         db-odbc, and db-aodbc.
405         * sql/*.lisp: Add db-type parameter to generic functions READ-SQL-VALUE,
406         DATABASE-GET-TYPE-SPECIFIER, and OUTPUT-SQL-VALUE-AS-TYPE. Update methods to use these.
407         * sql/generic-postgresql.lisp, sql/generic-odbc.lisp: New files
408         * db-odbc/odbc-sql.lisp, db-aodbc/aodbc-sql.lisp: Move common code to 
409         sql/generic-odbc.lisp
410         * db-postgresql/postgresql-sql.lisp, db-postgresql-socket/postgresql-socket-sql.lisp: 
411         Move common code to  sql/generic-postgresql.lisp
412         * sql/classes.lisp: honor case of string tables when outputting queries 
413         * sql/objects.lisp: Add database type to default database-get-type-specifier method
414         * sql/sql.lisp:  Add database type to default database-abort-transaction method
415         * db-mysql/mysql-objects.lisp: New file
416         * sql/objects.lisp: Move MySQL specific code to mysql-objects.lisp
417         * sql/utils.lisp: Add GETENV function which will be used to get ORACLE_HOME
418         from environment
419         * test/test-fdml.lisp: String table names are now case sensitive, so convert to
420         default db case for FDML/SELECT/25
421
422 22 May 2004 Kevin Rosenberg
423         * Version 2.10.20 released: Oracle backend now fails 6 out of 200 tests
424         * TODO: Added 2 variances from CommonSQL. Add tests for owner phrases
425         and string identifiers with non-default case
426         * sql/table.lisp: Don't convert string table name to a symbol.
427         * sql/classes.lisp: Honor case of string identifiers
428         * sql/sql.lisp: Ensure recyclebin is purged for Oracle in 
429         TRUNCATE-DATABASE
430         * db-oracle/oracle-sql.lisp: Add sequence functions, fix use of
431         of owner phrases. Obtain server and client versions.
432         * db-oracle/oracle-objects.lisp: Fix type specifiers
433         * tests/test-fddl.lisp: Allow :varchar2 and :number as data types
434         * tests/test-init.lisp: Properly get username from Oracle connection-spec
435         
436 22 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
437         * sql/generics.lisp: reworked docstrings. Remove generics for 
438         ADD-TO-RELATION and REMOVE-FROM-RELATION. 
439         * sql/objects.lisp: reworked docstrings. Changed UPDATE-OBJECT-JOINS 
440         to UPDATE-OBJECTS-JOINS for CommonSQL compatibility. 
441         * sql/package.lisp: Changed UPDATE-OBJECT-JOINS to UPDATE-OBJECTS-JOINS 
442         for CommonSQL compatibility. Remove ADD-TO-RELATION and 
443         REMOVE-FROM-RELATION. 
444         * tests/test-oodml.lisp: Changed UPDATE-OBJECT-JOINS to 
445         UPDATE-OBJECTS-JOINS for CommonSQL compatibility. 
446         * doc/TODO: added notes about extra slot options to DEF-VIEW-CLASS. 
447         * sql/conditions.lisp: add documentation for conditions. Add 
448         SQL-TIMEOUT-ERROR and SQL-FATAL-ERROR for CommonSQL compatibility. 
449
450 21 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
451         * sql/basic-sql.lisp: reworked docstrings. 
452         * sql/transactions.lisp: reworked docstrings. 
453         * sql/sql.lisp: reworked docstrings. 
454         * sql/initialize.lisp: reworked docstrings. INITIALIZE-DATABASE-TYPE 
455         sets *DEFAULT-DATABASE-TYPE* for CommonSQL compatibility. 
456         * sql/database.lisp: reworked docstrings. 
457         * doc/TODO: added notes about START-TRANSACTION and IN-TRANSACTION-P 
458         and FDML extensions and database extensions. 
459
460 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
461         * db-oracle/oracle-sql: Use clsql-specific error conditions. Use owner keyword.
462         * db-oracle/make9.sh: add makefile for building with Oracle 9 client
463         libraries
464         * sql/table.lisp: Add logic for dealing with Oracle 10g vs. previous
465         Oracle versions with the PURGE option required for drop table. This needs
466         to be converted to a generic function and moved to db-oracle/oracle-sql.lisp
467
468 20 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
469         * sql/classes.lisp: remove unused PARAMS slot in SQL-IDENT-ATTRIBUTE. 
470         * sql/syntax.lisp: remove unused PARAMS keyword arg to SQL-EXPRESSION. 
471         * sql/table.lisp: reworked docstrings. 
472         * sql/objects.lisp: moved *default-update-objects-max-len* here from 
473         table.lisp. 
474         * doc/TODO: notes about :if-does-not-exist arg to DROP-TABLE, 
475         DROP-VIEW and DROP-INDEX and the use of the :transactions and 
476         :constraints keyword args to CREATE-TABLE. 
477         * sql/classes.lisp: the DESCRIPTION argument to CREATE-TABLE is now 
478         CommonSQL compatible with respect to column constraints. 
479
480 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
481         * sql/oracle-sql.lisp: Now compiles and runs on SBCL.
482         Requires UFFI 1.5.0 or higher
483         
484 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
485         * Version 2.10.19
486         * sql/conditions.lisp: Fix cerror
487         
488 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
489         * Version 2.10.18 released: New condition hierarchy to be compatible
490         with CommonSQL -- not backward compatible with previous CLSQL.
491         * sql/db-interface.lisp: Add more default methods
492         * sql/objects.lisp: Add explicit table name to order-by parameters
493         in find-all when only one table to avoid selecting a duplicate row.
494         Fix error in FIND-ALL when using :order-by such as (([foo] :asc))
495         as previous logic was adding two fields (foo asc) to SELECT query.
496         Make :result-types :auto be the default for object selections.
497         Properly handle caching key when using multiple order-by with asc/desc
498         directions.
499         * db-oracle/*.lisp: Much improvements, now passes 90% of test suite
500         
501 19 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
502         * sql/recording.lisp: reworked docstrings. 
503         * sql/syntax.lisp: reworked docstrings. 
504         * doc/TODO: added notes about extensions to SQL-RECORDING-P and the 
505         SQL syntax state functions being macros. 
506
507 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
508         * sql/package.lisp: Export initialize-database-type and
509         *initialize-database-types* from CLSQL package.
510         * sql/conditions.lisp: Add new CommonSQL compatible conditions,
511         remove old CLSQL conditions.
512         * sql/loop-extensions.lisp: Make errors of type sql-user-error
513         * */*.lisp: Convert to from old to new conditions
514         
515 18 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
516         * sql/table.lisp: Add PURGE to drop command for oracle 10g backend.
517         To handle this difference, will need to add a new database-drop-table
518         generic function.
519         * db-oracle/oracle-sql.lisp: Move server-version and
520         major-version-number to database object to allow multiple connections
521         to Oracle servers of different versions.
522         
523 18 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
524         * TODO: moved notes about backends to doc/TODO. 
525         * doc/TODO: added notes about backends and select extensions. 
526         * sql/base-classes.lisp: remove obsolete schema slot in database 
527         class. 
528         
529 16 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
530         * db-oracle/oracle-api: Add OCIServerVersion
531         * db-oracle/oracle-sql: Query and store server version on connect
532         * sql/db-interface.lisp: Add new db-type-has-bigint? generic
533         function to handle OCI's lack of bigint support
534         * test/test-basic.lisp: Separate bigint testing
535         * test/test-utils.lisp: Add oracle to specs and list of backends
536         * doc/TODO: New file
537         * test/test-fdml.lisp: Added FDML/SELECT/34 to test
538         run-time instantiation of variables in reader macros.
539         * TODO: Remove item already complete. Add note about
540         condition variances
541         
542 16 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
543         * sql/syntax.lisp: added condition to the reader macro to treat [*] 
544         as a column identifier (rather than an operation) for CommonSQL 
545         compatibility. 
546         * tests/test-fdml.lisp: add tests for ORDER-BY and SET-OPERATION 
547         keword args to SELECT, [*] as column identifier, new MAP-QUERY 
548         behaviour and the ANY and ALL operators in subqueries. 
549         * tests/test-init.lisp: add set-operation and subquery tests to 
550         appropriate skip lists. 
551         * sql/objects.lisp: remove redundant and non CommonSQL compatible 
552         ORDER-BY-DESCENDING keyword argument for SELECT. 
553         * sql/classes.lisp: remove redundant and non CommonSQL compatible 
554         ORDER-BY-DESCENDING keyword argument for SELECT. 
555         * tests/test-oodml.lisp: add test for ORDER-BY keyword to SELECT 
556         with object queries. 
557
558 15 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
559         * sql/db-interface.lisp: Add new db-type-has-union? 
560         since Mysql 3.23 does not support unions.
561         * sql/test-init.lisp: Don't try union tests on database
562         backends which do not support it.
563         * db-oracle/*.lisp: initial port to UFFI
564         * sql/objects.lisp: implement UPDATE-OBJECT-JOINS,
565         implement REFRESH for SELECT.
566         * tests/test-oodml.lisp: Add tests for deferred retrieval,
567         caching, refresh, and update-object-joins
568         * tests/test-init.lisp: Add deferred-employee-address class
569         
570 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
571         * sql/operations.lisp: make MINUS operator a synonym for EXCEPT. Add 
572         COALESCE operator and make NVL a synonym for this. Make ANY, SOME, 
573         ALL and EXISTS generate function expressions so they output the 
574         correct SQL. 
575         * sql/classes.lisp: SELECT now generates appropriate SQL when 
576         passed the SET-OPERATION and ALL keyword arguments. 
577         * sql/classes.lisp: the ORDER-BY keyword argument to SELECT now 
578         accepts ordering constraints as pairs of the form (column direction) 
579         where direction may be :ASC or :DESC. 
580         * tests/test-syntax.lisp: added tests for MINUS and COALESCE/NVL. 
581         Correct tests for ANY, SOME, ALL and EXISTS. 
582         * tests/test-fdml.lisp: added test for COALESCE. 
583         * sql/sql.lisp: MAP-QUERY now applies FUNCTION to QUERY-EXPRESSION 
584         using funcall unless QUERY-EXPRESSION returns one column and its 
585         FLATP slot is not nil in which case apply is used. 
586         * tests/test-basic.lisp: modified calls to MAP-QUERY to reflect the 
587         changes. 
588         * TODO: remove items done. 
589         * db-postgresql/postgresql-sql.lisp: no need to reverse results in 
590         DATABASE-LIST-ATTRIBUTES. 
591         * db-postgresql-socket/postgresql-socket-sql.lisp: no need to reverse
592         results in DATABASE-LIST-ATTRIBUTES.    
593         
594 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
595         * sql/classes.lisp: SELECT now accepts table identifiers as strings 
596         for CommonSQL compliance. Add support for qualified sql identifiers 
597         with aliased table names. 
598         * tests/test-fdml.lisp: added tests for table identifiers as strings 
599         in SELECT and for aliased definitions. 
600         * tests/test-syntax.lisp: added tests for alias definitions. 
601         
602 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
603         * sql/sql.lisp: PRINT-QUERY now calls QUERY with result-types and 
604         field-names set to nil. 
605         * sql/sql.lisp: PRINT-QUERY now computes column sizes correctly 
606         with null attribute values. 
607         * sql/operations.lisp: modify SQL concatenation operator to accept 
608         unescaped || symbol.  
609         * sql/syntax.lisp: modify sql reader macro function to accept 
610         unescaped sql concatenation operator. 
611         * tests/test-fdml.lisp: unescape sql concatenation operator. 
612         * tests/test-syntax.lisp: unescape sql concatenation operator. 
613         * TODO: remove items done. Add notes about SQLITE/MYSQL backends. 
614         Note to add test for universal-time. Note about difference from 
615         CommonSQL in transaction handling. 
616
617 13 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
618         * tests/test-init.lisp: Add deferred-employee-address
619         class
620         * tests/test-oodml.lisp: Add deferred retrieval testgs
621         
622 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
623         * Version 2.10.17
624         * LATEST-TEST-RESULTS: Run on all platforms, add AMD64
625         * sql/sql.lisp: Add FOR-EACH-ROW macro from clsql-classic/sql.lisp
626         * db-sqlite/sqlite-uffi-api.lisp: Fix row-pointer type
627         * *: Fix minor style warnings
628         * clsql-classic: Remove system and subdirectory
629         * clsql-base: Remove system and subdirectory and
630         fold into clsql system
631         * doc/intro.xml: Remove reference to old clsql-base. Add x86_64
632         as supported platform.
633         
634 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
635         * Version 2.10.16: CLSQL now fully supports AllegroCL AMD64
636         * db-odbc/odbc-api.lisp: work around return-type bug [spr28889] in
637         Allegro 7.0beta AMD64
638         * db-odbc/*.lisp: Add a layer of indirection to foreign-type
639         of ODBC longs since this type can vary on 64-bit platforms depending
640         upon the compilation options of unixODBC.
641         * db-mysql/mysql-api.lisp: Fix int vs. long slots in foreign
642         structures found by testing with AllegroCL 7.0b AMD64.
643         * db-*/*-loader.lisp: Load 64-bit libraries on 64-bit platorms
644         * sql/objects.lisp: Simple implementation of UPDATE-OBJECT-JOINS.
645         Initial caching support for SELECT
646         * tests/test-oodml.lisp: Avoid using cache when testing select.
647         * sql/kmr-mop.lisp: Explicitly check slot order and
648         store as a cl:*feature*
649         * sql/recording.lisp: Remove additional types to
650         increase CommonSQL conformance.
651         * tests/test-init.lisp: Change a :column attribute
652         to test symbols as value
653         * sql/relations.lisp: Remove functions since they don't support
654         many to many relationships.
655         * examples/clsql-tutorial.lisp, doc/csql.lisp: Remove use
656         of add-to-relations function and replace with explicit field settings.
657         * base/classes.lisp: Remove obsolute query-stream. Add record-caches slot.
658         
659 9 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
660         * Version 2.10.15
661         * LATEST-TEST-RESULTS: results with current version
662         * sql/kmr-mop.lisp: Make CMUCL reader macros specific for cmu18
663         since cmu19 has opposite order of class slots.
664         * sql/objects.lisp: Fix (setf slot-value-using-class) for Lispworks
665         * tests/test-fdml.lisp: Renumber SELECT tests to avoid overwriting
666         a previous test
667         * tests/test-init.lisp: Check test-database-underlying-type for
668         ODBC/MySQL tests
669         
670 8 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
671         * sql/operations.lisp: complete remaining operations for the sql 
672         syntax: SUBSTR, SOME, ORDER-BY, GROUP-BY, NULL, DISTINCT, EXCEPT, 
673         UNION, INTERSECT, BETWEEN. 
674         * sql/classes.lisp: add new classes: SQL-BETWEEN-EXPRESSION, 
675         SQL-QUERY-MODIFIER-EXPRESSION and SQL-SET-EXPRESSION. 
676         * tests/test-syntax.lisp: add tests for new operations. 
677         * tests/test-fdml.lisp: add tests for queries based on new operations. 
678         * tests/test-init.lisp: add select/20 to tests skipped for sqlite and 
679         select/20, query/5, query/7 and query/8 to tests skipped by mysql. 
680         * TODO: removed entries done. 
681
682 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
683         * tests/benchmarks.lisp: Add immediate vs. deferred
684         join test.
685         
686 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
687         * Version 2.10.13: Now works on openmcl 0.14.2 
688         * sql/objects.lisp: Add :retrieval :immediate for
689         object selections
690         * tests/test-init.lisp: Add non-index fields for testing 
691         join class employee-addresss
692         * test/test-oodml.lisp: Add tests for retrieval immediate
693         * sql/metaclasses.lisp: Handle differences in direct-slot-definition 
694         values which are now listifed by openmcl 14.2.
695         * sql/objects.lisp: more framework for supporing immediate retrieval 
696
697 7 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
698         * docs/intro.xml: Upload location of a README file
699         * sql/metaclass.lisp: Work-around openmcl's CHANGE-CLASS
700         changing the type-specifier. Use a lisp type of (OR NULL FOO)
701         for a specified-type of FOO unless :db-constraints :not-null.
702         No need to specialize finalize-inheritance for openmcl.
703         * tests/test-*.lisp: Rename fields so that joins occur on
704         fields with different names. This ensures that join code is
705         selecting the proper name.
706         * test/test-init.lisp: Add :base-table for employee-address
707         view class for testing.
708         * sql/objects.lisp: Use view-table rather than name of table
709         in a number of places to fix errors noted with using :base-table.
710
711 6 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
712         * sql/objects.lisp: replace *update-records-on-make-instance* with 
713         *db-auto-sync* which also controls both automatic creation of 
714         new records on creation of new instance and updating of record 
715         fields on setting of instance slots (as suggested by Edi Weitz). 
716         * tests/test-init.lisp: replace *update-records-on-make-instance* 
717         with *db-auto-sync*. 
718         * sql/package.lisp: replace *update-records-on-make-instance* 
719         with *db-auto-sync*. 
720         * TODO: replace *update-records-on-make-instance* with *db-auto-sync*. 
721         * sql/objects.lisp: remove redundant rebindings of *db-initializing* 
722         and *default-database* in FIND-ALL. 
723         * sql/package.lisp: import time functions from CLSQL-BASE. 
724         * tests/test-time.lisp: replace CLSQl-BASE package qualifier with CLSQL. 
725         * tests/test-fdml.lisp: replace CLSQl-BASE package qualifier with CLSQL. 
726         * tests/test-init.lisp: replace CLSQl-BASE package qualifier with CLSQL. 
727         * tests/test-ooddl.lisp: replace CLSQl-BASE package qualifier with 
728         CLSQL. 
729
730 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
731         * sql/classes.lisp: Add SQL-OBJECT-QUERY type. Have [select 'class]
732         now return a sql-object-query type rather than directly performing a query.
733         This improves CommonSQL conformance.
734         * sql/sql.lisp: Add new QUERY method for SQL-OBJECT-QUERY. Move
735         from basic/basic-sql.lisp the DO-QUERY and MAP-QUERY since they now
736         depend on sql-object-query-type.
737         * sql/loop-extensions.lisp: Move from base package
738         * classic/package.lisp: remove references to map-query and do-query
739
740 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
741         * TODO: New section on optimizations, especially optimizing JOINs.
742         * sql/objects.lisp: Have :target-slot return of list of lists rather
743         than a list of cons pairs to be conformant with CommonSQL.
744         Make :target-slot much more efficient by using a SQL inner join
745         statement and just requiring one SQL query. Add :retrieval :deferrred
746         to target-slot joins. Add placeholder for update-objects-join.
747         * sql/classes.lisp: Add :inner-join and :on slots to sql-query class
748         and process them for query output-sql. 
749
750 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
751         * Version 2.10.11
752         * base/basic-sql.lisp: Avoid multiple evaluation
753         of query-expression in DO-QUERY
754         * sql/objects.lisp: Make SELECT a normal function.
755         SELECT now accepts type-modified database identifiers, such as
756         [foo :string] which means that the values in column foo are returned 
757         as Lisp strings. Add new *update-records-on-make-instance* special
758         variable controlling automatic creation of new instances. Add missing
759         RESULT-TYPES keyword to FIND-ALL. Add :target-slot support.
760         * sql/packages.lisp: Export *update-records-on-make-instance* 
761         * test/test-oodml.lisp: Add tests for :target-slot and many-to-many
762         selections.
763         * test/test-fdml.lisp: Add tests for type-modified
764         database identifiers.
765         * test/test-init.lisp: Stop using add-relation since implementing
766         many-to-many joins. Use *update-records-on-make-instance* 
767         to automatically store records on instance creation. Add many-to-many
768         employee-address view-class.
769         
770 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
771         * Version 2.10.10
772         * base/loop.lisp: Add object iteration. Use :result-type
773         :auto for result-set. Remove 
774         duplicate (and non-correct) code for non-list variables by
775         simply making an atom variable into a list. 
776         * sql/package.lisp: Remove unnecessary clsql-sys package
777         and replace it with clsql.
778         * sql/metaclasses.lisp: Properly store specified-type from
779         direct-slot-definition and then store translated type in
780         effective-slot-definition
781         * sql/classes.lisp: Don't output type in sql-output
782         for SQL-IDENT-ATTRIBUTE. This is in preparation for supporting
783         [foo :integer] as fields in SELECT.
784         * sql/query.lisp: Set default for :result-types to :auto in
785         FDML QUERY.
786         * sql/objects.lisp: Use specified-type when invocating 
787         database-get-type-specifier. def-view-class macro now returns
788         the class instance.
789         * base/basic-sql.lisp: Make :AUTO the default value for
790         :RESULT-TYPES for MAP-QUERY and DO-QUERY.
791         * sql/objects.lisp: Add bigint type
792         * test/tests-basic.lisp: Add tests for :result-types for
793         MAP-QUERY and DO-QUERY
794         * test/test-fdml.lisp: Add test for result-types in LOOP
795         and also using single symbol rather than a list for variables.
796         Add test that default :result-types is auto for FDML QUERY.
797         * test/test-syntax.lisp: Don't expect TYPE in the SQL-OUTPUT
798         of SQL-IDENT-ATTRIBUTE.
799         * test/test-oodml.lisp: Enable OO loop iteration test,
800         modify it so it doesn't depend on boolean where.
801         
802 4 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
803         * Version 2.10.9
804         * sql/objects.lisp: added derived type specifier for universal time. 
805         * sql/package.lisp: added #:universal-time to clsql-sys exports. 
806         * tests/test-oodml.lisp: added test for translation of boolean slots 
807         in SELECT with object queries. 
808         
809 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
810         * db-odbc/odbc-api.lisp: Fix changing nil to "NIL" 
811         for odbc/postgresql backend.
812         * db-odbc/odbc-sql.lisp: Fix ATTRIBUTE-TYPE so that
813         it can handle NIL values from the ODBC driver
814         * tests/benchmarks.lisp: New file with initial
815         benchmark suite
816         * sql/relations.lisp: fix to add subclassing support,
817         minor optimizations [Edi Weitz]
818         
819 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
820         * Version 2.10.8        
821         * base/conditions.lisp: Add *backend-warning-behavior*
822         special variable.
823         * db-postgresql-socket/postgresql-socket-sql.lisp:
824         Honor value of *backend-warning-behavior*
825         * tests/test-fdml.lisp: Remove test of raw boolean value
826         since different backends handle this differently. Add
827         test for :column attribute.
828         * tests/test-oodml.lisp: Add tests for boolean slot value
829         and for :void-value attribute
830         * tests/test-init.lisp: Use *backend-warning-behavior*
831         to suppress warnings from postgresql about implicitly
832         creating primary key in tables. Add new address table.
833         
834 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
835         * Version 2.10.7
836         * db-odbc/odbc-dbi.lisp: Convert TINYINT to integers when
837         result-types is :auto
838         * sql/objects.lisp: Properly handled writing/reading Boolean
839         values from SQL database when retrieving objects.
840         * test/test-fdml.lisp: Add another test for boolean results
841         * test/utils.lisp: Fix incorrect declaration
842         
843 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
844         * Version 2.10.6
845         * sql/generics.lisp: add generic function for SELECT. 
846         * sql/objects.lisp: make SELECT a method specialisation. 
847         * sql/classes.lisp: MAKE-QUERY now calls SELECT if the selections 
848         referred to are View Classes. 
849         * base/basic-sql.lisp: in DO-QUERY and MAP-QUERY, if the 
850         query-expression arg evaluates to a list, then we have an object 
851         query. 
852         * tests/test-oodml.lisp: add tests for DO-QUERY and MAP-QUERY with 
853         object queries. 
854         * TODO: remove items done and add a todo for SELECT. 
855         * sql/objects.lisp: SELECT takes a :field-names arg to pass on to 
856         QUERY. 
857         * sql/sql.lisp: add :field-names arg to QUERY. 
858         * tests/test-fdml.lisp: minor rework to use :field-names arg to 
859         SELECT. 
860
861 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
862         * sql/objects.lisp: fix bug in FIND-ALL when SELECT called with 2 
863         or more View Classes. 
864         * sql/objects.lisp: make the :flatp argument to SELECT work with 
865         object queries. 
866         * sql/objects.lisp: make SELECT accept a :result-types argument 
867         (defaults to :auto) which is passed on to QUERY.  
868         * sql/objects.lisp: SELECT returns field-names as a second value. 
869         * tests/test-ooddl.lisp: add flatp arg to SELECT calls as appropriate. 
870         * tests/test-fdml.lisp: add flatp/result-types arguments to calls 
871         to SELECT and take only first value as appropriate.
872         * tests/test-fdml.lisp: add two new tests for query result coercion 
873         and the field-names returned as a second value from SELECT. 
874         * tests/test-oodml.lisp: add flatp arg to SELECT calls as appropriate. 
875         
876 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
877         * Version 2.10.6-pre1
878         * sql/metaclasses.lisp: Add void-value slot
879         * doc/csql.xml: Update def-view-class documentation
880         * test/test-init.lisp: Change old :db-type to :db-kind.
881         Remove old :nulls-ok attributes.
882         * sql/objects.lisp: Add new universal-time and bigint
883         types. Optimize reading of integers using parse-integer
884         rather than read-from-string.
885         * */*.lisp: Merge clsql-base-sys and clsql-base packages
886         into clsql-base package
887         * classic/sql.lisp: Move large object support into base, leaving
888         classic without any functionality that is provided in the clsql
889         system.
890         * classic/package.lisp: Rename clsql-classic-sys package to
891         its former nickname of clsql-classic
892         
893 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
894         * Version 2.10.5: SQLite backend now passes all result-types tests
895         * clsql-sqlite.asd: Depend on clsql-uffi system
896         * db-sqlite/sqlite-sql.lisp: Use clsql-uffi:convert-raw-field
897         for efficiency and code reuse. 
898         * db-sqlite/sqlite-api-uffi.lisp: Change (* :char) to (* :unsigned-char)
899         for better cross-implementation compatibility.
900
901 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
902         * Version 2.10.4
903         * sql/tables.lisp: Fix typo in CACHE-TABLE-QUERIES
904         [Marcus Pearce]
905         * db-postgresql/postgresql-sql.lisp: Fix foreign-string vs. cstring
906         bug on SBCL in result-field-names function as reported by Marcus Pearce
907         * db-sqlite/sqlite-sql.lisp: Fix  in database-store-next-row
908         manifest in SBCL testing
909         
910 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
911         * Version 2.10.3
912         * sql/database.lisp: Conform more to CommonSQL output
913         for STATUS command [Marcus Pearce]
914         * sql/sqlite-sql.lisp: Rework to use result-types
915         * sql/sqlite-api-clisp.lisp: Add compatibility layer
916         with sqlite-api-uffi.lisp so that sqlite-sql.lisp can
917         be cleaned up of most clisp reader conditionals
918         * sql/test-init.lisp: Now run field type tests on sqlite
919         backend
920         
921 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
922         * Version 2.10.2
923         * base/basic-sql.lisp: Set default value of :result-types 
924         to :auto for more CommonSQL conformance. 
925         * test/test-fdml.lisp: Add tests for numeric value of fields
926         
927
928 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
929         * Version 2.10.1: New API function: CACHE-TABLE-QUERIES.
930         * base/basic-sql.lisp, db-*/*-sql.lisp: More CommonSQL conformance.
931         Return field names as second value for QUERY. This can be overridden
932         for efficiency with the new keyword :FIELD-NAMES set to NIL
933         in the QUERY invocation.
934         * test/test-fdml.lisp: Add tests for new field-name feature
935         * sql/metaclass.lisp: Remove old Lispworks cruft
936         and replace it with invocation of new code in kmr-mop.lisp
937         which actually works with Lispworks 4.2
938         * doc/ref_clsql.xml: Document new :FIELD-NAMES keyword to
939         QUERY function
940         * base/db-interface.lisp: Document the multiple values
941         returned by DATABASE-ATTRIBUTE-TYPE so matches the
942         undocumented CommonSQL behavior. 
943         * sql/table.lisp: Add *CACHE-TABLE-QUERIES-DEFAULT* and
944         *DEFAULT-UPDATE-OBJECTS-MAX-LEN* variables and export them.
945         LIST-ATTRIBUTE-TYPES now conforms to CommonSQL spec.
946         Implement CACHE-TABLE-QUERIES.
947         * db-odbc/odbc-sql.lisp: Fix attribute-type function
948         * test/test-fddl.lisp: Add tests for attribute type     
949         * db-mysql/mysql-sql.lisp: Mild optimization in accessing
950         field structures.
951         * base/classes.lisp: Add attribute-cache slot to database clas
952         * base/initialize.lisp: initialize-database-type now automatically
953         loads database-type backend as needed.
954         * base/test-init.lisp: Utilize new initialize-database-type functionality.
955         * TODO: remove items done
956         
957 30 Apr 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
958         * Version 2.9.6
959         * sql/objects.lisp: remove create/drop-sequence-from-class. 
960         * sql/objects.lisp: add INSTANCE-REFRESHED generic function. 
961         * sql/objects.lisp: improved CommonSQL compatibility for
962         UPDATE-RECORD-FROM-SLOT, UPDATE-RECORD-FROM-SLOTS,
963         UPDATE-RECORDS-FROM-INSTANCE and DELETE-INSTANCE-RECORDS. 
964         * sql/generics.lisp: move generics from objects.lisp to here. 
965         
966 29 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
967         * Version 2.9.6-pre1
968         * db-mysql/mysql-client-info.lisp: Add client version 4.1
969         detection
970         * sql/sql.lisp: Make *default-database* the default for
971         TRUNCATE-DATABASE
972         
973 28 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
974         * Version 2.9.5
975         * db-mysql/mysql-sql.lisp: Fix bug in transaction capability
976         detection
977         * sql/objects.lisp: Commit patch from Slawek Zak to allow specifying 
978         :metaclass in DEF-VIEW-CLASS invocation. This allows defining classes 
979         on a metaclass specialized from standard-db-class.
980
981         
982 24 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
983         * Version 2.9.4: Multiple changes to support Allegro's "modern"
984         lisp which uses a lowercase reader and has case-sensitive symbols
985         * sql/classes.lisp: Fix make-load-form bug for sql-ident-table
986         exposed by case-sensitive mlisp. 
987
988 22 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
989         * Version 2.9.3: All tests now pass on all platforms!
990         * LATEST-TEST-RESULTS: New file with summary of test results
991         * sql/generics.lisp: New file for generic function definitions.
992         * test/test-init.lisp: Display names of skipped tests.
993         Use unwind-protect to ensure disconnect
994         * sql/objects.lisp: Change database-type to database-underlying-type
995         so that actual database engine is properly identified
996         * db-odbc/odbc-api.lisp: Have default *time-conversion-function*
997         return an ISO timestring for compatibility with other drivers.
998         Workaround bug in MyODBC for LIST-TABLE-INDEXES
999         * test/test-fdml.lisp: Accomodate that odbc-postgresql driver
1000         returns floating-point values for floor and truncate operations 
1001         * db-aodbc/aodbc-sql.lisp: Implement DATABASE-LIST-VIEWS
1002         * tests/test-basic.lisp: Port to regression tester
1003         * test/test-init.lisp: Output to *report-stream*
1004         * docs/appendix.xml: Document ODBC and SQLite backends.
1005         * sql/classes.lisp: Make output-sql require a database parameter.
1006         This allows SQL generation to have the proper case to support
1007         the differences in case handling between CommonSQL API,
1008         Postgresql, MySQL, Oracle.
1009         
1010 21 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1011         * Version 2.9.2: Improvments in database capability introspection
1012         and querying. Support transactions in MySQL where available.
1013         All tests now pass on MySQL and SQLite in addition to postgresql
1014         and postgresql-socket. ODBC fails only with OODDL/TIME/1 and OODDL/TIME/2.
1015         * db-odbc/odbc-sql.lisp: Add DATABASE-LIST-VIEWS. Better support
1016         DATABASE-LIST-SEQUENCES.
1017         * clsql-uffi.asd, clsql-mysql.asd: Improve shared library loading
1018         * Database_capabilies: add HAS-VIEWS, HAS-CREATE/DESTROY-DB,
1019         HAS-BOOLEAN-WHERE, TRANSACTION-CAPABLE
1020         * tests/*.lisp: Check database capabilities and remove tests which
1021         the database backend does not support
1022         * sql/table.lisp: Add :TRANSACTIONS keyword to create table which
1023         controls whether InnoDB tables will be created when supported on
1024         the underlying MySQL server.
1025         
1026 20 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1027         * Version 2.9.0: New API function: LIST-TABLE-INDEXES,
1028         supported by all database backends (except AODBC since
1029         AODBC doesn't support index querying)
1030         * db-obdc/odbc-sql.lisp: Support DATABASE-LIST-INDEXES
1031         * db-odbc/odbc-api.lisp: Add %TABLE-STATISTICS function
1032         to support index queries
1033         * db-aodbc/aodbc-sql.lisp: Filter driver manager
1034         "information_schema" tables from LIST-TABLES
1035         * tests/test-basic.lisp: Remove table after testing
1036         * tests/test-fddl.lisp: Test LIST-TABLE-INDEXES
1037         * base/db-interface.lisp: Add DATABASE-UNDERLYING-TYPE
1038         which gets the underlying type of database -- required
1039         when dealing with ODBC databases and want to query
1040         database capabilities. Added DB-USE-COLUMN-ON-DROP-TABLES?
1041         as first database-backend specific feature. Is T on
1042         :mysql, NIL on other backends. Change DROP-TABLE to
1043         query this.
1044         
1045 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1046         * Version 2.8.2: Build changes for FreeBSD [Slawek Zak]
1047
1048 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1049         * Version 2.8.1
1050         * db-odbc/odbc-sql.lisp: Add DATABASE-LIST function 
1051         * db-odbc/odbc-dbi.lisp: Add LIST-ALL-DATA-SOURCES function 
1052
1053 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1054         * Version 2.8.0: New API function: LIST-DATABASES
1055         * base/utils.lisp: Fix command-output on CMUCL/SBCL
1056         * db-*/*-sql.lisp: Add new database-list function
1057         * base/database.lisp: Add new LIST-DATABASES command
1058         
1059 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1060         * Version 2.7.9
1061         * db-sqlite/sqlite-sql.lisp: Fix sequence functions.
1062         * db-sqlite/sqlite-api-uffi.lisp: Print error string
1063         correctly.
1064         
1065 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1066         * Version 2.7.7
1067         * doc/csql.xml, examples/clsql-tutorial.lisp: Patch for db-kind
1068         from Eduardo Munoz.
1069         
1070 17 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1071         * Version 2.7.6
1072         * base/objects.lisp, base/classes.lisp: Patch
1073         for db-kind from Eduardo Munoz
1074         
1075 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1076         * Version 2.7.5
1077         * base/basic-sql.lisp: Fix FLATP in QUERY
1078
1079 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1080         * Version 2.7.3: Implement RECONNECT
1081
1082 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1083         * Version 2.7.2: Fix ODBC on Lispworks Windows
1084
1085 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1086         * Version 2.7.1: Fix for new ODBC backend.
1087         clsql-odbc now works on SBCL, CMUCL, OpenMCL
1088         in addition to AllegroCL and Lispworks.
1089
1090 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1091         * Version 2.7.0: New backend: ODBC. Tests as
1092         well as AODBC backend on Allegro,Lispworks.
1093         SBCL and CMUCL don't work quite yet.  Requires UFFI v1.4.11+
1094         * db-odbc/*.lisp: Add ODBC3 function SQLSetEnvAttr
1095         to explicitly set ODBC2 support. Add BIGINT support.
1096         Add result-types support. Added SQLTables.
1097         Fix array type in fetch-all-rows. Make width
1098         changable by database or query.
1099         * base/utils.lisp: Add process functions
1100         * base/package.lisp: Export utils to CLSQL-BASE-SYS
1101         * db-aodbc: Implement sequence functions,
1102         database-list-tables, database-list-attributes
1103         * tests/utils.lisp: Add support for ODBC backend,
1104         rework READ-SPECS to use +all-db-types+
1105         * db-mysql/mysql-sql.lisp: Use WITHOUT-INTERRUPTS
1106         for SEQUENCE-NEXT
1107         
1108 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1109         * Version 2.6.13. Requires UFFI version 1.4.9
1110         * db-odbc/*.lisp: Further porting.
1111         Pre-alpha code! But, basic query is now working.
1112
1113 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1114         * Version 2.6.12
1115         * base/transactions.lisp: Add quote for macro
1116         expansion of WITH-TRANSACTIONS [Time Howe]
1117         * db-sqlite/sqlite-sql.lisp: Support memory database
1118         in database-probe [Ng Pheng Siong]
1119         * db-odbc/*.lisp: Initial port to UFFI of SQL-ODBC.
1120         The DBI layer is not finished.
1121         
1122 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1123         * Version 2.6.11
1124         * sql/objects.lisp: add :root-class functionality for
1125         list-classes and add duration type support [Marcus Pearce]
1126         * db-odbc: Add mid-level [DBI] layer
1127
1128 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1129         * Version 2.6.10
1130         * db-aodbc: Add methods for generic functions, some are
1131         not yet implemented.
1132         * clsql-odbc.asd, db-odbc/*.lisp: Initial start of ODBC
1133         support
1134
1135 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1136         * Version 2.6.9
1137         * base/package.lisp: Add missing symbols [Marcus Pearce]
1138
1139 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1140         * Version 2.6.8
1141         * test/test-fddl.lisp: Cleanup fix [Marcus Pearce]
1142         * utils/time.lisp: Multiple fixes [Marcus Pearce]
1143         * sql/sql.lisp: Fix for truncate-database [Marcus Pearce]
1144         
1145 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1146         * Version 2.6.7
1147         * sql/*.lisp: Remove schema versioning cruft
1148         [Marcus Pearce]
1149         * Makefile: Add classic subdirectory
1150         
1151 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1152         * Version 2.6.6
1153         * sql/sql.lisp: Fix TRUNCATE command, bug reported
1154         by Marcus Pearce
1155         * sql/sql.lisp: Remove EXPLAIN function. Postgresql/Oracle
1156         specific and easy for an application to directly support.
1157         Idea from Marcus Pearce.
1158         * base/basic-sql.lisp: Remove DESCRIBE-TABLE top-level 
1159         API as duplicates LIST-ATTRIBUTE-TYPES [Marcus Pearce].
1160         Keep low-level interface for future optimization
1161         supporting LIST-ATTRIBUTE-TYPES command.
1162         * Makefile: Add to db-sqlite and test directories.
1163         Include them in top-level Makefile
1164         
1165 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1166         * Version 2.6.5
1167         * sql/relations.lisp: Add missing file
1168         * utils/time.lisp: Fixes/extensions [Marcus Pearce]
1169         * test/test-time.lips: New file [Marcus Pearce]
1170         
1171 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1172         * Version 2.6.4
1173         * test/test-init.lisp: Properly handle object
1174         creation. Close database after use.
1175         * sql/sql.lisp: Make DESCRIBE-TABLE a generic
1176         function so can have methods specialized on
1177         table being a string or an sql-table object.
1178         * base/pool.lisp: Really fix CMUCL locking
1179         
1180 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1181         * Version 2.6.3
1182         * test/test-init.lisp: Signal correctly
1183         if any errors occurred in any test suite
1184         * base/loop-extensions.lisp: Fix error
1185         introduced for Lispworks
1186         * base/pool.lisp: Fix locking for CMUCL
1187         * base/objects.lisp: Remove schema-version cruft
1188         
1189 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1190         * Version 2.6.2: New CLSQL API functions:
1191         DESCRIBE-TABLE AND TRUNCATE-DATABASE
1192         Currently, this are only supported on :postgresql
1193         and :postgresql-socket
1194         * base/database.lisp: automatically load ASDF system
1195         in CONNECT if not already loaded
1196         * base/tests.lisp: disconnect database after testing 
1197         * base/*.lisp: Remove CLOSED-DATABASE type in favor
1198         of storing open/closed status in slot of database
1199         * base/pool.lisp: Support locks for CMUCL, OpenMCL, SBCL
1200         * db-postgresql/postgresql-sql.lisp: add DATABASE-RECONNECT,
1201         DATABASE-DESCRIBE-TABLE
1202         * db-sqlite/sqlite-sql.lisp: Add missing slots in database
1203         * base/conditions: Remove duplicate condition
1204         * db-*/*-sql.lisp: Fill new database slot DATABASE-TYPE
1205         * base/recording.lisp: Add new :QUERY type for recording
1206         
1207 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1208         * Version 2.6.1: documentation fixes, merged
1209         classic-tests into tests
1210
1211 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1212         * Version 2.6.0 released: New API functions
1213         CREATE-DATABASE, DESTORY-DATABASE, PROBE-DATABASE
1214         * doc/ref_clsql.xml: Document new functions
1215         * base/database.lisp: New API functions
1216         * base/conditions.lisp: Added CLSQL-ACCESS-ERROR
1217         * base/utils.lisp: Fix use of position-char.
1218         Add COMMAND-OUTPUT used by backends for running
1219         external programs. Fix parsing of SQL*NET-compatible
1220         connection-specs.
1221         * base/loop-extension.lisp: Simplify package use
1222         for Lispworks and Allegro
1223         * db-*/*-sql.lisp: Added DATABASE-CREATE,
1224         DATABASE-DESTORY, PROBE-DATABASE methods
1225         * tests/test-init.lisp, clasic-tests/tests.lisp:
1226         Use destroy-database and create-database to ensure 
1227         testing with empty database
1228         * tests/test-connection.lisp: Add tests for
1229         parsing of string connection-specs
1230         * examples/run-tests.sh: New file for running
1231         test suite on all installed CL implementations
1232         * examples/clsql-tutorial.lisp: moved from
1233         doc directory
1234         * examples/dot.clsql-tests.config: New file
1235         giving an example test configuration
1236         * test/README: Add notes about rtest/ptester
1237         downloads and link to sample test configuration file.
1238         
1239 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1240         * Version 2.5.1 released:
1241         * tests/*.lisp: Rework so tests are run
1242         on multiple backends automatically based
1243         on the contents of ~/.clsql-tests.config.
1244         Reuse helper functions from classic-tests.
1245         * base/database.lisp: Support connection-spec
1246         as string for CONNECT
1247         * classic-tests/tests.lisp: Automatically
1248         load database backends as needed. 
1249         
1250 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1251         * Version 2.5.0 released:
1252         All tests for CLSQL and CLSQL-CLASSIC pass
1253         on all platforms.
1254         * base/loop-extension.lisp: Add Lispworks
1255         loop-extension. Improve type specifying on
1256         other platforms.
1257         
1258 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1259         * Version 2.4.2 released:
1260         loop extension now supported on Allegro, all
1261         CLSQL-TESTS pass on Allegro.
1262         * sql/metaclasses.lisp: Some optimization
1263         of compute-slots, be selective when
1264         ordered-class-slots needs to be called
1265         instead of class-slots
1266         * TODO: add URL with documentation on
1267         extending Lispworks LOOP form
1268         
1269 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1270         * Version 2.4.1 released: CLSQL-TESt suite passes
1271         all tests for postgresql and CMUCL, SBCL, OpenMCL.
1272         Allegro and Lispworks pass all tests except for
1273         FDML/LOOP/1 since the loop extension have not yet
1274         been ported to those implementions.
1275         * sql/metaclasses.lisp: Added new slot to standard-db-class
1276         to hold user-specified type. OpenMCL adjustments to compensate
1277         for its type-predicate function. Since AllegroCL, Lispworks,
1278         and OpenMCL have different slot orders, added compute-slots
1279         and ordered-class-slots functions so their slot order matches
1280         SBCL/CMUCL.
1281
1282 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1283         * Version 2.4.0 released: All tests for clsql-classic now finish
1284         correctly on Allegro, Lispworks, CMUCL, SBCL, OpenMCL for
1285         mysql, postgresql, postgresql-sockets, and sqlite backends.
1286         * db-mysql/mysql-sql.lisp: Fix array dereferencing
1287         * classic-tests/tests.lisp: Fix package name of
1288         number-to-sql-string. 
1289         * clsql.asd/clsql-tests.asd: Add support for asdf:test-op
1290         * db-sqlite/sqlite-api-{uffi,sql}.lisp: Multiple UFFI fixes,
1291         now passes tests on all support UFFI platforms.
1292         * db-postgresql-socket/postgresql-socket-api.list: Ported to 
1293         SBCL and OpenMCL
1294         * multiple: Finish renaming of :types keyword to :result-types for
1295         greater CommonSQL compatibility, including documentation
1296         * sql/basic-cmds.lisp: Remove obsolete file
1297         
1298 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1299         * Version 2.3.3 released
1300         * Fixes for sequences on mysql and sqlite [Marcus Pearce]
1301         * Fixes for uffi sqlite backend [Aurelio Bignoli / Kevin Rosenberg]
1302         * Fix for schema table [Marcus Pearce]
1303         * Add loop extension support for SBCL and OpenMCL [Marcus Pearce]
1304         * Fixes to test suite [Marcus Pearce]
1305
1306 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1307         * db-*/*-sql.lisp: Ensure that expr in
1308         database-query-result-set is a string
1309         * Documentation integration
1310         
1311 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1312         * With for Marcus Pearce's excellent work, I've merged
1313         his clsql-usql port into clsql. The original clsql
1314         interface is available in the clsql-classic package.
1315
1316 02 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1317         * Integrate patch from Marcus Pearce <ek735@soi.city.ac.uk>
1318         adding further support for providing backend for UncommonSQL
1319
1320 10 Mar 2004 Kevin Rosenberg (kevin@rosenberg.net)
1321         * Integrate patch from Aurelio Bignoli for SQLite backend
1322
1323 11 Nov 2003 Kevin Rosenberg (kevin@rosenberg.net)
1324         * Converted documentation to XML format
1325         * Made package installable with asdf-install
1326
1327 23 Jul 2003 Kevin Rosenberg (kevin@rosenberg.net)
1328         * Add for-each-row macro
1329
1330 12 Dec 2002 Kevin Rosenberg (kevin@rosenberg.net)
1331         * uffi/clsql-uffi.lisp: return NIL for numeric fields that are NULL
1332         
1333 16 Oct 2002 Kevin Rosenberg (kevin@rosenberg.net)
1334         * Add support for SBCL, OpenMCL, and SCL
1335         * Add *load-truename* to search path for clsql's
1336         compiled libraries.
1337
1338 01 Sep 2002 Kevin Rosenberg (kevin@rosenberg.net)
1339         * Rework use of file types in .asd files
1340
1341 17 Aug 2002 Kevin Rosenberg (kevin@rosenberg.net)
1342         * Add .asd definition files for ASDF users
1343
1344 31 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
1345         * Restructure directories for Common Lisp Controller v3 compatibility
1346
1347 25 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
1348         * Also change case of logical host in loader files
1349         * Rework handling of logical pathnames
1350         
1351 05 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
1352         * Change case of logical host
1353         
1354 14 May 2002 Kevin Rosenberg (kevin@rosenberg.net)
1355         * clsql-base.system: Added base package that can be used without
1356         high-level SQL commands. Used for adding support for UncommonSQL.
1357         * *.system: Reworked logical pathnames to be more consistent with
1358         Common Lisp Controller.
1359         * debian/*: Completed initial Debian support
1360         
1361 10 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1362         * sql/classes.cl:
1363         * sql/transactions.cl:
1364         Added transaction support. Functions/macros added:
1365         with-transaction, commit-transaction, rollback-transaction,
1366         add-transaction-commit-hook, add-transaction-rollback-hook
1367
1368 04 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1369         * sql/sql.cl:
1370         * sql/pool.cl:
1371         * sql/functional.cl:
1372         Added pool support in connect/disconnect and with-database.
1373         Removed with-db-from-pool as with-database can now works with the connections pool
1374
1375 01 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1376         * sql/sql.cl:
1377         * sql/pool.cl:
1378         * sql/classes.cl:
1379         * sql/package.cl:
1380         Completed connection pool.
1381         Added with-db-from-pool macro.
1382         
1383 27 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1384         * Multiple files:
1385         Added initial support for connection pool
1386         * sql/transactions.cl
1387         Took transaction code from UncommonSQL and integrated
1388         into CLSQL code. See file for disclaimer about why this
1389         was added.
1390
1391 23 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1392         * interfaces/postgresql/postgresql-sql.cl:
1393         Fix keyword typo in database-read-large-object
1394         * interfaces/mysql/mysql-loader.cl
1395         Fix loading on Win32
1396         * test-suite/tester-clsql.cl
1397         Fix type coercion of double-float
1398         * doc/*
1399         Added debian docbook catalog, made it the default
1400         
1401 19 Apr 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1402         * interface/postgresql/postgresql-api.cl:
1403         * interface/postgresql/postgresql-sql.cl:
1404         * sql/sql.cl:
1405         * sql/db-interface.cl:
1406         Added large objects support for postgresql.
1407
1408 07 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1409         * src/postgresql-socket/postgresql-socket-api.cl:
1410         Fixed find-foreign-function call, eliminated crypt warning
1411         * Makefiles:
1412         Multiple improvements
1413         * sql/usql.cl:
1414         Moved functionality from low-level interfaces to this file
1415         via generic functions
1416         * test-suite/tester.cl:
1417         Added test with acl-compat-tester, moved others to old-tests
1418         directory.
1419         
1420 06 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1421         * src/usql.cl:
1422         Reinstated commented out sections
1423         * interfaces/postgresql/postgresql-loader.cl:
1424         * interfaces/mysql/mysql-loader.cl:
1425         Updated find-forieign-library support.
1426         * interfaces/postgresql-socket/postgresql-socket-package.cl:
1427         Fixed require form for Lispworks (Thanks Marc Battyani!)
1428         * interfaces/postgresql-socket/postgresql-socket-api.cl:
1429         Fixed eval of def-function for crypt library.
1430                 
1431 31 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1432         * Added interface to support USQL high-level rouines
1433         
1434 29 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1435         * Separated db-interface and conditions from sql/sql.cl
1436         * Improved foreign library loading testing
1437         * interfaces/postgresql/postgresql-api.cl
1438         Added PQisBusy function
1439         * interfaces/clsql-uffi/clsql-uffi.cl
1440         Fixed sign error for 64-bit processing
1441         
1442 27 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1443         * interfaces/postgresql-socket/postgresql-socket-api.cl:
1444         Fixes to read-double-from-socket. Added 64-bit integer support.
1445         * test-suite/xptest-clsql.cl
1446         Added testint for 64-bit integers
1447         * Additons to installation docs
1448         
1449 26 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1450         * interfaces/postgresql-socket/postgresql-socket-api.cl:
1451         Implemented direct socket reading for field type :double
1452         * Added usage information for :types to documentation
1453         * interfaces/mysql/mysql-sql.cl: Fixed type specifiers in atoi,
1454         atol, atof calls
1455         * interfaces/clsql-uffi: Created new directory. Split common
1456         interface routines that use UFFI into this package. Required
1457         especially to support direct reading of 64-bit integers into
1458         bignums and bypassing temporary strings.
1459         * test-clsql.cl: Updated to test postgresql-socket's
1460         read-double-from-socket function.
1461         * test-suite/xptest-clsql.cl
1462         Started work on test suite
1463
1464 25 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1465         * interfaces/mysql/mysql-api.cl: Added mysql-fetch-fields,
1466         mysql-fetch-field-direct Got :auto types working
1467         * interfaces/postgresql/postgresql-api.cl
1468         * interfaces/postgresql-socket/postgresql-socket-api.cl
1469         Added pgsql-field-types enum. Got :auto types working.
1470         * multiple-files
1471         Renamed :field-types to :types.
1472         
1473 24 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1474         * Added field-types parameter to query, database-query,
1475         database-query-result-set, map-query. Haven't added code
1476         to utilize field types, yet.
1477         * Changed postgresql-socket result set from cons to a structure
1478         * Updated test-clsql.cl to use automated testing with a config
1479         file
1480         * Changed return types of field accessors from cstring to
1481         (* :unsigned-char).  This prepares for being able to use specified
1482         type conversions when taking field data into lisp.
1483         * Added field-type processing for most interfaces. Not done yet.
1484         
1485 23 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1486         * doc/ref.sgml: Updated MAP-QUERY example to use
1487         *read-default-float-format* (John Foderaro)
1488         * Extensive work to foreign library loaders and .system files to
1489         check for successful loading of foreign libraries.
1490         * Modified test-clsql.cl to allow more modularity and
1491         automated testing in future release.
1492         * mysql/mysql-sql.lisp: Added field types
1493         
1494 01 Jan 2002 Kevin Rosenberg (kevin@rosenberg.net)
1495         * mysql/mysql-sql.lisp:
1496         - Added support for Allegro CL and Lispworks using UFFI layer
1497         - Changed database-connect to use mysql-real-connect. This way,
1498           can avoid using double (unwind-protect)
1499         - Changed database-connect to have MySQL library allocate space
1500           for MYSQL structure. This will make the code more robust in
1501           the event that MySQL library changes the size of the mysql-mysql
1502           structure.
1503
1504