1 27 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
2 * sql/ooddl.lisp: Commit patch from Edi Weitz fixing return
3 type (setf slot-value-using-class)
4 * db-sqlite: Remove clisp support since clisp can not run CLSQL
6 * db-oracle/oracle-sql.lisp: By default, use OCIEnvCreate as
7 introduced in Oracle8. Leave older code selectable by a reader macro
10 26 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
11 * sql/oodml.lisp: Commit universal-time typo patch from Edi Weitz
12 * test/test-init.lisp: Add universal-time slot to person.
13 * test/test-fddl.lisp: Add tests of universal-time slot
14 * test/test-ooddl.lisp: Test universal-time slot in an object
15 * TODO: Remove need for universal-time test
16 * debian/rules, debian/control: Add cl-sql-oracle binary package
17 * doc/appendix.xml: Add Oracle backend information
18 * db-oracle/oracle-objects.lisp: Add database-get-type-specifier for
19 universal-time. Convert BIGINT CLSQL type to CHAR SQL type
20 * db-mysql/mysql-sql.lisp: Fix condition name to sql-connection-error
21 * doc/ref-clsql.xml: Renamed from ref_clsql.xml. Change the documentation
22 for map-query to reflect changed in arguments to be CommonSQL compatible.
23 Updated old clsql conditions to new CommonSQL compatible conditions.
25 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
26 * sql/oodml.lisp: (string n) now produces a CHAR field. Add new VARCHAR
27 type. Added *default-varchar-length* rather than previous hard-coded
28 varchar length. Remove 'simple-string and 'simple-base-string since they
29 are subtypes of 'string.
30 * db-oracle/oracle-sql.lisp: Use *default-varchar-length* rather than
31 local hard-coded value.
32 * sql/metaclasses.lisp: Convert specified type VARCHAR and (VARCHAR n) to Lisp
33 type string. Convert specified-type (CHAR n) to string. Convert specified-type
34 CHAR to lisp type character.
35 * sql/generic-postgresql.lisp: (string n) => (CHAR n)
36 * sql/operations.lisp: Add userenv
37 * doc/TODO: Add AUTOCOMMIT. Remove need for large table and bigint
39 * sql/oracle-sql.lisp: Add 64-bit bigint direct conversion
40 * uffi/clsql-uffi.lisp: Handle signed 64-bit integers
41 * test/test-init.lisp: Add large table with bigint slot
43 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
44 * Version 2.11.1 released: Much simpler Oracle client library loading.
45 Now uses ORACLE_HOME environmental variable as well as tests default
46 path for Oracle Instant Client.
48 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
49 * Version 2.11.0 released: Full Oracle support. All tests pass
50 * db-oracle/oracle-sql.lisp: Add declaration so that SBCL runs efficiently.
51 * tests/test-init.lisp: capitalize odbc backend name in banner
52 * CONTRIBUTORS: Add note about Marcus' excellent work
53 * sql/oodml.lisp: Removed old stub function
54 * clsql.asd: Use module names in current package rather than keyword package
55 * db-oracle/oracle-sql.lisp: Don't trim trailing spaces. Prevent interrupts
56 in setting sequence position. Make autocommits more efficient.
57 * tests/test-init.lisp: Skip 2 tests on Oracle which have unsupported syntax
58 * sql/oodml.lisp: Get rid of undocumented raw-string type. CommonSQL
59 strings are raw (non-trimmed trailing whitespace). Add database-get-type-specifier
60 and read-sql-value for NUMBER and CHAR.
61 * sql/base-classes.lisp: Add autocommit slot
62 * sql/transaction.lisp: Added autocommit processing, mild cleaning.
63 * doc/intro.xml: Add Oracle
65 24 May 2004: Marcus Pearce (m.t.pearce@city.ac.uk)
66 * db-postgresql-socket/postgresql-socket-sql.lisp: replace
67 CLSQL-SIMPLE-WARNING with SQL-WARNING.
68 * db-sqlite/sqlite-sql.lisp: replace CLSQL-SIMPLE-WARNING with
70 * db-aodbc/aodbc-sql.lisp: replace CLSQL-ERROR with SQL-ERROR.
71 * clsql.asd: reworked module structure in package definition and
72 file names to better reflect component functionality.
73 * sql/package.lisp: added SQL-FATAL-ERROR and SQL-TIMEOUT-ERROR to
74 exports list. Removed duplicate and obsolete exports. Exported
75 remaining SQL operations: SQL-SOME, SQL-<>, SQL-BETWEEN, SQL-DISTINCT,
76 SQL-NVL and SQL-FUNCTION. Organised exports by functionality/file and
77 according to whether they are specified by CommonSQL or CLSQL
79 * sql/transaction.lisp: replace CLSQL-SIMPLE-WARNING with
81 * sql/generics.lisp: moved generics for QUERY and EXECUTE-COMMAND
82 here from basic-sql.lisp.
83 * sql/expressions.lisp: NEW FILE: renamed from classes.lisp (deleted).
84 * sql/fddl.lisp: NEW FILE: renamed from table.lisp (deleted).
85 * sql/fdml.lisp: NEW FILE: merger of basic-sql.lisp and sql.lisp
87 * sql/ooddl.lisp: NEW FILE: ooddl from objects.lisp (deleted).
88 * sql/oodml.lisp: NEW FILE: oodml from objects.lisp (deleted).
90 23 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
91 * Version 2.10.22 released
92 * sql/kmr-mop.lisp, sql/objects.lisp: Since SBCL is the only implementation that
93 has reversed class slots, change the default for ordered-class-slots so that slots
94 are now in the same order an in the def-view-class.
95 * sql/sql.lisp: Honor case of string table identifier to INSERT-RECORDS
96 * test/test-fddl.lisp: Add two tests for mixed case names
97 * db-oracle/oracle-sql.lisp: Add missing database qualifier. Return NUMBER (double)
98 for computed fields, this will require some adjustment to the test suite which
99 in many cases expects integers.
100 * test/test-fdml.lisp: Accomodate that Oracle returns doubles for computed columns
102 22 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
103 * Version 2.10.21 released
104 * sql/sequences.lisp: Move generic sequence functions here from db-sqlite,
105 db-odbc, and db-aodbc.
106 * sql/*.lisp: Add db-type parameter to generic functions READ-SQL-VALUE,
107 DATABASE-GET-TYPE-SPECIFIER, and OUTPUT-SQL-VALUE-AS-TYPE. Update methods to use these.
108 * sql/generic-postgresql.lisp, sql/generic-odbc.lisp: New files
109 * db-odbc/odbc-sql.lisp, db-aodbc/aodbc-sql.lisp: Move common code to
110 sql/generic-odbc.lisp
111 * db-postgresql/postgresql-sql.lisp, db-postgresql-socket/postgresql-socket-sql.lisp:
112 Move common code to sql/generic-postgresql.lisp
113 * sql/classes.lisp: honor case of string tables when outputting queries
114 * sql/objects.lisp: Add database type to default database-get-type-specifier method
115 * sql/sql.lisp: Add database type to default database-abort-transaction method
116 * db-mysql/mysql-objects.lisp: New file
117 * sql/objects.lisp: Move MySQL specific code to mysql-objects.lisp
118 * sql/utils.lisp: Add GETENV function which will be used to get ORACLE_HOME
120 * test/test-fdml.lisp: String table names are now case sensitive, so convert to
121 default db case for FDML/SELECT/25
123 22 May 2004 Kevin Rosenberg
124 * Version 2.10.20 released: Oracle backend now fails 6 out of 200 tests
125 * TODO: Added 2 variances from CommonSQL. Add tests for owner phrases
126 and string identifiers with non-default case
127 * sql/table.lisp: Don't convert string table name to a symbol.
128 * sql/classes.lisp: Honor case of string identifiers
129 * sql/sql.lisp: Ensure recyclebin is purged for Oracle in
131 * db-oracle/oracle-sql.lisp: Add sequence functions, fix use of
132 of owner phrases. Obtain server and client versions.
133 * db-oracle/oracle-objects.lisp: Fix type specifiers
134 * tests/test-fddl.lisp: Allow :varchar2 and :number as data types
135 * tests/test-init.lisp: Properly get username from Oracle connection-spec
137 22 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
138 * sql/generics.lisp: reworked docstrings. Remove generics for
139 ADD-TO-RELATION and REMOVE-FROM-RELATION.
140 * sql/objects.lisp: reworked docstrings. Changed UPDATE-OBJECT-JOINS
141 to UPDATE-OBJECTS-JOINS for CommonSQL compatibility.
142 * sql/package.lisp: Changed UPDATE-OBJECT-JOINS to UPDATE-OBJECTS-JOINS
143 for CommonSQL compatibility. Remove ADD-TO-RELATION and
144 REMOVE-FROM-RELATION.
145 * tests/test-oodml.lisp: Changed UPDATE-OBJECT-JOINS to
146 UPDATE-OBJECTS-JOINS for CommonSQL compatibility.
147 * doc/TODO: added notes about extra slot options to DEF-VIEW-CLASS.
148 * sql/conditions.lisp: add documentation for conditions. Add
149 SQL-TIMEOUT-ERROR and SQL-FATAL-ERROR for CommonSQL compatibility.
151 21 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
152 * sql/basic-sql.lisp: reworked docstrings.
153 * sql/transactions.lisp: reworked docstrings.
154 * sql/sql.lisp: reworked docstrings.
155 * sql/initialize.lisp: reworked docstrings. INITIALIZE-DATABASE-TYPE
156 sets *DEFAULT-DATABASE-TYPE* for CommonSQL compatibility.
157 * sql/database.lisp: reworked docstrings.
158 * doc/TODO: added notes about START-TRANSACTION and IN-TRANSACTION-P
159 and FDML extensions and database extensions.
161 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
162 * db-oracle/oracle-sql: Use clsql-specific error conditions. Use owner keyword.
163 * db-oracle/make9.sh: add makefile for building with Oracle 9 client
165 * sql/table.lisp: Add logic for dealing with Oracle 10g vs. previous
166 Oracle versions with the PURGE option required for drop table. This needs
167 to be converted to a generic function and moved to db-oracle/oracle-sql.lisp
169 20 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
170 * sql/classes.lisp: remove unused PARAMS slot in SQL-IDENT-ATTRIBUTE.
171 * sql/syntax.lisp: remove unused PARAMS keyword arg to SQL-EXPRESSION.
172 * sql/table.lisp: reworked docstrings.
173 * sql/objects.lisp: moved *default-update-objects-max-len* here from
175 * doc/TODO: notes about :if-does-not-exist arg to DROP-TABLE,
176 DROP-VIEW and DROP-INDEX and the use of the :transactions and
177 :constraints keyword args to CREATE-TABLE.
178 * sql/classes.lisp: the DESCRIPTION argument to CREATE-TABLE is now
179 CommonSQL compatible with respect to column constraints.
181 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
182 * sql/oracle-sql.lisp: Now compiles and runs on SBCL.
183 Requires UFFI 1.5.0 or higher
185 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
187 * sql/conditions.lisp: Fix cerror
189 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
190 * Version 2.10.18 released: New condition hierarchy to be compatible
191 with CommonSQL -- not backward compatible with previous CLSQL.
192 * sql/db-interface.lisp: Add more default methods
193 * sql/objects.lisp: Add explicit table name to order-by parameters
194 in find-all when only one table to avoid selecting a duplicate row.
195 Fix error in FIND-ALL when using :order-by such as (([foo] :asc))
196 as previous logic was adding two fields (foo asc) to SELECT query.
197 Make :result-types :auto be the default for object selections.
198 Properly handle caching key when using multiple order-by with asc/desc
200 * db-oracle/*.lisp: Much improvements, now passes 90% of test suite
202 19 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
203 * sql/recording.lisp: reworked docstrings.
204 * sql/syntax.lisp: reworked docstrings.
205 * doc/TODO: added notes about extensions to SQL-RECORDING-P and the
206 SQL syntax state functions being macros.
208 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
209 * sql/package.lisp: Export initialize-database-type and
210 *initialize-database-types* from CLSQL package.
211 * sql/conditions.lisp: Add new CommonSQL compatible conditions,
212 remove old CLSQL conditions.
213 * sql/loop-extensions.lisp: Make errors of type sql-user-error
214 * */*.lisp: Convert to from old to new conditions
216 18 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
217 * sql/table.lisp: Add PURGE to drop command for oracle 10g backend.
218 To handle this difference, will need to add a new database-drop-table
220 * db-oracle/oracle-sql.lisp: Move server-version and
221 major-version-number to database object to allow multiple connections
222 to Oracle servers of different versions.
224 18 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
225 * TODO: moved notes about backends to doc/TODO.
226 * doc/TODO: added notes about backends and select extensions.
227 * sql/base-classes.lisp: remove obsolete schema slot in database
230 16 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
231 * db-oracle/oracle-api: Add OCIServerVersion
232 * db-oracle/oracle-sql: Query and store server version on connect
233 * sql/db-interface.lisp: Add new db-type-has-bigint? generic
234 function to handle OCI's lack of bigint support
235 * test/test-basic.lisp: Separate bigint testing
236 * test/test-utils.lisp: Add oracle to specs and list of backends
238 * test/test-fdml.lisp: Added FDML/SELECT/34 to test
239 run-time instantiation of variables in reader macros.
240 * TODO: Remove item already complete. Add note about
243 16 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
244 * sql/syntax.lisp: added condition to the reader macro to treat [*]
245 as a column identifier (rather than an operation) for CommonSQL
247 * tests/test-fdml.lisp: add tests for ORDER-BY and SET-OPERATION
248 keword args to SELECT, [*] as column identifier, new MAP-QUERY
249 behaviour and the ANY and ALL operators in subqueries.
250 * tests/test-init.lisp: add set-operation and subquery tests to
251 appropriate skip lists.
252 * sql/objects.lisp: remove redundant and non CommonSQL compatible
253 ORDER-BY-DESCENDING keyword argument for SELECT.
254 * sql/classes.lisp: remove redundant and non CommonSQL compatible
255 ORDER-BY-DESCENDING keyword argument for SELECT.
256 * tests/test-oodml.lisp: add test for ORDER-BY keyword to SELECT
259 15 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
260 * sql/db-interface.lisp: Add new db-type-has-union?
261 since Mysql 3.23 does not support unions.
262 * sql/test-init.lisp: Don't try union tests on database
263 backends which do not support it.
264 * db-oracle/*.lisp: initial port to UFFI
265 * sql/objects.lisp: implement UPDATE-OBJECT-JOINS,
266 implement REFRESH for SELECT.
267 * tests/test-oodml.lisp: Add tests for deferred retrieval,
268 caching, refresh, and update-object-joins
269 * tests/test-init.lisp: Add deferred-employee-address class
271 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
272 * sql/operations.lisp: make MINUS operator a synonym for EXCEPT. Add
273 COALESCE operator and make NVL a synonym for this. Make ANY, SOME,
274 ALL and EXISTS generate function expressions so they output the
276 * sql/classes.lisp: SELECT now generates appropriate SQL when
277 passed the SET-OPERATION and ALL keyword arguments.
278 * sql/classes.lisp: the ORDER-BY keyword argument to SELECT now
279 accepts ordering constraints as pairs of the form (column direction)
280 where direction may be :ASC or :DESC.
281 * tests/test-syntax.lisp: added tests for MINUS and COALESCE/NVL.
282 Correct tests for ANY, SOME, ALL and EXISTS.
283 * tests/test-fdml.lisp: added test for COALESCE.
284 * sql/sql.lisp: MAP-QUERY now applies FUNCTION to QUERY-EXPRESSION
285 using funcall unless QUERY-EXPRESSION returns one column and its
286 FLATP slot is not nil in which case apply is used.
287 * tests/test-basic.lisp: modified calls to MAP-QUERY to reflect the
289 * TODO: remove items done.
290 * db-postgresql/postgresql-sql.lisp: no need to reverse results in
291 DATABASE-LIST-ATTRIBUTES.
292 * db-postgresql-socket/postgresql-socket-sql.lisp: no need to reverse
293 results in DATABASE-LIST-ATTRIBUTES.
295 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
296 * sql/classes.lisp: SELECT now accepts table identifiers as strings
297 for CommonSQL compliance. Add support for qualified sql identifiers
298 with aliased table names.
299 * tests/test-fdml.lisp: added tests for table identifiers as strings
300 in SELECT and for aliased definitions.
301 * tests/test-syntax.lisp: added tests for alias definitions.
303 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
304 * sql/sql.lisp: PRINT-QUERY now calls QUERY with result-types and
305 field-names set to nil.
306 * sql/sql.lisp: PRINT-QUERY now computes column sizes correctly
307 with null attribute values.
308 * sql/operations.lisp: modify SQL concatenation operator to accept
310 * sql/syntax.lisp: modify sql reader macro function to accept
311 unescaped sql concatenation operator.
312 * tests/test-fdml.lisp: unescape sql concatenation operator.
313 * tests/test-syntax.lisp: unescape sql concatenation operator.
314 * TODO: remove items done. Add notes about SQLITE/MYSQL backends.
315 Note to add test for universal-time. Note about difference from
316 CommonSQL in transaction handling.
318 13 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
319 * tests/test-init.lisp: Add deferred-employee-address
321 * tests/test-oodml.lisp: Add deferred retrieval testgs
323 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
325 * LATEST-TEST-RESULTS: Run on all platforms, add AMD64
326 * sql/sql.lisp: Add FOR-EACH-ROW macro from clsql-classic/sql.lisp
327 * db-sqlite/sqlite-uffi-api.lisp: Fix row-pointer type
328 * *: Fix minor style warnings
329 * clsql-classic: Remove system and subdirectory
330 * clsql-base: Remove system and subdirectory and
331 fold into clsql system
332 * doc/intro.xml: Remove reference to old clsql-base. Add x86_64
333 as supported platform.
335 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
336 * Version 2.10.16: CLSQL now fully supports AllegroCL AMD64
337 * db-odbc/odbc-api.lisp: work around return-type bug [spr28889] in
338 Allegro 7.0beta AMD64
339 * db-odbc/*.lisp: Add a layer of indirection to foreign-type
340 of ODBC longs since this type can vary on 64-bit platforms depending
341 upon the compilation options of unixODBC.
342 * db-mysql/mysql-api.lisp: Fix int vs. long slots in foreign
343 structures found by testing with AllegroCL 7.0b AMD64.
344 * db-*/*-loader.lisp: Load 64-bit libraries on 64-bit platorms
345 * sql/objects.lisp: Simple implementation of UPDATE-OBJECT-JOINS.
346 Initial caching support for SELECT
347 * tests/test-oodml.lisp: Avoid using cache when testing select.
348 * sql/kmr-mop.lisp: Explicitly check slot order and
349 store as a cl:*feature*
350 * sql/recording.lisp: Remove additional types to
351 increase CommonSQL conformance.
352 * tests/test-init.lisp: Change a :column attribute
353 to test symbols as value
354 * sql/relations.lisp: Remove functions since they don't support
355 many to many relationships.
356 * examples/clsql-tutorial.lisp, doc/csql.lisp: Remove use
357 of add-to-relations function and replace with explicit field settings.
358 * base/classes.lisp: Remove obsolute query-stream. Add record-caches slot.
360 9 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
362 * LATEST-TEST-RESULTS: results with current version
363 * sql/kmr-mop.lisp: Make CMUCL reader macros specific for cmu18
364 since cmu19 has opposite order of class slots.
365 * sql/objects.lisp: Fix (setf slot-value-using-class) for Lispworks
366 * tests/test-fdml.lisp: Renumber SELECT tests to avoid overwriting
368 * tests/test-init.lisp: Check test-database-underlying-type for
371 8 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
372 * sql/operations.lisp: complete remaining operations for the sql
373 syntax: SUBSTR, SOME, ORDER-BY, GROUP-BY, NULL, DISTINCT, EXCEPT,
374 UNION, INTERSECT, BETWEEN.
375 * sql/classes.lisp: add new classes: SQL-BETWEEN-EXPRESSION,
376 SQL-QUERY-MODIFIER-EXPRESSION and SQL-SET-EXPRESSION.
377 * tests/test-syntax.lisp: add tests for new operations.
378 * tests/test-fdml.lisp: add tests for queries based on new operations.
379 * tests/test-init.lisp: add select/20 to tests skipped for sqlite and
380 select/20, query/5, query/7 and query/8 to tests skipped by mysql.
381 * TODO: removed entries done.
383 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
384 * tests/benchmarks.lisp: Add immediate vs. deferred
387 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
388 * Version 2.10.13: Now works on openmcl 0.14.2
389 * sql/objects.lisp: Add :retrieval :immediate for
391 * tests/test-init.lisp: Add non-index fields for testing
392 join class employee-addresss
393 * test/test-oodml.lisp: Add tests for retrieval immediate
394 * sql/metaclasses.lisp: Handle differences in direct-slot-definition
395 values which are now listifed by openmcl 14.2.
396 * sql/objects.lisp: more framework for supporing immediate retrieval
398 7 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
399 * docs/intro.xml: Upload location of a README file
400 * sql/metaclass.lisp: Work-around openmcl's CHANGE-CLASS
401 changing the type-specifier. Use a lisp type of (OR NULL FOO)
402 for a specified-type of FOO unless :db-constraints :not-null.
403 No need to specialize finalize-inheritance for openmcl.
404 * tests/test-*.lisp: Rename fields so that joins occur on
405 fields with different names. This ensures that join code is
406 selecting the proper name.
407 * test/test-init.lisp: Add :base-table for employee-address
408 view class for testing.
409 * sql/objects.lisp: Use view-table rather than name of table
410 in a number of places to fix errors noted with using :base-table.
412 6 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
413 * sql/objects.lisp: replace *update-records-on-make-instance* with
414 *db-auto-sync* which also controls both automatic creation of
415 new records on creation of new instance and updating of record
416 fields on setting of instance slots (as suggested by Edi Weitz).
417 * tests/test-init.lisp: replace *update-records-on-make-instance*
419 * sql/package.lisp: replace *update-records-on-make-instance*
421 * TODO: replace *update-records-on-make-instance* with *db-auto-sync*.
422 * sql/objects.lisp: remove redundant rebindings of *db-initializing*
423 and *default-database* in FIND-ALL.
424 * sql/package.lisp: import time functions from CLSQL-BASE.
425 * tests/test-time.lisp: replace CLSQl-BASE package qualifier with CLSQL.
426 * tests/test-fdml.lisp: replace CLSQl-BASE package qualifier with CLSQL.
427 * tests/test-init.lisp: replace CLSQl-BASE package qualifier with CLSQL.
428 * tests/test-ooddl.lisp: replace CLSQl-BASE package qualifier with
431 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
432 * sql/classes.lisp: Add SQL-OBJECT-QUERY type. Have [select 'class]
433 now return a sql-object-query type rather than directly performing a query.
434 This improves CommonSQL conformance.
435 * sql/sql.lisp: Add new QUERY method for SQL-OBJECT-QUERY. Move
436 from basic/basic-sql.lisp the DO-QUERY and MAP-QUERY since they now
437 depend on sql-object-query-type.
438 * sql/loop-extensions.lisp: Move from base package
439 * classic/package.lisp: remove references to map-query and do-query
441 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
442 * TODO: New section on optimizations, especially optimizing JOINs.
443 * sql/objects.lisp: Have :target-slot return of list of lists rather
444 than a list of cons pairs to be conformant with CommonSQL.
445 Make :target-slot much more efficient by using a SQL inner join
446 statement and just requiring one SQL query. Add :retrieval :deferrred
447 to target-slot joins. Add placeholder for update-objects-join.
448 * sql/classes.lisp: Add :inner-join and :on slots to sql-query class
449 and process them for query output-sql.
451 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
453 * base/basic-sql.lisp: Avoid multiple evaluation
454 of query-expression in DO-QUERY
455 * sql/objects.lisp: Make SELECT a normal function.
456 SELECT now accepts type-modified database identifiers, such as
457 [foo :string] which means that the values in column foo are returned
458 as Lisp strings. Add new *update-records-on-make-instance* special
459 variable controlling automatic creation of new instances. Add missing
460 RESULT-TYPES keyword to FIND-ALL. Add :target-slot support.
461 * sql/packages.lisp: Export *update-records-on-make-instance*
462 * test/test-oodml.lisp: Add tests for :target-slot and many-to-many
464 * test/test-fdml.lisp: Add tests for type-modified
465 database identifiers.
466 * test/test-init.lisp: Stop using add-relation since implementing
467 many-to-many joins. Use *update-records-on-make-instance*
468 to automatically store records on instance creation. Add many-to-many
469 employee-address view-class.
471 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
473 * base/loop.lisp: Add object iteration. Use :result-type
474 :auto for result-set. Remove
475 duplicate (and non-correct) code for non-list variables by
476 simply making an atom variable into a list.
477 * sql/package.lisp: Remove unnecessary clsql-sys package
478 and replace it with clsql.
479 * sql/metaclasses.lisp: Properly store specified-type from
480 direct-slot-definition and then store translated type in
481 effective-slot-definition
482 * sql/classes.lisp: Don't output type in sql-output
483 for SQL-IDENT-ATTRIBUTE. This is in preparation for supporting
484 [foo :integer] as fields in SELECT.
485 * sql/query.lisp: Set default for :result-types to :auto in
487 * sql/objects.lisp: Use specified-type when invocating
488 database-get-type-specifier. def-view-class macro now returns
490 * base/basic-sql.lisp: Make :AUTO the default value for
491 :RESULT-TYPES for MAP-QUERY and DO-QUERY.
492 * sql/objects.lisp: Add bigint type
493 * test/tests-basic.lisp: Add tests for :result-types for
494 MAP-QUERY and DO-QUERY
495 * test/test-fdml.lisp: Add test for result-types in LOOP
496 and also using single symbol rather than a list for variables.
497 Add test that default :result-types is auto for FDML QUERY.
498 * test/test-syntax.lisp: Don't expect TYPE in the SQL-OUTPUT
499 of SQL-IDENT-ATTRIBUTE.
500 * test/test-oodml.lisp: Enable OO loop iteration test,
501 modify it so it doesn't depend on boolean where.
503 4 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
505 * sql/objects.lisp: added derived type specifier for universal time.
506 * sql/package.lisp: added #:universal-time to clsql-sys exports.
507 * tests/test-oodml.lisp: added test for translation of boolean slots
508 in SELECT with object queries.
510 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
511 * db-odbc/odbc-api.lisp: Fix changing nil to "NIL"
512 for odbc/postgresql backend.
513 * db-odbc/odbc-sql.lisp: Fix ATTRIBUTE-TYPE so that
514 it can handle NIL values from the ODBC driver
515 * tests/benchmarks.lisp: New file with initial
517 * sql/relations.lisp: fix to add subclassing support,
518 minor optimizations [Edi Weitz]
520 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
522 * base/conditions.lisp: Add *backend-warning-behavior*
524 * db-postgresql-socket/postgresql-socket-sql.lisp:
525 Honor value of *backend-warning-behavior*
526 * tests/test-fdml.lisp: Remove test of raw boolean value
527 since different backends handle this differently. Add
528 test for :column attribute.
529 * tests/test-oodml.lisp: Add tests for boolean slot value
530 and for :void-value attribute
531 * tests/test-init.lisp: Use *backend-warning-behavior*
532 to suppress warnings from postgresql about implicitly
533 creating primary key in tables. Add new address table.
535 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
537 * db-odbc/odbc-dbi.lisp: Convert TINYINT to integers when
538 result-types is :auto
539 * sql/objects.lisp: Properly handled writing/reading Boolean
540 values from SQL database when retrieving objects.
541 * test/test-fdml.lisp: Add another test for boolean results
542 * test/utils.lisp: Fix incorrect declaration
544 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
546 * sql/generics.lisp: add generic function for SELECT.
547 * sql/objects.lisp: make SELECT a method specialisation.
548 * sql/classes.lisp: MAKE-QUERY now calls SELECT if the selections
549 referred to are View Classes.
550 * base/basic-sql.lisp: in DO-QUERY and MAP-QUERY, if the
551 query-expression arg evaluates to a list, then we have an object
553 * tests/test-oodml.lisp: add tests for DO-QUERY and MAP-QUERY with
555 * TODO: remove items done and add a todo for SELECT.
556 * sql/objects.lisp: SELECT takes a :field-names arg to pass on to
558 * sql/sql.lisp: add :field-names arg to QUERY.
559 * tests/test-fdml.lisp: minor rework to use :field-names arg to
562 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
563 * sql/objects.lisp: fix bug in FIND-ALL when SELECT called with 2
564 or more View Classes.
565 * sql/objects.lisp: make the :flatp argument to SELECT work with
567 * sql/objects.lisp: make SELECT accept a :result-types argument
568 (defaults to :auto) which is passed on to QUERY.
569 * sql/objects.lisp: SELECT returns field-names as a second value.
570 * tests/test-ooddl.lisp: add flatp arg to SELECT calls as appropriate.
571 * tests/test-fdml.lisp: add flatp/result-types arguments to calls
572 to SELECT and take only first value as appropriate.
573 * tests/test-fdml.lisp: add two new tests for query result coercion
574 and the field-names returned as a second value from SELECT.
575 * tests/test-oodml.lisp: add flatp arg to SELECT calls as appropriate.
577 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
578 * Version 2.10.6-pre1
579 * sql/metaclasses.lisp: Add void-value slot
580 * doc/csql.xml: Update def-view-class documentation
581 * test/test-init.lisp: Change old :db-type to :db-kind.
582 Remove old :nulls-ok attributes.
583 * sql/objects.lisp: Add new universal-time and bigint
584 types. Optimize reading of integers using parse-integer
585 rather than read-from-string.
586 * */*.lisp: Merge clsql-base-sys and clsql-base packages
587 into clsql-base package
588 * classic/sql.lisp: Move large object support into base, leaving
589 classic without any functionality that is provided in the clsql
591 * classic/package.lisp: Rename clsql-classic-sys package to
592 its former nickname of clsql-classic
594 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
595 * Version 2.10.5: SQLite backend now passes all result-types tests
596 * clsql-sqlite.asd: Depend on clsql-uffi system
597 * db-sqlite/sqlite-sql.lisp: Use clsql-uffi:convert-raw-field
598 for efficiency and code reuse.
599 * db-sqlite/sqlite-api-uffi.lisp: Change (* :char) to (* :unsigned-char)
600 for better cross-implementation compatibility.
602 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
604 * sql/tables.lisp: Fix typo in CACHE-TABLE-QUERIES
606 * db-postgresql/postgresql-sql.lisp: Fix foreign-string vs. cstring
607 bug on SBCL in result-field-names function as reported by Marcus Pearce
608 * db-sqlite/sqlite-sql.lisp: Fix in database-store-next-row
609 manifest in SBCL testing
611 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
613 * sql/database.lisp: Conform more to CommonSQL output
614 for STATUS command [Marcus Pearce]
615 * sql/sqlite-sql.lisp: Rework to use result-types
616 * sql/sqlite-api-clisp.lisp: Add compatibility layer
617 with sqlite-api-uffi.lisp so that sqlite-sql.lisp can
618 be cleaned up of most clisp reader conditionals
619 * sql/test-init.lisp: Now run field type tests on sqlite
622 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
624 * base/basic-sql.lisp: Set default value of :result-types
625 to :auto for more CommonSQL conformance.
626 * test/test-fdml.lisp: Add tests for numeric value of fields
629 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
630 * Version 2.10.1: New API function: CACHE-TABLE-QUERIES.
631 * base/basic-sql.lisp, db-*/*-sql.lisp: More CommonSQL conformance.
632 Return field names as second value for QUERY. This can be overridden
633 for efficiency with the new keyword :FIELD-NAMES set to NIL
634 in the QUERY invocation.
635 * test/test-fdml.lisp: Add tests for new field-name feature
636 * sql/metaclass.lisp: Remove old Lispworks cruft
637 and replace it with invocation of new code in kmr-mop.lisp
638 which actually works with Lispworks 4.2
639 * doc/ref_clsql.xml: Document new :FIELD-NAMES keyword to
641 * base/db-interface.lisp: Document the multiple values
642 returned by DATABASE-ATTRIBUTE-TYPE so matches the
643 undocumented CommonSQL behavior.
644 * sql/table.lisp: Add *CACHE-TABLE-QUERIES-DEFAULT* and
645 *DEFAULT-UPDATE-OBJECTS-MAX-LEN* variables and export them.
646 LIST-ATTRIBUTE-TYPES now conforms to CommonSQL spec.
647 Implement CACHE-TABLE-QUERIES.
648 * db-odbc/odbc-sql.lisp: Fix attribute-type function
649 * test/test-fddl.lisp: Add tests for attribute type
650 * db-mysql/mysql-sql.lisp: Mild optimization in accessing
652 * base/classes.lisp: Add attribute-cache slot to database clas
653 * base/initialize.lisp: initialize-database-type now automatically
654 loads database-type backend as needed.
655 * base/test-init.lisp: Utilize new initialize-database-type functionality.
656 * TODO: remove items done
658 30 Apr 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
660 * sql/objects.lisp: remove create/drop-sequence-from-class.
661 * sql/objects.lisp: add INSTANCE-REFRESHED generic function.
662 * sql/objects.lisp: improved CommonSQL compatibility for
663 UPDATE-RECORD-FROM-SLOT, UPDATE-RECORD-FROM-SLOTS,
664 UPDATE-RECORDS-FROM-INSTANCE and DELETE-INSTANCE-RECORDS.
665 * sql/generics.lisp: move generics from objects.lisp to here.
667 29 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
669 * db-mysql/mysql-client-info.lisp: Add client version 4.1
671 * sql/sql.lisp: Make *default-database* the default for
674 28 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
676 * db-mysql/mysql-sql.lisp: Fix bug in transaction capability
678 * sql/objects.lisp: Commit patch from Slawek Zak to allow specifying
679 :metaclass in DEF-VIEW-CLASS invocation. This allows defining classes
680 on a metaclass specialized from standard-db-class.
683 24 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
684 * Version 2.9.4: Multiple changes to support Allegro's "modern"
685 lisp which uses a lowercase reader and has case-sensitive symbols
686 * sql/classes.lisp: Fix make-load-form bug for sql-ident-table
687 exposed by case-sensitive mlisp.
689 22 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
690 * Version 2.9.3: All tests now pass on all platforms!
691 * LATEST-TEST-RESULTS: New file with summary of test results
692 * sql/generics.lisp: New file for generic function definitions.
693 * test/test-init.lisp: Display names of skipped tests.
694 Use unwind-protect to ensure disconnect
695 * sql/objects.lisp: Change database-type to database-underlying-type
696 so that actual database engine is properly identified
697 * db-odbc/odbc-api.lisp: Have default *time-conversion-function*
698 return an ISO timestring for compatibility with other drivers.
699 Workaround bug in MyODBC for LIST-TABLE-INDEXES
700 * test/test-fdml.lisp: Accomodate that odbc-postgresql driver
701 returns floating-point values for floor and truncate operations
702 * db-aodbc/aodbc-sql.lisp: Implement DATABASE-LIST-VIEWS
703 * tests/test-basic.lisp: Port to regression tester
704 * test/test-init.lisp: Output to *report-stream*
705 * docs/appendix.xml: Document ODBC and SQLite backends.
706 * sql/classes.lisp: Make output-sql require a database parameter.
707 This allows SQL generation to have the proper case to support
708 the differences in case handling between CommonSQL API,
709 Postgresql, MySQL, Oracle.
711 21 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
712 * Version 2.9.2: Improvments in database capability introspection
713 and querying. Support transactions in MySQL where available.
714 All tests now pass on MySQL and SQLite in addition to postgresql
715 and postgresql-socket. ODBC fails only with OODDL/TIME/1 and OODDL/TIME/2.
716 * db-odbc/odbc-sql.lisp: Add DATABASE-LIST-VIEWS. Better support
717 DATABASE-LIST-SEQUENCES.
718 * clsql-uffi.asd, clsql-mysql.asd: Improve shared library loading
719 * Database_capabilies: add HAS-VIEWS, HAS-CREATE/DESTROY-DB,
720 HAS-BOOLEAN-WHERE, TRANSACTION-CAPABLE
721 * tests/*.lisp: Check database capabilities and remove tests which
722 the database backend does not support
723 * sql/table.lisp: Add :TRANSACTIONS keyword to create table which
724 controls whether InnoDB tables will be created when supported on
725 the underlying MySQL server.
727 20 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
728 * Version 2.9.0: New API function: LIST-TABLE-INDEXES,
729 supported by all database backends (except AODBC since
730 AODBC doesn't support index querying)
731 * db-obdc/odbc-sql.lisp: Support DATABASE-LIST-INDEXES
732 * db-odbc/odbc-api.lisp: Add %TABLE-STATISTICS function
733 to support index queries
734 * db-aodbc/aodbc-sql.lisp: Filter driver manager
735 "information_schema" tables from LIST-TABLES
736 * tests/test-basic.lisp: Remove table after testing
737 * tests/test-fddl.lisp: Test LIST-TABLE-INDEXES
738 * base/db-interface.lisp: Add DATABASE-UNDERLYING-TYPE
739 which gets the underlying type of database -- required
740 when dealing with ODBC databases and want to query
741 database capabilities. Added DB-USE-COLUMN-ON-DROP-TABLES?
742 as first database-backend specific feature. Is T on
743 :mysql, NIL on other backends. Change DROP-TABLE to
746 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
747 * Version 2.8.2: Build changes for FreeBSD [Slawek Zak]
749 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
751 * db-odbc/odbc-sql.lisp: Add DATABASE-LIST function
752 * db-odbc/odbc-dbi.lisp: Add LIST-ALL-DATA-SOURCES function
754 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
755 * Version 2.8.0: New API function: LIST-DATABASES
756 * base/utils.lisp: Fix command-output on CMUCL/SBCL
757 * db-*/*-sql.lisp: Add new database-list function
758 * base/database.lisp: Add new LIST-DATABASES command
760 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
762 * db-sqlite/sqlite-sql.lisp: Fix sequence functions.
763 * db-sqlite/sqlite-api-uffi.lisp: Print error string
766 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
768 * doc/csql.xml, examples/clsql-tutorial.lisp: Patch for db-kind
771 17 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
773 * base/objects.lisp, base/classes.lisp: Patch
774 for db-kind from Eduardo Munoz
776 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
778 * base/basic-sql.lisp: Fix FLATP in QUERY
780 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
781 * Version 2.7.3: Implement RECONNECT
783 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
784 * Version 2.7.2: Fix ODBC on Lispworks Windows
786 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
787 * Version 2.7.1: Fix for new ODBC backend.
788 clsql-odbc now works on SBCL, CMUCL, OpenMCL
789 in addition to AllegroCL and Lispworks.
791 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
792 * Version 2.7.0: New backend: ODBC. Tests as
793 well as AODBC backend on Allegro,Lispworks.
794 SBCL and CMUCL don't work quite yet. Requires UFFI v1.4.11+
795 * db-odbc/*.lisp: Add ODBC3 function SQLSetEnvAttr
796 to explicitly set ODBC2 support. Add BIGINT support.
797 Add result-types support. Added SQLTables.
798 Fix array type in fetch-all-rows. Make width
799 changable by database or query.
800 * base/utils.lisp: Add process functions
801 * base/package.lisp: Export utils to CLSQL-BASE-SYS
802 * db-aodbc: Implement sequence functions,
803 database-list-tables, database-list-attributes
804 * tests/utils.lisp: Add support for ODBC backend,
805 rework READ-SPECS to use +all-db-types+
806 * db-mysql/mysql-sql.lisp: Use WITHOUT-INTERRUPTS
809 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
810 * Version 2.6.13. Requires UFFI version 1.4.9
811 * db-odbc/*.lisp: Further porting.
812 Pre-alpha code! But, basic query is now working.
814 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
816 * base/transactions.lisp: Add quote for macro
817 expansion of WITH-TRANSACTIONS [Time Howe]
818 * db-sqlite/sqlite-sql.lisp: Support memory database
819 in database-probe [Ng Pheng Siong]
820 * db-odbc/*.lisp: Initial port to UFFI of SQL-ODBC.
821 The DBI layer is not finished.
823 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
825 * sql/objects.lisp: add :root-class functionality for
826 list-classes and add duration type support [Marcus Pearce]
827 * db-odbc: Add mid-level [DBI] layer
829 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
831 * db-aodbc: Add methods for generic functions, some are
833 * clsql-odbc.asd, db-odbc/*.lisp: Initial start of ODBC
836 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
838 * base/package.lisp: Add missing symbols [Marcus Pearce]
840 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
842 * test/test-fddl.lisp: Cleanup fix [Marcus Pearce]
843 * utils/time.lisp: Multiple fixes [Marcus Pearce]
844 * sql/sql.lisp: Fix for truncate-database [Marcus Pearce]
846 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
848 * sql/*.lisp: Remove schema versioning cruft
850 * Makefile: Add classic subdirectory
852 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
854 * sql/sql.lisp: Fix TRUNCATE command, bug reported
856 * sql/sql.lisp: Remove EXPLAIN function. Postgresql/Oracle
857 specific and easy for an application to directly support.
858 Idea from Marcus Pearce.
859 * base/basic-sql.lisp: Remove DESCRIBE-TABLE top-level
860 API as duplicates LIST-ATTRIBUTE-TYPES [Marcus Pearce].
861 Keep low-level interface for future optimization
862 supporting LIST-ATTRIBUTE-TYPES command.
863 * Makefile: Add to db-sqlite and test directories.
864 Include them in top-level Makefile
866 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
868 * sql/relations.lisp: Add missing file
869 * utils/time.lisp: Fixes/extensions [Marcus Pearce]
870 * test/test-time.lips: New file [Marcus Pearce]
872 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
874 * test/test-init.lisp: Properly handle object
875 creation. Close database after use.
876 * sql/sql.lisp: Make DESCRIBE-TABLE a generic
877 function so can have methods specialized on
878 table being a string or an sql-table object.
879 * base/pool.lisp: Really fix CMUCL locking
881 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
883 * test/test-init.lisp: Signal correctly
884 if any errors occurred in any test suite
885 * base/loop-extensions.lisp: Fix error
886 introduced for Lispworks
887 * base/pool.lisp: Fix locking for CMUCL
888 * base/objects.lisp: Remove schema-version cruft
890 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
891 * Version 2.6.2: New CLSQL API functions:
892 DESCRIBE-TABLE AND TRUNCATE-DATABASE
893 Currently, this are only supported on :postgresql
894 and :postgresql-socket
895 * base/database.lisp: automatically load ASDF system
896 in CONNECT if not already loaded
897 * base/tests.lisp: disconnect database after testing
898 * base/*.lisp: Remove CLOSED-DATABASE type in favor
899 of storing open/closed status in slot of database
900 * base/pool.lisp: Support locks for CMUCL, OpenMCL, SBCL
901 * db-postgresql/postgresql-sql.lisp: add DATABASE-RECONNECT,
902 DATABASE-DESCRIBE-TABLE
903 * db-sqlite/sqlite-sql.lisp: Add missing slots in database
904 * base/conditions: Remove duplicate condition
905 * db-*/*-sql.lisp: Fill new database slot DATABASE-TYPE
906 * base/recording.lisp: Add new :QUERY type for recording
908 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
909 * Version 2.6.1: documentation fixes, merged
910 classic-tests into tests
912 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
913 * Version 2.6.0 released: New API functions
914 CREATE-DATABASE, DESTORY-DATABASE, PROBE-DATABASE
915 * doc/ref_clsql.xml: Document new functions
916 * base/database.lisp: New API functions
917 * base/conditions.lisp: Added CLSQL-ACCESS-ERROR
918 * base/utils.lisp: Fix use of position-char.
919 Add COMMAND-OUTPUT used by backends for running
920 external programs. Fix parsing of SQL*NET-compatible
922 * base/loop-extension.lisp: Simplify package use
923 for Lispworks and Allegro
924 * db-*/*-sql.lisp: Added DATABASE-CREATE,
925 DATABASE-DESTORY, PROBE-DATABASE methods
926 * tests/test-init.lisp, clasic-tests/tests.lisp:
927 Use destroy-database and create-database to ensure
928 testing with empty database
929 * tests/test-connection.lisp: Add tests for
930 parsing of string connection-specs
931 * examples/run-tests.sh: New file for running
932 test suite on all installed CL implementations
933 * examples/clsql-tutorial.lisp: moved from
935 * examples/dot.clsql-tests.config: New file
936 giving an example test configuration
937 * test/README: Add notes about rtest/ptester
938 downloads and link to sample test configuration file.
940 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
941 * Version 2.5.1 released:
942 * tests/*.lisp: Rework so tests are run
943 on multiple backends automatically based
944 on the contents of ~/.clsql-tests.config.
945 Reuse helper functions from classic-tests.
946 * base/database.lisp: Support connection-spec
947 as string for CONNECT
948 * classic-tests/tests.lisp: Automatically
949 load database backends as needed.
951 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
952 * Version 2.5.0 released:
953 All tests for CLSQL and CLSQL-CLASSIC pass
955 * base/loop-extension.lisp: Add Lispworks
956 loop-extension. Improve type specifying on
959 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
960 * Version 2.4.2 released:
961 loop extension now supported on Allegro, all
962 CLSQL-TESTS pass on Allegro.
963 * sql/metaclasses.lisp: Some optimization
964 of compute-slots, be selective when
965 ordered-class-slots needs to be called
966 instead of class-slots
967 * TODO: add URL with documentation on
968 extending Lispworks LOOP form
970 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
971 * Version 2.4.1 released: CLSQL-TESt suite passes
972 all tests for postgresql and CMUCL, SBCL, OpenMCL.
973 Allegro and Lispworks pass all tests except for
974 FDML/LOOP/1 since the loop extension have not yet
975 been ported to those implementions.
976 * sql/metaclasses.lisp: Added new slot to standard-db-class
977 to hold user-specified type. OpenMCL adjustments to compensate
978 for its type-predicate function. Since AllegroCL, Lispworks,
979 and OpenMCL have different slot orders, added compute-slots
980 and ordered-class-slots functions so their slot order matches
983 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
984 * Version 2.4.0 released: All tests for clsql-classic now finish
985 correctly on Allegro, Lispworks, CMUCL, SBCL, OpenMCL for
986 mysql, postgresql, postgresql-sockets, and sqlite backends.
987 * db-mysql/mysql-sql.lisp: Fix array dereferencing
988 * classic-tests/tests.lisp: Fix package name of
989 number-to-sql-string.
990 * clsql.asd/clsql-tests.asd: Add support for asdf:test-op
991 * db-sqlite/sqlite-api-{uffi,sql}.lisp: Multiple UFFI fixes,
992 now passes tests on all support UFFI platforms.
993 * db-postgresql-socket/postgresql-socket-api.list: Ported to
995 * multiple: Finish renaming of :types keyword to :result-types for
996 greater CommonSQL compatibility, including documentation
997 * sql/basic-cmds.lisp: Remove obsolete file
999 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1000 * Version 2.3.3 released
1001 * Fixes for sequences on mysql and sqlite [Marcus Pearce]
1002 * Fixes for uffi sqlite backend [Aurelio Bignoli / Kevin Rosenberg]
1003 * Fix for schema table [Marcus Pearce]
1004 * Add loop extension support for SBCL and OpenMCL [Marcus Pearce]
1005 * Fixes to test suite [Marcus Pearce]
1007 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1008 * db-*/*-sql.lisp: Ensure that expr in
1009 database-query-result-set is a string
1010 * Documentation integration
1012 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1013 * With for Marcus Pearce's excellent work, I've merged
1014 his clsql-usql port into clsql. The original clsql
1015 interface is available in the clsql-classic package.
1017 02 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1018 * Integrate patch from Marcus Pearce <ek735@soi.city.ac.uk>
1019 adding further support for providing backend for UncommonSQL
1021 10 Mar 2004 Kevin Rosenberg (kevin@rosenberg.net)
1022 * Integrate patch from Aurelio Bignoli for SQLite backend
1024 11 Nov 2003 Kevin Rosenberg (kevin@rosenberg.net)
1025 * Converted documentation to XML format
1026 * Made package installable with asdf-install
1028 23 Jul 2003 Kevin Rosenberg (kevin@rosenberg.net)
1029 * Add for-each-row macro
1031 12 Dec 2002 Kevin Rosenberg (kevin@rosenberg.net)
1032 * uffi/clsql-uffi.lisp: return NIL for numeric fields that are NULL
1034 16 Oct 2002 Kevin Rosenberg (kevin@rosenberg.net)
1035 * Add support for SBCL, OpenMCL, and SCL
1036 * Add *load-truename* to search path for clsql's
1039 01 Sep 2002 Kevin Rosenberg (kevin@rosenberg.net)
1040 * Rework use of file types in .asd files
1042 17 Aug 2002 Kevin Rosenberg (kevin@rosenberg.net)
1043 * Add .asd definition files for ASDF users
1045 31 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
1046 * Restructure directories for Common Lisp Controller v3 compatibility
1048 25 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
1049 * Also change case of logical host in loader files
1050 * Rework handling of logical pathnames
1052 05 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
1053 * Change case of logical host
1055 14 May 2002 Kevin Rosenberg (kevin@rosenberg.net)
1056 * clsql-base.system: Added base package that can be used without
1057 high-level SQL commands. Used for adding support for UncommonSQL.
1058 * *.system: Reworked logical pathnames to be more consistent with
1059 Common Lisp Controller.
1060 * debian/*: Completed initial Debian support
1062 10 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1064 * sql/transactions.cl:
1065 Added transaction support. Functions/macros added:
1066 with-transaction, commit-transaction, rollback-transaction,
1067 add-transaction-commit-hook, add-transaction-rollback-hook
1069 04 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1072 * sql/functional.cl:
1073 Added pool support in connect/disconnect and with-database.
1074 Removed with-db-from-pool as with-database can now works with the connections pool
1076 01 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1081 Completed connection pool.
1082 Added with-db-from-pool macro.
1084 27 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1086 Added initial support for connection pool
1087 * sql/transactions.cl
1088 Took transaction code from UncommonSQL and integrated
1089 into CLSQL code. See file for disclaimer about why this
1092 23 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1093 * interfaces/postgresql/postgresql-sql.cl:
1094 Fix keyword typo in database-read-large-object
1095 * interfaces/mysql/mysql-loader.cl
1096 Fix loading on Win32
1097 * test-suite/tester-clsql.cl
1098 Fix type coercion of double-float
1100 Added debian docbook catalog, made it the default
1102 19 Apr 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1103 * interface/postgresql/postgresql-api.cl:
1104 * interface/postgresql/postgresql-sql.cl:
1106 * sql/db-interface.cl:
1107 Added large objects support for postgresql.
1109 07 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1110 * src/postgresql-socket/postgresql-socket-api.cl:
1111 Fixed find-foreign-function call, eliminated crypt warning
1113 Multiple improvements
1115 Moved functionality from low-level interfaces to this file
1116 via generic functions
1117 * test-suite/tester.cl:
1118 Added test with acl-compat-tester, moved others to old-tests
1121 06 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1123 Reinstated commented out sections
1124 * interfaces/postgresql/postgresql-loader.cl:
1125 * interfaces/mysql/mysql-loader.cl:
1126 Updated find-forieign-library support.
1127 * interfaces/postgresql-socket/postgresql-socket-package.cl:
1128 Fixed require form for Lispworks (Thanks Marc Battyani!)
1129 * interfaces/postgresql-socket/postgresql-socket-api.cl:
1130 Fixed eval of def-function for crypt library.
1132 31 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1133 * Added interface to support USQL high-level rouines
1135 29 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1136 * Separated db-interface and conditions from sql/sql.cl
1137 * Improved foreign library loading testing
1138 * interfaces/postgresql/postgresql-api.cl
1139 Added PQisBusy function
1140 * interfaces/clsql-uffi/clsql-uffi.cl
1141 Fixed sign error for 64-bit processing
1143 27 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1144 * interfaces/postgresql-socket/postgresql-socket-api.cl:
1145 Fixes to read-double-from-socket. Added 64-bit integer support.
1146 * test-suite/xptest-clsql.cl
1147 Added testint for 64-bit integers
1148 * Additons to installation docs
1150 26 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1151 * interfaces/postgresql-socket/postgresql-socket-api.cl:
1152 Implemented direct socket reading for field type :double
1153 * Added usage information for :types to documentation
1154 * interfaces/mysql/mysql-sql.cl: Fixed type specifiers in atoi,
1156 * interfaces/clsql-uffi: Created new directory. Split common
1157 interface routines that use UFFI into this package. Required
1158 especially to support direct reading of 64-bit integers into
1159 bignums and bypassing temporary strings.
1160 * test-clsql.cl: Updated to test postgresql-socket's
1161 read-double-from-socket function.
1162 * test-suite/xptest-clsql.cl
1163 Started work on test suite
1165 25 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1166 * interfaces/mysql/mysql-api.cl: Added mysql-fetch-fields,
1167 mysql-fetch-field-direct Got :auto types working
1168 * interfaces/postgresql/postgresql-api.cl
1169 * interfaces/postgresql-socket/postgresql-socket-api.cl
1170 Added pgsql-field-types enum. Got :auto types working.
1172 Renamed :field-types to :types.
1174 24 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1175 * Added field-types parameter to query, database-query,
1176 database-query-result-set, map-query. Haven't added code
1177 to utilize field types, yet.
1178 * Changed postgresql-socket result set from cons to a structure
1179 * Updated test-clsql.cl to use automated testing with a config
1181 * Changed return types of field accessors from cstring to
1182 (* :unsigned-char). This prepares for being able to use specified
1183 type conversions when taking field data into lisp.
1184 * Added field-type processing for most interfaces. Not done yet.
1186 23 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1187 * doc/ref.sgml: Updated MAP-QUERY example to use
1188 *read-default-float-format* (John Foderaro)
1189 * Extensive work to foreign library loaders and .system files to
1190 check for successful loading of foreign libraries.
1191 * Modified test-clsql.cl to allow more modularity and
1192 automated testing in future release.
1193 * mysql/mysql-sql.lisp: Added field types
1195 01 Jan 2002 Kevin Rosenberg (kevin@rosenberg.net)
1196 * mysql/mysql-sql.lisp:
1197 - Added support for Allegro CL and Lispworks using UFFI layer
1198 - Changed database-connect to use mysql-real-connect. This way,
1199 can avoid using double (unwind-protect)
1200 - Changed database-connect to have MySQL library allocate space
1201 for MYSQL structure. This will make the code more robust in
1202 the event that MySQL library changes the size of the mysql-mysql