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