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