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