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