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