1 21 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
3 * test/test-init.lisp: Display names of skipped tests.
4 Use unwind-protect to ensure disconnect
5 * sql/objects.lisp: Change database-type to database-underlying-type
6 so that actual database engine is properly identified
7 * db-odbc/odbc-api.lisp: Have default *time-conversion-function*
8 return an ISO timestring for compatibility with other drivers
9 * test/test-fdml.lisp: Accomodate that odbc-postgresql driver
10 returns floating-point values for floor and truncate operations
11 * db-aodbc/aodbc-sql: Implement DATABASE-LIST-VIEWS
13 21 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
14 * Version 2.9.2: Improvments in database capability introspection
15 and querying. Support transactions in MySQL where available.
16 All tests now pass on MySQL and SQLite in addition to postgresql
17 and postgresql-socket. ODBC fails only with OODDL/TIME/1 and OODDL/TIME/2.
18 * db-odbc/odbc-sql.lisp: Add DATABASE-LIST-VIEWS. Better support
19 DATABASE-LIST-SEQUENCES.
20 * clsql-uffi.asd, clsql-mysql.asd: Improve shared library loading
21 * Database_capabilies: add HAS-VIEWS, HAS-CREATE/DESTROY-DB,
22 HAS-BOOLEAN-WHERE, TRANSACTION-CAPABLE
23 * tests/*.lisp: Check database capabilities and remove tests which
24 the database backend does not support
25 * sql/table.lisp: Add :TRANSACTIONS keyword to create table which
26 controls whether InnoDB tables will be created when supported on
27 the underlying MySQL server.
29 20 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
30 * Version 2.9.0: New API function: LIST-TABLE-INDEXES,
31 supported by all database backends (except AODBC since
32 AODBC doesn't support index querying)
33 * db-obdc/odbc-sql.lisp: Support DATABASE-LIST-INDEXES
34 * db-odbc/odbc-api.lisp: Add %TABLE-STATISTICS function
35 to support index queries
36 * db-aodbc/aodbc-sql.lisp: Filter driver manager
37 "information_schema" tables from LIST-TABLES
38 * tests/test-basic.lisp: Remove table after testing
39 * tests/test-fddl.lisp: Test LIST-TABLE-INDEXES
40 * base/db-interface.lisp: Add DATABASE-UNDERLYING-TYPE
41 which gets the underlying type of database -- required
42 when dealing with ODBC databases and want to query
43 database capabilities. Added DB-USE-COLUMN-ON-DROP-TABLES?
44 as first database-backend specific feature. Is T on
45 :mysql, NIL on other backends. Change DROP-TABLE to
48 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
49 * Version 2.8.2: Build changes for FreeBSD [Slawek Zak]
51 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
53 * db-odbc/odbc-sql.lisp: Add DATABASE-LIST function
54 * db-odbc/odbc-dbi.lisp: Add LIST-ALL-DATA-SOURCES function
56 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
57 * Version 2.8.0: New API function: LIST-DATABASES
58 * base/utils.lisp: Fix command-output on CMUCL/SBCL
59 * db-*/*-sql.lisp: Add new database-list function
60 * base/database.lisp: Add new LIST-DATABASES command
62 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
64 * db-sqlite/sqlite-sql.lisp: Fix sequence functions.
65 * db-sqlite/sqlite-api-uffi.lisp: Print error string
68 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
70 * doc/csql.xml, examples/clsql-tutorial.lisp: Patch for db-kind
73 17 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
75 * base/objects.lisp, base/classes.lisp: Patch
76 for db-kind from Eduardo Munoz
78 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
80 * base/basic-sql.lisp: Fix FLATP in QUERY
82 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
83 * Version 2.7.3: Implement RECONNECT
85 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
86 * Version 2.7.2: Fix ODBC on Lispworks Windows
88 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
89 * Version 2.7.1: Fix for new ODBC backend.
90 clsql-odbc now works on SBCL, CMUCL, OpenMCL
91 in addition to AllegroCL and Lispworks.
93 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
94 * Version 2.7.0: New backend: ODBC. Tests as
95 well as AODBC backend on Allegro,Lispworks.
96 SBCL and CMUCL don't work quite yet. Requires UFFI v1.4.11+
97 * db-odbc/*.lisp: Add ODBC3 function SQLSetEnvAttr
98 to explicitly set ODBC2 support. Add BIGINT support.
99 Add result-types support. Added SQLTables.
100 Fix array type in fetch-all-rows. Make width
101 changable by database or query.
102 * base/utils.lisp: Add process functions
103 * base/package.lisp: Export utils to CLSQL-BASE-SYS
104 * db-aodbc: Implement sequence functions,
105 database-list-tables, database-list-attributes
106 * tests/utils.lisp: Add support for ODBC backend,
107 rework READ-SPECS to use +all-db-types+
108 * db-mysql/mysql-sql.lisp: Use WITHOUT-INTERRUPTS
111 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
112 * Version 2.6.13. Requires UFFI version 1.4.9
113 * db-odbc/*.lisp: Further porting.
114 Pre-alpha code! But, basic query is now working.
116 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
118 * base/transactions.lisp: Add quote for macro
119 expansion of WITH-TRANSACTIONS [Time Howe]
120 * db-sqlite/sqlite-sql.lisp: Support memory database
121 in database-probe [Ng Pheng Siong]
122 * db-odbc/*.lisp: Initial port to UFFI of SQL-ODBC.
123 The DBI layer is not finished.
125 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
127 * sql/objects.lisp: add :root-class functionality for
128 list-classes and add duration type support [Marcus Pearce]
129 * db-odbc: Add mid-level [DBI] layer
131 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
133 * db-aodbc: Add methods for generic functions, some are
135 * clsql-odbc.asd, db-odbc/*.lisp: Initial start of ODBC
138 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
140 * base/package.lisp: Add missing symbols [Marcus Pearce]
142 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
144 * test/test-fddl.lisp: Cleanup fix [Marcus Pearce]
145 * utils/time.lisp: Multiple fixes [Marcus Pearce]
146 * sql/sql.lisp: Fix for truncate-database [Marcus Pearce]
148 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
150 * sql/*.lisp: Remove schema versioning cruft
152 * Makefile: Add classic subdirectory
154 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
156 * sql/sql.lisp: Fix TRUNCATE command, bug reported
158 * sql/sql.lisp: Remove EXPLAIN function. Postgresql/Oracle
159 specific and easy for an application to directly support.
160 Idea from Marcus Pearce.
161 * base/basic-sql.lisp: Remove DESCRIBE-TABLE top-level
162 API as duplicates LIST-ATTRIBUTE-TYPES [Marcus Pearce].
163 Keep low-level interface for future optimization
164 supporting LIST-ATTRIBUTE-TYPES command.
165 * Makefile: Add to db-sqlite and test directories.
166 Include them in top-level Makefile
168 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
170 * sql/relations.lisp: Add missing file
171 * utils/time.lisp: Fixes/extensions [Marcus Pearce]
172 * test/test-time.lips: New file [Marcus Pearce]
174 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
176 * test/test-init.lisp: Properly handle object
177 creation. Close database after use.
178 * sql/sql.lisp: Make DESCRIBE-TABLE a generic
179 function so can have methods specialized on
180 table being a string or an sql-table object.
181 * base/pool.lisp: Really fix CMUCL locking
183 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
185 * test/test-init.lisp: Signal correctly
186 if any errors occurred in any test suite
187 * base/loop-extensions.lisp: Fix error
188 introduced for Lispworks
189 * base/pool.lisp: Fix locking for CMUCL
190 * base/objects.lisp: Remove schema-version cruft
192 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
193 * Version 2.6.2: New CLSQL API functions:
194 DESCRIBE-TABLE AND TRUNCATE-DATABASE
195 Currently, this are only supported on :postgresql
196 and :postgresql-socket
197 * base/database.lisp: automatically load ASDF system
198 in CONNECT if not already loaded
199 * base/tests.lisp: disconnect database after testing
200 * base/*.lisp: Remove CLOSED-DATABASE type in favor
201 of storing open/closed status in slot of database
202 * base/pool.lisp: Support locks for CMUCL, OpenMCL, SBCL
203 * db-postgresql/postgresql-sql.lisp: add DATABASE-RECONNECT,
204 DATABASE-DESCRIBE-TABLE
205 * db-sqlite/sqlite-sql.lisp: Add missing slots in database
206 * base/conditions: Remove duplicate condition
207 * db-*/*-sql.lisp: Fill new database slot DATABASE-TYPE
208 * base/recording.lisp: Add new :QUERY type for recording
210 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
211 * Version 2.6.1: documentation fixes, merged
212 classic-tests into tests
214 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
215 * Version 2.6.0 released: New API functions
216 CREATE-DATABASE, DESTORY-DATABASE, PROBE-DATABASE
217 * doc/ref_clsql.xml: Document new functions
218 * base/database.lisp: New API functions
219 * base/conditions.lisp: Added CLSQL-ACCESS-ERROR
220 * base/utils.lisp: Fix use of position-char.
221 Add COMMAND-OUTPUT used by backends for running
222 external programs. Fix parsing of SQL*NET-compatible
224 * base/loop-extension.lisp: Simplify package use
225 for Lispworks and Allegro
226 * db-*/*-sql.lisp: Added DATABASE-CREATE,
227 DATABASE-DESTORY, PROBE-DATABASE methods
228 * tests/test-init.lisp, clasic-tests/tests.lisp:
229 Use destroy-database and create-database to ensure
230 testing with empty database
231 * tests/test-connection.lisp: Add tests for
232 parsing of string connection-specs
233 * examples/run-tests.sh: New file for running
234 test suite on all installed CL implementations
235 * examples/clsql-tutorial.lisp: moved from
237 * examples/dot.clsql-tests.config: New file
238 giving an example test configuration
239 * test/README: Add notes about rtest/ptester
240 downloads and link to sample test configuration file.
242 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
243 * Version 2.5.1 released:
244 * tests/*.lisp: Rework so tests are run
245 on multiple backends automatically based
246 on the contents of ~/.clsql-tests.config.
247 Reuse helper functions from classic-tests.
248 * base/database.lisp: Support connection-spec
249 as string for CONNECT
250 * classic-tests/tests.lisp: Automatically
251 load database backends as needed.
253 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
254 * Version 2.5.0 released:
255 All tests for CLSQL and CLSQL-CLASSIC pass
257 * base/loop-extension.lisp: Add Lispworks
258 loop-extension. Improve type specifying on
261 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
262 * Version 2.4.2 released:
263 loop extension now supported on Allegro, all
264 CLSQL-TESTS pass on Allegro.
265 * sql/metaclasses.lisp: Some optimization
266 of compute-slots, be selective when
267 ordered-class-slots needs to be called
268 instead of class-slots
269 * TODO: add URL with documentation on
270 extending Lispworks LOOP form
272 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
273 * Version 2.4.1 released: CLSQL-TESt suite passes
274 all tests for postgresql and CMUCL, SBCL, OpenMCL.
275 Allegro and Lispworks pass all tests except for
276 FDML/LOOP/1 since the loop extension have not yet
277 been ported to those implementions.
278 * sql/metaclasses.lisp: Added new slot to standard-db-class
279 to hold user-specified type. OpenMCL adjustments to compensate
280 for its type-predicate function. Since AllegroCL, Lispworks,
281 and OpenMCL have different slot orders, added compute-slots
282 and ordered-class-slots functions so their slot order matches
285 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
286 * Version 2.4.0 released: All tests for clsql-classic now finish
287 correctly on Allegro, Lispworks, CMUCL, SBCL, OpenMCL for
288 mysql, postgresql, postgresql-sockets, and sqlite backends.
289 * db-mysql/mysql-sql.lisp: Fix array dereferencing
290 * classic-tests/tests.lisp: Fix package name of
291 number-to-sql-string.
292 * clsql.asd/clsql-tests.asd: Add support for asdf:test-op
293 * db-sqlite/sqlite-api-{uffi,sql}.lisp: Multiple UFFI fixes,
294 now passes tests on all support UFFI platforms.
295 * db-postgresql-socket/postgresql-socket-api.list: Ported to
297 * multiple: Finish renaming of :types keyword to :result-types for
298 greater CommonSQL compatibility, including documentation
299 * sql/basic-cmds.lisp: Remove obsolete file
301 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
302 * Version 2.3.3 released
303 * Fixes for sequences on mysql and sqlite [Marcus Pearce]
304 * Fixes for uffi sqlite backend [Aurelio Bignoli / Kevin Rosenberg]
305 * Fix for schema table [Marcus Pearce]
306 * Add loop extension support for SBCL and OpenMCL [Marcus Pearce]
307 * Fixes to test suite [Marcus Pearce]
309 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
310 * db-*/*-sql.lisp: Ensure that expr in
311 database-query-result-set is a string
312 * Documentation integration
314 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
315 * With for Marcus Pearce's excellent work, I've merged
316 his clsql-usql port into clsql. The original clsql
317 interface is available in the clsql-classic package.
319 02 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
320 * Integrate patch from Marcus Pearce <ek735@soi.city.ac.uk>
321 adding further support for providing backend for UncommonSQL
323 10 Mar 2004 Kevin Rosenberg (kevin@rosenberg.net)
324 * Integrate patch from Aurelio Bignoli for SQLite backend
326 11 Nov 2003 Kevin Rosenberg (kevin@rosenberg.net)
327 * Converted documentation to XML format
328 * Made package installable with asdf-install
330 23 Jul 2003 Kevin Rosenberg (kevin@rosenberg.net)
331 * Add for-each-row macro
333 12 Dec 2002 Kevin Rosenberg (kevin@rosenberg.net)
334 * uffi/clsql-uffi.lisp: return NIL for numeric fields that are NULL
336 16 Oct 2002 Kevin Rosenberg (kevin@rosenberg.net)
337 * Add support for SBCL, OpenMCL, and SCL
338 * Add *load-truename* to search path for clsql's
341 01 Sep 2002 Kevin Rosenberg (kevin@rosenberg.net)
342 * Rework use of file types in .asd files
344 17 Aug 2002 Kevin Rosenberg (kevin@rosenberg.net)
345 * Add .asd definition files for ASDF users
347 31 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
348 * Restructure directories for Common Lisp Controller v3 compatibility
350 25 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
351 * Also change case of logical host in loader files
352 * Rework handling of logical pathnames
354 05 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
355 * Change case of logical host
357 14 May 2002 Kevin Rosenberg (kevin@rosenberg.net)
358 * clsql-base.system: Added base package that can be used without
359 high-level SQL commands. Used for adding support for UncommonSQL.
360 * *.system: Reworked logical pathnames to be more consistent with
361 Common Lisp Controller.
362 * debian/*: Completed initial Debian support
364 10 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
366 * sql/transactions.cl:
367 Added transaction support. Functions/macros added:
368 with-transaction, commit-transaction, rollback-transaction,
369 add-transaction-commit-hook, add-transaction-rollback-hook
371 04 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
375 Added pool support in connect/disconnect and with-database.
376 Removed with-db-from-pool as with-database can now works with the connections pool
378 01 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
383 Completed connection pool.
384 Added with-db-from-pool macro.
386 27 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
388 Added initial support for connection pool
389 * sql/transactions.cl
390 Took transaction code from UncommonSQL and integrated
391 into CLSQL code. See file for disclaimer about why this
394 23 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
395 * interfaces/postgresql/postgresql-sql.cl:
396 Fix keyword typo in database-read-large-object
397 * interfaces/mysql/mysql-loader.cl
399 * test-suite/tester-clsql.cl
400 Fix type coercion of double-float
402 Added debian docbook catalog, made it the default
404 19 Apr 2002 Marc Battyani (marc.battyani@fractalconcept.com)
405 * interface/postgresql/postgresql-api.cl:
406 * interface/postgresql/postgresql-sql.cl:
408 * sql/db-interface.cl:
409 Added large objects support for postgresql.
411 07 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
412 * src/postgresql-socket/postgresql-socket-api.cl:
413 Fixed find-foreign-function call, eliminated crypt warning
415 Multiple improvements
417 Moved functionality from low-level interfaces to this file
418 via generic functions
419 * test-suite/tester.cl:
420 Added test with acl-compat-tester, moved others to old-tests
423 06 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
425 Reinstated commented out sections
426 * interfaces/postgresql/postgresql-loader.cl:
427 * interfaces/mysql/mysql-loader.cl:
428 Updated find-forieign-library support.
429 * interfaces/postgresql-socket/postgresql-socket-package.cl:
430 Fixed require form for Lispworks (Thanks Marc Battyani!)
431 * interfaces/postgresql-socket/postgresql-socket-api.cl:
432 Fixed eval of def-function for crypt library.
434 31 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
435 * Added interface to support USQL high-level rouines
437 29 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
438 * Separated db-interface and conditions from sql/sql.cl
439 * Improved foreign library loading testing
440 * interfaces/postgresql/postgresql-api.cl
441 Added PQisBusy function
442 * interfaces/clsql-uffi/clsql-uffi.cl
443 Fixed sign error for 64-bit processing
445 27 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
446 * interfaces/postgresql-socket/postgresql-socket-api.cl:
447 Fixes to read-double-from-socket. Added 64-bit integer support.
448 * test-suite/xptest-clsql.cl
449 Added testint for 64-bit integers
450 * Additons to installation docs
452 26 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
453 * interfaces/postgresql-socket/postgresql-socket-api.cl:
454 Implemented direct socket reading for field type :double
455 * Added usage information for :types to documentation
456 * interfaces/mysql/mysql-sql.cl: Fixed type specifiers in atoi,
458 * interfaces/clsql-uffi: Created new directory. Split common
459 interface routines that use UFFI into this package. Required
460 especially to support direct reading of 64-bit integers into
461 bignums and bypassing temporary strings.
462 * test-clsql.cl: Updated to test postgresql-socket's
463 read-double-from-socket function.
464 * test-suite/xptest-clsql.cl
465 Started work on test suite
467 25 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
468 * interfaces/mysql/mysql-api.cl: Added mysql-fetch-fields,
469 mysql-fetch-field-direct Got :auto types working
470 * interfaces/postgresql/postgresql-api.cl
471 * interfaces/postgresql-socket/postgresql-socket-api.cl
472 Added pgsql-field-types enum. Got :auto types working.
474 Renamed :field-types to :types.
476 24 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
477 * Added field-types parameter to query, database-query,
478 database-query-result-set, map-query. Haven't added code
479 to utilize field types, yet.
480 * Changed postgresql-socket result set from cons to a structure
481 * Updated test-clsql.cl to use automated testing with a config
483 * Changed return types of field accessors from cstring to
484 (* :unsigned-char). This prepares for being able to use specified
485 type conversions when taking field data into lisp.
486 * Added field-type processing for most interfaces. Not done yet.
488 23 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
489 * doc/ref.sgml: Updated MAP-QUERY example to use
490 *read-default-float-format* (John Foderaro)
491 * Extensive work to foreign library loaders and .system files to
492 check for successful loading of foreign libraries.
493 * Modified test-clsql.cl to allow more modularity and
494 automated testing in future release.
495 * mysql/mysql-sql.lisp: Added field types
497 01 Jan 2002 Kevin Rosenberg (kevin@rosenberg.net)
498 * mysql/mysql-sql.lisp:
499 - Added support for Allegro CL and Lispworks using UFFI layer
500 - Changed database-connect to use mysql-real-connect. This way,
501 can avoid using double (unwind-protect)
502 - Changed database-connect to have MySQL library allocate space
503 for MYSQL structure. This will make the code more robust in
504 the event that MySQL library changes the size of the mysql-mysql