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