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