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