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