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