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