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