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