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