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