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