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