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