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