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