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