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