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