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