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