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