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