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