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