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