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