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