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