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