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