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