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