1 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
3 * base/package.lisp: Add missing symbols [Marcus Pearce]
5 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
7 * test/test-fddl.lisp: Cleanup fix [Marcus Pearce]
8 * utils/time.lisp: Multiple fixes [Marcus Pearce]
9 * sql/sql.lisp: Fix for truncate-database [Marcus Pearce]
11 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
13 * sql/*.lisp: Remove schema versioning cruft
15 * Makefile: Add classic subdirectory
17 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
19 * sql/sql.lisp: Fix TRUNCATE command, bug reported
21 * sql/sql.lisp: Remove EXPLAIN function. Postgresql/Oracle
22 specific and easy for an application to directly support.
23 Idea from Marcus Pearce.
24 * base/basic-sql.lisp: Remove DESCRIBE-TABLE top-level
25 API as duplicates LIST-ATTRIBUTE-TYPES [Marcus Pearce].
26 Keep low-level interface for future optimization
27 supporting LIST-ATTRIBUTE-TYPES command.
28 * Makefile: Add to db-sqlite and test directories.
29 Include them in top-level Makefile
31 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
33 * sql/relations.lisp: Add missing file
34 * utils/time.lisp: Fixes/extensions [Marcus Pearce]
35 * test/test-time.lips: New file [Marcus Pearce]
37 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
39 * test/test-init.lisp: Properly handle object
40 creation. Close database after use.
41 * sql/sql.lisp: Make DESCRIBE-TABLE a generic
42 function so can have methods specialized on
43 table being a string or an sql-table object.
44 * base/pool.lisp: Really fix CMUCL locking
46 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
48 * test/test-init.lisp: Signal correctly
49 if any errors occurred in any test suite
50 * base/loop-extensions.lisp: Fix error
51 introduced for Lispworks
52 * base/pool.lisp: Fix locking for CMUCL
53 * base/objects.lisp: Remove schema-version cruft
55 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
56 * Version 2.6.2: New CLSQL API functions:
57 DESCRIBE-TABLE AND TRUNCATE-DATABASE
58 Currently, this are only supported on :postgresql
59 and :postgresql-socket
60 * base/database.lisp: automatically load ASDF system
61 in CONNECT if not already loaded
62 * base/tests.lisp: disconnect database after testing
63 * base/*.lisp: Remove CLOSED-DATABASE type in favor
64 of storing open/closed status in slot of database
65 * base/pool.lisp: Support locks for CMUCL, OpenMCL, SBCL
66 * db-postgresql/postgresql-sql.lisp: add DATABASE-RECONNECT,
67 DATABASE-DESCRIBE-TABLE
68 * db-sqlite/sqlite-sql.lisp: Add missing slots in database
69 * base/conditions: Remove duplicate condition
70 * db-*/*-sql.lisp: Fill new database slot DATABASE-TYPE
71 * base/recording.lisp: Add new :QUERY type for recording
73 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
74 * Version 2.6.1: documentation fixes, merged
75 classic-tests into tests
77 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
78 * Version 2.6.0 released: New API functions
79 CREATE-DATABASE, DESTORY-DATABASE, PROBE-DATABASE
80 * doc/ref_clsql.xml: Document new functions
81 * base/database.lisp: New API functions
82 * base/conditions.lisp: Added CLSQL-ACCESS-ERROR
83 * base/utils.lisp: Fix use of position-char.
84 Add COMMAND-OUTPUT used by backends for running
85 external programs. Fix parsing of SQL*NET-compatible
87 * base/loop-extension.lisp: Simplify package use
88 for Lispworks and Allegro
89 * db-*/*-sql.lisp: Added DATABASE-CREATE,
90 DATABASE-DESTORY, PROBE-DATABASE methods
91 * tests/test-init.lisp, clasic-tests/tests.lisp:
92 Use destroy-database and create-database to ensure
93 testing with empty database
94 * tests/test-connection.lisp: Add tests for
95 parsing of string connection-specs
96 * examples/run-tests.sh: New file for running
97 test suite on all installed CL implementations
98 * examples/clsql-tutorial.lisp: moved from
100 * examples/dot.clsql-tests.config: New file
101 giving an example test configuration
102 * test/README: Add notes about rtest/ptester
103 downloads and link to sample test configuration file.
105 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
106 * Version 2.5.1 released:
107 * tests/*.lisp: Rework so tests are run
108 on multiple backends automatically based
109 on the contents of ~/.clsql-tests.config.
110 Reuse helper functions from classic-tests.
111 * base/database.lisp: Support connection-spec
112 as string for CONNECT
113 * classic-tests/tests.lisp: Automatically
114 load database backends as needed.
116 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
117 * Version 2.5.0 released:
118 All tests for CLSQL and CLSQL-CLASSIC pass
120 * base/loop-extension.lisp: Add Lispworks
121 loop-extension. Improve type specifying on
124 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
125 * Version 2.4.2 released:
126 loop extension now supported on Allegro, all
127 CLSQL-TESTS pass on Allegro.
128 * sql/metaclasses.lisp: Some optimization
129 of compute-slots, be selective when
130 ordered-class-slots needs to be called
131 instead of class-slots
132 * TODO: add URL with documentation on
133 extending Lispworks LOOP form
135 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
136 * Version 2.4.1 released: CLSQL-TESt suite passes
137 all tests for postgresql and CMUCL, SBCL, OpenMCL.
138 Allegro and Lispworks pass all tests except for
139 FDML/LOOP/1 since the loop extension have not yet
140 been ported to those implementions.
141 * sql/metaclasses.lisp: Added new slot to standard-db-class
142 to hold user-specified type. OpenMCL adjustments to compensate
143 for its type-predicate function. Since AllegroCL, Lispworks,
144 and OpenMCL have different slot orders, added compute-slots
145 and ordered-class-slots functions so their slot order matches
148 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
149 * Version 2.4.0 released: All tests for clsql-classic now finish
150 correctly on Allegro, Lispworks, CMUCL, SBCL, OpenMCL for
151 mysql, postgresql, postgresql-sockets, and sqlite backends.
152 * db-mysql/mysql-sql.lisp: Fix array dereferencing
153 * classic-tests/tests.lisp: Fix package name of
154 number-to-sql-string.
155 * clsql.asd/clsql-tests.asd: Add support for asdf:test-op
156 * db-sqlite/sqlite-api-{uffi,sql}.lisp: Multiple UFFI fixes,
157 now passes tests on all support UFFI platforms.
158 * db-postgresql-socket/postgresql-socket-api.list: Ported to
160 * multiple: Finish renaming of :types keyword to :result-types for
161 greater CommonSQL compatibility, including documentation
162 * sql/basic-cmds.lisp: Remove obsolete file
164 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
165 * Version 2.3.3 released
166 * Fixes for sequences on mysql and sqlite [Marcus Pearce]
167 * Fixes for uffi sqlite backend [Aurelio Bignoli / Kevin Rosenberg]
168 * Fix for schema table [Marcus Pearce]
169 * Add loop extension support for SBCL and OpenMCL [Marcus Pearce]
170 * Fixes to test suite [Marcus Pearce]
172 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
173 * db-*/*-sql.lisp: Ensure that expr in
174 database-query-result-set is a string
175 * Documentation integration
177 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
178 * With for Marcus Pearce's excellent work, I've merged
179 his clsql-usql port into clsql. The original clsql
180 interface is available in the clsql-classic package.
182 02 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
183 * Integrate patch from Marcus Pearce <ek735@soi.city.ac.uk>
184 adding further support for providing backend for UncommonSQL
186 10 Mar 2004 Kevin Rosenberg (kevin@rosenberg.net)
187 * Integrate patch from Aurelio Bignoli for SQLite backend
189 11 Nov 2003 Kevin Rosenberg (kevin@rosenberg.net)
190 * Converted documentation to XML format
191 * Made package installable with asdf-install
193 23 Jul 2003 Kevin Rosenberg (kevin@rosenberg.net)
194 * Add for-each-row macro
196 12 Dec 2002 Kevin Rosenberg (kevin@rosenberg.net)
197 * uffi/clsql-uffi.lisp: return NIL for numeric fields that are NULL
199 16 Oct 2002 Kevin Rosenberg (kevin@rosenberg.net)
200 * Add support for SBCL, OpenMCL, and SCL
201 * Add *load-truename* to search path for clsql's
204 01 Sep 2002 Kevin Rosenberg (kevin@rosenberg.net)
205 * Rework use of file types in .asd files
207 17 Aug 2002 Kevin Rosenberg (kevin@rosenberg.net)
208 * Add .asd definition files for ASDF users
210 31 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
211 * Restructure directories for Common Lisp Controller v3 compatibility
213 25 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
214 * Also change case of logical host in loader files
215 * Rework handling of logical pathnames
217 05 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
218 * Change case of logical host
220 14 May 2002 Kevin Rosenberg (kevin@rosenberg.net)
221 * clsql-base.system: Added base package that can be used without
222 high-level SQL commands. Used for adding support for UncommonSQL.
223 * *.system: Reworked logical pathnames to be more consistent with
224 Common Lisp Controller.
225 * debian/*: Completed initial Debian support
227 10 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
229 * sql/transactions.cl:
230 Added transaction support. Functions/macros added:
231 with-transaction, commit-transaction, rollback-transaction,
232 add-transaction-commit-hook, add-transaction-rollback-hook
234 04 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
238 Added pool support in connect/disconnect and with-database.
239 Removed with-db-from-pool as with-database can now works with the connections pool
241 01 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
246 Completed connection pool.
247 Added with-db-from-pool macro.
249 27 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
251 Added initial support for connection pool
252 * sql/transactions.cl
253 Took transaction code from UncommonSQL and integrated
254 into CLSQL code. See file for disclaimer about why this
257 23 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
258 * interfaces/postgresql/postgresql-sql.cl:
259 Fix keyword typo in database-read-large-object
260 * interfaces/mysql/mysql-loader.cl
262 * test-suite/tester-clsql.cl
263 Fix type coercion of double-float
265 Added debian docbook catalog, made it the default
267 19 Apr 2002 Marc Battyani (marc.battyani@fractalconcept.com)
268 * interface/postgresql/postgresql-api.cl:
269 * interface/postgresql/postgresql-sql.cl:
271 * sql/db-interface.cl:
272 Added large objects support for postgresql.
274 07 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
275 * src/postgresql-socket/postgresql-socket-api.cl:
276 Fixed find-foreign-function call, eliminated crypt warning
278 Multiple improvements
280 Moved functionality from low-level interfaces to this file
281 via generic functions
282 * test-suite/tester.cl:
283 Added test with acl-compat-tester, moved others to old-tests
286 06 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
288 Reinstated commented out sections
289 * interfaces/postgresql/postgresql-loader.cl:
290 * interfaces/mysql/mysql-loader.cl:
291 Updated find-forieign-library support.
292 * interfaces/postgresql-socket/postgresql-socket-package.cl:
293 Fixed require form for Lispworks (Thanks Marc Battyani!)
294 * interfaces/postgresql-socket/postgresql-socket-api.cl:
295 Fixed eval of def-function for crypt library.
297 31 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
298 * Added interface to support USQL high-level rouines
300 29 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
301 * Separated db-interface and conditions from sql/sql.cl
302 * Improved foreign library loading testing
303 * interfaces/postgresql/postgresql-api.cl
304 Added PQisBusy function
305 * interfaces/clsql-uffi/clsql-uffi.cl
306 Fixed sign error for 64-bit processing
308 27 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
309 * interfaces/postgresql-socket/postgresql-socket-api.cl:
310 Fixes to read-double-from-socket. Added 64-bit integer support.
311 * test-suite/xptest-clsql.cl
312 Added testint for 64-bit integers
313 * Additons to installation docs
315 26 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
316 * interfaces/postgresql-socket/postgresql-socket-api.cl:
317 Implemented direct socket reading for field type :double
318 * Added usage information for :types to documentation
319 * interfaces/mysql/mysql-sql.cl: Fixed type specifiers in atoi,
321 * interfaces/clsql-uffi: Created new directory. Split common
322 interface routines that use UFFI into this package. Required
323 especially to support direct reading of 64-bit integers into
324 bignums and bypassing temporary strings.
325 * test-clsql.cl: Updated to test postgresql-socket's
326 read-double-from-socket function.
327 * test-suite/xptest-clsql.cl
328 Started work on test suite
330 25 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
331 * interfaces/mysql/mysql-api.cl: Added mysql-fetch-fields,
332 mysql-fetch-field-direct Got :auto types working
333 * interfaces/postgresql/postgresql-api.cl
334 * interfaces/postgresql-socket/postgresql-socket-api.cl
335 Added pgsql-field-types enum. Got :auto types working.
337 Renamed :field-types to :types.
339 24 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
340 * Added field-types parameter to query, database-query,
341 database-query-result-set, map-query. Haven't added code
342 to utilize field types, yet.
343 * Changed postgresql-socket result set from cons to a structure
344 * Updated test-clsql.cl to use automated testing with a config
346 * Changed return types of field accessors from cstring to
347 (* :unsigned-char). This prepares for being able to use specified
348 type conversions when taking field data into lisp.
349 * Added field-type processing for most interfaces. Not done yet.
351 23 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
352 * doc/ref.sgml: Updated MAP-QUERY example to use
353 *read-default-float-format* (John Foderaro)
354 * Extensive work to foreign library loaders and .system files to
355 check for successful loading of foreign libraries.
356 * Modified test-clsql.cl to allow more modularity and
357 automated testing in future release.
358 * mysql/mysql-sql.lisp: Added field types
360 01 Jan 2002 Kevin Rosenberg (kevin@rosenberg.net)
361 * mysql/mysql-sql.lisp:
362 - Added support for Allegro CL and Lispworks using UFFI layer
363 - Changed database-connect to use mysql-real-connect. This way,
364 can avoid using double (unwind-protect)
365 - Changed database-connect to have MySQL library allocate space
366 for MYSQL structure. This will make the code more robust in
367 the event that MySQL library changes the size of the mysql-mysql