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