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