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