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