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