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