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