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