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