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