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