1 13 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2 * tests/test-init.lisp: Add deferred-employee-address
4 * tests/test-oodml.lisp: Add deferred retrieval testgs
6 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
8 * LATEST-TEST-RESULTS: Run on all platforms, add AMD64
9 * sql/sql.lisp: Add FOR-EACH-ROW macro from clsql-classic/sql.lisp
10 * db-sqlite/sqlite-uffi-api.lisp: Fix row-pointer type
11 * *: Fix minor style warnings
12 * clsql-classic: Remove system and subdirectory
13 * clsql-base: Remove system and subdirectory and
14 fold into clsql system
15 * doc/intro.xml: Remove reference to old clsql-base. Add x86_64
16 as supported platform.
18 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
19 * Version 2.10.16: CLSQL now fully supports AllegroCL AMD64
20 * db-odbc/odbc-api.lisp: work around return-type bug [spr28889] in
22 * db-odbc/*.lisp: Add a layer of indirection to foreign-type
23 of ODBC longs since this type can vary on 64-bit platforms depending
24 upon the compilation options of unixODBC.
25 * db-mysql/mysql-api.lisp: Fix int vs. long slots in foreign
26 structures found by testing with AllegroCL 7.0b AMD64.
27 * db-*/*-loader.lisp: Load 64-bit libraries on 64-bit platorms
28 * sql/objects.lisp: Simple implementation of UPDATE-OBJECT-JOINS.
29 Initial caching support for SELECT
30 * tests/test-oodml.lisp: Avoid using cache when testing select.
31 * sql/kmr-mop.lisp: Explicitly check slot order and
32 store as a cl:*feature*
33 * sql/recording.lisp: Remove additional types to
34 increase CommonSQL conformance.
35 * tests/test-init.lisp: Change a :column attribute
36 to test symbols as value
37 * sql/relations.lisp: Remove functions since they don't support
38 many to many relationships.
39 * examples/clsql-tutorial.lisp, doc/csql.lisp: Remove use
40 of add-to-relations function and replace with explicit field settings.
41 * base/classes.lisp: Remove obsolute query-stream. Add record-caches slot.
43 9 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
45 * LATEST-TEST-RESULTS: results with current version
46 * sql/kmr-mop.lisp: Make CMUCL reader macros specific for cmu18
47 since cmu19 has opposite order of class slots.
48 * sql/objects.lisp: Fix (setf slot-value-using-class) for Lispworks
49 * tests/test-fdml.lisp: Renumber SELECT tests to avoid overwriting
51 * tests/test-init.lisp: Check test-database-underlying-type for
54 8 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
55 * sql/operations.lisp: complete remaining operations for the sql
56 syntax: SUBSTR, SOME, ORDER-BY, GROUP-BY, NULL, DISTINCT, EXCEPT,
57 UNION, INTERSECT, BETWEEN.
58 * sql/classes.lisp: add new classes: SQL-BETWEEN-EXPRESSION,
59 SQL-QUERY-MODIFIER-EXPRESSION and SQL-SET-EXPRESSION.
60 * tests/test-syntax.lisp: add tests for new operations.
61 * tests/test-fdml.lisp: add tests for queries based on new operations.
62 * tests/test-init.lisp: add select/20 to tests skipped for sqlite and
63 select/20, query/5, query/7 and query/8 to tests skipped by mysql.
64 * TODO: removed entries done.
66 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
67 * tests/benchmarks.lisp: Add immediate vs. deferred
70 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
71 * Version 2.10.13: Now works on openmcl 0.14.2
72 * sql/objects.lisp: Add :retrieval :immediate for
74 * tests/test-init.lisp: Add non-index fields for testing
75 join class employee-addresss
76 * test/test-oodml.lisp: Add tests for retrieval immediate
77 * sql/metaclasses.lisp: Handle differences in direct-slot-definition
78 values which are now listifed by openmcl 14.2.
79 * sql/objects.lisp: more framework for supporing immediate retrieval
81 7 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
82 * docs/intro.xml: Upload location of a README file
83 * sql/metaclass.lisp: Work-around openmcl's CHANGE-CLASS
84 changing the type-specifier. Use a lisp type of (OR NULL FOO)
85 for a specified-type of FOO unless :db-constraints :not-null.
86 No need to specialize finalize-inheritance for openmcl.
87 * tests/test-*.lisp: Rename fields so that joins occur on
88 fields with different names. This ensures that join code is
89 selecting the proper name.
90 * test/test-init.lisp: Add :base-table for employee-address
91 view class for testing.
92 * sql/objects.lisp: Use view-table rather than name of table
93 in a number of places to fix errors noted with using :base-table.
95 6 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
96 * sql/objects.lisp: replace *update-records-on-make-instance* with
97 *db-auto-sync* which also controls both automatic creation of
98 new records on creation of new instance and updating of record
99 fields on setting of instance slots (as suggested by Edi Weitz).
100 * tests/test-init.lisp: replace *update-records-on-make-instance*
102 * sql/package.lisp: replace *update-records-on-make-instance*
104 * TODO: replace *update-records-on-make-instance* with *db-auto-sync*.
105 * sql/objects.lisp: remove redundant rebindings of *db-initializing*
106 and *default-database* in FIND-ALL.
107 * sql/package.lisp: import time functions from CLSQL-BASE.
108 * tests/test-time.lisp: replace CLSQl-BASE package qualifier with CLSQL.
109 * tests/test-fdml.lisp: replace CLSQl-BASE package qualifier with CLSQL.
110 * tests/test-init.lisp: replace CLSQl-BASE package qualifier with CLSQL.
111 * tests/test-ooddl.lisp: replace CLSQl-BASE package qualifier with
114 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
115 * sql/classes.lisp: Add SQL-OBJECT-QUERY type. Have [select 'class]
116 now return a sql-object-query type rather than directly performing a query.
117 This improves CommonSQL conformance.
118 * sql/sql.lisp: Add new QUERY method for SQL-OBJECT-QUERY. Move
119 from basic/basic-sql.lisp the DO-QUERY and MAP-QUERY since they now
120 depend on sql-object-query-type.
121 * sql/loop-extensions.lisp: Move from base package
122 * classic/package.lisp: remove references to map-query and do-query
124 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
125 * TODO: New section on optimizations, especially optimizing JOINs.
126 * sql/objects.lisp: Have :target-slot return of list of lists rather
127 than a list of cons pairs to be conformant with CommonSQL.
128 Make :target-slot much more efficient by using a SQL inner join
129 statement and just requiring one SQL query. Add :retrieval :deferrred
130 to target-slot joins. Add placeholder for update-objects-join.
131 * sql/classes.lisp: Add :inner-join and :on slots to sql-query class
132 and process them for query output-sql.
134 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
136 * base/basic-sql.lisp: Avoid multiple evaluation
137 of query-expression in DO-QUERY
138 * sql/objects.lisp: Make SELECT a normal function.
139 SELECT now accepts type-modified database identifiers, such as
140 [foo :string] which means that the values in column foo are returned
141 as Lisp strings. Add new *update-records-on-make-instance* special
142 variable controlling automatic creation of new instances. Add missing
143 RESULT-TYPES keyword to FIND-ALL. Add :target-slot support.
144 * sql/packages.lisp: Export *update-records-on-make-instance*
145 * test/test-oodml.lisp: Add tests for :target-slot and many-to-many
147 * test/test-fdml.lisp: Add tests for type-modified
148 database identifiers.
149 * test/test-init.lisp: Stop using add-relation since implementing
150 many-to-many joins. Use *update-records-on-make-instance*
151 to automatically store records on instance creation. Add many-to-many
152 employee-address view-class.
154 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
156 * base/loop.lisp: Add object iteration. Use :result-type
157 :auto for result-set. Remove
158 duplicate (and non-correct) code for non-list variables by
159 simply making an atom variable into a list.
160 * sql/package.lisp: Remove unnecessary clsql-sys package
161 and replace it with clsql.
162 * sql/metaclasses.lisp: Properly store specified-type from
163 direct-slot-definition and then store translated type in
164 effective-slot-definition
165 * sql/classes.lisp: Don't output type in sql-output
166 for SQL-IDENT-ATTRIBUTE. This is in preparation for supporting
167 [foo :integer] as fields in SELECT.
168 * sql/query.lisp: Set default for :result-types to :auto in
170 * sql/objects.lisp: Use specified-type when invocating
171 database-get-type-specifier. def-view-class macro now returns
173 * base/basic-sql.lisp: Make :AUTO the default value for
174 :RESULT-TYPES for MAP-QUERY and DO-QUERY.
175 * sql/objects.lisp: Add bigint type
176 * test/tests-basic.lisp: Add tests for :result-types for
177 MAP-QUERY and DO-QUERY
178 * test/test-fdml.lisp: Add test for result-types in LOOP
179 and also using single symbol rather than a list for variables.
180 Add test that default :result-types is auto for FDML QUERY.
181 * test/test-syntax.lisp: Don't expect TYPE in the SQL-OUTPUT
182 of SQL-IDENT-ATTRIBUTE.
183 * test/test-oodml.lisp: Enable OO loop iteration test,
184 modify it so it doesn't depend on boolean where.
186 4 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
188 * sql/objects.lisp: added derived type specifier for universal time.
189 * sql/package.lisp: added #:universal-time to clsql-sys exports.
190 * tests/test-oodml.lisp: added test for translation of boolean slots
191 in SELECT with object queries.
193 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
194 * db-odbc/odbc-api.lisp: Fix changing nil to "NIL"
195 for odbc/postgresql backend.
196 * db-odbc/odbc-sql.lisp: Fix ATTRIBUTE-TYPE so that
197 it can handle NIL values from the ODBC driver
198 * tests/benchmarks.lisp: New file with initial
200 * sql/relations.lisp: fix to add subclassing support,
201 minor optimizations [Edi Weitz]
203 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
205 * base/conditions.lisp: Add *backend-warning-behavior*
207 * db-postgresql-socket/postgresql-socket-sql.lisp:
208 Honor value of *backend-warning-behavior*
209 * tests/test-fdml.lisp: Remove test of raw boolean value
210 since different backends handle this differently. Add
211 test for :column attribute.
212 * tests/test-oodml.lisp: Add tests for boolean slot value
213 and for :void-value attribute
214 * tests/test-init.lisp: Use *backend-warning-behavior*
215 to suppress warnings from postgresql about implicitly
216 creating primary key in tables. Add new address table.
218 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
220 * db-odbc/odbc-dbi.lisp: Convert TINYINT to integers when
221 result-types is :auto
222 * sql/objects.lisp: Properly handled writing/reading Boolean
223 values from SQL database when retrieving objects.
224 * test/test-fdml.lisp: Add another test for boolean results
225 * test/utils.lisp: Fix incorrect declaration
227 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
229 * sql/generics.lisp: add generic function for SELECT.
230 * sql/objects.lisp: make SELECT a method specialisation.
231 * sql/classes.lisp: MAKE-QUERY now calls SELECT if the selections
232 referred to are View Classes.
233 * base/basic-sql.lisp: in DO-QUERY and MAP-QUERY, if the
234 query-expression arg evaluates to a list, then we have an object
236 * tests/test-oodml.lisp: add tests for DO-QUERY and MAP-QUERY with
238 * TODO: remove items done and add a todo for SELECT.
239 * sql/objects.lisp: SELECT takes a :field-names arg to pass on to
241 * sql/sql.lisp: add :field-names arg to QUERY.
242 * tests/test-fdml.lisp: minor rework to use :field-names arg to
245 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
246 * sql/objects.lisp: fix bug in FIND-ALL when SELECT called with 2
247 or more View Classes.
248 * sql/objects.lisp: make the :flatp argument to SELECT work with
250 * sql/objects.lisp: make SELECT accept a :result-types argument
251 (defaults to :auto) which is passed on to QUERY.
252 * sql/objects.lisp: SELECT returns field-names as a second value.
253 * tests/test-ooddl.lisp: add flatp arg to SELECT calls as appropriate.
254 * tests/test-fdml.lisp: add flatp/result-types arguments to calls
255 to SELECT and take only first value as appropriate.
256 * tests/test-fdml.lisp: add two new tests for query result coercion
257 and the field-names returned as a second value from SELECT.
258 * tests/test-oodml.lisp: add flatp arg to SELECT calls as appropriate.
260 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
261 * Version 2.10.6-pre1
262 * sql/metaclasses.lisp: Add void-value slot
263 * doc/csql.xml: Update def-view-class documentation
264 * test/test-init.lisp: Change old :db-type to :db-kind.
265 Remove old :nulls-ok attributes.
266 * sql/objects.lisp: Add new universal-time and bigint
267 types. Optimize reading of integers using parse-integer
268 rather than read-from-string.
269 * */*.lisp: Merge clsql-base-sys and clsql-base packages
270 into clsql-base package
271 * classic/sql.lisp: Move large object support into base, leaving
272 classic without any functionality that is provided in the clsql
274 * classic/package.lisp: Rename clsql-classic-sys package to
275 its former nickname of clsql-classic
277 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
278 * Version 2.10.5: SQLite backend now passes all result-types tests
279 * clsql-sqlite.asd: Depend on clsql-uffi system
280 * db-sqlite/sqlite-sql.lisp: Use clsql-uffi:convert-raw-field
281 for efficiency and code reuse.
282 * db-sqlite/sqlite-api-uffi.lisp: Change (* :char) to (* :unsigned-char)
283 for better cross-implementation compatibility.
285 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
287 * sql/tables.lisp: Fix typo in CACHE-TABLE-QUERIES
289 * db-postgresql/postgresql-sql.lisp: Fix foreign-string vs. cstring
290 bug on SBCL in result-field-names function as reported by Marcus Pearce
291 * db-sqlite/sqlite-sql.lisp: Fix in database-store-next-row
292 manifest in SBCL testing
294 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
296 * sql/database.lisp: Conform more to CommonSQL output
297 for STATUS command [Marcus Pearce]
298 * sql/sqlite-sql.lisp: Rework to use result-types
299 * sql/sqlite-api-clisp.lisp: Add compatibility layer
300 with sqlite-api-uffi.lisp so that sqlite-sql.lisp can
301 be cleaned up of most clisp reader conditionals
302 * sql/test-init.lisp: Now run field type tests on sqlite
305 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
307 * base/basic-sql.lisp: Set default value of :result-types
308 to :auto for more CommonSQL conformance.
309 * test/test-fdml.lisp: Add tests for numeric value of fields
312 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
313 * Version 2.10.1: New API function: CACHE-TABLE-QUERIES.
314 * base/basic-sql.lisp, db-*/*-sql.lisp: More CommonSQL conformance.
315 Return field names as second value for QUERY. This can be overridden
316 for efficiency with the new keyword :FIELD-NAMES set to NIL
317 in the QUERY invocation.
318 * test/test-fdml.lisp: Add tests for new field-name feature
319 * sql/metaclass.lisp: Remove old Lispworks cruft
320 and replace it with invocation of new code in kmr-mop.lisp
321 which actually works with Lispworks 4.2
322 * doc/ref_clsql.xml: Document new :FIELD-NAMES keyword to
324 * base/db-interface.lisp: Document the multiple values
325 returned by DATABASE-ATTRIBUTE-TYPE so matches the
326 undocumented CommonSQL behavior.
327 * sql/table.lisp: Add *CACHE-TABLE-QUERIES-DEFAULT* and
328 *DEFAULT-UPDATE-OBJECTS-MAX-LEN* variables and export them.
329 LIST-ATTRIBUTE-TYPES now conforms to CommonSQL spec.
330 Implement CACHE-TABLE-QUERIES.
331 * db-odbc/odbc-sql.lisp: Fix attribute-type function
332 * test/test-fddl.lisp: Add tests for attribute type
333 * db-mysql/mysql-sql.lisp: Mild optimization in accessing
335 * base/classes.lisp: Add attribute-cache slot to database clas
336 * base/initialize.lisp: initialize-database-type now automatically
337 loads database-type backend as needed.
338 * base/test-init.lisp: Utilize new initialize-database-type functionality.
339 * TODO: remove items done
341 30 Apr 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
343 * sql/objects.lisp: remove create/drop-sequence-from-class.
344 * sql/objects.lisp: add INSTANCE-REFRESHED generic function.
345 * sql/objects.lisp: improved CommonSQL compatibility for
346 UPDATE-RECORD-FROM-SLOT, UPDATE-RECORD-FROM-SLOTS,
347 UPDATE-RECORDS-FROM-INSTANCE and DELETE-INSTANCE-RECORDS.
348 * sql/generics.lisp: move generics from objects.lisp to here.
350 29 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
352 * db-mysql/mysql-client-info.lisp: Add client version 4.1
354 * sql/sql.lisp: Make *default-database* the default for
357 28 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
359 * db-mysql/mysql-sql.lisp: Fix bug in transaction capability
361 * sql/objects.lisp: Commit patch from Slawek Zak to allow specifying
362 :metaclass in DEF-VIEW-CLASS invocation. This allows defining classes
363 on a metaclass specialized from standard-db-class.
366 24 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
367 * Version 2.9.4: Multiple changes to support Allegro's "modern"
368 lisp which uses a lowercase reader and has case-sensitive symbols
369 * sql/classes.lisp: Fix make-load-form bug for sql-ident-table
370 exposed by case-sensitive mlisp.
372 22 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
373 * Version 2.9.3: All tests now pass on all platforms!
374 * LATEST-TEST-RESULTS: New file with summary of test results
375 * sql/generics.lisp: New file for generic function definitions.
376 * test/test-init.lisp: Display names of skipped tests.
377 Use unwind-protect to ensure disconnect
378 * sql/objects.lisp: Change database-type to database-underlying-type
379 so that actual database engine is properly identified
380 * db-odbc/odbc-api.lisp: Have default *time-conversion-function*
381 return an ISO timestring for compatibility with other drivers.
382 Workaround bug in MyODBC for LIST-TABLE-INDEXES
383 * test/test-fdml.lisp: Accomodate that odbc-postgresql driver
384 returns floating-point values for floor and truncate operations
385 * db-aodbc/aodbc-sql.lisp: Implement DATABASE-LIST-VIEWS
386 * tests/test-basic.lisp: Port to regression tester
387 * test/test-init.lisp: Output to *report-stream*
388 * docs/appendix.xml: Document ODBC and SQLite backends.
389 * sql/classes.lisp: Make output-sql require a database parameter.
390 This allows SQL generation to have the proper case to support
391 the differences in case handling between CommonSQL API,
392 Postgresql, MySQL, Oracle.
394 21 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
395 * Version 2.9.2: Improvments in database capability introspection
396 and querying. Support transactions in MySQL where available.
397 All tests now pass on MySQL and SQLite in addition to postgresql
398 and postgresql-socket. ODBC fails only with OODDL/TIME/1 and OODDL/TIME/2.
399 * db-odbc/odbc-sql.lisp: Add DATABASE-LIST-VIEWS. Better support
400 DATABASE-LIST-SEQUENCES.
401 * clsql-uffi.asd, clsql-mysql.asd: Improve shared library loading
402 * Database_capabilies: add HAS-VIEWS, HAS-CREATE/DESTROY-DB,
403 HAS-BOOLEAN-WHERE, TRANSACTION-CAPABLE
404 * tests/*.lisp: Check database capabilities and remove tests which
405 the database backend does not support
406 * sql/table.lisp: Add :TRANSACTIONS keyword to create table which
407 controls whether InnoDB tables will be created when supported on
408 the underlying MySQL server.
410 20 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
411 * Version 2.9.0: New API function: LIST-TABLE-INDEXES,
412 supported by all database backends (except AODBC since
413 AODBC doesn't support index querying)
414 * db-obdc/odbc-sql.lisp: Support DATABASE-LIST-INDEXES
415 * db-odbc/odbc-api.lisp: Add %TABLE-STATISTICS function
416 to support index queries
417 * db-aodbc/aodbc-sql.lisp: Filter driver manager
418 "information_schema" tables from LIST-TABLES
419 * tests/test-basic.lisp: Remove table after testing
420 * tests/test-fddl.lisp: Test LIST-TABLE-INDEXES
421 * base/db-interface.lisp: Add DATABASE-UNDERLYING-TYPE
422 which gets the underlying type of database -- required
423 when dealing with ODBC databases and want to query
424 database capabilities. Added DB-USE-COLUMN-ON-DROP-TABLES?
425 as first database-backend specific feature. Is T on
426 :mysql, NIL on other backends. Change DROP-TABLE to
429 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
430 * Version 2.8.2: Build changes for FreeBSD [Slawek Zak]
432 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
434 * db-odbc/odbc-sql.lisp: Add DATABASE-LIST function
435 * db-odbc/odbc-dbi.lisp: Add LIST-ALL-DATA-SOURCES function
437 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
438 * Version 2.8.0: New API function: LIST-DATABASES
439 * base/utils.lisp: Fix command-output on CMUCL/SBCL
440 * db-*/*-sql.lisp: Add new database-list function
441 * base/database.lisp: Add new LIST-DATABASES command
443 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
445 * db-sqlite/sqlite-sql.lisp: Fix sequence functions.
446 * db-sqlite/sqlite-api-uffi.lisp: Print error string
449 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
451 * doc/csql.xml, examples/clsql-tutorial.lisp: Patch for db-kind
454 17 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
456 * base/objects.lisp, base/classes.lisp: Patch
457 for db-kind from Eduardo Munoz
459 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
461 * base/basic-sql.lisp: Fix FLATP in QUERY
463 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
464 * Version 2.7.3: Implement RECONNECT
466 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
467 * Version 2.7.2: Fix ODBC on Lispworks Windows
469 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
470 * Version 2.7.1: Fix for new ODBC backend.
471 clsql-odbc now works on SBCL, CMUCL, OpenMCL
472 in addition to AllegroCL and Lispworks.
474 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
475 * Version 2.7.0: New backend: ODBC. Tests as
476 well as AODBC backend on Allegro,Lispworks.
477 SBCL and CMUCL don't work quite yet. Requires UFFI v1.4.11+
478 * db-odbc/*.lisp: Add ODBC3 function SQLSetEnvAttr
479 to explicitly set ODBC2 support. Add BIGINT support.
480 Add result-types support. Added SQLTables.
481 Fix array type in fetch-all-rows. Make width
482 changable by database or query.
483 * base/utils.lisp: Add process functions
484 * base/package.lisp: Export utils to CLSQL-BASE-SYS
485 * db-aodbc: Implement sequence functions,
486 database-list-tables, database-list-attributes
487 * tests/utils.lisp: Add support for ODBC backend,
488 rework READ-SPECS to use +all-db-types+
489 * db-mysql/mysql-sql.lisp: Use WITHOUT-INTERRUPTS
492 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
493 * Version 2.6.13. Requires UFFI version 1.4.9
494 * db-odbc/*.lisp: Further porting.
495 Pre-alpha code! But, basic query is now working.
497 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
499 * base/transactions.lisp: Add quote for macro
500 expansion of WITH-TRANSACTIONS [Time Howe]
501 * db-sqlite/sqlite-sql.lisp: Support memory database
502 in database-probe [Ng Pheng Siong]
503 * db-odbc/*.lisp: Initial port to UFFI of SQL-ODBC.
504 The DBI layer is not finished.
506 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
508 * sql/objects.lisp: add :root-class functionality for
509 list-classes and add duration type support [Marcus Pearce]
510 * db-odbc: Add mid-level [DBI] layer
512 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
514 * db-aodbc: Add methods for generic functions, some are
516 * clsql-odbc.asd, db-odbc/*.lisp: Initial start of ODBC
519 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
521 * base/package.lisp: Add missing symbols [Marcus Pearce]
523 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
525 * test/test-fddl.lisp: Cleanup fix [Marcus Pearce]
526 * utils/time.lisp: Multiple fixes [Marcus Pearce]
527 * sql/sql.lisp: Fix for truncate-database [Marcus Pearce]
529 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
531 * sql/*.lisp: Remove schema versioning cruft
533 * Makefile: Add classic subdirectory
535 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
537 * sql/sql.lisp: Fix TRUNCATE command, bug reported
539 * sql/sql.lisp: Remove EXPLAIN function. Postgresql/Oracle
540 specific and easy for an application to directly support.
541 Idea from Marcus Pearce.
542 * base/basic-sql.lisp: Remove DESCRIBE-TABLE top-level
543 API as duplicates LIST-ATTRIBUTE-TYPES [Marcus Pearce].
544 Keep low-level interface for future optimization
545 supporting LIST-ATTRIBUTE-TYPES command.
546 * Makefile: Add to db-sqlite and test directories.
547 Include them in top-level Makefile
549 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
551 * sql/relations.lisp: Add missing file
552 * utils/time.lisp: Fixes/extensions [Marcus Pearce]
553 * test/test-time.lips: New file [Marcus Pearce]
555 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
557 * test/test-init.lisp: Properly handle object
558 creation. Close database after use.
559 * sql/sql.lisp: Make DESCRIBE-TABLE a generic
560 function so can have methods specialized on
561 table being a string or an sql-table object.
562 * base/pool.lisp: Really fix CMUCL locking
564 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
566 * test/test-init.lisp: Signal correctly
567 if any errors occurred in any test suite
568 * base/loop-extensions.lisp: Fix error
569 introduced for Lispworks
570 * base/pool.lisp: Fix locking for CMUCL
571 * base/objects.lisp: Remove schema-version cruft
573 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
574 * Version 2.6.2: New CLSQL API functions:
575 DESCRIBE-TABLE AND TRUNCATE-DATABASE
576 Currently, this are only supported on :postgresql
577 and :postgresql-socket
578 * base/database.lisp: automatically load ASDF system
579 in CONNECT if not already loaded
580 * base/tests.lisp: disconnect database after testing
581 * base/*.lisp: Remove CLOSED-DATABASE type in favor
582 of storing open/closed status in slot of database
583 * base/pool.lisp: Support locks for CMUCL, OpenMCL, SBCL
584 * db-postgresql/postgresql-sql.lisp: add DATABASE-RECONNECT,
585 DATABASE-DESCRIBE-TABLE
586 * db-sqlite/sqlite-sql.lisp: Add missing slots in database
587 * base/conditions: Remove duplicate condition
588 * db-*/*-sql.lisp: Fill new database slot DATABASE-TYPE
589 * base/recording.lisp: Add new :QUERY type for recording
591 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
592 * Version 2.6.1: documentation fixes, merged
593 classic-tests into tests
595 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
596 * Version 2.6.0 released: New API functions
597 CREATE-DATABASE, DESTORY-DATABASE, PROBE-DATABASE
598 * doc/ref_clsql.xml: Document new functions
599 * base/database.lisp: New API functions
600 * base/conditions.lisp: Added CLSQL-ACCESS-ERROR
601 * base/utils.lisp: Fix use of position-char.
602 Add COMMAND-OUTPUT used by backends for running
603 external programs. Fix parsing of SQL*NET-compatible
605 * base/loop-extension.lisp: Simplify package use
606 for Lispworks and Allegro
607 * db-*/*-sql.lisp: Added DATABASE-CREATE,
608 DATABASE-DESTORY, PROBE-DATABASE methods
609 * tests/test-init.lisp, clasic-tests/tests.lisp:
610 Use destroy-database and create-database to ensure
611 testing with empty database
612 * tests/test-connection.lisp: Add tests for
613 parsing of string connection-specs
614 * examples/run-tests.sh: New file for running
615 test suite on all installed CL implementations
616 * examples/clsql-tutorial.lisp: moved from
618 * examples/dot.clsql-tests.config: New file
619 giving an example test configuration
620 * test/README: Add notes about rtest/ptester
621 downloads and link to sample test configuration file.
623 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
624 * Version 2.5.1 released:
625 * tests/*.lisp: Rework so tests are run
626 on multiple backends automatically based
627 on the contents of ~/.clsql-tests.config.
628 Reuse helper functions from classic-tests.
629 * base/database.lisp: Support connection-spec
630 as string for CONNECT
631 * classic-tests/tests.lisp: Automatically
632 load database backends as needed.
634 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
635 * Version 2.5.0 released:
636 All tests for CLSQL and CLSQL-CLASSIC pass
638 * base/loop-extension.lisp: Add Lispworks
639 loop-extension. Improve type specifying on
642 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
643 * Version 2.4.2 released:
644 loop extension now supported on Allegro, all
645 CLSQL-TESTS pass on Allegro.
646 * sql/metaclasses.lisp: Some optimization
647 of compute-slots, be selective when
648 ordered-class-slots needs to be called
649 instead of class-slots
650 * TODO: add URL with documentation on
651 extending Lispworks LOOP form
653 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
654 * Version 2.4.1 released: CLSQL-TESt suite passes
655 all tests for postgresql and CMUCL, SBCL, OpenMCL.
656 Allegro and Lispworks pass all tests except for
657 FDML/LOOP/1 since the loop extension have not yet
658 been ported to those implementions.
659 * sql/metaclasses.lisp: Added new slot to standard-db-class
660 to hold user-specified type. OpenMCL adjustments to compensate
661 for its type-predicate function. Since AllegroCL, Lispworks,
662 and OpenMCL have different slot orders, added compute-slots
663 and ordered-class-slots functions so their slot order matches
666 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
667 * Version 2.4.0 released: All tests for clsql-classic now finish
668 correctly on Allegro, Lispworks, CMUCL, SBCL, OpenMCL for
669 mysql, postgresql, postgresql-sockets, and sqlite backends.
670 * db-mysql/mysql-sql.lisp: Fix array dereferencing
671 * classic-tests/tests.lisp: Fix package name of
672 number-to-sql-string.
673 * clsql.asd/clsql-tests.asd: Add support for asdf:test-op
674 * db-sqlite/sqlite-api-{uffi,sql}.lisp: Multiple UFFI fixes,
675 now passes tests on all support UFFI platforms.
676 * db-postgresql-socket/postgresql-socket-api.list: Ported to
678 * multiple: Finish renaming of :types keyword to :result-types for
679 greater CommonSQL compatibility, including documentation
680 * sql/basic-cmds.lisp: Remove obsolete file
682 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
683 * Version 2.3.3 released
684 * Fixes for sequences on mysql and sqlite [Marcus Pearce]
685 * Fixes for uffi sqlite backend [Aurelio Bignoli / Kevin Rosenberg]
686 * Fix for schema table [Marcus Pearce]
687 * Add loop extension support for SBCL and OpenMCL [Marcus Pearce]
688 * Fixes to test suite [Marcus Pearce]
690 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
691 * db-*/*-sql.lisp: Ensure that expr in
692 database-query-result-set is a string
693 * Documentation integration
695 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
696 * With for Marcus Pearce's excellent work, I've merged
697 his clsql-usql port into clsql. The original clsql
698 interface is available in the clsql-classic package.
700 02 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
701 * Integrate patch from Marcus Pearce <ek735@soi.city.ac.uk>
702 adding further support for providing backend for UncommonSQL
704 10 Mar 2004 Kevin Rosenberg (kevin@rosenberg.net)
705 * Integrate patch from Aurelio Bignoli for SQLite backend
707 11 Nov 2003 Kevin Rosenberg (kevin@rosenberg.net)
708 * Converted documentation to XML format
709 * Made package installable with asdf-install
711 23 Jul 2003 Kevin Rosenberg (kevin@rosenberg.net)
712 * Add for-each-row macro
714 12 Dec 2002 Kevin Rosenberg (kevin@rosenberg.net)
715 * uffi/clsql-uffi.lisp: return NIL for numeric fields that are NULL
717 16 Oct 2002 Kevin Rosenberg (kevin@rosenberg.net)
718 * Add support for SBCL, OpenMCL, and SCL
719 * Add *load-truename* to search path for clsql's
722 01 Sep 2002 Kevin Rosenberg (kevin@rosenberg.net)
723 * Rework use of file types in .asd files
725 17 Aug 2002 Kevin Rosenberg (kevin@rosenberg.net)
726 * Add .asd definition files for ASDF users
728 31 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
729 * Restructure directories for Common Lisp Controller v3 compatibility
731 25 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
732 * Also change case of logical host in loader files
733 * Rework handling of logical pathnames
735 05 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
736 * Change case of logical host
738 14 May 2002 Kevin Rosenberg (kevin@rosenberg.net)
739 * clsql-base.system: Added base package that can be used without
740 high-level SQL commands. Used for adding support for UncommonSQL.
741 * *.system: Reworked logical pathnames to be more consistent with
742 Common Lisp Controller.
743 * debian/*: Completed initial Debian support
745 10 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
747 * sql/transactions.cl:
748 Added transaction support. Functions/macros added:
749 with-transaction, commit-transaction, rollback-transaction,
750 add-transaction-commit-hook, add-transaction-rollback-hook
752 04 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
756 Added pool support in connect/disconnect and with-database.
757 Removed with-db-from-pool as with-database can now works with the connections pool
759 01 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
764 Completed connection pool.
765 Added with-db-from-pool macro.
767 27 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
769 Added initial support for connection pool
770 * sql/transactions.cl
771 Took transaction code from UncommonSQL and integrated
772 into CLSQL code. See file for disclaimer about why this
775 23 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
776 * interfaces/postgresql/postgresql-sql.cl:
777 Fix keyword typo in database-read-large-object
778 * interfaces/mysql/mysql-loader.cl
780 * test-suite/tester-clsql.cl
781 Fix type coercion of double-float
783 Added debian docbook catalog, made it the default
785 19 Apr 2002 Marc Battyani (marc.battyani@fractalconcept.com)
786 * interface/postgresql/postgresql-api.cl:
787 * interface/postgresql/postgresql-sql.cl:
789 * sql/db-interface.cl:
790 Added large objects support for postgresql.
792 07 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
793 * src/postgresql-socket/postgresql-socket-api.cl:
794 Fixed find-foreign-function call, eliminated crypt warning
796 Multiple improvements
798 Moved functionality from low-level interfaces to this file
799 via generic functions
800 * test-suite/tester.cl:
801 Added test with acl-compat-tester, moved others to old-tests
804 06 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
806 Reinstated commented out sections
807 * interfaces/postgresql/postgresql-loader.cl:
808 * interfaces/mysql/mysql-loader.cl:
809 Updated find-forieign-library support.
810 * interfaces/postgresql-socket/postgresql-socket-package.cl:
811 Fixed require form for Lispworks (Thanks Marc Battyani!)
812 * interfaces/postgresql-socket/postgresql-socket-api.cl:
813 Fixed eval of def-function for crypt library.
815 31 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
816 * Added interface to support USQL high-level rouines
818 29 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
819 * Separated db-interface and conditions from sql/sql.cl
820 * Improved foreign library loading testing
821 * interfaces/postgresql/postgresql-api.cl
822 Added PQisBusy function
823 * interfaces/clsql-uffi/clsql-uffi.cl
824 Fixed sign error for 64-bit processing
826 27 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
827 * interfaces/postgresql-socket/postgresql-socket-api.cl:
828 Fixes to read-double-from-socket. Added 64-bit integer support.
829 * test-suite/xptest-clsql.cl
830 Added testint for 64-bit integers
831 * Additons to installation docs
833 26 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
834 * interfaces/postgresql-socket/postgresql-socket-api.cl:
835 Implemented direct socket reading for field type :double
836 * Added usage information for :types to documentation
837 * interfaces/mysql/mysql-sql.cl: Fixed type specifiers in atoi,
839 * interfaces/clsql-uffi: Created new directory. Split common
840 interface routines that use UFFI into this package. Required
841 especially to support direct reading of 64-bit integers into
842 bignums and bypassing temporary strings.
843 * test-clsql.cl: Updated to test postgresql-socket's
844 read-double-from-socket function.
845 * test-suite/xptest-clsql.cl
846 Started work on test suite
848 25 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
849 * interfaces/mysql/mysql-api.cl: Added mysql-fetch-fields,
850 mysql-fetch-field-direct Got :auto types working
851 * interfaces/postgresql/postgresql-api.cl
852 * interfaces/postgresql-socket/postgresql-socket-api.cl
853 Added pgsql-field-types enum. Got :auto types working.
855 Renamed :field-types to :types.
857 24 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
858 * Added field-types parameter to query, database-query,
859 database-query-result-set, map-query. Haven't added code
860 to utilize field types, yet.
861 * Changed postgresql-socket result set from cons to a structure
862 * Updated test-clsql.cl to use automated testing with a config
864 * Changed return types of field accessors from cstring to
865 (* :unsigned-char). This prepares for being able to use specified
866 type conversions when taking field data into lisp.
867 * Added field-type processing for most interfaces. Not done yet.
869 23 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
870 * doc/ref.sgml: Updated MAP-QUERY example to use
871 *read-default-float-format* (John Foderaro)
872 * Extensive work to foreign library loaders and .system files to
873 check for successful loading of foreign libraries.
874 * Modified test-clsql.cl to allow more modularity and
875 automated testing in future release.
876 * mysql/mysql-sql.lisp: Added field types
878 01 Jan 2002 Kevin Rosenberg (kevin@rosenberg.net)
879 * mysql/mysql-sql.lisp:
880 - Added support for Allegro CL and Lispworks using UFFI layer
881 - Changed database-connect to use mysql-real-connect. This way,
882 can avoid using double (unwind-protect)
883 - Changed database-connect to have MySQL library allocate space
884 for MYSQL structure. This will make the code more robust in
885 the event that MySQL library changes the size of the mysql-mysql