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