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