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