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