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