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