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