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