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