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