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