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