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