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