r9023: 2.7.1
[clsql.git] / ChangeLog
1 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2         * Version 2.7.1: Fix for new ODBC backend.
3         clsql-odbc now works on SBCL, CMUCL, OpenMCL
4         in addition to AllegroCL and Lispworks.
5
6 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
7         * Version 2.7.0: New backend: ODBC. Tests as
8         well as AODBC backend on Allegro,Lispworks.
9         SBCL and CMUCL don't work quite yet.  Requires UFFI v1.4.11+
10         * db-odbc/*.lisp: Add ODBC3 function SQLSetEnvAttr
11         to explicitly set ODBC2 support. Add BIGINT support.
12         Add result-types support. Added SQLTables.
13         Fix array type in fetch-all-rows. Make width
14         changable by database or query.
15         * base/utils.lisp: Add process functions
16         * base/package.lisp: Export utils to CLSQL-BASE-SYS
17         * db-aodbc: Implement sequence functions,
18         database-list-tables, database-list-attributes
19         * tests/utils.lisp: Add support for ODBC backend,
20         rework READ-SPECS to use +all-db-types+
21         * db-mysql/mysql-sql.lisp: Use WITHOUT-INTERRUPTS
22         for SEQUENCE-NEXT
23         
24 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
25         * Version 2.6.13. Requires UFFI version 1.4.9
26         * db-odbc/*.lisp: Further porting.
27         Pre-alpha code! But, basic query is now working.
28
29 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
30         * Version 2.6.12
31         * base/transactions.lisp: Add quote for macro
32         expansion of WITH-TRANSACTIONS [Time Howe]
33         * db-sqlite/sqlite-sql.lisp: Support memory database
34         in database-probe [Ng Pheng Siong]
35         * db-odbc/*.lisp: Initial port to UFFI of SQL-ODBC.
36         The DBI layer is not finished.
37         
38 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
39         * Version 2.6.11
40         * sql/objects.lisp: add :root-class functionality for
41         list-classes and add duration type support [Marcus Pearce]
42         * db-odbc: Add mid-level [DBI] layer
43
44 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
45         * Version 2.6.10
46         * db-aodbc: Add methods for generic functions, some are
47         not yet implemented.
48         * clsql-odbc.asd, db-odbc/*.lisp: Initial start of ODBC
49         support
50
51 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
52         * Version 2.6.9
53         * base/package.lisp: Add missing symbols [Marcus Pearce]
54
55 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
56         * Version 2.6.8
57         * test/test-fddl.lisp: Cleanup fix [Marcus Pearce]
58         * utils/time.lisp: Multiple fixes [Marcus Pearce]
59         * sql/sql.lisp: Fix for truncate-database [Marcus Pearce]
60         
61 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
62         * Version 2.6.7
63         * sql/*.lisp: Remove schema versioning cruft
64         [Marcus Pearce]
65         * Makefile: Add classic subdirectory
66         
67 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
68         * Version 2.6.6
69         * sql/sql.lisp: Fix TRUNCATE command, bug reported
70         by Marcus Pearce
71         * sql/sql.lisp: Remove EXPLAIN function. Postgresql/Oracle
72         specific and easy for an application to directly support.
73         Idea from Marcus Pearce.
74         * base/basic-sql.lisp: Remove DESCRIBE-TABLE top-level 
75         API as duplicates LIST-ATTRIBUTE-TYPES [Marcus Pearce].
76         Keep low-level interface for future optimization
77         supporting LIST-ATTRIBUTE-TYPES command.
78         * Makefile: Add to db-sqlite and test directories.
79         Include them in top-level Makefile
80         
81 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
82         * Version 2.6.5
83         * sql/relations.lisp: Add missing file
84         * utils/time.lisp: Fixes/extensions [Marcus Pearce]
85         * test/test-time.lips: New file [Marcus Pearce]
86         
87 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
88         * Version 2.6.4
89         * test/test-init.lisp: Properly handle object
90         creation. Close database after use.
91         * sql/sql.lisp: Make DESCRIBE-TABLE a generic
92         function so can have methods specialized on
93         table being a string or an sql-table object.
94         * base/pool.lisp: Really fix CMUCL locking
95         
96 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
97         * Version 2.6.3
98         * test/test-init.lisp: Signal correctly
99         if any errors occurred in any test suite
100         * base/loop-extensions.lisp: Fix error
101         introduced for Lispworks
102         * base/pool.lisp: Fix locking for CMUCL
103         * base/objects.lisp: Remove schema-version cruft
104         
105 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
106         * Version 2.6.2: New CLSQL API functions:
107         DESCRIBE-TABLE AND TRUNCATE-DATABASE
108         Currently, this are only supported on :postgresql
109         and :postgresql-socket
110         * base/database.lisp: automatically load ASDF system
111         in CONNECT if not already loaded
112         * base/tests.lisp: disconnect database after testing 
113         * base/*.lisp: Remove CLOSED-DATABASE type in favor
114         of storing open/closed status in slot of database
115         * base/pool.lisp: Support locks for CMUCL, OpenMCL, SBCL
116         * db-postgresql/postgresql-sql.lisp: add DATABASE-RECONNECT,
117         DATABASE-DESCRIBE-TABLE
118         * db-sqlite/sqlite-sql.lisp: Add missing slots in database
119         * base/conditions: Remove duplicate condition
120         * db-*/*-sql.lisp: Fill new database slot DATABASE-TYPE
121         * base/recording.lisp: Add new :QUERY type for recording
122         
123 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
124         * Version 2.6.1: documentation fixes, merged
125         classic-tests into tests
126
127 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
128         * Version 2.6.0 released: New API functions
129         CREATE-DATABASE, DESTORY-DATABASE, PROBE-DATABASE
130         * doc/ref_clsql.xml: Document new functions
131         * base/database.lisp: New API functions
132         * base/conditions.lisp: Added CLSQL-ACCESS-ERROR
133         * base/utils.lisp: Fix use of position-char.
134         Add COMMAND-OUTPUT used by backends for running
135         external programs. Fix parsing of SQL*NET-compatible
136         connection-specs.
137         * base/loop-extension.lisp: Simplify package use
138         for Lispworks and Allegro
139         * db-*/*-sql.lisp: Added DATABASE-CREATE,
140         DATABASE-DESTORY, PROBE-DATABASE methods
141         * tests/test-init.lisp, clasic-tests/tests.lisp:
142         Use destroy-database and create-database to ensure 
143         testing with empty database
144         * tests/test-connection.lisp: Add tests for
145         parsing of string connection-specs
146         * examples/run-tests.sh: New file for running
147         test suite on all installed CL implementations
148         * examples/clsql-tutorial.lisp: moved from
149         doc directory
150         * examples/dot.clsql-tests.config: New file
151         giving an example test configuration
152         * test/README: Add notes about rtest/ptester
153         downloads and link to sample test configuration file.
154         
155 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
156         * Version 2.5.1 released:
157         * tests/*.lisp: Rework so tests are run
158         on multiple backends automatically based
159         on the contents of ~/.clsql-tests.config.
160         Reuse helper functions from classic-tests.
161         * base/database.lisp: Support connection-spec
162         as string for CONNECT
163         * classic-tests/tests.lisp: Automatically
164         load database backends as needed. 
165         
166 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
167         * Version 2.5.0 released:
168         All tests for CLSQL and CLSQL-CLASSIC pass
169         on all platforms.
170         * base/loop-extension.lisp: Add Lispworks
171         loop-extension. Improve type specifying on
172         other platforms.
173         
174 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
175         * Version 2.4.2 released:
176         loop extension now supported on Allegro, all
177         CLSQL-TESTS pass on Allegro.
178         * sql/metaclasses.lisp: Some optimization
179         of compute-slots, be selective when
180         ordered-class-slots needs to be called
181         instead of class-slots
182         * TODO: add URL with documentation on
183         extending Lispworks LOOP form
184         
185 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
186         * Version 2.4.1 released: CLSQL-TESt suite passes
187         all tests for postgresql and CMUCL, SBCL, OpenMCL.
188         Allegro and Lispworks pass all tests except for
189         FDML/LOOP/1 since the loop extension have not yet
190         been ported to those implementions.
191         * sql/metaclasses.lisp: Added new slot to standard-db-class
192         to hold user-specified type. OpenMCL adjustments to compensate
193         for its type-predicate function. Since AllegroCL, Lispworks,
194         and OpenMCL have different slot orders, added compute-slots
195         and ordered-class-slots functions so their slot order matches
196         SBCL/CMUCL.
197
198 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
199         * Version 2.4.0 released: All tests for clsql-classic now finish
200         correctly on Allegro, Lispworks, CMUCL, SBCL, OpenMCL for
201         mysql, postgresql, postgresql-sockets, and sqlite backends.
202         * db-mysql/mysql-sql.lisp: Fix array dereferencing
203         * classic-tests/tests.lisp: Fix package name of
204         number-to-sql-string. 
205         * clsql.asd/clsql-tests.asd: Add support for asdf:test-op
206         * db-sqlite/sqlite-api-{uffi,sql}.lisp: Multiple UFFI fixes,
207         now passes tests on all support UFFI platforms.
208         * db-postgresql-socket/postgresql-socket-api.list: Ported to 
209         SBCL and OpenMCL
210         * multiple: Finish renaming of :types keyword to :result-types for
211         greater CommonSQL compatibility, including documentation
212         * sql/basic-cmds.lisp: Remove obsolete file
213         
214 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
215         * Version 2.3.3 released
216         * Fixes for sequences on mysql and sqlite [Marcus Pearce]
217         * Fixes for uffi sqlite backend [Aurelio Bignoli / Kevin Rosenberg]
218         * Fix for schema table [Marcus Pearce]
219         * Add loop extension support for SBCL and OpenMCL [Marcus Pearce]
220         * Fixes to test suite [Marcus Pearce]
221
222 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
223         * db-*/*-sql.lisp: Ensure that expr in
224         database-query-result-set is a string
225         * Documentation integration
226         
227 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
228         * With for Marcus Pearce's excellent work, I've merged
229         his clsql-usql port into clsql. The original clsql
230         interface is available in the clsql-classic package.
231
232 02 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
233         * Integrate patch from Marcus Pearce <ek735@soi.city.ac.uk>
234         adding further support for providing backend for UncommonSQL
235
236 10 Mar 2004 Kevin Rosenberg (kevin@rosenberg.net)
237         * Integrate patch from Aurelio Bignoli for SQLite backend
238
239 11 Nov 2003 Kevin Rosenberg (kevin@rosenberg.net)
240         * Converted documentation to XML format
241         * Made package installable with asdf-install
242
243 23 Jul 2003 Kevin Rosenberg (kevin@rosenberg.net)
244         * Add for-each-row macro
245
246 12 Dec 2002 Kevin Rosenberg (kevin@rosenberg.net)
247         * uffi/clsql-uffi.lisp: return NIL for numeric fields that are NULL
248         
249 16 Oct 2002 Kevin Rosenberg (kevin@rosenberg.net)
250         * Add support for SBCL, OpenMCL, and SCL
251         * Add *load-truename* to search path for clsql's
252         compiled libraries.
253
254 01 Sep 2002 Kevin Rosenberg (kevin@rosenberg.net)
255         * Rework use of file types in .asd files
256
257 17 Aug 2002 Kevin Rosenberg (kevin@rosenberg.net)
258         * Add .asd definition files for ASDF users
259
260 31 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
261         * Restructure directories for Common Lisp Controller v3 compatibility
262
263 25 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
264         * Also change case of logical host in loader files
265         * Rework handling of logical pathnames
266         
267 05 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
268         * Change case of logical host
269         
270 14 May 2002 Kevin Rosenberg (kevin@rosenberg.net)
271         * clsql-base.system: Added base package that can be used without
272         high-level SQL commands. Used for adding support for UncommonSQL.
273         * *.system: Reworked logical pathnames to be more consistent with
274         Common Lisp Controller.
275         * debian/*: Completed initial Debian support
276         
277 10 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
278         * sql/classes.cl:
279         * sql/transactions.cl:
280         Added transaction support. Functions/macros added:
281         with-transaction, commit-transaction, rollback-transaction,
282         add-transaction-commit-hook, add-transaction-rollback-hook
283
284 04 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
285         * sql/sql.cl:
286         * sql/pool.cl:
287         * sql/functional.cl:
288         Added pool support in connect/disconnect and with-database.
289         Removed with-db-from-pool as with-database can now works with the connections pool
290
291 01 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
292         * sql/sql.cl:
293         * sql/pool.cl:
294         * sql/classes.cl:
295         * sql/package.cl:
296         Completed connection pool.
297         Added with-db-from-pool macro.
298         
299 27 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
300         * Multiple files:
301         Added initial support for connection pool
302         * sql/transactions.cl
303         Took transaction code from UncommonSQL and integrated
304         into CLSQL code. See file for disclaimer about why this
305         was added.
306
307 23 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
308         * interfaces/postgresql/postgresql-sql.cl:
309         Fix keyword typo in database-read-large-object
310         * interfaces/mysql/mysql-loader.cl
311         Fix loading on Win32
312         * test-suite/tester-clsql.cl
313         Fix type coercion of double-float
314         * doc/*
315         Added debian docbook catalog, made it the default
316         
317 19 Apr 2002 Marc Battyani (marc.battyani@fractalconcept.com)
318         * interface/postgresql/postgresql-api.cl:
319         * interface/postgresql/postgresql-sql.cl:
320         * sql/sql.cl:
321         * sql/db-interface.cl:
322         Added large objects support for postgresql.
323
324 07 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
325         * src/postgresql-socket/postgresql-socket-api.cl:
326         Fixed find-foreign-function call, eliminated crypt warning
327         * Makefiles:
328         Multiple improvements
329         * sql/usql.cl:
330         Moved functionality from low-level interfaces to this file
331         via generic functions
332         * test-suite/tester.cl:
333         Added test with acl-compat-tester, moved others to old-tests
334         directory.
335         
336 06 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
337         * src/usql.cl:
338         Reinstated commented out sections
339         * interfaces/postgresql/postgresql-loader.cl:
340         * interfaces/mysql/mysql-loader.cl:
341         Updated find-forieign-library support.
342         * interfaces/postgresql-socket/postgresql-socket-package.cl:
343         Fixed require form for Lispworks (Thanks Marc Battyani!)
344         * interfaces/postgresql-socket/postgresql-socket-api.cl:
345         Fixed eval of def-function for crypt library.
346                 
347 31 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
348         * Added interface to support USQL high-level rouines
349         
350 29 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
351         * Separated db-interface and conditions from sql/sql.cl
352         * Improved foreign library loading testing
353         * interfaces/postgresql/postgresql-api.cl
354         Added PQisBusy function
355         * interfaces/clsql-uffi/clsql-uffi.cl
356         Fixed sign error for 64-bit processing
357         
358 27 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
359         * interfaces/postgresql-socket/postgresql-socket-api.cl:
360         Fixes to read-double-from-socket. Added 64-bit integer support.
361         * test-suite/xptest-clsql.cl
362         Added testint for 64-bit integers
363         * Additons to installation docs
364         
365 26 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
366         * interfaces/postgresql-socket/postgresql-socket-api.cl:
367         Implemented direct socket reading for field type :double
368         * Added usage information for :types to documentation
369         * interfaces/mysql/mysql-sql.cl: Fixed type specifiers in atoi,
370         atol, atof calls
371         * interfaces/clsql-uffi: Created new directory. Split common
372         interface routines that use UFFI into this package. Required
373         especially to support direct reading of 64-bit integers into
374         bignums and bypassing temporary strings.
375         * test-clsql.cl: Updated to test postgresql-socket's
376         read-double-from-socket function.
377         * test-suite/xptest-clsql.cl
378         Started work on test suite
379
380 25 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
381         * interfaces/mysql/mysql-api.cl: Added mysql-fetch-fields,
382         mysql-fetch-field-direct Got :auto types working
383         * interfaces/postgresql/postgresql-api.cl
384         * interfaces/postgresql-socket/postgresql-socket-api.cl
385         Added pgsql-field-types enum. Got :auto types working.
386         * multiple-files
387         Renamed :field-types to :types.
388         
389 24 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
390         * Added field-types parameter to query, database-query,
391         database-query-result-set, map-query. Haven't added code
392         to utilize field types, yet.
393         * Changed postgresql-socket result set from cons to a structure
394         * Updated test-clsql.cl to use automated testing with a config
395         file
396         * Changed return types of field accessors from cstring to
397         (* :unsigned-char).  This prepares for being able to use specified
398         type conversions when taking field data into lisp.
399         * Added field-type processing for most interfaces. Not done yet.
400         
401 23 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
402         * doc/ref.sgml: Updated MAP-QUERY example to use
403         *read-default-float-format* (John Foderaro)
404         * Extensive work to foreign library loaders and .system files to
405         check for successful loading of foreign libraries.
406         * Modified test-clsql.cl to allow more modularity and
407         automated testing in future release.
408         * mysql/mysql-sql.lisp: Added field types
409         
410 01 Jan 2002 Kevin Rosenberg (kevin@rosenberg.net)
411         * mysql/mysql-sql.lisp:
412         - Added support for Allegro CL and Lispworks using UFFI layer
413         - Changed database-connect to use mysql-real-connect. This way,
414           can avoid using double (unwind-protect)
415         - Changed database-connect to have MySQL library allocate space
416           for MYSQL structure. This will make the code more robust in
417           the event that MySQL library changes the size of the mysql-mysql
418           structure.
419
420