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