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