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