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