Change log for imported patches
[clsql.git] / ChangeLog
1 2016-01-17 Russ Tyndall <russ@acceleration.net> 
2         * applied patches from Javeier Olaechea
3         * allows unix socket connections in clsql-postgressql-socket3
4         * modernize asd slightly
5
6 2015-10-09 Russ Tyndall <russ@acceleration.net> 
7         * add decimals.lisp file https://github.com/tlikonen/cl-decimals
8         * use this for safe parsing of numeric / decimal / rational types
9         * Added because newer postgres print money types as currency strings
10         
11 2015-08-12 Kevin Rosenberg <kevin@rosenberg.net>
12         * Version 6.6.3 release
13         * db-oracle/oracle-sql.lisp: Patch for PostgreSQL socket interface
14         for unicode characters. Thanks to Jason Melbye.
15         
16 2015-06-02 Daniel KochmaƄski <dkochmanski@turtle-solutions.eu>
17         * clsql.asd, sql/package.lisp: Add ECL compatibility fixes
18         * sql/db-interface.lisp: Fix declaration typo
19
20 2015-04-06 Russ Tyndall <russ@acceleration.net>
21         * sql/operations, sql/expressions: add postgresql E-string
22         operator / expression.  Needed for correct regex handling
23         EG: [E "some string"]=> E'some string'
24
25 2015-03-30 Kevin Rosenberg <kevin@rosenberg.net>
26         * Version 6.6.2 release
27         * db-oracle/oracle-sql.lisp: Remove extra hyphen, thanks to
28         Thomas Vossen
29         
30 2015-03-24 Russ Tyndall <russ@acceleration.net>
31         * sql/oodml.lisp: fixed call-next-method in the base of
32         read-sql-value and replaced with a continuable
33         sql-value-conversion-error
34         * default read-sql-value for list
35         * tests for sql-value-conversion-errors and list
36
37 2015-03-18 Russ Tyndall <russ@acceleration.net>
38         * {uffi,db-mysql}/Makefile: remove -pie build hardening for
39         which caused load issues for Linux Mint
40
41 2015-03-18 Kevin Rosenberg <kevin@rosenberg.net>
42         * Version 6.6.1 release
43         * {uffi,db-mysql}/Makefile: Remove pie from build
44         hardening options for Debian/Ubuntu systems. Thanks to
45         DJ <jakep@arqux.com> and Russ Tyndall <russ@acceleration.net>
46
47 2015-02-26 Kevin Rosenberg <kevin@rosenberg.net>
48         * Version 6.6.0 release
49         * {uffi,db-mysql}/Makefile: Add build hardening for Debian
50
51 2015-02-24 Russ Tyndall <russ@acceleration.net>
52         * mysql-sql.lisp
53         an error in type declarations generating a compilation warning
54         was being treated as an error in recent SBCLs, fixed the type
55         warning by correcting the type (still a ton of compliation
56         notes)
57
58 2015-02-23 Russ Tyndall <russ@acceleration.net>
59         * sql/metaclasses.lisp
60         made reinitialize-instance return the instance passed to it as
61         SBCL now expected (mentioned on the SBCL-devel mailing list by
62         Stas
63
64 2014-12-03 Russ Tyndall <russ@acceleration.net>
65         * sqlite-sql.lisp
66         Added database arg to `canonicalize-result-types` so that it could
67         correctly call `sqlite-aref` with the required number of arguments
68         Thanks Zach Beane for the bug report.
69
70 2014-07-29 Russ Tyndall <russ@acceleration.net>
71         * mysql-api.lisp, mysql-sql.lisp, test-connection.lisp
72         Added code to the mysql backend to pull all result sets as
73         multiple args.  This fixes a bug in the mysql backend where trying
74         to query after executing a stored procedure (even on a pooled
75         connection) would raise an error about the connection being out of
76         sync.  The second result set for the stored procedure seems to be
77         empty, so not sure why we need to iterate past it.
78
79         patch / bugreport provided by: Ilya Khaprov deadtrickster@github
80
81 2014-06-11 Russ Tyndall <russ@acceleration.net>
82         * databases.lisp, sqlite3-sql.lisp
83         Similar to and overriding the patch 2014-01-30 937a3d, adds a
84         default-encoding variable uses that in places where a nil encoding
85         was being passed. Defaults to :utf-8.  This is mostly in place so
86         that uffi and cffi both work similarly (by moving the default into
87         clsql instead of clsql-uffi).  This allows my automated build
88         environment to do its job
89
90 2014-06-10 Russ Tyndall <russ@acceleration.net>
91
92         * db-mysql/Makefile - the results of dpkg-buildflags --get LDFLAGS
93         seem to have changed on my system and and sed was returning
94         invalid command line arguments to ld.  To resolve this I changed
95         sed to emit valid args, which seems to have resolved the issue.
96
97 2014-04-24 Russ Tyndall <russ@acceleration.net>
98         * oodml.lisp, test-oodml.lisp Better handling of view-slots of
99         type symbol/keyword.  Better handling of printing and reading
100         bindings (per mailing list request, always read and write in base
101         10)
102
103 2014-03-04  Kevin Rosenberg <kevin@rosenberg.net>
104         * Version 6.5.0: New release
105         * makefile.common: Check for /usr/bin/dpkg-buildflags
106         * {db-mysql,uffi}/Makefile: Use debian buildflags
107
108 2014-02-24 Russ Tyndall <russ@acceleration.net>
109         * oodml.lisp bind *print-length* to nil before printing
110         lists/arrays to the database.
111
112 2014-01-30 Russ Tyndall <russ@acceleration.net>
113         * sqlite3-sql.lisp specify :utf-8 as the default encoding if there
114         is not one (allows :clsql-cffi to be closer to working for this
115         backend).
116
117         I ran the test suite successfully once with :clsql-cffi, but there
118         after I got spurious errors and especially unrecoverable errors
119         while connecting about the database being locked
120
121 2014-01-30 Russ Tyndall <russ@acceleration.net>
122         * sqlite3-sql.lisp, fddl.lisp Dont compare database-identifiers
123         with invalid comparison operators
124
125 2014-01-30 Russ Tyndall <russ@acceleration.net>
126         * generic-odbc.lisp, ooddl.lisp, generic-postgresql.lisp,
127         test-init.lisp, ds-nodes.lisp, generic-odbc.lisp, odbc-sql.lisp
128
129         auto-increment-column support improvement (mssql esp, now will
130         auto-fill after insert). Use +auto-increment-names+ to determine
131         auto-increment-column-p.
132
133         This triggered much test failing as regards normalized classes /
134         autoincrement primary key stuff.
135
136         New odbc-postgresql-database sub-type
137
138         POSSIBLY BREAKING CHANGES:
139         1 ) Previously all classes in a normalized heirachy had their p-key
140         marked as "auto-increment".  Usually auto-increment means a key
141         supplied by the database system, so this was decidedly
142         non-standard usage (clsql is explicitly providing the key for all
143         normalized subclasses of any given parent see ds-nodes.lisp). Some
144         RDMS will not allow insertion/updates of autoincrement columns
145         without hoop jumping and, as it doesnt really make much sense, I
146         removed the "auto-increment" aspects of normalized sub-classes.
147         Now the primary keys are chained regardless. The parent-most key
148         can be autoincrement or not.
149
150         2 ) ODBC Postgresql connections are now both GENERIC-ODBC-DATABASE
151         and GENERIC-POSTGRESQL-DATABASE.  Probably not a widely used path,
152         but this change allows most of the previously failing tests to
153         pass on this backend (we now format stuff correctly for postgres).
154         I anticipate this probably is not perfect yet (IE: I probably
155         missed something)
156
157 2014-01-29 Russ Tyndall <russ@acceleration.net>
158         * oodml.lisp, generics.lisp - added
159         clsql-sys::view-classes-and-storable-slots generic (added method
160         previously).  Also added to-database-p keyword to allow overrides
161         to distinguish between the two situations. Mostly so that
162         clsql-helper:dirty-slots-mixin can filter slots when writing
163         values to the database but still allow all slots to be read from
164         the database
165
166 2014-01-17 Russ Tyndall <russ@acceleration.net>
167         * oodml.lisp, generics.lisp - added filter-select-list generic
168           to allow fine grained control of generated query/object mappings
169         
170 2014-01-07 Russ Tyndall <russ@acceleration.net>
171         * clsql-uffi.lisp, sqlite3 auto-increment support
172         * clsql-uffi.lisp, test-basic.lisp, fixes related to unsigned vs
173           signed ints (thanks Aaron Burrow)
174         * cleaning and testing
175
176 2013-09-27 Russ Tyndall <russ@acceleration.net>
177         * fixed bug converting to boolean in db-mysql/mysql-sql.lisp
178         from github user Sectoid https://github.com/UnwashedMeme/clsql/pull/1
179
180 2013-06-19 Russ Tyndall <russ@acceleration.net>
181         * sql/oodml.lisp, db-postgresql-socket3/sql.lisp,
182           db-mysql/mysql-objects.lisp, sql/generic-odbc.lisp
183         Refactored read-sql-value similar to the other recent refactorings
184
185         * the symbol case now uses intern instead of read-from-string
186           (which may not return a symbol and could have security issues
187           since read-eval was not being unset)
188
189         * read-eval is now off for all cases
190
191         * centralized logic into a single case statement, hopefully making
192           this more readable and debuggable
193
194         * TODO: make these refactorings to the oracle backend (I cannot
195           test against oracle and am loathe to change without testing
196
197 2013-06-19 Russ Tyndall <russ@acceleration.net>
198         * sql/mysql-objects.lisp
199         Found and refactored a way some more eql specified methods of
200         database-get-type-specifier in mysql
201
202 2013-06-18 Russ Tyndall <russ@acceleration.net>
203         * sql/oodml.lisp, sql/mysql-objects.lisp
204         refactored database-output-sql-as-type in a similar fashion to
205         the previous refactor of database-get-type-specifier (fewer
206         methods using case instead of eql specifiers)
207
208         * removed very strange definition of outputing floats as strings
209           for something sane (it was previously doing silly work like
210           setting the default read float type (which AFAICT doesnt affect
211           printing))
212
213         * half of the cases nil returned "" other times it returned nil,
214           now if we get a null value we return nil always
215
216         * removed odd-logic (seemingly untouched since the initial import),
217           that removed null characters from printed lists.  If we have #\null
218           in a printed list, we had probably better figure out what went wrong
219           there rather than destructively modifying the list output on the way
220           to the DB ;; removed (substitute-char-string escaped #\Null " ")
221
222 2013-06-18 Russ Tyndall <russ@acceleration.net>
223         * sql/generic-odbc.lisp, sql/generic-postgresql.lisp, sql/oodml.lisp
224           tests/test-fddl.lisp
225
226         refactored database-get-type-specifier for postgres and mssql
227
228         Single methods with a case on the symbol arg (similar to the recent
229         refactoring in oodml.lisp)
230
231         This reduces line count and generally makes it easier to find and
232         read all the backend-specific types
233
234 2013-06-10 Russ Tyndall <russ@acceleration.net>
235         * sql/oodml.lisp, sql/generic-postgresql.lisp, doc/ref-fddl.xml,
236           sql/packages.lisp
237
238         Updated get-database-type-specifier to handle text/longchar type
239         and refactored
240
241         * added a warning above defaulting to VARCHAR (since its probably
242         NOT what is expected on a bad type specifier).
243
244         * added a case where the specified type being a string, passes
245         that string directly (to better/more easily allow db-specific
246         data-types).
247
248         * added cases where longchar or text converts to text, and
249         exported those symbols (as this seemed type seemed to be missing
250         from fddl/oddl anyway).
251
252         * reorganized these default methods into a single method with a
253         case statement rather than many eql specified methods (about half
254         the code)
255
256          * updated the docs to use text instead of longchar since text is
257          a more standard db-type (pg,my,and ms all use text)
258
259 2013-11-23 Kiss Kalman <kami@zalaszam.hu>
260         * utils/sql.lisp: Commit patch adding ccl getenv support
261
262 2013-04-17 Kevin Rosenberg <kevin@rosenberg.net>
263         * Version 6.4.1
264         * sql/utils.lisp: Patch from Ben Hyde to add weak hash table
265         support for CCL.
266
267 2013-03-07 Ryan Davis <ryan@acceleration.net>
268         * db-postgresql-socket/postgresql-socket-api.lisp - bugfix to
269         adapt to changes in md5:md5sum-sequence. CLSQL now requires a
270         version of MD5 released on or after 2012-11-25 (the latest version
271         currenty in quicklisp). Thanks to Nicolas Neuss for the bug
272         report.
273         * db-odbc/odbc-sql.lisp - keep a reference to the original
274         connection spec used to create `odbc-database` connections
275
276 2013-01-09 Russ Tyndall <russ@acceleration.net>
277         sql/oodml.lisp - changed view-classes-and-storable-slots to a
278         method (as it was intended to be all along)
279
280 2012-12-19 Kevin Rosenberg <kevin@rosenberg.net>
281         * Version 6.4
282
283 2012-11-20 Russ Tyndall <russ@acceleration.net>
284         ## Large refactoring of sql/oodml.lisp and surrounding code
285         * cleaned up update-records-from-* to utilize a single codepath
286           previously there was much duplicate code
287         * tried to further unify direct/effective slot-defs
288         * cleaned up much of the normalized classes code to be more
289           consistent in how it operated, and the code it used (less
290           copy/paste more functions)
291         * tried to standardize iteration a bit, previously almost all
292           of the iteration constructs in CL were used. Tried to
293           standardize on loop for readability / cohesiveness
294         * made functions to more easily look up particular slots, since
295           this was being done differently in each function
296         * added more doc-strings and updated documentation about
297           normalized classes
298         * inner-joins that are referenced in where clauses are no longer
299           added to the select table list (since they are also referenced
300           in the join position and this led to sql errors)
301         * collect-table-references methods added for sql-ident-table and
302           list
303
304         ## Semantic changes
305         * disallow where-less updates from objects (ie cannot call
306           update-records-from* with a keyless object)
307         * ordered-class-direct-slots now returns direct-slot-definitions
308           instead of effective-slot-definitions (as per name)
309         * direct-slot-definitions now contain the db-info hash table (same
310           as effective slots)
311         * removed this-class arg from update-instance-from-records - used to
312           be used for normalized code, no longer needed for that.
313         * find-all - bug fixes in table references, previously where clauses
314           surrounded by a list would have none of their references added to
315           the select. This was being exploited by certain code paths.  Now
316           all where clauses are searched
317           - No longer includes order-by and distinct as columns in the select
318             list.  The values seemed to be ignored in every code path and distinct
319             seemed to be intended to be used as a boolean anyway
320
321
322 2012-11-20  Nathan Bird  <nathan@acceleration.net>
323
324         * update-objects-joins - changed the default of slot from t (which
325           used to mean :deferred) to :immediate (to match the default
326           behavior of other parts of the system).  It also seemed like a bad
327           default to pull all the slots that were explicitly specified to be
328           not pulled by default.  This function now accepts more special
329           values (:immediate, :deferred, :all, or a list of slots).  To get
330           the old behavior call with :slots :deferred.
331
332
333 2012-10-30  Russ Tyndall <russ@acceleration.net>
334         * sql/command-object.lisp - added dates/times to the parameter value
335         coersion and pulled this into a new generic prepare-sql-parameter
336
337 2012-09-04  Kevin Rosenberg  <kevin@rosenberg.net>
338         * Version 6.3 released
339
340 2012-09-04  Russ Tyndall <russ@acceleration.net>
341         * sql/expressions.lisp - Try to respect the casing of symbols
342         where it seems intentional (ie: is not default). This should fix
343         a failing test case, and I think behaves more understandibly.
344
345         If you specify a casing '|Foo Bar| lets treat that a string "Foo Bar"
346         and output it escaped
347
348 2012-08-28  Ryan Davis <ryan@acceleration.net>
349         * db-sqlite3/sqlite3-api.lisp - allow pathnames in the connection
350         settings, so '("/db/my.sqlite") and '(#P"/db/my.sqlite") are
351         equivalent. Updated the docs to match.
352
353 2012-08-17  Russ Tyndall  <russ@acceleration.net>
354         * db-postgresql-socket3/package.lisp - shadow
355         postgresql-notification for compatibility with new
356         cl-postgres (Thanks Zach)
357
358 2012-07-09  Russ Tyndall  <russ@acceleration.net>
359         * sql/oodml.lisp - fixed a bug where the order by was being
360         destructively modified, causing odd caching issues when the
361         selected object was not statically known (eg unreferenced tables
362         could show up in the query if they were cached by a previous call
363         through this function.  I replaced this code with a
364         non-destructive variant which should solve this.
365
366         Thanks to Philipp Marek for the bug report
367
368 2012-06-25  Russ Tyndall  <russ@acceleration.net>
369         * sql/util.lisp, sql/metaclasses.lisp
370         Dequote database-identifiers if needed (passed a quoted symbol)
371         Metaclass args come through unquoted, so this eases interactions
372         with them
373
374 2012-06-22  Russ Tyndall  <russ@acceleration.net>
375         * sql/metaclasses.lisp: Changed compute-effective-slot-definition
376         to correctly copy the autoincrement-sequence slot to the ESD
377         previously it was being skipped (seemingly by accident).  Thanks
378         to flip214 on #lisp for the bug report
379
380 2012-04-26  Kevin Rosenberg  <kevin@rosenberg.net>
381         * Version 6.2 released: thanks to all the contributors!
382
383 2012-04-25  Nathan Bird  <nathan@acceleration.net>
384
385         * doc/threading-warnings.txt: Adding some notes from J.T.Klein
386         about the current state of thread-safety in clsql. This should be
387         incorporated into the main docs at some point.
388
389 2012-04-25  Russ Tyndall <russ@acceleration.net>
390         * sql/expressions.lisp (output-sql): on rendering update/insert
391         expression values, ensure that *in-subselect* is bound to T
392         so that the values will be correctly paren delimited
393
394 2012-04-24  Nathan Bird  <nathan@acceleration.net>
395
396         * sql/expressions.lisp (output-sql): on mysql CREATE TABLE
397         statements use 'ENGINE=innodb' instead of 'Type=InnoDB'. This has
398         apparently been preferred since mysql 4.1 and mysql 5.5 removed
399         type as a valid keyword.
400
401 2012-03-28  Russ Tyndall <russ@acceleration.net>
402
403         * sql/sequences.lisp: [A Patch FROM 2011-07-28 changed sequences.
404         They were previously prefixed with _CLSQL_SEQ_ but are now
405         suffixed with _CLSQL_SEQ. This is likely to break existing
406         implementations using the default sequence names
407
408         setting *old-sequence-names* to T, should force using the older
409         naming scheme
410
411 2012-03-27  Ryan Davis  <ryan@acceleration.net>
412
413         * sql/expressions.lisp: Fixed bug with subqueries in the where
414         clause of update-records and delete-records generating invalid
415         SQL. Previously subselects in where clauses would not have enough
416         parentheses, for example: "WHERE Id IN SELECT foo_id FROM bar"
417         vs. "WHERE Id IN (SELECT foo_id FROM bar)"
418         * tests/test-syntax.lisp: Added tests for using subqueries in the
419         where clause in update-records and delete-records. Moved asserts
420         in the test-output-sql/sql-ident-table function into the standard
421         test framework.
422         * doc/appendix.xml: added :connection-string to the information on
423         ODBC connection specs, and added example code connecting to ODBC
424         databases.
425
426 2012-01-05  Nathan Bird  <nathan@acceleration.net>
427
428         * db-odbc/odbc-dbi.lisp: handle sql decimal type in the same way
429         as numeric type-- read into a double float.
430
431 2011-01-04  Russ Tyndall  <russ@acceleration.net>
432         * sql/operations.lisp
433
434         Fixed bug reported by JTK related to the not-null sql-expression
435         especially as used in conjunction with the is operator.
436
437         Made null called with more than one argument throw an exception
438         instead of silently discarding all arguments past the first
439
440 2012-01-04  Nathan Bird  <nathan@acceleration.net>
441
442         * db-odbc/odbc-api.lisp (%sql-driver-connect): in the call to
443         odbc's SQLDriverConnect default the WindowHandle argument to a null ptr so
444         that connecting with :connection-string will work in the default
445         case of SQL_DRIVER_NOPROMPT.
446
447         I.e. you can now do things like:
448         (clsql:connect '("DsnName" "UserName" "" :connection-string
449         "DRIVER={FreeTDS};SERVER=...;DATABASE=...;UID=...;PWD=...;PORT=1433;TDS_Version=8.0;APP=clsql")
450         :database-type :odbc)
451
452         I believe the DsnName and Username at that point are only used when
453         printing the connection information.
454
455 2011-12-20  Kevin Rosenberg <kevin@rosenberg.net>
456         * Version 6.1.1
457         * db-oracle/oracle.lisp: Typo correction (Elias Martenson)
458
459 2011-12-19  Kevin Rosenberg <kevin@rosenberg.net>
460         * Version 6.1.0
461         * db-oracle/oracle.lisp: Change length function to
462         uffi:foreign-string-length to handle foreign encodings.
463         Thanks to Elias Martenson.
464
465 2011-11-28  Russ Tyndall  <russ@acceleration.net>
466         * db-odbc/odbc-api.lisp, tests/test-time.lisp
467
468         In ODBC backend, avoid going through the common lisp
469         universal-time type (because it lacks support for historic dates)
470
471         *time-conversion-function* renamed to *time-format*
472
473         Patch from: Francisco Vides Fernandez
474
475 2011-10-18  Russ Tyndall  <russ@acceleration.net>
476         * db-odbc/odbc-api.lisp
477
478         Added type specifier so MSSQL nvarchar fields can make it through
479
480 2011-09-12  Russ Tyndall  <russ@acceleration.net>
481         * sql/fddl.lisp sql/generic-postgres.lisp db-mysql/mysql-sql.lisp
482         sql/generic-odbc.lisp sql/odbc-api.lisp sql/odbc-dbi.lisp
483
484         Fix bugs in list-attribute(s|-types) where passing an escaped,
485         instead of unescaped column name, caused these functions to return
486         less data than they should have.
487
488 2011-08-03  Kevin Rosenberg <kevin@rosenberg.net>
489         * CLSQL 6.0.0 released
490
491 2011-07-28  Russ Tyndall  <russ@acceleration.net>
492
493         * db-postgresql-socket3/: Added a backend that utilized postgres
494         socket api version 3.  Uses the cl-postgres project (from
495         postmodern) to handle this.  Allows use of parameterized /
496         prepared queries using clsql:command-object
497
498         * sql/{expressions,fddl, generic-postgresql, ooddl}.lisp:
499         Change how database identifiers are emitted to hopefully make this
500         less brittle, and more easily intuitable.
501
502         Previously every code path that wanted to emit a
503         database identifier was responsible for coercing what was provided
504         into a correctly escaped string.  Sometimes two or three functions
505         in a row were trying to correctly quote and output that string.  I
506         have tried to centralize this type coercion and logic into a
507         single code path.
508
509         everything should now call (escaped-database-identifier thing)
510         immediately before splicing a database identifier into string being
511         sent to the database
512
513         * sql/oodml.lisp: added method choose-database-for-instance, which
514         allows overriding which database connections are used based on
515         object type.  Can be used to prevent connection conflicts in
516         multi-threaded environments
517
518         * sql/syntax.lisp: [foo bar] and [foo.bar] read into the same
519         clsql expression now (they used to be output the same, but after
520         the above database-identifier change, they were output separately
521
522         * test/: Better, more tests, better type coercion in tests and
523         throughout (%get-int)
524
525        [edit 2012-03-28 - RT]
526         * sql/sequences.lisp: Sequences were previously prefixed with
527         _CLSQL_SEQ_ but are now suffixed with _CLSQL_SEQ. This is likely
528         to break existing implementations using the default sequence names
529
530         setting *old-sequence-names* to T, should force using the older
531         naming scheme
532
533
534 2011-07-16  Kevin Rosenberg <kevin@rosenberg.net>
535         * Version 5.4.0 release
536
537 2011-06-27  Nathan Bird  <nathan@acceleration.net>
538         * db-odbc/: memory management improvements: leak slower
539         * MSSQL: TOP + DISTINCT work together
540
541 2011-06-20  Nathan Bird  <nathan@acceleration.net>
542
543         * sql/time.lisp: Handle parsing already parsed objects.
544         * sql/oodml.lisp: raise exception if we generate an update with no
545         where clause; incorporate Ryszard Szopa's patch for functional
546         expressions in :order-by
547         * sql/expressions.lisp: (listify nil) => nil instead of (nil).
548         * db-odbc/: bugfixes for working with older versions of FreeTDS;
549         support for bigints that works on mssql and postgres
550         * MSSQL improvements: use top instead of limit, IDENTITY can be a
551         column constraint, clsql:date becomes 'smalldatetime'
552
553 2011-06-20  Nathan Bird  <nathan@acceleration.net>
554
555         * Version 5.3.4
556         * db-postgresql-socket/postgresql-socket-api.lisp: Addendum
557         to Otto Diesenbacher's patch that had a spurious write a 0
558         byte (to terminate string) that should have been just CCL.
559
560 2011-06-12  Kevin Rosenberg <kevin@rosenberg.net>
561         * Version 5.3.3
562         * db-postgresql-socket/postgresql-socket-api.lisp:
563         Patch from Otto Diesenbacher for UTF8 encoded strings
564         for CCL. FIXME: The best patch would be to use the
565         user-set encoding from the database object and use
566         UFFI's encoding strings to/from octet vectors rather
567         than SB-UNICODE and CCL specific code in this file.
568
569 2011-04-21  Kevin Rosenberg <kevin@rosenberg.net>
570         * sql/generics.lisp: Add defgeneric for new
571         database-last-auto-increment-id
572
573 2011-04-01  Kevin Rosenberg <kevin@rosenberg.net>
574         * Version 5.3.2
575         * db-mysql/mysql-client-info.lisp: Add recognition of
576         version 6 of MySQL client library.
577         * sql/metaclass.lisp: Fix the fix in the reader conditional
578
579 2011-03-30  Kevin Rosenberg <kevin@rosenberg.net>
580         * Version 5.3.1
581         * sql/metaclasses.lisp: Fix previous patch to work
582         on non-SBCL systems
583
584 2011-03-29  Kevin Rosenberg <kevin@rosenberg.net>
585         * Version 5.3.0
586         * sql/metaclasses.lisp: Apply one-line patch to fix
587         for newer SBCL (thanks to Nikodemus Siivola)
588         * many_files: Applied multiple patches from Holger Schauer
589         to improve autoincrement capability.
590
591 2010-10-24  Kevin Rosenberg <kevin@rosenberg.net>
592         * Version 5.2.0
593         * db-odbc/odbc-api.lisp: Change from SBCL-specific
594         to UFFI version of octets-to-strings. Reported by
595         Daniel Brunner <daniel@dbrunner.de>
596         * sql/oodml.lisp: Apply patch from Rupert Swarbrick
597         <rswarbrick@gmail.com>: Fix behaviour with auto-inc
598         primary keys.
599         * sql/expressions.lisp, tests/test-syntax.lisp: Apply
600         patch from Russ Tyndall to quote identifiers with space
601         or special character.
602
603 2010-09-20  Kevin Rosenberg <kevin@rosenberg.net>
604         * Version 5.1.4
605         * sql/{pool,database}.lisp: Pass encoding argument to
606         connections made from pool and with reconnect.
607
608 2010-08-16  Kevin Rosenberg <kevin@rosenberg.net>
609         * Version 5.1.3
610         * db-odbc/odbc-{api,dbi}.lisp: Commit patch from
611         Memet Bilgin to fix issue with unicode and ODBC.
612
613 2010-08-16  Kevin Rosenberg <kevin@rosenberg.net>
614         * Version 5.1.2
615         * uffi/clsql-uffi.lisp: Commit patch from JT Klein fixing
616         invocation of uffi:convert-from-foreign-string macro. When
617         time allows, I'll investigate changing UFFI's macro to
618         a function call and then revert this patch.
619
620 2010-06-15  Kevin Rosenberg <kevin@rosenberg.net>
621         * Version 5.1.1
622         * clsql-{uffi,mysql}.asd: Modify operation-done-p functions
623         to guard against change introduced in new ASDF traversing.
624
625 2010-04-20  Kevin Rosenberg <kevin@rosenberg.net>
626         * Version 5.1.0 [DEPENDENCY UPGRADE: UFFI 2.x needed]
627         * clsql-uffi.asd: Depend on UFFI version >= 2.0
628         to support foreign encoding of strings.
629
630 2010-04-16  Kevin Rosenberg <kevin@rosenberg.net>
631         * Version 5.0.6
632         * db-postgresql.lisp, sql/fddl.lisp: Fix typos [Thanks to
633         Walter C. Pelissero]
634         * sql/metaclasses.lisp: Work around type-check-function being set
635         during defclass expansion in SBCL [Thanks to Walter C. Pelissero]
636         * uffi/clsql-uffi.lisp: In call to uffi:convert-from-foreign-string,
637         Set null-terminated-p to T when length not specified.
638         [Thanks to Walter C. Pelissero]
639
640 2010-03-21  Kevin Rosenberg <kevin@rosenberg.net>
641         * Version 5.0.5
642         * sql/fdml.lisp: Fix DO-QUERY to actually return the last value of
643         the body.
644
645 2010-03-02  Nathan Bird  <nathan@acceleration.net>
646         * doc/: Added a README on how to build doc; now builds on Ubuntu.
647         * sql/oodml.lisp: READ-SQL-VALUE now has explicit method for
648         handling double-floats and the default method will no longer
649         attempt to convert values that have already been converted.
650         * sql/syntax.lisp: Introduce file-enable-sql-reader-syntax which
651         enables the syntax for the scope of the file without trying to
652         keep track of the current syntax state.
653         * sql/pool.lisp: Introduce
654         clsql-sys:*db-pool-max-free-connections* which is a heuristic
655         threshold for when to disconnect a connection rather than
656         returning it to the pool.
657         * sql/pool.lisp: Check connections for validity before returning
658         to the user.
659
660 2010-03-01  Kevin Rosenberg <kevin@rosenberg.net>
661         * db-mysql/mysql-api.lisp: Remove spurious enumeration
662
663 2010-02-16  Kevin Rosenberg <kevin@rosenberg.net>
664         * Version 5.0.4
665         * db-mysql/mysql-api.lisp: Fix mysql_options UFFI parameter list
666         * doc/ref-connect.xml: Document the MySQL options parameter as
667         part of the connection-spec.
668
669 2010-02-15  Kevin Rosenberg <kevin@rosenberg.net>
670         * db-mysql/mysql-{api,sql}.lisp: Support sending options
671         to MySQL using mysql_options, which occurs between the API calls
672         of mysql_init and mysql_real_connect.
673
674 2010-02-11  Kevin Rosenberg <kevin@rosenberg.net>
675         * Version 5.0.3
676         * multiple-files: Further internationalization. Change
677         UFFI:CONVERT-RAW-FIELD and UFFI:CONVERT-FROM-FOREIGN-STRINGS
678         invocations to use the foreign character set encoding of the
679         database object. Requires UFFI v.1.8.6
680         * Makefile.common: Fix OS_DARWIN64 setting
681
682 2010-02-11  Nathan Bird  <nathan@acceleration.net>
683         * MSSQL: better support for fddl 'date type.
684
685 2010-02-11  Kevin Rosenberg <kevin@rosenberg.net>
686         * Makefile.common, uffi/Makefile, db-mysql/Makefile:
687         Better support OS X Snow Leopard by building universal
688         (x86_64,i386) dylib bundles
689
690 2010-02-08  Kevin Rosenberg <kevin@rosenberg.net>
691         * Version 5.0.2
692         * sql/database.lisp: Fix missing slot-accessor 
693         (Thanks to Stelian Ionescu)
694         * sql/generics.lisp: Add missing keyword to defgeneric
695         (Thanks to Stelian Ionescu)
696
697 2010-02-07  Kevin Rosenberg <kevin@rosenberg.net>
698         * Version 5.0.1
699         * sql/{base-classes,database}.lisp: Add encoding slot for 
700         non-ASCII strings.
701         * db-mysql/mysql-sql.lisp: Use UFFI:FOREIGN-ENCODED-OCTET-COUNT.
702         Requires UFFI version 1.8.2 or above.
703
704 2010-02-06  Kevin Rosenberg <kevin@rosenberg.net>
705         * Version 5.0.0: First release of CLSQL to formally and
706         consistently support non-ASCII strings with encoding of external
707         formats for SQL strings. UFFI version 1.8.1 is higher is required.
708
709         This change may introduce some differences in string handling for
710         people who are using non-ASCII encoded characters.  Thus, because
711         of the risk of BACKWARD INCOMPATIBILITY, the major version number
712         was incremented with this release.
713
714 2010-02-06  Kevin Rosenberg <kevin@rosenberg.net>
715         * tests/test-i18n.lisp: Bind UFFI:*DEFAULT-EXTERNAL-FORMAT*
716         for testing multibyte encodings.
717         * uffi/clsql-uffi.lisp: Changes for UFFI 1.7.4's new support
718         for encoding foreign strings with a specified external format.
719
720 2010-02-06  Kevin Rosenberg <kevin@rosenberg.net>
721         * sql/metaclasses.lisp: If no declared slot type in
722         compute-lisp-type-from-specified-type, then use t as lisp type.
723         Issue noted when testing Clozure CL 1.4.
724
725 2010-02-06  Kevin Rosenberg <kevin@rosenberg.net>
726         * tests/test-init.lisp: Turn off the benign console notices for
727         testing on postgres.
728
729 2010-02-05  Kevin Rosenberg <kevin@rosenberg.net>
730         * clsql-test.asd, tests/{test-i18n,test-init}.lisp:
731         Load test-i18n.lisp and use its tests as long as 'uffi:no-i18n is
732         not present in cl:*features*. This requires UFFI 1.7.2 or above.
733
734 2010-02-05  Kevin Rosenberg <kevin@rosenberg.net>
735         * sql/utils.lisp: Reading #\no-break_space causes an
736         error for non-unicode SBCL. Conditionalize read of
737         #\no-break_space for non-unicode SBCL and 8-bit string
738         Allegro.
739
740 2010-02-03  Kevin Rosenberg <kevin@rosenberg.net>
741         * tests/test-init.lisp: Add *test-report-width* variable
742         and word-wrap skipped test reason field.
743
744 2010-01-29  Kevin Rosenberg <kevin@rosenberg.net>
745         * Version 4.3.3
746         * clsql-cffi.asd: New file that causes CLSQL to use
747         CFFI-UFFI-COMPAT library rather than UFFI. Perform 'asdf:load-op
748         on CLSQL-CFFI rather than CLSQL system to use CFFI-UFFI-COMPAT.
749
750 2010-01-29  Nathan Bird  <nathan@acceleration.net>
751         * tests/*.lisp: A lot more tests and test setup tweaks.
752         * sql/expressions.lisp: output-sql on sql-relational-exp does
753         better arity checking now. (apply #'sql-and some-list) gives
754         better results.
755
756 29 Jan 2009  Kevin Rosenberg <kevin@rosenberg.net>
757         * sql/oodml.lisp: Fix for UPDATE-RECORD-FROM-SLOTS for normalized
758         view classes
759
760 28 Jan 2009  Kevin Rosenberg <kevin@rosenberg.net>
761         * Version 4.3.2
762         * Change "normalise" from British spelling for consistency with
763         other American spellings in CLSQL.
764
765 28 Jan 2009  Kevin Rosenberg <kevin@rosenberg.net>
766         * db-mysql/Makefile: Add directory for Fedora 11/12 on 64-bit
767         platform (Thanks to Michael Pheasant) and remove a 32-bit directory
768
769 28 Jan 2009  Kevin Rosenberg <kevin@rosenberg.net>
770         * Version 4.3.1
771         * sql/utils.lisp: Ensure Lispworks 6 lock is created in sharing mode
772
773 20 Jan 2009  Nathan Bird <nathan@acceleration.net>
774         * Version 4.3.0
775         * Rewrite tests to use datasets
776
777 07 Jan 2009  Kevin Rosenberg <kevin@rosenberg.net>
778         * sql/utils.lisp: Changes to support Lispworks 6
779
780 10 Dec 2009  Kevin Rosenberg <kevin@rosenberg.net>
781         * Version 4.2.0
782         * doc/ref-ooddl.lisp: Add needed CDATA escapes
783         * doc/clsql.pdf, doc/html.tar.gz: Build new manuals with
784         normalized view classes.
785
786 10 Dec 2009  Kevin Rosenberg <kevin@rosenberg.net>
787         Large patch from Thijs Oppermann <thijso+clsql@gmail.com> to add
788         support for normalized view classes.  When having view class that
789         inherit from others, CLSQL by default builds tab all the columns
790         from the parent in the child. This patch is meant to normali so
791         that a join is done on the primary keys of the concerned tables to
792         get a set.
793
794 10 Dec 2009  Kevin Rosenberg <kevin@rosenberg.net>
795         * sql/time.lisp: Patch from Oleg Tihonov to SYNTAX-PARSE-ISO-8601
796         to properly parse fractions of seconds.
797
798 10 Dec 2009  Kevin Rosenberg <kevin@rosenberg.net>
799         * sql/time.lisp: Patch from Oleg Tihonov to roll function
800         to properly use USEC argument.
801
802 21 Nov 2009  Kevin Rosenberg <kevin@rosenberg.net>
803         * Version 4.1.2
804         * Makefiles: On 64-bit Linux systems, try to build both 32 and 64-bit
805         interface libraries. This requires the installation of multiarch build tools
806         as well as 32-bit support libraries (libc, libz and libmysqlclient).
807
808 04 Sep 2009  Kevin Rosenberg <kevin@rosenberg.net>
809         * Version 4.1.1
810         * sql/fdml.lisp: Rework do-query to use supplied database
811         parameter when passed a sql-object-query
812         (thanks to JTK <jetmonk@gmail.com>)
813         * sql/generic-postgresql.lisp: Allow optional connect
814         parameters for postgresql databases (thanks to Stephen Compall)
815         * doc/ref-{clsql,connect}.xml, sql/db-interfaces.lisp:
816         Fix transposed letters (thanks to Stephen Compall)
817         * db-mysql/Makefile: Add directory for MacPorts mysql5 port
818         (thanks to Stephen Compall)
819         * sql/database.lisp: Have database-type default be
820         *default-database-type* (thanks to Desmond O. Chang)
821         * sql/transactions.lisp: Improved handlining of nested
822         transactions (thanks to Eli Naeher)
823         * sql/time.lisp: Commit patch to fix parse-iso-8601-duration
824         (thanks to Stephen Compall)
825         * sql/database.lisp: Use :verbose nil for asdf:operate
826         invocation (Thanks to Mackram Raydan)
827         * sql/metaclasses.lisp: Rework initialize-instance for
828         view-class-direct-slot-definition (thanks to Stephen Compall)
829
830 31 Aug 2009  Kevin Rosenberg <kevin@rosenberg.net>
831         * sql/db-interface.lisp: Fix spelling error (thanks to
832         David Thompson)
833         * clsql-mysql.asd/db-mysql/mysql-loader.lisp: Commit
834         patch from Andreas Franke to honor windows drive letter
835         when loading clsql_mysql C library.
836
837 31 Aug 2009  Kevin Rosenberg <kevin@rosenberg.net>
838         * Version 4.1.0
839         * db-mysql/mysql-{sql,api}.lisp,db-mysql/clsql_mysql.c:
840         Latest version of mysqlclient once again changed the C
841         structures from which the mysql backend reads data.
842         Rather than adding yet another structure definition which
843         is enabled by the client version as read by mysql-client-info.lisp,
844         the mysql backend has been re-written to ignore in the internal
845         C structures. Instead, C wrapper functions for slot access have
846         been added to clsql_mysql.c and are used by mysql-sql.lisp to
847         access the internals of C structures. This adds a bit of overhead,
848         but completely separates the lisp code from trying to keep up
849         with the continually changing internal C structure of mysql.
850         All tests in the test suite executed correctly with this change.
851
852 31 Aug 2009  Kevin Rosenberg <kevin@rosenberg.net>
853         * Version 4.0.6
854         * sql/database.lisp: Fix syntax on process-lock (thanks to
855         Stian Sletner)
856         * db-mysql/mysql-sql.lisp: Allow use of database parameter
857         in database-list function (thanks to Michael Pheasant)
858         * sql/oodml.lisp: Allow NULL values for floating-point fields
859         (thanks to Jan Rychter)
860
861 02 Jun 2009  Kevin Rosenberg <kevin@rosenberg.net>
862         * Version 4.0.5
863         * sql/database.lisp: Add process-lock for deleting database from
864         a pool (thanks to Ralf Mattes).
865
866 25 Feb 2008  Kevin Rosenberg <kevin@rosenberg.net>
867         * Version 4.0.4
868         * sql/expressions.lisp: Remove stray form (thanks to Samuel Ward)
869
870 12 Dec 2007  Kevin Rosenberg <kevin@rosenberg.net>
871         * sql/expressions.lisp: Bind *in-subselect* when outputting
872         selections (patch from unknown source).
873         
874 11 Dec 2007  Kevin Rosenberg <kevin@rosenberg.net>
875         * Version 4.0.3
876         * sql/metaclasses.lisp: Unify base-table processing by extracting 
877         the correct code from initialize-instance :around into the helper
878         function set-view-table-slot. Call that function also in
879         reinitialize-instance :around replacing erroneous code discovered
880         by Josh Feinstein.
881         
882 17 Nov 2007  Kevin Rosenberg <kevin@rosenberg.net>
883         * BUGS: Add note about benefit of using configure file to create
884         Makefiles (suggestion from Joe Corneli)
885         
886 22 Oct 2007  Kevin Rosenberg <kevin@rosenberg.net>
887         * Version 4.0.2
888         * db-postgresql/postgresql-sql.lisp: Patch from Gabriele Favalessa based on
889         Andrew Golding suggestion for more informative :error-id slot.
890         
891 17 Sep 2007  Kevin Rosenberg <kevin@rosenberg.net>
892         * Version 4.0.1
893         * db-mysql/mysql-sql.lisp: Convert query to uffi cstring (thanks to
894         Albert Krewinkel).
895         * doc/Makefile, doc/html.xsl: Change output encoding from ISO-8859-1 to UTF-8
896         
897 14 Sep 2007  Kevin Rosenberg <kevin@rosenberg.net>
898         * Version 4.0.0: Major version increase to warn of potential
899         backwards incompatibility.
900         * NEWS: Document potentional backward incompatible changes
901         * db-mysql/mysql-sql.lisp: Changes session SQL mode to ANSI immediately
902         after connecting. This may break compatibility with some applications
903         who are using non-ANSI features with MySQL. This change is required to
904         properly support view-classes using a string as their :base-table
905         attribute. This allows users to specify the case of table names. 
906         This is feature is even more essential for MySQL itself since MySQL
907         uses case-sensitive table names. Use connection-based database-create
908         and database-destroy rather than trying to invoke command-line mysql 
909         utility. Remove automatic upcasing of strings from list-indices. 
910         * db-postgresql/postgresql-sql.lisp: Use connection-based 
911         database-create and database-destroy rather than trying to invoke
912         command-line utilities.
913         * db-postgresql-socket/postgresql-socket-sql.lisp: Use
914         database-execute-command rather than execute-command for
915         database-{create,destroy}. Connect to postgres database
916         rather than template1 for those database creation/deletion.
917         * sql/metaclasses.lisp: Store the string value of :base-table if a 
918         string is provided. Perform sql-escape at time of view-table name
919         creation.
920         * tests/test-init.lisp: Use "ej_join" as a string, rather than a 
921         symbol, since "ej_join" is specified as :base-table. Clear the
922         expression output-cache in case the code for generating sql output
923         has changed.
924         * test/test-oodml.lisp: whitespace fix
925         * sql/ooddl.lisp: Use quoted string for primary key constraint if
926         table name is specified as a string.
927         * sql/oodml.lisp: Don't convert a string view-table name to database's 
928         default case.
929         * sql/expressions.lisp: Properly handle table and attribute identifiers
930         when they are a string. Do not change case of symbols to match database
931         default case.
932         * sql/operations.lisp: Change multiword symbols to upper case.
933         * sql/fddl.lisp: Quote base-table if a string to preserve case
934         for drop-table and create-table.
935         * tests/test-syntax.lisp: Add tests of low-level string attribute
936         identifiers.
937         
938 20 Jul 2007  Kevin Rosenberg <kevin@rosenberg.net>
939         * Version 3.8.6
940         * db-oracle/oracle-loader.lisp: Rework use of ORACLE_HOME directory
941         (problem noted on clsql-devel by icardo Boccato Alves)
942         * sql/pool.lisp: Remove incorrect keyword
943         * sql/database.lisp: Rework WITH-DATABASE to not make the database the
944         default database (reported by Saurabh Nanda and Chaitanya Gupta)
945         * doc/ref-connect.lisp: Update the documentation to WITH-DATABASE to
946         emphasis that make-default has a default value of nil.
947         * sql/transaction.lisp: Adjust commit/rollback messages for Microsoft
948         SQL Server. (patch from Nathan Bird)
949         * sql/metaclasses.lisp: Use finalize-inheritance hack on SBCL because
950         of trouble with def-view-class compilations (patch from Nathan Bird)
951         
952 15 Jul 2007  Kevin Rosenberg <kevin@rosenberg.net>
953         * Version 3.8.5
954         * db-mysql/mysql-loader.lisp: Revert previous change since libmysql is
955         not dynamically loaded on Windows
956         
957 22 Jun 2007  Kevin Rosenberg <kevin@rosenberg.net>
958         * Version 3.8.4
959         * db-mysql/mysql-loader.lisp: Do not bother loading libmysqlclient since
960         that library is dymically linked to clsql-mysql library. Thus, the mysql
961         library will be automatically loaded. This has only been tested on Linux,
962         thus far.
963
964 29 May 2007  Kevin Rosenberg <kevin@rosenberg.net>
965         * tests/test-fddl.lisp: Add :order-by for :fddl/big/1 as
966         reported by Ricardo Boccato Alves
967
968 02 May 2007  Kevin Rosenberg <kevin@rosenberg.net>
969         * sql/database.lisp: Add ability of WITH-DATABASE to return
970         multiple values (patch from Liam Healy)
971         
972 25 Apr 2007  Kevin Rosenberg <kevin@rosenberg.net>
973         * Version 3.8.3
974         * doc/connect.xml: variable description fix by Liam Healy
975         * db-sqlite3/sqlite3-api.lisp, uffi/clsql-uffi-loader.lisp:
976         Apply patches from Marcus Pierce to reduce load-time warnings
977         * sql/package.lisp: Export iso-timestring as requested by Kevin Blaisdell
978
979 23 Mar 2007  Kevin Rosenberg <kevin@rosenberg.net>
980         * Version 3.8.2
981         * sql/db-postgresql-socket-api.lisp: Change read-socket-sequence to
982         disable wide characters for crypt salt sequence on SBCL, based
983         on patch from Lars Nostdal.
984
985 26 Jan 2007  Kevin Rosenberg <kevin@rosenberg.net>
986         * Version 3.8.1
987         * sql/pool.lisp: Test pooled connection when popped from
988         the pool to ensure the connection still works. Currently, implemented
989         only for MySQL.
990
991 17 Jan 2007  Kevin Rosenberg <kevin@rosenberg.net>
992         * db-mysql/Makefile: Add potential mysql directories
993
994 31 Dec 2006  Kevin Rosenberg <kevin@rosenberg.net>
995         * sql/metaclasses.lisp: Remove usused saved-initargs
996         * clsql.asd: Also check ~/.clsql-init.lisp at load-time (usually used to
997         push search libraries)
998         
999 30 Dec 2006  Kevin Rosenberg <kevin@rosenberg.net>
1000         * Version 3.8.0: BACKWARD INCOMPATABLE CHANGE!
1001         * db-postgresql/postgresql-{api,loader,sql,package}.lisp:
1002         Apply patch from Edi Weitz to avoid conflict with new Lispworks 5
1003         POSTGRESQL package name. CLSQL's new package will be PGSQL, however
1004         on non-Lispworks platforms, the nickname POSTGRESQL will still be
1005         available. Applications directly using low-level POSTGRESQL package
1006         are recommended to use the new PGSQL name.
1007         * db-oracle/oracle-{api,sql}.lisp, sql/{expressions,loop-extension}.lisp,
1008         Apply patch from Edi Weitz to reduce compiler warnings.
1009         
1010 28 Dec 2006  Kevin Rosenberg <kevin@rosenberg.net>
1011         * Version 3.7.9
1012         * sql/expressions.lisp: Commit patch from Edi Weitz to
1013         use *default-database* for SQL-OUTPUT if no database is
1014         explicitly passed to function.
1015         * uffi/clsql-uffi-loader.lisp: Change load order to first try
1016         plain name/type before attempting user-specified paths (patch
1017         from Edi Weitz)
1018         * uffi/ptrbits.c: New file to return number of bits in an pointer
1019         * uffi/Makefile: use intbits to name .so file based on bit size.
1020         Build both 32-bit and 64-bit libraries on 64-bit platform.
1021         
1022 30 Nov 2006  Kevin Rosenberg <kevin@rosenberg.net>
1023         * Version 3.7.8
1024         * db-sqlite3/sqlite3-sql.lisp: Commit patch from Edi Weitz fixing
1025         error display
1026
1027 16 Oct 2006  Kevin Rosenberg <kevin@rosenberg.net>
1028         * Version 3.7.7
1029         * db-postgresql/postgresql-sql.lisp: Remove 
1030         uffi:convert-foreign-to-native wrapper since using cstring for
1031         PQresultErrorField
1032
1033 16 Oct 2006  Kevin Rosenberg <kevin@rosenberg.net>
1034         * Version 3.7.6
1035         * db-postgresql/postgresql-api.lisp: Fix UFFI return type for
1036         PQresultErrorField foreign function.
1037
1038 16 Oct 2006  Kevin Rosenberg <kevin@rosenberg.net>
1039         * Version 3.7.5
1040         * doc/intro.xml: Update supported platforms.
1041         * db-postgresql/postgresql-{package,api,sql}.lisp: Apply
1042         changes from Andew Golding to use a more-specific error code
1043         from PostgreSQL than the generic fatal error code of the result set.
1044
1045 03 Oct 2006  Kevin Rosenberg <kevin@rosenberg.net>
1046         * sql/syntax.lisp: Commit patch from Marcus Pearce to improve
1047         readtable modifications
1048
1049 02 Oct 2006  Kevin Rosenberg <kevin@rosenberg.net>
1050         * sql/syntax.lisp: Check that original reader syntax functions
1051         stored before trying to restore them.
1052         
1053 20 Sep 2006  Kevin Rosenberg <kevin@rosenberg.net>
1054         * sql/syntax.lisp: Apply patch from Marcus Pearce to correctly
1055         display sql reader syntax.
1056
1057 06 Sep 2006  Kevin Rosenberg <kevin@rosenberg.net>
1058         * uffi/clsql-uffi-loader.lisp, db-mysql/mysql-loader.lisp: Change from using *features*
1059         to decide on 64-bit platform and check size of most-positive-fixnum instead.
1060         Needed to support clisp amd64.
1061
1062 03 Sep 2006  Kevin Rosenberg <kevin@rosenberg.net>
1063         * Version 3.7.1
1064         * sql/metaclasses.lisp: Rework slot type's to be more AMOP
1065         compatibile. Add warning for a metaclass condition that should
1066         not occur.
1067         * sql/time.lisp: Fixed symbol case inconsistency causing problem
1068         in AllegroCL's modern lisp. First sign of bug noted by
1069         Joel Reymond on clsql-devel.
1070         * clsql.asd: Make time.lisp depend on utils.lisp
1071
1072 31 Aug 2006  Kevin Rosenberg <kevin@rosenberg.net>
1073         * db-mysql/mysql-loader.lisp: Apply patch from Marcus Pearce to push 
1074         *library-file-dir* to CLSQL's library path.
1075
1076 30 Aug 2006  Kevin Rosenberg <kevin@rosenberg.net>
1077         * Version 3.7.0: New platforms supported: SBCL/Win32, CLISP/Win32, CLISP/Cygwin,
1078         CLISP/Linux x86, CLISP/Linux amd64, OpenMCL amd64. CLISP support requires the
1079         latest development versions of CLISP, cffi, and cffi-uffi-compat packages.
1080         * Makefile.common: Add OS detection
1081         * uffi/make.sh, db-mysql/make.sh: Remove files
1082         * uffi/Makefile, db-mysql/Makefile: Add support for cygwin compilation.
1083         Refactor to remove need to make.sh shell scripts. 
1084         * clsql.asd: Add support for loop extensions for clisp. Support clisp via cffi.
1085         * sql/loop-extension.lisp: Define loop-record-iteration-path in CLSQL-SYS 
1086         package rather than CL-USER. Add support for ansi-loop on clisp. 
1087         * sql/ansi-loop.lisp: New file to support iteration on clisp. 
1088         * db-mysql/mysql-api.lisp: Remove old mysql C API functions that no
1089         longer exist in the mysql client library.
1090         * doc/ref-fdml.lisp: Correct default field-type.
1091         * sql/expressions.lisp: Use database-output-as-type if value exists for boolean output.
1092         Fixed bug with noted with MySQL 5.0.24 and boolean values.
1093         
1094 28 Aug 2006  Kevin Rosenberg <kevin@rosenberg.net>
1095         * Version 3.6.7
1096         * sql/oodml.lisp: Remove high debugging level declaration
1097
1098 14 Aug 2006  Kevin Rosenberg <kevin@rosenberg.net>
1099         * Version 3.6.6
1100         * sql/generic-postgresql.lisp: Fix assumption that postgres user id
1101         is always 1. Fixes problem noted with PostgreSQL 8.1.
1102
1103 12 Aug 2006  Kevin Rosenberg <kevin@rosenberg.net>
1104         * Version 3.6.5
1105         * sql/generic-postgresql.lisp: Add slot for has-table-pg_roles to
1106         lazily cache if pg_roles tables exist. Selectively use SQL from
1107         Joel's previous patch if pg_roles table exists. Should now work
1108         with both postgresql 7.4 and 8.x.
1109         
1110 12 Aug 2006  Kevin Rosenberg <kevin@rosenberg.net>
1111         * Version 3.6.4
1112         * clsql.asd: Add support for c:\etc\clsql-init.lisp as possible
1113         local initialization file
1114         * db-mysql/mysql-loader.lisp: Remove former method of using pathnames
1115         as name candidates.
1116         * db-odbc/odbc-api.lisp: Work-around Allegro/Windows FFI bug
1117         that generates incorrect integer return type
1118         * sql/generic-postgresql.lisp: Revert patch from Joel Reymont since
1119         it fails on versions of postgresql that lack the pg_role table
1120         
1121 07 Jul 2006  Kevin Rosenberg <kevin@rosenberg.net>
1122         * Version 3.6.3
1123         * sql/transactions.lisp: Important typo fix from Alexey Antipov
1124         for database-start-transaction
1125         
1126 04 Jul 2006  Kevin Rosenberg <kevin@rosenberg.net>
1127         * Version 3.6.2
1128         * db-postgresql/postgresql-sql.lisp: Apply patch from Vladimir Sekissov
1129         to close connection when failing to connect to database.
1130         * sql/generic-postgresql.lisp: Apply patch from Joel Reymont
1131         to avoid dropping system views.
1132         * sql/oodml.lisp: Apply patch from Joel Reymont to avoid listify
1133         a nil value [patch sponsored by Flektor]
1134         * clsql-uffi.asd, uffi/make.sh: Patch from Richard Kreuter
1135         for netbsd compilation
1136         
1137 15 May 2006  Kevin Rosenberg <kevin@rosenberg.net>
1138         * doc/ref-ooddl.xml: Add documentation for :db-reader and :db-writer
1139         slots for def-view-class macro [as reported missing by Thomas Fischbacher].
1140         
1141 09 May 2006  Kevin Rosenberg <kevin@rosenberg.net>
1142         * db-postgresql-socket/postgresql-socket-api.lisp:
1143         Apply patch from Marko Kocic adding the socket creation
1144         function needed for CLISP.
1145
1146 08 May 2006  Kevin Rosenberg <kevin@rosenberg.net>
1147         * Version: 3.6.0 (requires UFFI v1.5.11 or greater)
1148         * db-oracle/metaclasses.lisp: Patch from James Bielman for
1149         checking slot constraints.
1150         * db-oracle/oracle-{api,sql}.lisp: Avoid dead pointers on loading
1151         saved openmcl images (based on patch from James Bielman)
1152
1153 06 May 2006  Kevin Rosenberg <kevin@rosenberg.net>
1154         * doc/ref-fdml.xml: Documentation patch from Marcus Pearce for limit keyword
1155         
1156 03 May 2006  Kevin Rosenberg <kevin@rosenberg.net>
1157         * Version 3.5.7
1158         * sql/time.lisp: Apply patch from Aleksandar Bakic to extended
1159         duration parsing and unparsing to include year and month.
1160         * clsql-uffi.asd, uffi/clsql-uffi-loader.lisp: Apply patch from Nathan Bird
1161         improving library search on Windows platform.
1162         * doc/ref-fdml.xml, /doc/TODO, tests/test-fdml.lisp, tests/test-init.lisp:
1163         Apply patch from Marcus Pearce documenting and testing :limit and :offset for SELECT
1164
1165 20 Mar 2006  Kevin Rosenberg <kevin@rosenberg.net>
1166         * Version 3.5.6
1167         * clsql-postgresql-socket.asd, 
1168         * db-postgresql-socket/postgresql-socket-package.lisp: 
1169         Use the cl-md5 package on all platforms. Based on report 
1170         from Alan Caulkins.
1171         
1172 09 Mar 2006  Kevin Rosenberg <kevin@rosenberg.net>
1173         * Version 3.5.5
1174         * uffi/make.sh, db-mysql/make.sh: Add GNU uname
1175         
1176 28 Feb 2006  Kevin Rosenberg <kevin@rosenberg.net>
1177         * Version 3.5.4
1178         * sql/metaclasses.lisp: Apply patch from Friedrich Dominicus to
1179         fix accessor for new versions of SBCL
1180         * db-oracle/oracle-sql.lisp: Apply patch from James Bielman
1181         to improving parsing of time.
1182         * db-db2/db2-constants.lisp: Change NULL_HANDLE has suggested
1183         by Harold Lee.
1184         * db-oracle/oracle-dbi.lisp: Add support for SQL BIT type
1185         as noted by Russ Tyndall.
1186         
1187 16 Jan 2006  Kevin Rosenberg <kevin@rosenberg.net>
1188         * Version 3.5.3
1189         * sql/time.lisp: Commit patch from Aleksandar Bakic
1190         to properly handle destructive flag
1191         * db-postgresql-socket/postgresql-socket-api.lisp: Apply patch
1192         from Steven Harris for socket files with SBCL.
1193         * sql/pool.lisp: Apply patch from Vladimir Sekissov so that
1194         new connections added to the pool do not become the *default-database*
1195         * sql/connect.lisp: Optionally set *default-database* for pooled
1196         connection when make-default is generalized true.
1197         
1198 23 Dec 2005  Kevin Rosenberg <kevin@rosenberg.net>
1199         * Version 3.5.1
1200         * sql/expressions.lisp: Ensure table names are properly escaped
1201         before comparing -- fixes bug reported by AsbjĂžrn BjĂžrnstad
1202         on CLSQL-Devel.
1203
1204 02 Dec 2005  Kevin Rosenberg <kevin@rosenberg.net>
1205         * sql/generic-postgresql.lisp: improved decoding of table attribute
1206           parameters [from Vladimir Sekissov]
1207         * sql/metaclasses.lisp: check that metaclass is standard-db-class or
1208           it's subclass to prevent adding standard-db-object to supers if
1209           somebody in the path has it already when metaclass inherited from
1210           standard-db-class. [from Vladimir Sekissov]
1211         
1212 26 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
1213         * Version 3.5.0
1214         * tests/test-init.lisp, tests/test-fddl.lisp, tests/test-fdml.lisp, 
1215         * db-odbc/odbc-api.lisp, db-odbc/odbc-ff-interface.lisp,
1216         * db-odbc/odbc-package.lisp, db-odbc/odbc-constants.lisp
1217         * db-odbc/odbc-dbi.lisp, db-odbc/odbc-sql.lisp
1218         * sql/fddl.lisp, sql/generic-odbc.lisp, sql/db-interface.lisp
1219         * sql/transaction.lisp, sql/package.lisp, sql/time.lisp
1220         Commit patch from Dominic Robinson providing support for 
1221         Microsoft SQL Server
1222         * doc/csql.lisp: Fix typo in slot name
1223         
1224 24 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
1225         * Version 3.4.7
1226         * sql/time.lisp: Commit patch from Aleksandar Bakic for
1227         correct handling of decode-time usec value  
1228         * clsql-mysql.asd: Commit patch from Harald Hanche-Olsen to
1229         correct the name of the shared library file.
1230         
1231 16 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
1232         * version 3.4.6
1233         * sql/metaclasses.lisp: Avoid calling change-class on
1234         effective-slot-definitions on sbcl to conform to sbcl 0.9.6.38
1235         changes.
1236         
1237 15 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
1238         * Version 3.4.5
1239         * sql/expressions.lisp: Patch from James Biel to add subselects
1240
1241 14 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
1242         * Version 3.4.4 [ Requires UFFI 1.5.7+] 
1243         * db-oracle/oracle-{api,sql}.lisp: Patch from James Biel
1244         to fix lifetime of foreign strings for Oracle calls
1245
1246 13 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
1247         * Version 3.4.3
1248         * db-oracle/oracle-{api,sql}.lisp: Patch from James Biel
1249         to improve performance
1250         
1251 12 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
1252         * Version 3.4.2
1253         * clsql-uffi.asd: Patch from James Biel improving loading
1254         * db-oracle/oracle-{api,sql}.lisp: Patch from James Biel
1255         to support 64-bit lisps
1256         
1257 12 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
1258         * Version 3.4.1
1259         * sql/expressions.lisp: Escape numbers to SQL strings
1260         at expression level.
1261         
1262 11 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
1263         * Version 3.4: Add MySQL 5 support
1264         * db-mysql/mysql-client-info.lisp: Recognize MySQL 5
1265         * db-mysql/mysql-sql.lisp: Add support for views in MySQL 5
1266         * doc/mysql-macosx-notes.txt: New document from Martin Brooks
1267         
1268 7 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
1269         * src/time.lisp: Apply patch from Aleksandar Bakic for ROLL
1270         function.
1271         * BUGS: Added report for update-object-joins by Aleksandar Bakic
1272         
1273 4 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
1274         * Version 3.3.4 [UFFI >= 1.5.5 needed]
1275         * db-odbc/odbc-api.lisp: Apply patch from Yaroslav Kavenchuk
1276         to add missing #\' character.
1277         * clsql.asd: Add support for CLSQLINIT environmental variable,
1278         based on patch from Yaroslav Kavenchcuk. New version of UFFI
1279         required.
1280         
1281 30 Oct 2005  Kevin Rosenberg <kevin@rosenberg.net>
1282         * Version 3.3.3
1283         * sql/oodml.lisp: Apply patch from Drew Crampsie to fix
1284         update-objects-joins when using the :target-slot attribute
1285         
1286 26 Oct 2005  Kevin Rosenberg <kevin@rosenberg.net>
1287         * Version 3.3.2
1288         * sql/expressions.lisp: Avoid parenthesis on multiple group-by fields
1289         as noted by Harald Hanche-Olsen.
1290         * tests/test-syntax.lisp: Add test for multiple field group-by
1291         
1292 25 Oct 2005  Kevin Rosenberg <kevin@rosenberg.net>
1293         * Version 3.3.1
1294         * sql/time.lisp: Commit patch from Alan Shields to
1295         display escape string on wall-time display only when *print-escape*
1296         is true.
1297         
1298 11 Oct 2005  Kevin Rosenberg <kevin@rosenberg.net>
1299         * sql/metaclasses.lisp: Commit patch from Will to
1300         properly set db-reader slot in effective-slot-definition
1301         * sql/expressions.lisp: Commit patch from Alan Shields
1302         adding make-load-form for sql-relational-exp
1303         * sql/generic-postgresql.lisp: Commit patch from Aleksandar Bakic
1304         adding support for new NUMBER type
1305         
1306 17 Sep 2005  Kevin Rosenberg <kevin@rosenberg.net>
1307         * Version 3.3.0
1308         * sql/time.lisp: Apply patch from Alan Shields adding DATE type.
1309         * doc/ref-ooddl.xml: Documentation of new type
1310         * notes/add-type-hints.txt: New file from Alan Shields
1311         * sql/fddl.lisp: Add owner keyword to drop-table as suggested
1312         by Francis Leboutte
1313         * db-postgresql-socket/postgresql-socket-sql.lisp: Fix database-probe
1314         as noted by Francis Leboutte. Similar fix applied to db-mysql and
1315         db-postgresql.
1316         * sql/expressions.lisp: Allow string table names for output as
1317         contributed by Francis Leboutte.
1318         * examples/clsql-tutorial.lisp: Support :postgresql-socket as noted 
1319         by Francis Leboutte
1320         
1321 08 Sep 2005  Kevin Rosenberg <kevin@rosenberg.net>
1322         * Version 3.2.4
1323         * doc/into.xml: Change download from ftp to http protocol
1324
1325 08 Sep 2005  Kevin Rosenberg <kevin@rosenberg.net>
1326         * Version 3.2.3
1327         * db-oracle/oracle-sql.lisp: Correction for v3.2.2 changes by
1328         Edi Weitz
1329
1330 08 Sep 2005  Kevin Rosenberg <kevin@rosenberg.net>
1331         * Version 3.2.2
1332         * db-oracle/oracle-sql.lisp: Add check for zero increment as
1333         suggested by Edi Weitz. Add missing database-sequence-last function
1334         as noted and tested by Edi Weitz. Ensure that UFFI buffer is freed
1335         in handle-oci-error. Add unwind-protect to sql-stmt-exec. Free UFFI
1336         stmthp object when query cursor is freed with OCI.
1337
1338 22 Aug 2005  Kevin Rosenberg <kevin@rosenberg.net>
1339         * uffi/clsql-uffi-loader.lisp: Commit patch from astor@pvv.ntnu.no to
1340         display search path when error occurs loading foreign library.
1341         
1342 05 Jul 2005  Kevin Rosenberg <kevin@rosenberg.net>
1343         * Version 3.2.1
1344         * doc/appendix.xml: Incorporate Edi Weitz's notes into documentation
1345         with changes to support case-sensitive lisp implementations. Add
1346         paragraph on using /etc/clsql-init.lisp site initialization file.
1347         * clsql.asd: Load file /etc/clsql-init.lisp, if it
1348         exists, after package is loaded to set site-specific configuration
1349         
1350 2005-06-24  Edi Weitz  <edi@agharta.de>
1351         * sql/db-interface.lisp: Added new special variable
1352         *FOREIGN-LIBRARY-SEARCH-PATHS* and function PUSH-LIBRARY-PATH to
1353         manipulate it.
1354         * sql/package.lisp: Export these.
1355         * uffi/clsql-uffi-loader.lisp: Used new variable; changed order of
1356         libs.
1357         * db-mysql/mysql-loader.lisp: Changed order of libs.
1358
1359 09 Jun 2005 Kevin Rosenberg <kevin@rosenberg.net>
1360         * Version 3.2.0: REQUIRES UFFI VERSION 1.4.38 OR HIGHER
1361         * clsql-mysql.asd: Renamed clsql/mysql interface library from
1362         mysql to clsql_mysql
1363         * clsql-uffi.asd: Renamed clsql/uffi interface library from
1364         mysql to clsql_uffi
1365         * uffi/clsql_uffi.c: Renamed from uffi.c
1366         * db-mysql/clsql_mysql.c: Renamed from mysql.c
1367         * db-mysql/Makefile, db-mysql/Makefile.msvc, db-mysql/mysql-loader.lisp: Rename shared library
1368         * uffi/Makefile, uffi/Makefile.msvc, uffi/uffi-loader.lisp: Rename shared library
1369         * db-*/*-loader.lisp: Commit big patch from Edi Weitz to remove
1370         absolute pathnames when searching for foreign libraries.
1371         foreign library loading.
1372         
1373 07 Jun 2005 Kevin Rosenberg <kevin@rosenberg.net>
1374         * Version 3.1.16
1375         * db-mysql/mysql-api.lisp: Commit patch from Espen Wiborn
1376         to support UTF-8 on sbcl unicode.
1377         
1378 18 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
1379         * Version 3.1.15
1380         * sql/time.lisp: Fix bug in roll that caused failure in test suite
1381
1382 17 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
1383         * Version 3.1.14
1384         * sql/oodml.lisp: Properly handle when db-writer is NIL
1385
1386 11 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
1387         * sql/expressions.lisp: Avoid using simple-string declaration when
1388         a non-simple string may be encountered. [issue noted by 
1389         will@cesmail.net] Add a simple-string declaration for a local
1390         string generated.
1391         
1392 06 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
1393         * sql/oodml.lisp: Change db-writer and db-reader processing to accept
1394         a symbol as well as function to serve as a function designator
1395         [issue noted by will@cesmail.net]
1396
1397 05 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
1398         * Version 3.1.13
1399         * sql/time.lisp: Fix error in submitted patch which caused error
1400         in timestrings with 19 or less characters.
1401         
1402 27 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
1403         * Version 3.1.12
1404         * db-postgresql-socket/postgresql-api.lisp: Commit patch from Tim Howe
1405         to fix read-socket-sequence on non-sb-unicode sbcl.
1406         
1407 26 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
1408         * Version 3.1.12
1409         * sql/time.lisp: Commit patch from Daniel Lowe which adds support
1410         for fractional seconds which is required by PostgreSQL
1411         * db-postgresql/postgresql-loader.lisp: Add library path for Windows
1412         
1413 25 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
1414         * sql/csql.lisp: Update URL for "SQL for Web Dummies" [Sean Champ]
1415         
1416 24 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
1417         * Version 3.1.11
1418         * sql/syntax: Commit patch from Alan Shields to supress reader
1419         macros when *read-supress* is T.
1420         
1421 13 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
1422         * Version 3.1.10
1423         * db-postgresql-socket/postgresql-socket-api.lisp: Commit patch
1424         from Janis Dzerins to support unicode on SBCL
1425         * sql/syntax: Commit patch from Alan Shields to improve reporting
1426         of invalid syntax statements.
1427         
1428 06 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
1429         * Version 3.1.9
1430         * db-mysql/mysql-sql.lisp: Add port to connection specification
1431         based on patch from Dave Watson
1432         * doc/appendix.xml: Document MySQL port parameter to connection spec
1433
1434 03 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
1435         * Version 3.1.8
1436         * sql/time.lisp: Patch from Keith James for parsing ISO-8601 timestamps
1437         
1438 18 Mar 2005 Kevin Rosenberg <kevin@rosenberg.net>
1439         * sql/oodml.lisp: Add missing database argument [Patch from
1440         Alan Caulkins]
1441         
1442 03 Mar 2005 Kevin Rosenberg <kevin@rosenberg.net>
1443         * sql/oodml.lisp: Improve database priority in 
1444         update-records-from-instance [Patch from Walter C. Pelissero]
1445         
1446 17 Feb 2005 Kevin Rosenberg <kevin@rosenberg.net>
1447         * Version 3.1.7
1448         * sql/package.lisp: Export database-reconnect from clsql-sys
1449
1450 08 Feb 2005 Kevin Rosenberg <kevin@rosenberg.net>
1451         * sql/oodml.lisp: Use explicit database in fault-join-target-slot
1452         [Patch from Walter Pelissero]
1453         
1454 29 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
1455         * db-postgresql/postgresql-loader.lisp: Add additional
1456         directories to Fink on darwin [patch from Cyrus Harmon].
1457         
1458 29 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
1459         * Version 3.1.6
1460         * sql/oodml.lisp: Clear view instance cache when delete-instance-records
1461         is invoked [suggested by Alan Shutko].
1462         * uffi/clsql-uffi-loader.lisp: Improvements for loading with SBCL X86-64
1463         * sql/metaclasses.lisp: Don't change case of a :base-table string supplied
1464         to def-view-class [fix suggested by Fred Gilham].
1465         
1466 25 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
1467         * tests/*.lisp: Change Vladamir to Vladimir per Cyrus Harmon's
1468         suggestion.
1469         * sql/utils.lisp: Fix unnecessary consing noted by Fred Gilham.
1470         * doc/*.xml: Fix spelling of Vladimir
1471         
1472 24 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
1473         * doc/bookinfo.xml, doc/csql.xml, doc/intro.xml: Update links
1474         now that LispWorks is an independant company [noted by
1475         Martin Thornquist]
1476         
1477 22 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
1478         * db-sqlite/sqlite-sql.lisp, db-sqlite3/sqlite3-sql.lisp:
1479         Better support for 64 bit environments
1480
1481 05 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
1482         * Version 3.1.5
1483         * sql/metaclass.lisp: Make t the default value of :set
1484         [noted by Cyrus Harmon]
1485
1486 28 Dec 2004 Kevin Rosenberg <kevin@rosenberg.net>
1487         * Version 3.1.4
1488         * uffi/clsql-uffi.lisp: Add support for unsigned integers
1489         * db-mysql/mysql-sql.lisp: Add support for detecting/marking
1490         unsigned integers. Apply patch from Yannick Gingras to
1491         implement database-sequence-last.
1492         
1493 26 Dec 2004 Kevin Rosenberg <kevin@rosenberg.net>
1494         * doc/ref-fdml.lisp: Fix variable tag name to varname
1495         [noted by Eduardo Munoz]
1496         * db-mysql/mysql-loader.lisp: Handle library paths for 64-bit systems
1497         
1498 06 Dec 2004 Kevin Rosenberg <kevin@rosenberg.net>
1499         * Version 3.1.2
1500         * sql/ooddl.lisp: Accept patch from Klaus Harbo for
1501         update-object-joins.
1502         * sql/metaclass.lisp: Remove unnecssary (and runtime error
1503         causing) change-class invocation when running on CLISP.
1504         * db-mysql/mysql-api.lisp: Commit patch from Paul Werkowski
1505         to fix structure name.
1506         * sql/database.lisp: More specific error message with trying
1507         to use a database value of NIL.
1508         * sql/expressions.lisp: Accept a string for the table name
1509         in (sql-output sql-delete database) [suggested by Ed Symanzik].
1510         
1511 11 Nov 2004 Kevin Rosenberg <kevin@rosenberg.net>
1512         * Version 3.1.1
1513         * sql/generic-postgresql.lisp: Commit patch from Chris Capel to
1514         ignore columns which have been dropped.
1515         * clsql-postgresql-socket.asd, db-postgresql-socket/postgresql-socket-package.lisp:
1516         Use sb-md5 package on SBCL, recommended by Chris Capel
1517         
1518 09 Nov 2004 Kevin Rosenberg <kevin@rosenberg.net>
1519         * Version 3.1.0 released: New SQLite3 backend by Aurelio Bignoli
1520         * doc/appendix.xml: Document SQLITE3 backend, patch by Aurelio Bignoli
1521         * sql/operations.lisp: Add lower and upper SQL functions [Daniel Lowe].
1522         
1523 08 Nov 2004 Kevin Rosenberg <kevin@rosenberg.net>
1524         * sql/expressions.lisp: Fix slot name [thanks to Daniel Lowe]
1525
1526 31 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
1527         * clsql-sqlite3, db-sqlite3/*: NEW BACKEND
1528         contributed by Aurelio Bignoli
1529
1530 23 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
1531         * sql/oodml.lisp: Commit patch from Walter Pelis
1532         to use an object's database for a select on its slot.
1533         
1534 20 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
1535         * uffi/uffi.c, uffi/clsql-uffi.lisp: Commit patch from
1536         Aurelio Bignoli to fix negative 64-bit integers
1537         
1538 07 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
1539         * db-mysql/mysql.c: Fix parameters in bind_param call
1540
1541 07 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
1542         * uffi/clsql-uffi.lisp: Add support for :blob result-type
1543         * db-mysql/mysql-sql.lisp: Add support for :blob
1544         result-type
1545         
1546 04 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
1547         * db-mysql/mysql-sql.lisp, db-db2/db2-sql.lisp: Add
1548         missing quotes for types in code that is still in development
1549         (thanks to Joerg Hoehle)
1550         
1551 03 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
1552         * Version 3.0.8 released
1553         * db-sqlite/sqlite-*.lisp: Apply patch from
1554         Aurelio Bignoli with improvements
1555         
1556 01 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
1557         * multiple: Apply patch from Joerg Hoehle with multiple
1558         improvements.
1559         
1560 01 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
1561         * Version 3.0.7 released
1562         * sql/oodml.lisp, sql/package.lisp, db-mysql/mysql-objects.lisp:
1563         Add support for mediumint.
1564         * sql/metaclass.lisp: Rework CLISP MOP handling
1565         * sql/ooddl.lisp: Work-around to have CLISP finalize standard-db-class
1566         
1567 28 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
1568         * sql/metaclass.lisp: Support CLISP's attribute name
1569         for the type field in direct class slots
1570         
1571 27 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
1572         * Version 3.0.6 released
1573         * BUGS: New file. Document suspected SIGPIPE
1574         interaction between SBCL and libpq used in
1575         postgresql backend.
1576         * doc/ref-fdml.lisp: Document the :caching and :refresh
1577         keywords of the SELECT function.
1578         * doc/ref-ooddml.lisp: Document the new *default-caching*
1579         variable.
1580         * sql/package.lisp: Export *default-caching*
1581         * sql/oodml.lisp: Use *default-caching* to 
1582         control default caching behavior.
1583         
1584 21 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
1585         * Version 3.0.5 release
1586         * doc/appendix.xml: Add note about loading Oracle8 version
1587         * db-oracle/oracle-loader.lisp: Support Oracle8 based on
1588         data from David Young.
1589
1590 10 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
1591         * doc/Makefile, doc/catalog-darwin.xml: Apply
1592         patch from Cyrus Harmon for building docs on Mac OS X
1593         * sql/package.lisp: Add new (pre-release) clisp MOP package     
1594         
1595 09 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
1596         * Version 3.0.4 Release
1597         * multiple: Remove superfluous quotes in UFFI def-type
1598         and def-foreign-type forms.
1599         
1600 07 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
1601         * Version 3.0.3 Release
1602         * db-postgresql-socket/postgresql-socket-api.lisp: Commit patch
1603         from Tagore Smith to call force-output after sending authentication
1604         * db-odbc/odbc-api.lisp: Move ODBC v3 conversons
1605         * db-odbc/odbc-sql.lisp: Load mysql or postgresql package when connecting
1606         to a database of that type so that functions that indicate capabilities of
1607         database are available.
1608         
1609 02 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
1610         * db-odbc/odbc-api.lisp: More conversions to ODBC v3
1611         
1612 02 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
1613         * Version 3.0.2 Release
1614         * TODO: Add note about ODBC on Windows
1615         * db-odbc/odbc-loader.lisp: Add /winnt/system32/ to
1616         search directories
1617         * db-odbc/odbc-ff-interface.lisp: Change the return type 
1618         of SQLSetEnvAttr to :short
1619         
1620 02 Sep 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1621         * examples/clsql-tutorial.lisp: added missing initarg for the COMPANYID
1622         slot of the employee View Class definition [reported by Franz Deuzer]. 
1623
1624 01 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
1625         * Version 3.0.1 Release
1626         * tests/test-init.lisp: Add second join class to employee-address
1627         to test a class with two join slots.
1628         * sql/oodml.lisp: Fix find-all function for a class with multiple
1629         join slots
1630         * TODO: Remove need to test/fix multiple join classes
1631         
1632 27 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
1633         * db-mysql/Makefile, db-mysql/mysql-loader.lisp: accept patch
1634         from Jon Buffington for file locations on Darwin.
1635         
1636 17 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
1637         * sql/db-interface.lisp: Improve messages when functions
1638         are passed a database object, but the method is not specialized
1639         for that database type.
1640         * sql/metaclasses.lisp: Fix inline declaration (reported by
1641         Cyrus Harmon)
1642         
1643 14 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
1644         * TODO: Add bug report about SQL generation with a table
1645         containing two join slots.
1646         * sql/oodml.lisp: Add optional size to VARCHAR type
1647         
1648 3 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
1649         * Version 3.0.0 Release
1650         * sql/expressions.lisp: Change declaration that
1651         caused error on openmcl
1652         * db-aodbc/aodbc-sql.lisp: Fix storage location
1653         of odbc connection. Specialize database-query since
1654         dbi's :types keyword is different than generic-odbc's
1655         :result-types keyword
1656         * sql/db-interface.lisp: Add warnings for methods
1657         not specialized by a db backends
1658         * tests/test-fddl.lisp: Fix case of symbols to support
1659         case-sensitive Allegro 
1660         * db-oracle/oracle-sql.lisp: Rework errbuf in handle-oci-error
1661         * tests/test-init.lisp: Note that odbc driver for postgresql
1662         doesn't properly handle table ownership
1663         * LATEST-TEST-RESULTS: update with version 3.0.0
1664         
1665 1 Aug 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1666         * sql/expressions.lisp: conditionalise escaping of backslash in 
1667         generated SQL strings on backend. 
1668         * tests/test-fdml.lisp: test for escaping of backslash. 
1669         * sql/oodml.lisp: minor tidying in FIND-ALL. 
1670
1671 26 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1672         * NEWS: Initial 3.0 announcement draft
1673         * README: Expand acknowledgements of incorporated projects
1674         * CONTRIBUTORS: Further document Marcus Pearce contributions
1675         
1676 23 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1677         * sql/oodml.lisp: add DATABASE-OUTPUT-SQL-AS-TYPE method specialisation
1678         to print floats with the exponent markers removed. 
1679         * tests/test-oodml.lisp: add tests for updating records with floats. 
1680
1681 22 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1682         * db-oracle/oracle-sql.lisp: enable :OWNER :ALL in DATABASE-LIST-* for 
1683         CommonSQL compatibility. 
1684         * tests/test-init.lisp: skip test :FDDL/TABLE/6 on Oracle since 
1685         this column constraint syntax is not supported. 
1686         * tests/test-fddl.lisp: change column indexed in test :FDDL/INDEXES/2
1687         from EMPLID to LAST_NAME since Oracle complains that EMPLID is already 
1688         indexed. 
1689
1690 17 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1691         * doc/ref-fdml.xml: document CACHE-TABLE-QUERIES. 
1692         * tests/test-fdml.xml: add test for CACHE-TABLE-QUERIES. 
1693         * doc/ref-ooddl.xml: minor changes to syntax and examples entries 
1694         for uniformity. 
1695         * doc/ref-oodml.xml: add examples for OODML. 
1696         * sql/oodml.lisp: ensure SELECT passes on its REFRESH argument 
1697         to FIND-ALL. 
1698         * sql/metaclasses.lisp: update docstrings. 
1699         * tests/test-init.lisp: change :db-constraints for emplid to 
1700         (:not-null :unique) as a temporary test for multiple column constraints 
1701         in DEF-VIEW-CLASS. 
1702         * tests/test-oodml.lisp: add tests for *DB-AUTO-SYNC* and 
1703         return type of (SETF SLOT-VALUE-USING-CLASS). 
1704         * TODO, doc/TODO: remove items done. 
1705         * README: fix typo. 
1706         
1707 16 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1708         * sql/oodml.lisp: on Lispworks, use weak valued hash tables for 
1709         object caching. 
1710         * sql/expressions.lisp: Fix SQL generation for the symbol NIL. 
1711
1712 16 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1713         * sql/expressions.lisp: reactivate caching of generated SQL strings. 
1714         Move methods for DATABASE-OUTPUT-SQL, OUTPUT-SQL and SQL-HASH-KEY 
1715         here from sql/fdml.lisp. Rationalise behaviour of SQL-OUTPUT, 
1716         OUTPUT-SQL and DATABASE-OUTPUT-SQL. 
1717         * sql/fdml.lisp: remove disabled method ADD-STORAGE-CLASS. Move 
1718         methods for DATABASE-OUTPUT-SQL, OUTPUT-SQL and SQL-HASH-KEY to 
1719         sql/expressions.lisp. 
1720         * sql/ooddl.lisp: replace call to DATABASE-OUTPUT-SQL in 
1721         DATABASE-PKEY-CONSTRAINT with call to SQL-OUTPUT. 
1722         * sql/generics.lisp: add docstrings. 
1723
1724 15 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1725         * Version 2.11.16
1726         * db-oracle/oracle-sql.lisp: Remove OpenMCL specific
1727         code in favor of fixing UFFI with James Bielman's patch
1728         
1729 14 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1730         * Version 2.11.15
1731         * db-oracle/oracle-sql.lisp: Apply patch for OpenMCL/OSX
1732         from James Bielman
1733         
1734 14 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1735         * README, INSTALL: update URLs. Minor updates to descriptions. 
1736         * tests/README: remove stuff about editing contexts. 
1737
1738 12 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1739         * db-oracle/oracle-objects.lisp: Change *default-varchar-length* to 
1740         *default-string-length*
1741         
1742 12 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1743         * tests/test-syntax.lisp, tests/test-fdml.lisp: add tests for escaping 
1744         of single quotes. 
1745         * tests/test-fddl.lisp: add tests for column and table constraints 
1746         in CREATE-TABLE. Add test for OWNER keyword parameter to 
1747         LIST-TABLES (assuming same underlying machinery in other FDDL 
1748         functions). 
1749         * tests/test-init.lisp: restrict above test to postgresql and oracle. 
1750         
1751 12 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1752         * db-sqlite/sqlite-sql.lisp: Fix condition as reported by Aurelio 
1753         Bignoli.
1754
1755 11 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1756         * sql/oodml.lisp, sql/package.lisp, doc/ref-ooddl.lisp, db-mysql/mysql-objects.lisp: Add tinyint type
1757         
1758 10 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1759         * Version 2.11.14
1760         * doc/*.xml: documentation additionals and fixes so
1761         that docbook passes xmllint.
1762         
1763 9 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1764         * Version 2.11.13
1765         * sql/fdml.lisp: Apply patch from Kim Minh Kaplan 
1766         to change escaping of single quotes. Mild optimizations
1767         for escaped string output.
1768         * doc/ref-ooddl.lisp: documentation additions
1769         * doc/ref-oodml.lisp: Add purpose to functions
1770         * TODO: Add need to test single quote escaping
1771         
1772 7 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1773         * doc/ref-ooddl.xml, doc-ref-oodml.xml: documentation additions
1774         * sql/ooddl.lisp: Added SMALLINT type
1775         * sql/generic-postgresql.lisp: Added INT2 as SMALLINT type
1776         * db-mysql/mysql-objects.lisp: Added SMALLINT type
1777         * sql/package.lisp: Export SMALLINT
1778         * sql/expressions.lisp: Add MYSQL's UNSIGNED and ZEROFILL as
1779         db-constraints
1780         
1781 6 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1782         * sql/expressions.lisp: add AUTO-INCREMENT and UNIQUE to the 
1783         recognised column constraints for CREATE-TABLE and the :DB-CONSTRAINTS 
1784         View Class slot option. 
1785         * sql/ooddl.lisp: fix bug preventing the :DB-CONSTRAINTS View Class 
1786         slot option accepting a list of constraints [reported by Travis Cross]. 
1787         * doc/ref-fddl.xml: add some examples of specifying column and 
1788         table constraints to the documentation for CREATE-TABLE. 
1789         * TODO: add note about adding tests for table/column constraints. Add 
1790         optimisation note about using cached attribute types in insert/update
1791         operations. 
1792         
1793 3 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1794         * doc/appendix.xml: add notes about idiosyncrasies/unsupported 
1795         features and so on the documentation for each backend. 
1796         * doc/TODO: remove items done. 
1797         * doc/ref-transaction.xml: add note in introduction about 
1798         autocommit mode as a difference from CommonSQL. 
1799         * doc/ref-syntax.xml: add notes about SQL syntax state functions 
1800         being macros in CLSQL. Add note about SQL operators which are 
1801         CLSQL extensions. 
1802
1803 2 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1804         * Version 2.11.12 released
1805         * doc/ref-recording.xml: document SQL I/O recording. 
1806         * doc/ref-prepared.xml: new file for documenting prepared statements. 
1807         * doc/clsql.xml: comment out include for large object and CLSQL-SYS 
1808         documentation. 
1809         * doc/ref-conditions.xml: complete documentation of condition system. 
1810         * doc/global-index.xml: add symbols from condition system and remove
1811         those from LOB and prepared statement APIs. 
1812         * doc/ref-fdml.xml: complete documentation of FDML.
1813         * doc/glossary.xml: add View Class. 
1814         * doc/TODO: remove items done. 
1815         * sql/conditions.lisp: make SQL-CONDITION a parent of SQL-ERROR. 
1816         * sql/package.lisp: remove FOR-EACH-ROW from exports list. Export 
1817         additional slot accessors for condition classes. 
1818
1819 1 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1820         * doc/ref-ooddl.lisp: Add documentation
1821         * doc/ooddl.lisp: Move *DEFAULT-VARCHAR-LENGTH* from oodml.lisp
1822         and rename to *DEFAULT-STRING-LENGTH*. Add docstring.
1823         * doc/oodml.lisp: Rename references to new name of
1824         *DEFAULT-STRING-LENGTH*
1825
1826 1 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1827         * doc/ref-transaction.xml: document transaction handling. 
1828         * sql/transaction.lisp: ensure that COMMIT, ROLLBACK and 
1829         START-TRANSACTION return NIL as per the CommonSQL spec. Modify 
1830         ADD-TRANSACTION-{ROLLBACK|COMMIT}-HOOK such that a database is 
1831         passed as a keyword argument defaulting to *DEFAULT-DATABASE*.
1832         Added docstrings. 
1833
1834 30 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1835         * doc/ref-fdml.xml: document the FDML. 
1836         * doc/ref-fddl.xml: move documentation for TRUNCATE-DATABASE here. 
1837         * sql/ooddl.lisp: moved *default-varchar-length* to here from 
1838         oodml.lisp and renamed to *default-string-length*
1839         
1840 23 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1841         * sql/oodml.lisp: Add keyword :transactions to def-view-from-class
1842         to allow specifying transactionless table creation
1843         * doc/ref-oodml.lisp: Add new keyword to signature of 
1844         DEF-VIEW-FROM-CLASS     
1845         
1846 18 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1847         * Version 2.11.11
1848         * sql/expressions.lisp: when removing duplicate table identifiers 
1849         in the FROM clause of a query, check both table name and alias 
1850         are equivalent. 
1851         * sql/fdml.lisp: remove DESCRIBE-TABLE. 
1852         * sql/db-interface.lisp: remove generics DESCRIBE-TABLE and 
1853         DATABASE-DESCRIBE-TABLE. 
1854         * sql/package.lisp: remove DESCRIBE-TABLE, DATABASE-DESCRIBE-TABLE 
1855         and LIST-TABLE-INDEXES. 
1856         * sql/generic-postgresql.lisp: add reader conditional #+nil for 
1857         DATABASE-DESCRIBE-TABLE and comment about its uses for 
1858         re-implementing LIST-ATTRIBUTE-TYPES with a single SQL query 
1859         returning type info for all attributes. 
1860         Fix DATABASE-SEQUENCE-LAST. 
1861         * sql/fddl.lisp: remove LIST-TABLE-INDEXES and redefine 
1862         LIST-INDEXES with additional keyword parameter :ON. 
1863         * tests/test-fddl.lisp: replace LIST-TABLE-INDEXES in :fddl/index/3 
1864         with LIST-INDEXES (with :ON parameter). 
1865         * doc/global-index.xml: remove DESCRIBE-TABLE and LIST-TABLE-INDEXES. 
1866         * doc/ref-connect.xml: minor tidying. 
1867         * doc/ref-fddl.xml: document the FDDL. 
1868         * doc/TODO: removed items done. Moved note about transaction handling 
1869         from TODO to here. 
1870         * TODO: move note about transaction handling to doc/TODO. Added 
1871         optimization note about LIST-ATTRIBUTE-TYPES and LIST-INDEXES. 
1872         
1873 13 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1874         * Version 2.11.10
1875         * sql/syntax.lisp: updated docstrings. 
1876         * sql/package.lisp: exported DATABASE-NAME-FROM-SPEC from CLSQL 
1877         package.
1878         * sql/database.lisp: add docstrings for CREATE-DATABASE, 
1879         DESTROY-DATABASE, TRUNCATE-DATABASE and LIST-DATABASES. Replace 
1880         CLSQL-GENERIC-ERROR signalled in RECONNECT with SQL-CONNECTION-ERROR. 
1881         * doc/ref-syntax.xml, doc/global-index.xml: minor tidying. 
1882         * doc/ref-connect.xml: document connection/initialisation. 
1883         * doc/ref-fdml.xml: move TRUNCATE-DATABASE reference entry here. 
1884         * doc/TODO: remove items done. 
1885         * Makefile: add db-oracle to to SUBDIRS. 
1886
1887 13 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1888         * sql/oodml.lisp: Add new serialization functions:
1889         WRITE-INSTANCE-TO-STREAM and READ-INSTANCE-FROM-STREAM
1890         * sql/expressions.lisp: Avoid duplicate FROM names when selecting
1891         from a table that has more than one primary index.
1892         * sql/conditions.lisp: Fix printing of closed-database error
1893         
1894 13 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1895         * Version 2.11.9
1896         * sql/conditions.lisp: Set initial slot value for message in SQL-WARNING
1897         * sql/transactions.lisp: Correctly set slots of SQL-WARNING
1898
1899 12 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1900         * sql/package.lisp: export DATABASE-TYPE from CLSQL and subclasses 
1901         of SQL-EXPRESSION from CLSQL-SYS. 
1902         * sql/syntax.lisp: make error signalled in SQL-OPERATION an 
1903         SQL-USER-ERROR. Make SQL-OPERATOR return just one value. 
1904         * doc/Makefile: added Mandrake linux. 
1905         * doc/catalog-redhat.xml, doc/catalog-mandrake.xml: new files. 
1906         * doc/appendix.xml: fixed little typo (adsf). 
1907         * doc/glossary.xml: removed closed-database and note about 
1908         sql-expression, added some entries. 
1909         * doc/ref-syntax.xml: documented the symbolic SQL syntax. 
1910
1911 10 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1912         * Version 2.11.8
1913         * db-mysql/mysql-loader.lisp: Remove load of unnecessary zlib library
1914         * multiple: Add generalized-boolean type as requested by
1915         Edi Weitz
1916         * TODO: Added need for test of generalized-boolean
1917         
1918 9 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1919         * Version 2.11.7 released
1920         * uffi/clsql-uffi-loader.lisp: Apply patch from Edi Weitz
1921         for loading with clc-register-user-package. Remove personal
1922         directory from path lisp.
1923         * db-mysql/mysql-loader.lisp: Similar changes
1924         
1925 8 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1926         * Version 2.11.6 released
1927         * sql/oodml.lisp: Commit patch from Edi Weitz
1928         to fix symbol writing/reading
1929         * TODO: Add need for symbol slot test
1930         
1931 7 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1932         * sql/package.lisp: remove duplicate export of 
1933         *CACHE-TABLE-QUERIES-DEFAULT*. 
1934         * doc/ref-*.xml, doc/global-index.xml: new files documenting 
1935         the CommonSQL compatible api. 
1936         * tests/test-fdml.lisp: modified the test :fdml/transaction/3 to 
1937         reflect changes in return values of WITH-TRANSACTION. 
1938
1939 04 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1940         * tests/README: Fix filename [reported by Bill Clementson]
1941         * sql/transactions.lisp: Apply return value patch from
1942         Edi Weitz for WITH-TRANSACTION
1943         * tests/README: Remove ptester package requirement (as noted
1944         by Bill Clementson)
1945         
1946 03 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1947         * Version 2.11.5 released
1948         * examples/clsql-tutorial.lisp: Remove obsolete :nulls-ok attribute,
1949         Select connection-spec based on connection type. Bugs reported by
1950         Bill Clementson.
1951         * uffi/uffi.dll, uffi/uffi.lib: Recompile with Visual Studio 2003
1952         * db-mysql/mysql-loader.lisp: Update check for zlibwapi library
1953         name on Windows, add \bin\ directory to search path
1954         
1955 31 May 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1956         * db-odbc/odbc-sql.lisp: DB-TYPE replaced with DATABASE-TYPE in 
1957         DATABASE-CONNECT. 
1958         * sql/operations.lisp: substr now generates SUBSTR for use on 
1959         Oracle; added a new operator SUBSTRING for use elsewhere. minus 
1960         now generates MINUS for use on Oracle. Nvl signals an error if 
1961         not called with exactly 2 arguments. Add concat function for use 
1962         instead of the || operator on MySQL and Oracle. 
1963         * sql/syntax.lisp: changed internal symbol for the || operator to 
1964         CONCAT-OP. 
1965         * sql/expressions.lisp: removed redundant and unused functions 
1966         GENERATE-SQL (cf. SQL-OUTPUT) and DATABASE-CONSTRAINT-DESCRIPTION
1967         (cf. MAKE-CONSTRAINTS-DESCRIPTION). 
1968         * sql/generics.lisp: removed generic function for 
1969         DATABASE-CONSTRAINT-DESCRIPTION (see above). 
1970         * tests/test-syntax.lisp: modified/added tests according to changes
1971         in sql/operations.lisp. 
1972         * tests/test-fdml.lisp: changed SUBSTR to SUBSTRING in test 
1973         :fdml/select/21.  
1974         * sql/package.lisp: added the operators SQL-SUBSTRING, SQL-CONCAT-OP 
1975         and SQL-USERENV to the shared exports list. Removed 
1976         ROLLBACK-TRANSACTION, COMMIT-TRANSACTION, DATABASE-START-TRANSACTION, 
1977         DATABASE-ABORT-TRANSACTION, DATABASE-COMMIT-TRANSACTION, 
1978         TRANSACTION-LEVEL, TRANSACTION,  RECORD-SQL-COMMAND and 
1979         RECORD-SQL-RESULT from shared exports list. 
1980         
1981 30 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1982         * db-postgresql/postgresl-sql.lisp: Avoid computing
1983         result-types lisp when nil result-types. Return only
1984         one value when field-types nil.
1985         * db-mysql/mysql-sql.lisp: Simple queries now
1986         working with prepared statements.
1987         
1988 30 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1989         * Version 2.11.4: MySQL 4.1 now passes all tests
1990         * sql/package.lisp: Add API for prepared statments.
1991         * sql/fdml.lisp: Change implicit flatp processing
1992         for string map-query for greater CommonSQL conformance.
1993         Add high-high API for prepared statements.
1994         * tests/test-basic.lisp: Add test for map-query and
1995         single argument.
1996         * sql/transactions.lisp: Change name/semantics of
1997         autocommit to set-autocommit.
1998         * sql/generic-postgresql.lisp: Add support for
1999         prepared statements. 
2000         * tests/test-internal.lisp: New file
2001         * sql/odbc-api.lisp: Update to using ODBC V3 protocol
2002         * clsql-mysql.asd, clsql-uffi.asd: Remove check and Common Lisp
2003         Controller invocation.
2004         * db-mysql/mysql-api.lisp: Add support for MySQL 4.1 field structure
2005         * sql/expressions.lisp: Avoid emitting double parenthesis when a
2006         function contains a subselect. 
2007         
2008 27 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
2009         * Version 2.11.3
2010         * sql/ooddl.lisp: Commit patch from Edi Weitz fixing return
2011         type (setf slot-value-using-class)
2012         * TODO: add not that need a test case for the above fix
2013         * db-sqlite: Remove clisp support since clisp can not run CLSQL
2014         with its MOP usage
2015         * db-oracle/oracle-sql.lisp: By default, use OCIEnvCreate as 
2016         introduced in Oracle8. Leave older code selectable by a reader macro
2017         for Oracle7 and prior. Avoid use of OCIServerAttach since CLSQL
2018         uses OCILogon and does not the more complex session management.
2019         
2020 26 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
2021         * sql/oodml.lisp: Commit universal-time typo patch from Edi Weitz
2022         * test/test-init.lisp: Add universal-time slot to person.
2023         * test/test-fddl.lisp: Add tests of universal-time slot
2024         * test/test-ooddl.lisp: Test universal-time slot in an object
2025         * TODO: Remove need for universal-time test     
2026         * debian/rules, debian/control: Add cl-sql-oracle binary package
2027         * doc/appendix.xml: Add Oracle backend information
2028         * db-oracle/oracle-objects.lisp: Add database-get-type-specifier for
2029         universal-time. Convert BIGINT CLSQL type to CHAR SQL type
2030         * db-mysql/mysql-sql.lisp: Fix condition name to sql-connection-error
2031         * doc/ref-clsql.xml: Renamed from ref_clsql.xml. Change the documentation
2032         for map-query to reflect changed in arguments to be CommonSQL compatible.
2033         Updated old clsql conditions to new CommonSQL compatible conditions.
2034         
2035 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
2036         * sql/oodml.lisp: (string n) now produces a CHAR field. Add new VARCHAR
2037         type. Added *default-varchar-length* rather than previous hard-coded
2038         varchar length. Remove 'simple-string and 'simple-base-string since they
2039         are subtypes of 'string.
2040         * db-oracle/oracle-sql.lisp: Use *default-varchar-length* rather than
2041         local hard-coded value.
2042         * sql/metaclasses.lisp: Convert specified type VARCHAR and (VARCHAR n) to Lisp
2043         type string. Convert specified-type (CHAR n) to string. Convert specified-type
2044         CHAR to lisp type character.
2045         * sql/generic-postgresql.lisp: (string n) => (CHAR n)
2046         * sql/operations.lisp: Add userenv
2047         * doc/TODO: Add AUTOCOMMIT. Remove need for large table and bigint
2048         slot tests
2049         * sql/oracle-sql.lisp: Add 64-bit bigint direct conversion
2050         * uffi/clsql-uffi.lisp: Handle signed 64-bit integers
2051         * test/test-init.lisp: Add large table with bigint slot
2052         
2053 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
2054         * Version 2.11.1 released: Much simpler Oracle client library loading.
2055         Now uses ORACLE_HOME environmental variable as well as tests default
2056         path for Oracle Instant Client. 
2057         
2058 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
2059         * Version 2.11.0 released: Full Oracle support. All tests pass
2060         * db-oracle/oracle-sql.lisp: Add declaration so that SBCL runs efficiently.
2061         * tests/test-init.lisp: capitalize odbc backend name in banner
2062         * CONTRIBUTORS: Add note about Marcus' excellent work
2063         * sql/oodml.lisp: Removed old stub function     
2064         * clsql.asd: Use module names in current package rather than keyword package
2065         * db-oracle/oracle-sql.lisp: Don't trim trailing spaces. Prevent interrupts
2066         in setting sequence position. Make autocommits more efficient.
2067         * tests/test-init.lisp: Skip 2 tests on Oracle which have unsupported syntax 
2068         * sql/oodml.lisp: Get rid of undocumented raw-string type. CommonSQL
2069         strings are raw (non-trimmed trailing whitespace). Add database-get-type-specifier
2070         and read-sql-value for NUMBER and CHAR.
2071         * sql/base-classes.lisp: Add autocommit slot
2072         * sql/transaction.lisp: Added autocommit processing, mild cleaning.
2073         * doc/intro.xml: Add Oracle
2074         
2075 24 May 2004: Marcus Pearce (m.t.pearce@city.ac.uk) 
2076         * db-postgresql-socket/postgresql-socket-sql.lisp: replace 
2077         CLSQL-SIMPLE-WARNING with SQL-WARNING. 
2078         * db-sqlite/sqlite-sql.lisp: replace CLSQL-SIMPLE-WARNING with 
2079         SQL-WARNING. 
2080         * db-aodbc/aodbc-sql.lisp: replace CLSQL-ERROR with SQL-ERROR. 
2081         * clsql.asd: reworked module structure in package definition and 
2082         file names to better reflect component functionality. 
2083         * sql/package.lisp: added SQL-FATAL-ERROR and SQL-TIMEOUT-ERROR to 
2084         exports list. Removed duplicate and obsolete exports. Exported 
2085         remaining SQL operations: SQL-SOME, SQL-<>, SQL-BETWEEN, SQL-DISTINCT, 
2086         SQL-NVL and SQL-FUNCTION. Organised exports by functionality/file and 
2087         according to whether they are specified by CommonSQL or CLSQL 
2088         extensions. 
2089         * sql/transaction.lisp: replace CLSQL-SIMPLE-WARNING with 
2090         SQL-WARNING. 
2091         * sql/generics.lisp: moved generics for QUERY and EXECUTE-COMMAND 
2092         here from basic-sql.lisp. 
2093         * sql/expressions.lisp: NEW FILE: renamed from classes.lisp (deleted). 
2094         * sql/fddl.lisp: NEW FILE: renamed from table.lisp (deleted). 
2095         * sql/fdml.lisp: NEW FILE: merger of basic-sql.lisp and sql.lisp
2096         (both deleted). 
2097         * sql/ooddl.lisp: NEW FILE: ooddl from objects.lisp (deleted). 
2098         * sql/oodml.lisp: NEW FILE: oodml from objects.lisp (deleted). 
2099         
2100 23 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
2101         * Version 2.10.22 released
2102         * sql/kmr-mop.lisp, sql/objects.lisp: Since SBCL is the only implementation that
2103         has reversed class slots, change the default for ordered-class-slots so that slots
2104         are now in the same order an in the def-view-class.
2105         * sql/sql.lisp: Honor case of string table identifier to INSERT-RECORDS
2106         * test/test-fddl.lisp: Add two tests for mixed case names
2107         * db-oracle/oracle-sql.lisp: Add missing database qualifier. Return NUMBER (double)
2108         for computed fields, this will require some adjustment to the test suite which
2109         in many cases expects integers.
2110         * test/test-fdml.lisp: Accomodate that Oracle returns doubles for computed columns
2111         
2112 22 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
2113         * Version 2.10.21 released
2114         * sql/sequences.lisp: Move generic sequence functions here from db-sqlite,
2115         db-odbc, and db-aodbc.
2116         * sql/*.lisp: Add db-type parameter to generic functions READ-SQL-VALUE,
2117         DATABASE-GET-TYPE-SPECIFIER, and OUTPUT-SQL-VALUE-AS-TYPE. Update methods to use these.
2118         * sql/generic-postgresql.lisp, sql/generic-odbc.lisp: New files
2119         * db-odbc/odbc-sql.lisp, db-aodbc/aodbc-sql.lisp: Move common code to 
2120         sql/generic-odbc.lisp
2121         * db-postgresql/postgresql-sql.lisp, db-postgresql-socket/postgresql-socket-sql.lisp: 
2122         Move common code to  sql/generic-postgresql.lisp
2123         * sql/classes.lisp: honor case of string tables when outputting queries 
2124         * sql/objects.lisp: Add database type to default database-get-type-specifier method
2125         * sql/sql.lisp:  Add database type to default database-abort-transaction method
2126         * db-mysql/mysql-objects.lisp: New file
2127         * sql/objects.lisp: Move MySQL specific code to mysql-objects.lisp
2128         * sql/utils.lisp: Add GETENV function which will be used to get ORACLE_HOME
2129         from environment
2130         * test/test-fdml.lisp: String table names are now case sensitive, so convert to
2131         default db case for FDML/SELECT/25
2132
2133 22 May 2004 Kevin Rosenberg
2134         * Version 2.10.20 released: Oracle backend now fails 6 out of 200 tests
2135         * TODO: Added 2 variances from CommonSQL. Add tests for owner phrases
2136         and string identifiers with non-default case
2137         * sql/table.lisp: Don't convert string table name to a symbol.
2138         * sql/classes.lisp: Honor case of string identifiers
2139         * sql/sql.lisp: Ensure recyclebin is purged for Oracle in 
2140         TRUNCATE-DATABASE
2141         * db-oracle/oracle-sql.lisp: Add sequence functions, fix use of
2142         of owner phrases. Obtain server and client versions.
2143         * db-oracle/oracle-objects.lisp: Fix type specifiers
2144         * tests/test-fddl.lisp: Allow :varchar2 and :number as data types
2145         * tests/test-init.lisp: Properly get username from Oracle connection-spec
2146         
2147 22 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
2148         * sql/generics.lisp: reworked docstrings. Remove generics for 
2149         ADD-TO-RELATION and REMOVE-FROM-RELATION. 
2150         * sql/objects.lisp: reworked docstrings. Changed UPDATE-OBJECT-JOINS 
2151         to UPDATE-OBJECTS-JOINS for CommonSQL compatibility. 
2152         * sql/package.lisp: Changed UPDATE-OBJECT-JOINS to UPDATE-OBJECTS-JOINS 
2153         for CommonSQL compatibility. Remove ADD-TO-RELATION and 
2154         REMOVE-FROM-RELATION. 
2155         * tests/test-oodml.lisp: Changed UPDATE-OBJECT-JOINS to 
2156         UPDATE-OBJECTS-JOINS for CommonSQL compatibility. 
2157         * doc/TODO: added notes about extra slot options to DEF-VIEW-CLASS. 
2158         * sql/conditions.lisp: add documentation for conditions. Add 
2159         SQL-TIMEOUT-ERROR and SQL-FATAL-ERROR for CommonSQL compatibility. 
2160
2161 21 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
2162         * sql/basic-sql.lisp: reworked docstrings. 
2163         * sql/transactions.lisp: reworked docstrings. 
2164         * sql/sql.lisp: reworked docstrings. 
2165         * sql/initialize.lisp: reworked docstrings. INITIALIZE-DATABASE-TYPE 
2166         sets *DEFAULT-DATABASE-TYPE* for CommonSQL compatibility. 
2167         * sql/database.lisp: reworked docstrings. 
2168         * doc/TODO: added notes about START-TRANSACTION and IN-TRANSACTION-P 
2169         and FDML extensions and database extensions. 
2170
2171 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2172         * db-oracle/oracle-sql: Use clsql-specific error conditions. Use owner keyword.
2173         * db-oracle/make9.sh: add makefile for building with Oracle 9 client
2174         libraries
2175         * sql/table.lisp: Add logic for dealing with Oracle 10g vs. previous
2176         Oracle versions with the PURGE option required for drop table. This needs
2177         to be converted to a generic function and moved to db-oracle/oracle-sql.lisp
2178
2179 20 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
2180         * sql/classes.lisp: remove unused PARAMS slot in SQL-IDENT-ATTRIBUTE. 
2181         * sql/syntax.lisp: remove unused PARAMS keyword arg to SQL-EXPRESSION. 
2182         * sql/table.lisp: reworked docstrings. 
2183         * sql/objects.lisp: moved *default-update-objects-max-len* here from 
2184         table.lisp. 
2185         * doc/TODO: notes about :if-does-not-exist arg to DROP-TABLE, 
2186         DROP-VIEW and DROP-INDEX and the use of the :transactions and 
2187         :constraints keyword args to CREATE-TABLE. 
2188         * sql/classes.lisp: the DESCRIPTION argument to CREATE-TABLE is now 
2189         CommonSQL compatible with respect to column constraints. 
2190
2191 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2192         * sql/oracle-sql.lisp: Now compiles and runs on SBCL.
2193         Requires UFFI 1.5.0 or higher
2194         
2195 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2196         * Version 2.10.19
2197         * sql/conditions.lisp: Fix cerror
2198         
2199 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2200         * Version 2.10.18 released: New condition hierarchy to be compatible
2201         with CommonSQL -- not backward compatible with previous CLSQL.
2202         * sql/db-interface.lisp: Add more default methods
2203         * sql/objects.lisp: Add explicit table name to order-by parameters
2204         in find-all when only one table to avoid selecting a duplicate row.
2205         Fix error in FIND-ALL when using :order-by such as (([foo] :asc))
2206         as previous logic was adding two fields (foo asc) to SELECT query.
2207         Make :result-types :auto be the default for object selections.
2208         Properly handle caching key when using multiple order-by with asc/desc
2209         directions.
2210         * db-oracle/*.lisp: Much improvements, now passes 90% of test suite
2211         
2212 19 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
2213         * sql/recording.lisp: reworked docstrings. 
2214         * sql/syntax.lisp: reworked docstrings. 
2215         * doc/TODO: added notes about extensions to SQL-RECORDING-P and the 
2216         SQL syntax state functions being macros. 
2217
2218 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2219         * sql/package.lisp: Export initialize-database-type and
2220         *initialize-database-types* from CLSQL package.
2221         * sql/conditions.lisp: Add new CommonSQL compatible conditions,
2222         remove old CLSQL conditions.
2223         * sql/loop-extensions.lisp: Make errors of type sql-user-error
2224         * */*.lisp: Convert to from old to new conditions
2225         
2226 18 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2227         * sql/table.lisp: Add PURGE to drop command for oracle 10g backend.
2228         To handle this difference, will need to add a new database-drop-table
2229         generic function.
2230         * db-oracle/oracle-sql.lisp: Move server-version and
2231         major-version-number to database object to allow multiple connections
2232         to Oracle servers of different versions.
2233         
2234 18 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
2235         * TODO: moved notes about backends to doc/TODO. 
2236         * doc/TODO: added notes about backends and select extensions. 
2237         * sql/base-classes.lisp: remove obsolete schema slot in database 
2238         class. 
2239         
2240 16 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2241         * db-oracle/oracle-api: Add OCIServerVersion
2242         * db-oracle/oracle-sql: Query and store server version on connect
2243         * sql/db-interface.lisp: Add new db-type-has-bigint? generic
2244         function to handle OCI's lack of bigint support
2245         * test/test-basic.lisp: Separate bigint testing
2246         * test/test-utils.lisp: Add oracle to specs and list of backends
2247         * doc/TODO: New file
2248         * test/test-fdml.lisp: Added FDML/SELECT/34 to test
2249         run-time instantiation of variables in reader macros.
2250         * TODO: Remove item already complete. Add note about
2251         condition variances
2252         
2253 16 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
2254         * sql/syntax.lisp: added condition to the reader macro to treat [*] 
2255         as a column identifier (rather than an operation) for CommonSQL 
2256         compatibility. 
2257         * tests/test-fdml.lisp: add tests for ORDER-BY and SET-OPERATION 
2258         keword args to SELECT, [*] as column identifier, new MAP-QUERY 
2259         behaviour and the ANY and ALL operators in subqueries. 
2260         * tests/test-init.lisp: add set-operation and subquery tests to 
2261         appropriate skip lists. 
2262         * sql/objects.lisp: remove redundant and non CommonSQL compatible 
2263         ORDER-BY-DESCENDING keyword argument for SELECT. 
2264         * sql/classes.lisp: remove redundant and non CommonSQL compatible 
2265         ORDER-BY-DESCENDING keyword argument for SELECT. 
2266         * tests/test-oodml.lisp: add test for ORDER-BY keyword to SELECT 
2267         with object queries. 
2268
2269 15 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2270         * sql/db-interface.lisp: Add new db-type-has-union? 
2271         since Mysql 3.23 does not support unions.
2272         * sql/test-init.lisp: Don't try union tests on database
2273         backends which do not support it.
2274         * db-oracle/*.lisp: initial port to UFFI
2275         * sql/objects.lisp: implement UPDATE-OBJECT-JOINS,
2276         implement REFRESH for SELECT.
2277         * tests/test-oodml.lisp: Add tests for deferred retrieval,
2278         caching, refresh, and update-object-joins
2279         * tests/test-init.lisp: Add deferred-employee-address class
2280         
2281 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
2282         * sql/operations.lisp: make MINUS operator a synonym for EXCEPT. Add 
2283         COALESCE operator and make NVL a synonym for this. Make ANY, SOME, 
2284         ALL and EXISTS generate function expressions so they output the 
2285         correct SQL. 
2286         * sql/classes.lisp: SELECT now generates appropriate SQL when 
2287         passed the SET-OPERATION and ALL keyword arguments. 
2288         * sql/classes.lisp: the ORDER-BY keyword argument to SELECT now 
2289         accepts ordering constraints as pairs of the form (column direction) 
2290         where direction may be :ASC or :DESC. 
2291         * tests/test-syntax.lisp: added tests for MINUS and COALESCE/NVL. 
2292         Correct tests for ANY, SOME, ALL and EXISTS. 
2293         * tests/test-fdml.lisp: added test for COALESCE. 
2294         * sql/sql.lisp: MAP-QUERY now applies FUNCTION to QUERY-EXPRESSION 
2295         using funcall unless QUERY-EXPRESSION returns one column and its 
2296         FLATP slot is not nil in which case apply is used. 
2297         * tests/test-basic.lisp: modified calls to MAP-QUERY to reflect the 
2298         changes. 
2299         * TODO: remove items done. 
2300         * db-postgresql/postgresql-sql.lisp: no need to reverse results in 
2301         DATABASE-LIST-ATTRIBUTES. 
2302         * db-postgresql-socket/postgresql-socket-sql.lisp: no need to reverse
2303         results in DATABASE-LIST-ATTRIBUTES.    
2304         
2305 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
2306         * sql/classes.lisp: SELECT now accepts table identifiers as strings 
2307         for CommonSQL compliance. Add support for qualified sql identifiers 
2308         with aliased table names. 
2309         * tests/test-fdml.lisp: added tests for table identifiers as strings 
2310         in SELECT and for aliased definitions. 
2311         * tests/test-syntax.lisp: added tests for alias definitions. 
2312         
2313 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
2314         * sql/sql.lisp: PRINT-QUERY now calls QUERY with result-types and 
2315         field-names set to nil. 
2316         * sql/sql.lisp: PRINT-QUERY now computes column sizes correctly 
2317         with null attribute values. 
2318         * sql/operations.lisp: modify SQL concatenation operator to accept 
2319         unescaped || symbol.  
2320         * sql/syntax.lisp: modify sql reader macro function to accept 
2321         unescaped sql concatenation operator. 
2322         * tests/test-fdml.lisp: unescape sql concatenation operator. 
2323         * tests/test-syntax.lisp: unescape sql concatenation operator. 
2324         * TODO: remove items done. Add notes about SQLITE/MYSQL backends. 
2325         Note to add test for universal-time. Note about difference from 
2326         CommonSQL in transaction handling. 
2327
2328 13 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2329         * tests/test-init.lisp: Add deferred-employee-address
2330         class
2331         * tests/test-oodml.lisp: Add deferred retrieval testgs
2332         
2333 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2334         * Version 2.10.17
2335         * LATEST-TEST-RESULTS: Run on all platforms, add AMD64
2336         * sql/sql.lisp: Add FOR-EACH-ROW macro from clsql-classic/sql.lisp
2337         * db-sqlite/sqlite-uffi-api.lisp: Fix row-pointer type
2338         * *: Fix minor style warnings
2339         * clsql-classic: Remove system and subdirectory
2340         * clsql-base: Remove system and subdirectory and
2341         fold into clsql system
2342         * doc/intro.xml: Remove reference to old clsql-base. Add x86_64
2343         as supported platform.
2344         
2345 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2346         * Version 2.10.16: CLSQL now fully supports AllegroCL AMD64
2347         * db-odbc/odbc-api.lisp: work around return-type bug [spr28889] in
2348         Allegro 7.0beta AMD64
2349         * db-odbc/*.lisp: Add a layer of indirection to foreign-type
2350         of ODBC longs since this type can vary on 64-bit platforms depending
2351         upon the compilation options of unixODBC.
2352         * db-mysql/mysql-api.lisp: Fix int vs. long slots in foreign
2353         structures found by testing with AllegroCL 7.0b AMD64.
2354         * db-*/*-loader.lisp: Load 64-bit libraries on 64-bit platorms
2355         * sql/objects.lisp: Simple implementation of UPDATE-OBJECT-JOINS.
2356         Initial caching support for SELECT
2357         * tests/test-oodml.lisp: Avoid using cache when testing select.
2358         * sql/kmr-mop.lisp: Explicitly check slot order and
2359         store as a cl:*feature*
2360         * sql/recording.lisp: Remove additional types to
2361         increase CommonSQL conformance.
2362         * tests/test-init.lisp: Change a :column attribute
2363         to test symbols as value
2364         * sql/relations.lisp: Remove functions since they don't support
2365         many to many relationships.
2366         * examples/clsql-tutorial.lisp, doc/csql.lisp: Remove use
2367         of add-to-relations function and replace with explicit field settings.
2368         * base/classes.lisp: Remove obsolute query-stream. Add record-caches slot.
2369         
2370 9 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2371         * Version 2.10.15
2372         * LATEST-TEST-RESULTS: results with current version
2373         * sql/kmr-mop.lisp: Make CMUCL reader macros specific for cmu18
2374         since cmu19 has opposite order of class slots.
2375         * sql/objects.lisp: Fix (setf slot-value-using-class) for Lispworks
2376         * tests/test-fdml.lisp: Renumber SELECT tests to avoid overwriting
2377         a previous test
2378         * tests/test-init.lisp: Check test-database-underlying-type for
2379         ODBC/MySQL tests
2380         
2381 8 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
2382         * sql/operations.lisp: complete remaining operations for the sql 
2383         syntax: SUBSTR, SOME, ORDER-BY, GROUP-BY, NULL, DISTINCT, EXCEPT, 
2384         UNION, INTERSECT, BETWEEN. 
2385         * sql/classes.lisp: add new classes: SQL-BETWEEN-EXPRESSION, 
2386         SQL-QUERY-MODIFIER-EXPRESSION and SQL-SET-EXPRESSION. 
2387         * tests/test-syntax.lisp: add tests for new operations. 
2388         * tests/test-fdml.lisp: add tests for queries based on new operations. 
2389         * tests/test-init.lisp: add select/20 to tests skipped for sqlite and 
2390         select/20, query/5, query/7 and query/8 to tests skipped by mysql. 
2391         * TODO: removed entries done. 
2392
2393 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2394         * tests/benchmarks.lisp: Add immediate vs. deferred
2395         join test.
2396         
2397 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2398         * Version 2.10.13: Now works on openmcl 0.14.2 
2399         * sql/objects.lisp: Add :retrieval :immediate for
2400         object selections
2401         * tests/test-init.lisp: Add non-index fields for testing 
2402         join class employee-addresss
2403         * test/test-oodml.lisp: Add tests for retrieval immediate
2404         * sql/metaclasses.lisp: Handle differences in direct-slot-definition 
2405         values which are now listifed by openmcl 14.2.
2406         * sql/objects.lisp: more framework for supporing immediate retrieval 
2407
2408 7 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2409         * docs/intro.xml: Upload location of a README file
2410         * sql/metaclass.lisp: Work-around openmcl's CHANGE-CLASS
2411         changing the type-specifier. Use a lisp type of (OR NULL FOO)
2412         for a specified-type of FOO unless :db-constraints :not-null.
2413         No need to specialize finalize-inheritance for openmcl.
2414         * tests/test-*.lisp: Rename fields so that joins occur on
2415         fields with different names. This ensures that join code is
2416         selecting the proper name.
2417         * test/test-init.lisp: Add :base-table for employee-address
2418         view class for testing.
2419         * sql/objects.lisp: Use view-table rather than name of table
2420         in a number of places to fix errors noted with using :base-table.
2421
2422 6 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
2423         * sql/objects.lisp: replace *update-records-on-make-instance* with 
2424         *db-auto-sync* which also controls both automatic creation of 
2425         new records on creation of new instance and updating of record 
2426         fields on setting of instance slots (as suggested by Edi Weitz). 
2427         * tests/test-init.lisp: replace *update-records-on-make-instance* 
2428         with *db-auto-sync*. 
2429         * sql/package.lisp: replace *update-records-on-make-instance* 
2430         with *db-auto-sync*. 
2431         * TODO: replace *update-records-on-make-instance* with *db-auto-sync*. 
2432         * sql/objects.lisp: remove redundant rebindings of *db-initializing* 
2433         and *default-database* in FIND-ALL. 
2434         * sql/package.lisp: import time functions from CLSQL-BASE. 
2435         * tests/test-time.lisp: replace CLSQl-BASE package qualifier with CLSQL. 
2436         * tests/test-fdml.lisp: replace CLSQl-BASE package qualifier with CLSQL. 
2437         * tests/test-init.lisp: replace CLSQl-BASE package qualifier with CLSQL. 
2438         * tests/test-ooddl.lisp: replace CLSQl-BASE package qualifier with 
2439         CLSQL. 
2440
2441 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2442         * sql/classes.lisp: Add SQL-OBJECT-QUERY type. Have [select 'class]
2443         now return a sql-object-query type rather than directly performing a query.
2444         This improves CommonSQL conformance.
2445         * sql/sql.lisp: Add new QUERY method for SQL-OBJECT-QUERY. Move
2446         from basic/basic-sql.lisp the DO-QUERY and MAP-QUERY since they now
2447         depend on sql-object-query-type.
2448         * sql/loop-extensions.lisp: Move from base package
2449         * classic/package.lisp: remove references to map-query and do-query
2450
2451 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2452         * TODO: New section on optimizations, especially optimizing JOINs.
2453         * sql/objects.lisp: Have :target-slot return of list of lists rather
2454         than a list of cons pairs to be conformant with CommonSQL.
2455         Make :target-slot much more efficient by using a SQL inner join
2456         statement and just requiring one SQL query. Add :retrieval :deferrred
2457         to target-slot joins. Add placeholder for update-objects-join.
2458         * sql/classes.lisp: Add :inner-join and :on slots to sql-query class
2459         and process them for query output-sql. 
2460
2461 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2462         * Version 2.10.11
2463         * base/basic-sql.lisp: Avoid multiple evaluation
2464         of query-expression in DO-QUERY
2465         * sql/objects.lisp: Make SELECT a normal function.
2466         SELECT now accepts type-modified database identifiers, such as
2467         [foo :string] which means that the values in column foo are returned 
2468         as Lisp strings. Add new *update-records-on-make-instance* special
2469         variable controlling automatic creation of new instances. Add missing
2470         RESULT-TYPES keyword to FIND-ALL. Add :target-slot support.
2471         * sql/packages.lisp: Export *update-records-on-make-instance* 
2472         * test/test-oodml.lisp: Add tests for :target-slot and many-to-many
2473         selections.
2474         * test/test-fdml.lisp: Add tests for type-modified
2475         database identifiers.
2476         * test/test-init.lisp: Stop using add-relation since implementing
2477         many-to-many joins. Use *update-records-on-make-instance* 
2478         to automatically store records on instance creation. Add many-to-many
2479         employee-address view-class.
2480         
2481 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2482         * Version 2.10.10
2483         * base/loop.lisp: Add object iteration. Use :result-type
2484         :auto for result-set. Remove 
2485         duplicate (and non-correct) code for non-list variables by
2486         simply making an atom variable into a list. 
2487         * sql/package.lisp: Remove unnecessary clsql-sys package
2488         and replace it with clsql.
2489         * sql/metaclasses.lisp: Properly store specified-type from
2490         direct-slot-definition and then store translated type in
2491         effective-slot-definition
2492         * sql/classes.lisp: Don't output type in sql-output
2493         for SQL-IDENT-ATTRIBUTE. This is in preparation for supporting
2494         [foo :integer] as fields in SELECT.
2495         * sql/query.lisp: Set default for :result-types to :auto in
2496         FDML QUERY.
2497         * sql/objects.lisp: Use specified-type when invocating 
2498         database-get-type-specifier. def-view-class macro now returns
2499         the class instance.
2500         * base/basic-sql.lisp: Make :AUTO the default value for
2501         :RESULT-TYPES for MAP-QUERY and DO-QUERY.
2502         * sql/objects.lisp: Add bigint type
2503         * test/tests-basic.lisp: Add tests for :result-types for
2504         MAP-QUERY and DO-QUERY
2505         * test/test-fdml.lisp: Add test for result-types in LOOP
2506         and also using single symbol rather than a list for variables.
2507         Add test that default :result-types is auto for FDML QUERY.
2508         * test/test-syntax.lisp: Don't expect TYPE in the SQL-OUTPUT
2509         of SQL-IDENT-ATTRIBUTE.
2510         * test/test-oodml.lisp: Enable OO loop iteration test,
2511         modify it so it doesn't depend on boolean where.
2512         
2513 4 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
2514         * Version 2.10.9
2515         * sql/objects.lisp: added derived type specifier for universal time. 
2516         * sql/package.lisp: added #:universal-time to clsql-sys exports. 
2517         * tests/test-oodml.lisp: added test for translation of boolean slots 
2518         in SELECT with object queries. 
2519         
2520 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2521         * db-odbc/odbc-api.lisp: Fix changing nil to "NIL" 
2522         for odbc/postgresql backend.
2523         * db-odbc/odbc-sql.lisp: Fix ATTRIBUTE-TYPE so that
2524         it can handle NIL values from the ODBC driver
2525         * tests/benchmarks.lisp: New file with initial
2526         benchmark suite
2527         * sql/relations.lisp: fix to add subclassing support,
2528         minor optimizations [Edi Weitz]
2529         
2530 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2531         * Version 2.10.8        
2532         * base/conditions.lisp: Add *backend-warning-behavior*
2533         special variable.
2534         * db-postgresql-socket/postgresql-socket-sql.lisp:
2535         Honor value of *backend-warning-behavior*
2536         * tests/test-fdml.lisp: Remove test of raw boolean value
2537         since different backends handle this differently. Add
2538         test for :column attribute.
2539         * tests/test-oodml.lisp: Add tests for boolean slot value
2540         and for :void-value attribute
2541         * tests/test-init.lisp: Use *backend-warning-behavior*
2542         to suppress warnings from postgresql about implicitly
2543         creating primary key in tables. Add new address table.
2544         
2545 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2546         * Version 2.10.7
2547         * db-odbc/odbc-dbi.lisp: Convert TINYINT to integers when
2548         result-types is :auto
2549         * sql/objects.lisp: Properly handled writing/reading Boolean
2550         values from SQL database when retrieving objects.
2551         * test/test-fdml.lisp: Add another test for boolean results
2552         * test/utils.lisp: Fix incorrect declaration
2553         
2554 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
2555         * Version 2.10.6
2556         * sql/generics.lisp: add generic function for SELECT. 
2557         * sql/objects.lisp: make SELECT a method specialisation. 
2558         * sql/classes.lisp: MAKE-QUERY now calls SELECT if the selections 
2559         referred to are View Classes. 
2560         * base/basic-sql.lisp: in DO-QUERY and MAP-QUERY, if the 
2561         query-expression arg evaluates to a list, then we have an object 
2562         query. 
2563         * tests/test-oodml.lisp: add tests for DO-QUERY and MAP-QUERY with 
2564         object queries. 
2565         * TODO: remove items done and add a todo for SELECT. 
2566         * sql/objects.lisp: SELECT takes a :field-names arg to pass on to 
2567         QUERY. 
2568         * sql/sql.lisp: add :field-names arg to QUERY. 
2569         * tests/test-fdml.lisp: minor rework to use :field-names arg to 
2570         SELECT. 
2571
2572 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
2573         * sql/objects.lisp: fix bug in FIND-ALL when SELECT called with 2 
2574         or more View Classes. 
2575         * sql/objects.lisp: make the :flatp argument to SELECT work with 
2576         object queries. 
2577         * sql/objects.lisp: make SELECT accept a :result-types argument 
2578         (defaults to :auto) which is passed on to QUERY.  
2579         * sql/objects.lisp: SELECT returns field-names as a second value. 
2580         * tests/test-ooddl.lisp: add flatp arg to SELECT calls as appropriate. 
2581         * tests/test-fdml.lisp: add flatp/result-types arguments to calls 
2582         to SELECT and take only first value as appropriate.
2583         * tests/test-fdml.lisp: add two new tests for query result coercion 
2584         and the field-names returned as a second value from SELECT. 
2585         * tests/test-oodml.lisp: add flatp arg to SELECT calls as appropriate. 
2586         
2587 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2588         * Version 2.10.6-pre1
2589         * sql/metaclasses.lisp: Add void-value slot
2590         * doc/csql.xml: Update def-view-class documentation
2591         * test/test-init.lisp: Change old :db-type to :db-kind.
2592         Remove old :nulls-ok attributes.
2593         * sql/objects.lisp: Add new universal-time and bigint
2594         types. Optimize reading of integers using parse-integer
2595         rather than read-from-string.
2596         * */*.lisp: Merge clsql-base-sys and clsql-base packages
2597         into clsql-base package
2598         * classic/sql.lisp: Move large object support into base, leaving
2599         classic without any functionality that is provided in the clsql
2600         system.
2601         * classic/package.lisp: Rename clsql-classic-sys package to
2602         its former nickname of clsql-classic
2603         
2604 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2605         * Version 2.10.5: SQLite backend now passes all result-types tests
2606         * clsql-sqlite.asd: Depend on clsql-uffi system
2607         * db-sqlite/sqlite-sql.lisp: Use clsql-uffi:convert-raw-field
2608         for efficiency and code reuse. 
2609         * db-sqlite/sqlite-api-uffi.lisp: Change (* :char) to (* :unsigned-char)
2610         for better cross-implementation compatibility.
2611
2612 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2613         * Version 2.10.4
2614         * sql/tables.lisp: Fix typo in CACHE-TABLE-QUERIES
2615         [Marcus Pearce]
2616         * db-postgresql/postgresql-sql.lisp: Fix foreign-string vs. cstring
2617         bug on SBCL in result-field-names function as reported by Marcus Pearce
2618         * db-sqlite/sqlite-sql.lisp: Fix  in database-store-next-row
2619         manifest in SBCL testing
2620         
2621 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2622         * Version 2.10.3
2623         * sql/database.lisp: Conform more to CommonSQL output
2624         for STATUS command [Marcus Pearce]
2625         * sql/sqlite-sql.lisp: Rework to use result-types
2626         * sql/sqlite-api-clisp.lisp: Add compatibility layer
2627         with sqlite-api-uffi.lisp so that sqlite-sql.lisp can
2628         be cleaned up of most clisp reader conditionals
2629         * sql/test-init.lisp: Now run field type tests on sqlite
2630         backend
2631         
2632 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2633         * Version 2.10.2
2634         * base/basic-sql.lisp: Set default value of :result-types 
2635         to :auto for more CommonSQL conformance. 
2636         * test/test-fdml.lisp: Add tests for numeric value of fields
2637         
2638
2639 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2640         * Version 2.10.1: New API function: CACHE-TABLE-QUERIES.
2641         * base/basic-sql.lisp, db-*/*-sql.lisp: More CommonSQL conformance.
2642         Return field names as second value for QUERY. This can be overridden
2643         for efficiency with the new keyword :FIELD-NAMES set to NIL
2644         in the QUERY invocation.
2645         * test/test-fdml.lisp: Add tests for new field-name feature
2646         * sql/metaclass.lisp: Remove old Lispworks cruft
2647         and replace it with invocation of new code in kmr-mop.lisp
2648         which actually works with Lispworks 4.2
2649         * doc/ref_clsql.xml: Document new :FIELD-NAMES keyword to
2650         QUERY function
2651         * base/db-interface.lisp: Document the multiple values
2652         returned by DATABASE-ATTRIBUTE-TYPE so matches the
2653         undocumented CommonSQL behavior. 
2654         * sql/table.lisp: Add *CACHE-TABLE-QUERIES-DEFAULT* and
2655         *DEFAULT-UPDATE-OBJECTS-MAX-LEN* variables and export them.
2656         LIST-ATTRIBUTE-TYPES now conforms to CommonSQL spec.
2657         Implement CACHE-TABLE-QUERIES.
2658         * db-odbc/odbc-sql.lisp: Fix attribute-type function
2659         * test/test-fddl.lisp: Add tests for attribute type     
2660         * db-mysql/mysql-sql.lisp: Mild optimization in accessing
2661         field structures.
2662         * base/classes.lisp: Add attribute-cache slot to database clas
2663         * base/initialize.lisp: initialize-database-type now automatically
2664         loads database-type backend as needed.
2665         * base/test-init.lisp: Utilize new initialize-database-type functionality.
2666         * TODO: remove items done
2667         
2668 30 Apr 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
2669         * Version 2.9.6
2670         * sql/objects.lisp: remove create/drop-sequence-from-class. 
2671         * sql/objects.lisp: add INSTANCE-REFRESHED generic function. 
2672         * sql/objects.lisp: improved CommonSQL compatibility for
2673         UPDATE-RECORD-FROM-SLOT, UPDATE-RECORD-FROM-SLOTS,
2674         UPDATE-RECORDS-FROM-INSTANCE and DELETE-INSTANCE-RECORDS. 
2675         * sql/generics.lisp: move generics from objects.lisp to here. 
2676         
2677 29 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2678         * Version 2.9.6-pre1
2679         * db-mysql/mysql-client-info.lisp: Add client version 4.1
2680         detection
2681         * sql/sql.lisp: Make *default-database* the default for
2682         TRUNCATE-DATABASE
2683         
2684 28 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2685         * Version 2.9.5
2686         * db-mysql/mysql-sql.lisp: Fix bug in transaction capability
2687         detection
2688         * sql/objects.lisp: Commit patch from Slawek Zak to allow specifying 
2689         :metaclass in DEF-VIEW-CLASS invocation. This allows defining classes 
2690         on a metaclass specialized from standard-db-class.
2691
2692         
2693 24 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2694         * Version 2.9.4: Multiple changes to support Allegro's "modern"
2695         lisp which uses a lowercase reader and has case-sensitive symbols
2696         * sql/classes.lisp: Fix make-load-form bug for sql-ident-table
2697         exposed by case-sensitive mlisp. 
2698
2699 22 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2700         * Version 2.9.3: All tests now pass on all platforms!
2701         * LATEST-TEST-RESULTS: New file with summary of test results
2702         * sql/generics.lisp: New file for generic function definitions.
2703         * test/test-init.lisp: Display names of skipped tests.
2704         Use unwind-protect to ensure disconnect
2705         * sql/objects.lisp: Change database-type to database-underlying-type
2706         so that actual database engine is properly identified
2707         * db-odbc/odbc-api.lisp: Have default *time-conversion-function*
2708         return an ISO timestring for compatibility with other drivers.
2709         Workaround bug in MyODBC for LIST-TABLE-INDEXES
2710         * test/test-fdml.lisp: Accomodate that odbc-postgresql driver
2711         returns floating-point values for floor and truncate operations 
2712         * db-aodbc/aodbc-sql.lisp: Implement DATABASE-LIST-VIEWS
2713         * tests/test-basic.lisp: Port to regression tester
2714         * test/test-init.lisp: Output to *report-stream*
2715         * docs/appendix.xml: Document ODBC and SQLite backends.
2716         * sql/classes.lisp: Make output-sql require a database parameter.
2717         This allows SQL generation to have the proper case to support
2718         the differences in case handling between CommonSQL API,
2719         Postgresql, MySQL, Oracle.
2720         
2721 21 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2722         * Version 2.9.2: Improvments in database capability introspection
2723         and querying. Support transactions in MySQL where available.
2724         All tests now pass on MySQL and SQLite in addition to postgresql
2725         and postgresql-socket. ODBC fails only with OODDL/TIME/1 and OODDL/TIME/2.
2726         * db-odbc/odbc-sql.lisp: Add DATABASE-LIST-VIEWS. Better support
2727         DATABASE-LIST-SEQUENCES.
2728         * clsql-uffi.asd, clsql-mysql.asd: Improve shared library loading
2729         * Database_capabilies: add HAS-VIEWS, HAS-CREATE/DESTROY-DB,
2730         HAS-BOOLEAN-WHERE, TRANSACTION-CAPABLE
2731         * tests/*.lisp: Check database capabilities and remove tests which
2732         the database backend does not support
2733         * sql/table.lisp: Add :TRANSACTIONS keyword to create table which
2734         controls whether InnoDB tables will be created when supported on
2735         the underlying MySQL server.
2736         
2737 20 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2738         * Version 2.9.0: New API function: LIST-TABLE-INDEXES,
2739         supported by all database backends (except AODBC since
2740         AODBC doesn't support index querying)
2741         * db-obdc/odbc-sql.lisp: Support DATABASE-LIST-INDEXES
2742         * db-odbc/odbc-api.lisp: Add %TABLE-STATISTICS function
2743         to support index queries
2744         * db-aodbc/aodbc-sql.lisp: Filter driver manager
2745         "information_schema" tables from LIST-TABLES
2746         * tests/test-basic.lisp: Remove table after testing
2747         * tests/test-fddl.lisp: Test LIST-TABLE-INDEXES
2748         * base/db-interface.lisp: Add DATABASE-UNDERLYING-TYPE
2749         which gets the underlying type of database -- required
2750         when dealing with ODBC databases and want to query
2751         database capabilities. Added DB-USE-COLUMN-ON-DROP-TABLES?
2752         as first database-backend specific feature. Is T on
2753         :mysql, NIL on other backends. Change DROP-TABLE to
2754         query this.
2755         
2756 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2757         * Version 2.8.2: Build changes for FreeBSD [Slawek Zak]
2758
2759 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2760         * Version 2.8.1
2761         * db-odbc/odbc-sql.lisp: Add DATABASE-LIST function 
2762         * db-odbc/odbc-dbi.lisp: Add LIST-ALL-DATA-SOURCES function 
2763
2764 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2765         * Version 2.8.0: New API function: LIST-DATABASES
2766         * base/utils.lisp: Fix command-output on CMUCL/SBCL
2767         * db-*/*-sql.lisp: Add new database-list function
2768         * base/database.lisp: Add new LIST-DATABASES command
2769         
2770 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2771         * Version 2.7.9
2772         * db-sqlite/sqlite-sql.lisp: Fix sequence functions.
2773         * db-sqlite/sqlite-api-uffi.lisp: Print error string
2774         correctly.
2775         
2776 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2777         * Version 2.7.7
2778         * doc/csql.xml, examples/clsql-tutorial.lisp: Patch for db-kind
2779         from Eduardo Munoz.
2780         
2781 17 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2782         * Version 2.7.6
2783         * base/objects.lisp, base/classes.lisp: Patch
2784         for db-kind from Eduardo Munoz
2785         
2786 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2787         * Version 2.7.5
2788         * base/basic-sql.lisp: Fix FLATP in QUERY
2789
2790 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2791         * Version 2.7.3: Implement RECONNECT
2792
2793 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2794         * Version 2.7.2: Fix ODBC on Lispworks Windows
2795
2796 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2797         * Version 2.7.1: Fix for new ODBC backend.
2798         clsql-odbc now works on SBCL, CMUCL, OpenMCL
2799         in addition to AllegroCL and Lispworks.
2800
2801 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2802         * Version 2.7.0: New backend: ODBC. Tests as
2803         well as AODBC backend on Allegro,Lispworks.
2804         SBCL and CMUCL don't work quite yet.  Requires UFFI v1.4.11+
2805         * db-odbc/*.lisp: Add ODBC3 function SQLSetEnvAttr
2806         to explicitly set ODBC2 support. Add BIGINT support.
2807         Add result-types support. Added SQLTables.
2808         Fix array type in fetch-all-rows. Make width
2809         changable by database or query.
2810         * base/utils.lisp: Add process functions
2811         * base/package.lisp: Export utils to CLSQL-BASE-SYS
2812         * db-aodbc: Implement sequence functions,
2813         database-list-tables, database-list-attributes
2814         * tests/utils.lisp: Add support for ODBC backend,
2815         rework READ-SPECS to use +all-db-types+
2816         * db-mysql/mysql-sql.lisp: Use WITHOUT-INTERRUPTS
2817         for SEQUENCE-NEXT
2818         
2819 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2820         * Version 2.6.13. Requires UFFI version 1.4.9
2821         * db-odbc/*.lisp: Further porting.
2822         Pre-alpha code! But, basic query is now working.
2823
2824 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2825         * Version 2.6.12
2826         * base/transactions.lisp: Add quote for macro
2827         expansion of WITH-TRANSACTIONS [Time Howe]
2828         * db-sqlite/sqlite-sql.lisp: Support memory database
2829         in database-probe [Ng Pheng Siong]
2830         * db-odbc/*.lisp: Initial port to UFFI of SQL-ODBC.
2831         The DBI layer is not finished.
2832         
2833 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2834         * Version 2.6.11
2835         * sql/objects.lisp: add :root-class functionality for
2836         list-classes and add duration type support [Marcus Pearce]
2837         * db-odbc: Add mid-level [DBI] layer
2838
2839 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2840         * Version 2.6.10
2841         * db-aodbc: Add methods for generic functions, some are
2842         not yet implemented.
2843         * clsql-odbc.asd, db-odbc/*.lisp: Initial start of ODBC
2844         support
2845
2846 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2847         * Version 2.6.9
2848         * base/package.lisp: Add missing symbols [Marcus Pearce]
2849
2850 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2851         * Version 2.6.8
2852         * test/test-fddl.lisp: Cleanup fix [Marcus Pearce]
2853         * utils/time.lisp: Multiple fixes [Marcus Pearce]
2854         * sql/sql.lisp: Fix for truncate-database [Marcus Pearce]
2855         
2856 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2857         * Version 2.6.7
2858         * sql/*.lisp: Remove schema versioning cruft
2859         [Marcus Pearce]
2860         * Makefile: Add classic subdirectory
2861         
2862 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2863         * Version 2.6.6
2864         * sql/sql.lisp: Fix TRUNCATE command, bug reported
2865         by Marcus Pearce
2866         * sql/sql.lisp: Remove EXPLAIN function. Postgresql/Oracle
2867         specific and easy for an application to directly support.
2868         Idea from Marcus Pearce.
2869         * base/basic-sql.lisp: Remove DESCRIBE-TABLE top-level 
2870         API as duplicates LIST-ATTRIBUTE-TYPES [Marcus Pearce].
2871         Keep low-level interface for future optimization
2872         supporting LIST-ATTRIBUTE-TYPES command.
2873         * Makefile: Add to db-sqlite and test directories.
2874         Include them in top-level Makefile
2875         
2876 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2877         * Version 2.6.5
2878         * sql/relations.lisp: Add missing file
2879         * utils/time.lisp: Fixes/extensions [Marcus Pearce]
2880         * test/test-time.lips: New file [Marcus Pearce]
2881         
2882 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2883         * Version 2.6.4
2884         * test/test-init.lisp: Properly handle object
2885         creation. Close database after use.
2886         * sql/sql.lisp: Make DESCRIBE-TABLE a generic
2887         function so can have methods specialized on
2888         table being a string or an sql-table object.
2889         * base/pool.lisp: Really fix CMUCL locking
2890         
2891 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2892         * Version 2.6.3
2893         * test/test-init.lisp: Signal correctly
2894         if any errors occurred in any test suite
2895         * base/loop-extensions.lisp: Fix error
2896         introduced for Lispworks
2897         * base/pool.lisp: Fix locking for CMUCL
2898         * base/objects.lisp: Remove schema-version cruft
2899         
2900 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2901         * Version 2.6.2: New CLSQL API functions:
2902         DESCRIBE-TABLE AND TRUNCATE-DATABASE
2903         Currently, this are only supported on :postgresql
2904         and :postgresql-socket
2905         * base/database.lisp: automatically load ASDF system
2906         in CONNECT if not already loaded
2907         * base/tests.lisp: disconnect database after testing 
2908         * base/*.lisp: Remove CLOSED-DATABASE type in favor
2909         of storing open/closed status in slot of database
2910         * base/pool.lisp: Support locks for CMUCL, OpenMCL, SBCL
2911         * db-postgresql/postgresql-sql.lisp: add DATABASE-RECONNECT,
2912         DATABASE-DESCRIBE-TABLE
2913         * db-sqlite/sqlite-sql.lisp: Add missing slots in database
2914         * base/conditions: Remove duplicate condition
2915         * db-*/*-sql.lisp: Fill new database slot DATABASE-TYPE
2916         * base/recording.lisp: Add new :QUERY type for recording
2917         
2918 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2919         * Version 2.6.1: documentation fixes, merged
2920         classic-tests into tests
2921
2922 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2923         * Version 2.6.0 released: New API functions
2924         CREATE-DATABASE, DESTORY-DATABASE, PROBE-DATABASE
2925         * doc/ref_clsql.xml: Document new functions
2926         * base/database.lisp: New API functions
2927         * base/conditions.lisp: Added CLSQL-ACCESS-ERROR
2928         * base/utils.lisp: Fix use of position-char.
2929         Add COMMAND-OUTPUT used by backends for running
2930         external programs. Fix parsing of SQL*NET-compatible
2931         connection-specs.
2932         * base/loop-extension.lisp: Simplify package use
2933         for Lispworks and Allegro
2934         * db-*/*-sql.lisp: Added DATABASE-CREATE,
2935         DATABASE-DESTORY, PROBE-DATABASE methods
2936         * tests/test-init.lisp, clasic-tests/tests.lisp:
2937         Use destroy-database and create-database to ensure 
2938         testing with empty database
2939         * tests/test-connection.lisp: Add tests for
2940         parsing of string connection-specs
2941         * examples/run-tests.sh: New file for running
2942         test suite on all installed CL implementations
2943         * examples/clsql-tutorial.lisp: moved from
2944         doc directory
2945         * examples/dot.clsql-tests.config: New file
2946         giving an example test configuration
2947         * test/README: Add notes about rtest/ptester
2948         downloads and link to sample test configuration file.
2949         
2950 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2951         * Version 2.5.1 released:
2952         * tests/*.lisp: Rework so tests are run
2953         on multiple backends automatically based
2954         on the contents of ~/.clsql-tests.config.
2955         Reuse helper functions from classic-tests.
2956         * base/database.lisp: Support connection-spec
2957         as string for CONNECT
2958         * classic-tests/tests.lisp: Automatically
2959         load database backends as needed. 
2960         
2961 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2962         * Version 2.5.0 released:
2963         All tests for CLSQL and CLSQL-CLASSIC pass
2964         on all platforms.
2965         * base/loop-extension.lisp: Add Lispworks
2966         loop-extension. Improve type specifying on
2967         other platforms.
2968         
2969 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2970         * Version 2.4.2 released:
2971         loop extension now supported on Allegro, all
2972         CLSQL-TESTS pass on Allegro.
2973         * sql/metaclasses.lisp: Some optimization
2974         of compute-slots, be selective when
2975         ordered-class-slots needs to be called
2976         instead of class-slots
2977         * TODO: add URL with documentation on
2978         extending Lispworks LOOP form
2979         
2980 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2981         * Version 2.4.1 released: CLSQL-TESt suite passes
2982         all tests for postgresql and CMUCL, SBCL, OpenMCL.
2983         Allegro and Lispworks pass all tests except for
2984         FDML/LOOP/1 since the loop extension have not yet
2985         been ported to those implementions.
2986         * sql/metaclasses.lisp: Added new slot to standard-db-class
2987         to hold user-specified type. OpenMCL adjustments to compensate
2988         for its type-predicate function. Since AllegroCL, Lispworks,
2989         and OpenMCL have different slot orders, added compute-slots
2990         and ordered-class-slots functions so their slot order matches
2991         SBCL/CMUCL.
2992
2993 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2994         * Version 2.4.0 released: All tests for clsql-classic now finish
2995         correctly on Allegro, Lispworks, CMUCL, SBCL, OpenMCL for
2996         mysql, postgresql, postgresql-sockets, and sqlite backends.
2997         * db-mysql/mysql-sql.lisp: Fix array dereferencing
2998         * classic-tests/tests.lisp: Fix package name of
2999         number-to-sql-string. 
3000         * clsql.asd/clsql-tests.asd: Add support for asdf:test-op
3001         * db-sqlite/sqlite-api-{uffi,sql}.lisp: Multiple UFFI fixes,
3002         now passes tests on all support UFFI platforms.
3003         * db-postgresql-socket/postgresql-socket-api.list: Ported to 
3004         SBCL and OpenMCL
3005         * multiple: Finish renaming of :types keyword to :result-types for
3006         greater CommonSQL compatibility, including documentation
3007         * sql/basic-cmds.lisp: Remove obsolete file
3008         
3009 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
3010         * Version 2.3.3 released
3011         * Fixes for sequences on mysql and sqlite [Marcus Pearce]
3012         * Fixes for uffi sqlite backend [Aurelio Bignoli / Kevin Rosenberg]
3013         * Fix for schema table [Marcus Pearce]
3014         * Add loop extension support for SBCL and OpenMCL [Marcus Pearce]
3015         * Fixes to test suite [Marcus Pearce]
3016
3017 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
3018         * db-*/*-sql.lisp: Ensure that expr in
3019         database-query-result-set is a string
3020         * Documentation integration
3021         
3022 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
3023         * With for Marcus Pearce's excellent work, I've merged
3024         his clsql-usql port into clsql. The original clsql
3025         interface is available in the clsql-classic package.
3026
3027 02 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
3028         * Integrate patch from Marcus Pearce <ek735@soi.city.ac.uk>
3029         adding further support for providing backend for UncommonSQL
3030
3031 10 Mar 2004 Kevin Rosenberg (kevin@rosenberg.net)
3032         * Integrate patch from Aurelio Bignoli for SQLite backend
3033
3034 11 Nov 2003 Kevin Rosenberg (kevin@rosenberg.net)
3035         * Converted documentation to XML format
3036         * Made package installable with asdf-install
3037
3038 23 Jul 2003 Kevin Rosenberg (kevin@rosenberg.net)
3039         * Add for-each-row macro
3040
3041 12 Dec 2002 Kevin Rosenberg (kevin@rosenberg.net)
3042         * uffi/clsql-uffi.lisp: return NIL for numeric fields that are NULL
3043         
3044 16 Oct 2002 Kevin Rosenberg (kevin@rosenberg.net)
3045         * Add support for SBCL, OpenMCL, and SCL
3046         * Add *load-truename* to search path for clsql's
3047         compiled libraries.
3048
3049 01 Sep 2002 Kevin Rosenberg (kevin@rosenberg.net)
3050         * Rework use of file types in .asd files
3051
3052 17 Aug 2002 Kevin Rosenberg (kevin@rosenberg.net)
3053         * Add .asd definition files for ASDF users
3054
3055 31 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
3056         * Restructure directories for Common Lisp Controller v3 compatibility
3057
3058 25 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
3059         * Also change case of logical host in loader files
3060         * Rework handling of logical pathnames
3061         
3062 05 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
3063         * Change case of logical host
3064         
3065 14 May 2002 Kevin Rosenberg (kevin@rosenberg.net)
3066         * clsql-base.system: Added base package that can be used without
3067         high-level SQL commands. Used for adding support for UncommonSQL.
3068         * *.system: Reworked logical pathnames to be more consistent with
3069         Common Lisp Controller.
3070         * debian/*: Completed initial Debian support
3071         
3072 10 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
3073         * sql/classes.cl:
3074         * sql/transactions.cl:
3075         Added transaction support. Functions/macros added:
3076         with-transaction, commit-transaction, rollback-transaction,
3077         add-transaction-commit-hook, add-transaction-rollback-hook
3078
3079 04 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
3080         * sql/sql.cl:
3081         * sql/pool.cl:
3082         * sql/functional.cl:
3083         Added pool support in connect/disconnect and with-database.
3084         Removed with-db-from-pool as with-database can now works with the connections pool
3085
3086 01 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
3087         * sql/sql.cl:
3088         * sql/pool.cl:
3089         * sql/classes.cl:
3090         * sql/package.cl:
3091         Completed connection pool.
3092         Added with-db-from-pool macro.
3093         
3094 27 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
3095         * Multiple files:
3096         Added initial support for connection pool
3097         * sql/transactions.cl
3098         Took transaction code from UncommonSQL and integrated
3099         into CLSQL code. See file for disclaimer about why this
3100         was added.
3101
3102 23 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
3103         * interfaces/postgresql/postgresql-sql.cl:
3104         Fix keyword typo in database-read-large-object
3105         * interfaces/mysql/mysql-loader.cl
3106         Fix loading on Win32
3107         * test-suite/tester-clsql.cl
3108         Fix type coercion of double-float
3109         * doc/*
3110         Added debian docbook catalog, made it the default
3111         
3112 19 Apr 2002 Marc Battyani (marc.battyani@fractalconcept.com)
3113         * interface/postgresql/postgresql-api.cl:
3114         * interface/postgresql/postgresql-sql.cl:
3115         * sql/sql.cl:
3116         * sql/db-interface.cl:
3117         Added large objects support for postgresql.
3118
3119 07 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
3120         * src/postgresql-socket/postgresql-socket-api.cl:
3121         Fixed find-foreign-function call, eliminated crypt warning
3122         * Makefiles:
3123         Multiple improvements
3124         * sql/usql.cl:
3125         Moved functionality from low-level interfaces to this file
3126         via generic functions
3127         * test-suite/tester.cl:
3128         Added test with acl-compat-tester, moved others to old-tests
3129         directory.
3130         
3131 06 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
3132         * src/usql.cl:
3133         Reinstated commented out sections
3134         * interfaces/postgresql/postgresql-loader.cl:
3135         * interfaces/mysql/mysql-loader.cl:
3136         Updated find-forieign-library support.
3137         * interfaces/postgresql-socket/postgresql-socket-package.cl:
3138         Fixed require form for Lispworks (Thanks Marc Battyani!)
3139         * interfaces/postgresql-socket/postgresql-socket-api.cl:
3140         Fixed eval of def-function for crypt library.
3141                 
3142 31 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
3143         * Added interface to support USQL high-level rouines
3144         
3145 29 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
3146         * Separated db-interface and conditions from sql/sql.cl
3147         * Improved foreign library loading testing
3148         * interfaces/postgresql/postgresql-api.cl
3149         Added PQisBusy function
3150         * interfaces/clsql-uffi/clsql-uffi.cl
3151         Fixed sign error for 64-bit processing
3152         
3153 27 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
3154         * interfaces/postgresql-socket/postgresql-socket-api.cl:
3155         Fixes to read-double-from-socket. Added 64-bit integer support.
3156         * test-suite/xptest-clsql.cl
3157         Added testint for 64-bit integers
3158         * Additons to installation docs
3159         
3160 26 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
3161         * interfaces/postgresql-socket/postgresql-socket-api.cl:
3162         Implemented direct socket reading for field type :double
3163         * Added usage information for :types to documentation
3164         * interfaces/mysql/mysql-sql.cl: Fixed type specifiers in atoi,
3165         atol, atof calls
3166         * interfaces/clsql-uffi: Created new directory. Split common
3167         interface routines that use UFFI into this package. Required
3168         especially to support direct reading of 64-bit integers into
3169         bignums and bypassing temporary strings.
3170         * test-clsql.cl: Updated to test postgresql-socket's
3171         read-double-from-socket function.
3172         * test-suite/xptest-clsql.cl
3173         Started work on test suite
3174
3175 25 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
3176         * interfaces/mysql/mysql-api.cl: Added mysql-fetch-fields,
3177         mysql-fetch-field-direct Got :auto types working
3178         * interfaces/postgresql/postgresql-api.cl
3179         * interfaces/postgresql-socket/postgresql-socket-api.cl
3180         Added pgsql-field-types enum. Got :auto types working.
3181         * multiple-files
3182         Renamed :field-types to :types.
3183         
3184 24 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
3185         * Added field-types parameter to query, database-query,
3186         database-query-result-set, map-query. Haven't added code
3187         to utilize field types, yet.
3188         * Changed postgresql-socket result set from cons to a structure
3189         * Updated test-clsql.cl to use automated testing with a config
3190         file
3191         * Changed return types of field accessors from cstring to
3192         (* :unsigned-char).  This prepares for being able to use specified
3193         type conversions when taking field data into lisp.
3194         * Added field-type processing for most interfaces. Not done yet.
3195         
3196 23 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
3197         * doc/ref.sgml: Updated MAP-QUERY example to use
3198         *read-default-float-format* (John Foderaro)
3199         * Extensive work to foreign library loaders and .system files to
3200         check for successful loading of foreign libraries.
3201         * Modified test-clsql.cl to allow more modularity and
3202         automated testing in future release.
3203         * mysql/mysql-sql.lisp: Added field types
3204         
3205 01 Jan 2002 Kevin Rosenberg (kevin@rosenberg.net)
3206         * mysql/mysql-sql.lisp:
3207         - Added support for Allegro CL and Lispworks using UFFI layer
3208         - Changed database-connect to use mysql-real-connect. This way,
3209           can avoid using double (unwind-protect)
3210         - Changed database-connect to have MySQL library allocate space
3211           for MYSQL structure. This will make the code more robust in
3212           the event that MySQL library changes the size of the mysql-mysql
3213           structure.