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