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