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