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