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