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