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