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