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