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