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