1 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2 * base/basic-sql.lisp: Avoid multiple evaluation
3 of query-expression in DO-QUERY
5 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
7 * base/loop.lisp: Add object iteration. Use :result-type
8 :auto for result-set. Remove
9 duplicate (and non-correct) code for non-list variables by
10 simply making an atom variable into a list.
11 * sql/package.lisp: Remove unnecessary clsql-sys package
12 and replace it with clsql.
13 * sql/metaclasses.lisp: Properly store specified-type from
14 direct-slot-definition and then store translated type in
15 effective-slot-definition
16 * sql/classes.lisp: Don't output type in sql-output
17 for SQL-IDENT-ATTRIBUTE. This is in preparation for supporting
18 [foo :integer] as fields in SELECT.
19 * sql/query.lisp: Set default for :result-types to :auto in
21 * sql/objects.lisp: Use specified-type when invocating
22 database-get-type-specifier. def-view-class macro now returns
24 * base/basic-sql.lisp: Make :AUTO the default value for
25 :RESULT-TYPES for MAP-QUERY and DO-QUERY.
26 * sql/objects.lisp: Add bigint type
27 * test/tests-basic.lisp: Add tests for :result-types for
28 MAP-QUERY and DO-QUERY
29 * test/test-fdml.lisp: Add test for result-types in LOOP
30 and also using single symbol rather than a list for variables.
31 Add test that default :result-types is auto for FDML QUERY.
32 * test/test-syntax.lisp: Don't expect TYPE in the SQL-OUTPUT
33 of SQL-IDENT-ATTRIBUTE.
34 * test/test-oodml.lisp: Enable OO loop iteration test,
35 modify it so it doesn't depend on boolean where.
37 4 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
39 * sql/objects.lisp: added derived type specifier for universal time.
40 * sql/package.lisp: added #:universal-time to clsql-sys exports.
41 * tests/test-oodml.lisp: added test for translation of boolean slots
42 in SELECT with object queries.
44 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
45 * db-odbc/odbc-api.lisp: Fix changing nil to "NIL"
46 for odbc/postgresql backend.
47 * db-odbc/odbc-sql.lisp: Fix ATTRIBUTE-TYPE so that
48 it can handle NIL values from the ODBC driver
49 * tests/benchmarks.lisp: New file with initial
51 * sql/relations.lisp: fix to add subclassing support,
52 minor optimizations [Edi Weitz]
54 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
56 * base/conditions.lisp: Add *backend-warning-behavior*
58 * db-postgresql-socket/postgresql-socket-sql.lisp:
59 Honor value of *backend-warning-behavior*
60 * tests/test-fdml.lisp: Remove test of raw boolean value
61 since different backends handle this differently. Add
62 test for :column attribute.
63 * tests/test-oodml.lisp: Add tests for boolean slot value
64 and for :void-value attribute
65 * tests/test-init.lisp: Use *backend-warning-behavior*
66 to suppress warnings from postgresql about implicitly
67 creating primary key in tables. Add new address table.
69 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
71 * db-odbc/odbc-dbi.lisp: Convert TINYINT to integers when
73 * sql/objects.lisp: Properly handled writing/reading Boolean
74 values from SQL database when retrieving objects.
75 * test/test-fdml.lisp: Add another test for boolean results
76 * test/utils.lisp: Fix incorrect declaration
78 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
80 * sql/generics.lisp: add generic function for SELECT.
81 * sql/objects.lisp: make SELECT a method specialisation.
82 * sql/classes.lisp: MAKE-QUERY now calls SELECT if the selections
83 referred to are View Classes.
84 * base/basic-sql.lisp: in DO-QUERY and MAP-QUERY, if the
85 query-expression arg evaluates to a list, then we have an object
87 * tests/test-oodml.lisp: add tests for DO-QUERY and MAP-QUERY with
89 * TODO: remove items done and add a todo for SELECT.
90 * sql/objects.lisp: SELECT takes a :field-names arg to pass on to
92 * sql/sql.lisp: add :field-names arg to QUERY.
93 * tests/test-fdml.lisp: minor rework to use :field-names arg to
96 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
97 * sql/objects.lisp: fix bug in FIND-ALL when SELECT called with 2
99 * sql/objects.lisp: make the :flatp argument to SELECT work with
101 * sql/objects.lisp: make SELECT accept a :result-types argument
102 (defaults to :auto) which is passed on to QUERY.
103 * sql/objects.lisp: SELECT returns field-names as a second value.
104 * tests/test-ooddl.lisp: add flatp arg to SELECT calls as appropriate.
105 * tests/test-fdml.lisp: add flatp/result-types arguments to calls
106 to SELECT and take only first value as appropriate.
107 * tests/test-fdml.lisp: add two new tests for query result coercion
108 and the field-names returned as a second value from SELECT.
109 * tests/test-oodml.lisp: add flatp arg to SELECT calls as appropriate.
111 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
112 * Version 2.10.6-pre1
113 * sql/metaclasses.lisp: Add void-value slot
114 * doc/csql.xml: Update def-view-class documentation
115 * test/test-init.lisp: Change old :db-type to :db-kind.
116 Remove old :nulls-ok attributes.
117 * sql/objects.lisp: Add new universal-time and bigint
118 types. Optimize reading of integers using parse-integer
119 rather than read-from-string.
120 * */*.lisp: Merge clsql-base-sys and clsql-base packages
121 into clsql-base package
122 * classic/sql.lisp: Move large object support into base, leaving
123 classic without any functionality that is provided in the clsql
125 * classic/package.lisp: Rename clsql-classic-sys package to
126 its former nickname of clsql-classic
128 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
129 * Version 2.10.5: SQLite backend now passes all result-types tests
130 * clsql-sqlite.asd: Depend on clsql-uffi system
131 * db-sqlite/sqlite-sql.lisp: Use clsql-uffi:convert-raw-field
132 for efficiency and code reuse.
133 * db-sqlite/sqlite-api-uffi.lisp: Change (* :char) to (* :unsigned-char)
134 for better cross-implementation compatibility.
136 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
138 * sql/tables.lisp: Fix typo in CACHE-TABLE-QUERIES
140 * db-postgresql/postgresql-sql.lisp: Fix foreign-string vs. cstring
141 bug on SBCL in result-field-names function as reported by Marcus Pearce
142 * db-sqlite/sqlite-sql.lisp: Fix in database-store-next-row
143 manifest in SBCL testing
145 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
147 * sql/database.lisp: Conform more to CommonSQL output
148 for STATUS command [Marcus Pearce]
149 * sql/sqlite-sql.lisp: Rework to use result-types
150 * sql/sqlite-api-clisp.lisp: Add compatibility layer
151 with sqlite-api-uffi.lisp so that sqlite-sql.lisp can
152 be cleaned up of most clisp reader conditionals
153 * sql/test-init.lisp: Now run field type tests on sqlite
156 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
158 * base/basic-sql.lisp: Set default value of :result-types
159 to :auto for more CommonSQL conformance.
160 * test/test-fdml.lisp: Add tests for numeric value of fields
163 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
164 * Version 2.10.1: New API function: CACHE-TABLE-QUERIES.
165 * base/basic-sql.lisp, db-*/*-sql.lisp: More CommonSQL conformance.
166 Return field names as second value for QUERY. This can be overridden
167 for efficiency with the new keyword :FIELD-NAMES set to NIL
168 in the QUERY invocation.
169 * test/test-fdml.lisp: Add tests for new field-name feature
170 * sql/metaclass.lisp: Remove old Lispworks cruft
171 and replace it with invocation of new code in kmr-mop.lisp
172 which actually works with Lispworks 4.2
173 * doc/ref_clsql.xml: Document new :FIELD-NAMES keyword to
175 * base/db-interface.lisp: Document the multiple values
176 returned by DATABASE-ATTRIBUTE-TYPE so matches the
177 undocumented CommonSQL behavior.
178 * sql/table.lisp: Add *CACHE-TABLE-QUERIES-DEFAULT* and
179 *DEFAULT-UPDATE-OBJECTS-MAX-LEN* variables and export them.
180 LIST-ATTRIBUTE-TYPES now conforms to CommonSQL spec.
181 Implement CACHE-TABLE-QUERIES.
182 * db-odbc/odbc-sql.lisp: Fix attribute-type function
183 * test/test-fddl.lisp: Add tests for attribute type
184 * db-mysql/mysql-sql.lisp: Mild optimization in accessing
186 * base/classes.lisp: Add attribute-cache slot to database clas
187 * base/initialize.lisp: initialize-database-type now automatically
188 loads database-type backend as needed.
189 * base/test-init.lisp: Utilize new initialize-database-type functionality.
190 * TODO: remove items done
192 30 Apr 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
194 * sql/objects.lisp: remove create/drop-sequence-from-class.
195 * sql/objects.lisp: add INSTANCE-REFRESHED generic function.
196 * sql/objects.lisp: improved CommonSQL compatibility for
197 UPDATE-RECORD-FROM-SLOT, UPDATE-RECORD-FROM-SLOTS,
198 UPDATE-RECORDS-FROM-INSTANCE and DELETE-INSTANCE-RECORDS.
199 * sql/generics.lisp: move generics from objects.lisp to here.
201 29 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
203 * db-mysql/mysql-client-info.lisp: Add client version 4.1
205 * sql/sql.lisp: Make *default-database* the default for
208 28 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
210 * db-mysql/mysql-sql.lisp: Fix bug in transaction capability
212 * sql/objects.lisp: Commit patch from Slawek Zak to allow specifying
213 :metaclass in DEF-VIEW-CLASS invocation. This allows defining classes
214 on a metaclass specialized from standard-db-class.
217 24 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
218 * Version 2.9.4: Multiple changes to support Allegro's "modern"
219 lisp which uses a lowercase reader and has case-sensitive symbols
220 * sql/classes.lisp: Fix make-load-form bug for sql-ident-table
221 exposed by case-sensitive mlisp.
223 22 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
224 * Version 2.9.3: All tests now pass on all platforms!
225 * LATEST-TEST-RESULTS: New file with summary of test results
226 * sql/generics.lisp: New file for generic function definitions.
227 * test/test-init.lisp: Display names of skipped tests.
228 Use unwind-protect to ensure disconnect
229 * sql/objects.lisp: Change database-type to database-underlying-type
230 so that actual database engine is properly identified
231 * db-odbc/odbc-api.lisp: Have default *time-conversion-function*
232 return an ISO timestring for compatibility with other drivers.
233 Workaround bug in MyODBC for LIST-TABLE-INDEXES
234 * test/test-fdml.lisp: Accomodate that odbc-postgresql driver
235 returns floating-point values for floor and truncate operations
236 * db-aodbc/aodbc-sql.lisp: Implement DATABASE-LIST-VIEWS
237 * tests/test-basic.lisp: Port to regression tester
238 * test/test-init.lisp: Output to *report-stream*
239 * docs/appendix.xml: Document ODBC and SQLite backends.
240 * sql/classes.lisp: Make output-sql require a database parameter.
241 This allows SQL generation to have the proper case to support
242 the differences in case handling between CommonSQL API,
243 Postgresql, MySQL, Oracle.
245 21 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
246 * Version 2.9.2: Improvments in database capability introspection
247 and querying. Support transactions in MySQL where available.
248 All tests now pass on MySQL and SQLite in addition to postgresql
249 and postgresql-socket. ODBC fails only with OODDL/TIME/1 and OODDL/TIME/2.
250 * db-odbc/odbc-sql.lisp: Add DATABASE-LIST-VIEWS. Better support
251 DATABASE-LIST-SEQUENCES.
252 * clsql-uffi.asd, clsql-mysql.asd: Improve shared library loading
253 * Database_capabilies: add HAS-VIEWS, HAS-CREATE/DESTROY-DB,
254 HAS-BOOLEAN-WHERE, TRANSACTION-CAPABLE
255 * tests/*.lisp: Check database capabilities and remove tests which
256 the database backend does not support
257 * sql/table.lisp: Add :TRANSACTIONS keyword to create table which
258 controls whether InnoDB tables will be created when supported on
259 the underlying MySQL server.
261 20 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
262 * Version 2.9.0: New API function: LIST-TABLE-INDEXES,
263 supported by all database backends (except AODBC since
264 AODBC doesn't support index querying)
265 * db-obdc/odbc-sql.lisp: Support DATABASE-LIST-INDEXES
266 * db-odbc/odbc-api.lisp: Add %TABLE-STATISTICS function
267 to support index queries
268 * db-aodbc/aodbc-sql.lisp: Filter driver manager
269 "information_schema" tables from LIST-TABLES
270 * tests/test-basic.lisp: Remove table after testing
271 * tests/test-fddl.lisp: Test LIST-TABLE-INDEXES
272 * base/db-interface.lisp: Add DATABASE-UNDERLYING-TYPE
273 which gets the underlying type of database -- required
274 when dealing with ODBC databases and want to query
275 database capabilities. Added DB-USE-COLUMN-ON-DROP-TABLES?
276 as first database-backend specific feature. Is T on
277 :mysql, NIL on other backends. Change DROP-TABLE to
280 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
281 * Version 2.8.2: Build changes for FreeBSD [Slawek Zak]
283 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
285 * db-odbc/odbc-sql.lisp: Add DATABASE-LIST function
286 * db-odbc/odbc-dbi.lisp: Add LIST-ALL-DATA-SOURCES function
288 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
289 * Version 2.8.0: New API function: LIST-DATABASES
290 * base/utils.lisp: Fix command-output on CMUCL/SBCL
291 * db-*/*-sql.lisp: Add new database-list function
292 * base/database.lisp: Add new LIST-DATABASES command
294 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
296 * db-sqlite/sqlite-sql.lisp: Fix sequence functions.
297 * db-sqlite/sqlite-api-uffi.lisp: Print error string
300 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
302 * doc/csql.xml, examples/clsql-tutorial.lisp: Patch for db-kind
305 17 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
307 * base/objects.lisp, base/classes.lisp: Patch
308 for db-kind from Eduardo Munoz
310 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
312 * base/basic-sql.lisp: Fix FLATP in QUERY
314 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
315 * Version 2.7.3: Implement RECONNECT
317 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
318 * Version 2.7.2: Fix ODBC on Lispworks Windows
320 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
321 * Version 2.7.1: Fix for new ODBC backend.
322 clsql-odbc now works on SBCL, CMUCL, OpenMCL
323 in addition to AllegroCL and Lispworks.
325 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
326 * Version 2.7.0: New backend: ODBC. Tests as
327 well as AODBC backend on Allegro,Lispworks.
328 SBCL and CMUCL don't work quite yet. Requires UFFI v1.4.11+
329 * db-odbc/*.lisp: Add ODBC3 function SQLSetEnvAttr
330 to explicitly set ODBC2 support. Add BIGINT support.
331 Add result-types support. Added SQLTables.
332 Fix array type in fetch-all-rows. Make width
333 changable by database or query.
334 * base/utils.lisp: Add process functions
335 * base/package.lisp: Export utils to CLSQL-BASE-SYS
336 * db-aodbc: Implement sequence functions,
337 database-list-tables, database-list-attributes
338 * tests/utils.lisp: Add support for ODBC backend,
339 rework READ-SPECS to use +all-db-types+
340 * db-mysql/mysql-sql.lisp: Use WITHOUT-INTERRUPTS
343 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
344 * Version 2.6.13. Requires UFFI version 1.4.9
345 * db-odbc/*.lisp: Further porting.
346 Pre-alpha code! But, basic query is now working.
348 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
350 * base/transactions.lisp: Add quote for macro
351 expansion of WITH-TRANSACTIONS [Time Howe]
352 * db-sqlite/sqlite-sql.lisp: Support memory database
353 in database-probe [Ng Pheng Siong]
354 * db-odbc/*.lisp: Initial port to UFFI of SQL-ODBC.
355 The DBI layer is not finished.
357 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
359 * sql/objects.lisp: add :root-class functionality for
360 list-classes and add duration type support [Marcus Pearce]
361 * db-odbc: Add mid-level [DBI] layer
363 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
365 * db-aodbc: Add methods for generic functions, some are
367 * clsql-odbc.asd, db-odbc/*.lisp: Initial start of ODBC
370 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
372 * base/package.lisp: Add missing symbols [Marcus Pearce]
374 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
376 * test/test-fddl.lisp: Cleanup fix [Marcus Pearce]
377 * utils/time.lisp: Multiple fixes [Marcus Pearce]
378 * sql/sql.lisp: Fix for truncate-database [Marcus Pearce]
380 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
382 * sql/*.lisp: Remove schema versioning cruft
384 * Makefile: Add classic subdirectory
386 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
388 * sql/sql.lisp: Fix TRUNCATE command, bug reported
390 * sql/sql.lisp: Remove EXPLAIN function. Postgresql/Oracle
391 specific and easy for an application to directly support.
392 Idea from Marcus Pearce.
393 * base/basic-sql.lisp: Remove DESCRIBE-TABLE top-level
394 API as duplicates LIST-ATTRIBUTE-TYPES [Marcus Pearce].
395 Keep low-level interface for future optimization
396 supporting LIST-ATTRIBUTE-TYPES command.
397 * Makefile: Add to db-sqlite and test directories.
398 Include them in top-level Makefile
400 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
402 * sql/relations.lisp: Add missing file
403 * utils/time.lisp: Fixes/extensions [Marcus Pearce]
404 * test/test-time.lips: New file [Marcus Pearce]
406 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
408 * test/test-init.lisp: Properly handle object
409 creation. Close database after use.
410 * sql/sql.lisp: Make DESCRIBE-TABLE a generic
411 function so can have methods specialized on
412 table being a string or an sql-table object.
413 * base/pool.lisp: Really fix CMUCL locking
415 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
417 * test/test-init.lisp: Signal correctly
418 if any errors occurred in any test suite
419 * base/loop-extensions.lisp: Fix error
420 introduced for Lispworks
421 * base/pool.lisp: Fix locking for CMUCL
422 * base/objects.lisp: Remove schema-version cruft
424 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
425 * Version 2.6.2: New CLSQL API functions:
426 DESCRIBE-TABLE AND TRUNCATE-DATABASE
427 Currently, this are only supported on :postgresql
428 and :postgresql-socket
429 * base/database.lisp: automatically load ASDF system
430 in CONNECT if not already loaded
431 * base/tests.lisp: disconnect database after testing
432 * base/*.lisp: Remove CLOSED-DATABASE type in favor
433 of storing open/closed status in slot of database
434 * base/pool.lisp: Support locks for CMUCL, OpenMCL, SBCL
435 * db-postgresql/postgresql-sql.lisp: add DATABASE-RECONNECT,
436 DATABASE-DESCRIBE-TABLE
437 * db-sqlite/sqlite-sql.lisp: Add missing slots in database
438 * base/conditions: Remove duplicate condition
439 * db-*/*-sql.lisp: Fill new database slot DATABASE-TYPE
440 * base/recording.lisp: Add new :QUERY type for recording
442 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
443 * Version 2.6.1: documentation fixes, merged
444 classic-tests into tests
446 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
447 * Version 2.6.0 released: New API functions
448 CREATE-DATABASE, DESTORY-DATABASE, PROBE-DATABASE
449 * doc/ref_clsql.xml: Document new functions
450 * base/database.lisp: New API functions
451 * base/conditions.lisp: Added CLSQL-ACCESS-ERROR
452 * base/utils.lisp: Fix use of position-char.
453 Add COMMAND-OUTPUT used by backends for running
454 external programs. Fix parsing of SQL*NET-compatible
456 * base/loop-extension.lisp: Simplify package use
457 for Lispworks and Allegro
458 * db-*/*-sql.lisp: Added DATABASE-CREATE,
459 DATABASE-DESTORY, PROBE-DATABASE methods
460 * tests/test-init.lisp, clasic-tests/tests.lisp:
461 Use destroy-database and create-database to ensure
462 testing with empty database
463 * tests/test-connection.lisp: Add tests for
464 parsing of string connection-specs
465 * examples/run-tests.sh: New file for running
466 test suite on all installed CL implementations
467 * examples/clsql-tutorial.lisp: moved from
469 * examples/dot.clsql-tests.config: New file
470 giving an example test configuration
471 * test/README: Add notes about rtest/ptester
472 downloads and link to sample test configuration file.
474 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
475 * Version 2.5.1 released:
476 * tests/*.lisp: Rework so tests are run
477 on multiple backends automatically based
478 on the contents of ~/.clsql-tests.config.
479 Reuse helper functions from classic-tests.
480 * base/database.lisp: Support connection-spec
481 as string for CONNECT
482 * classic-tests/tests.lisp: Automatically
483 load database backends as needed.
485 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
486 * Version 2.5.0 released:
487 All tests for CLSQL and CLSQL-CLASSIC pass
489 * base/loop-extension.lisp: Add Lispworks
490 loop-extension. Improve type specifying on
493 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
494 * Version 2.4.2 released:
495 loop extension now supported on Allegro, all
496 CLSQL-TESTS pass on Allegro.
497 * sql/metaclasses.lisp: Some optimization
498 of compute-slots, be selective when
499 ordered-class-slots needs to be called
500 instead of class-slots
501 * TODO: add URL with documentation on
502 extending Lispworks LOOP form
504 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
505 * Version 2.4.1 released: CLSQL-TESt suite passes
506 all tests for postgresql and CMUCL, SBCL, OpenMCL.
507 Allegro and Lispworks pass all tests except for
508 FDML/LOOP/1 since the loop extension have not yet
509 been ported to those implementions.
510 * sql/metaclasses.lisp: Added new slot to standard-db-class
511 to hold user-specified type. OpenMCL adjustments to compensate
512 for its type-predicate function. Since AllegroCL, Lispworks,
513 and OpenMCL have different slot orders, added compute-slots
514 and ordered-class-slots functions so their slot order matches
517 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
518 * Version 2.4.0 released: All tests for clsql-classic now finish
519 correctly on Allegro, Lispworks, CMUCL, SBCL, OpenMCL for
520 mysql, postgresql, postgresql-sockets, and sqlite backends.
521 * db-mysql/mysql-sql.lisp: Fix array dereferencing
522 * classic-tests/tests.lisp: Fix package name of
523 number-to-sql-string.
524 * clsql.asd/clsql-tests.asd: Add support for asdf:test-op
525 * db-sqlite/sqlite-api-{uffi,sql}.lisp: Multiple UFFI fixes,
526 now passes tests on all support UFFI platforms.
527 * db-postgresql-socket/postgresql-socket-api.list: Ported to
529 * multiple: Finish renaming of :types keyword to :result-types for
530 greater CommonSQL compatibility, including documentation
531 * sql/basic-cmds.lisp: Remove obsolete file
533 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
534 * Version 2.3.3 released
535 * Fixes for sequences on mysql and sqlite [Marcus Pearce]
536 * Fixes for uffi sqlite backend [Aurelio Bignoli / Kevin Rosenberg]
537 * Fix for schema table [Marcus Pearce]
538 * Add loop extension support for SBCL and OpenMCL [Marcus Pearce]
539 * Fixes to test suite [Marcus Pearce]
541 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
542 * db-*/*-sql.lisp: Ensure that expr in
543 database-query-result-set is a string
544 * Documentation integration
546 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
547 * With for Marcus Pearce's excellent work, I've merged
548 his clsql-usql port into clsql. The original clsql
549 interface is available in the clsql-classic package.
551 02 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
552 * Integrate patch from Marcus Pearce <ek735@soi.city.ac.uk>
553 adding further support for providing backend for UncommonSQL
555 10 Mar 2004 Kevin Rosenberg (kevin@rosenberg.net)
556 * Integrate patch from Aurelio Bignoli for SQLite backend
558 11 Nov 2003 Kevin Rosenberg (kevin@rosenberg.net)
559 * Converted documentation to XML format
560 * Made package installable with asdf-install
562 23 Jul 2003 Kevin Rosenberg (kevin@rosenberg.net)
563 * Add for-each-row macro
565 12 Dec 2002 Kevin Rosenberg (kevin@rosenberg.net)
566 * uffi/clsql-uffi.lisp: return NIL for numeric fields that are NULL
568 16 Oct 2002 Kevin Rosenberg (kevin@rosenberg.net)
569 * Add support for SBCL, OpenMCL, and SCL
570 * Add *load-truename* to search path for clsql's
573 01 Sep 2002 Kevin Rosenberg (kevin@rosenberg.net)
574 * Rework use of file types in .asd files
576 17 Aug 2002 Kevin Rosenberg (kevin@rosenberg.net)
577 * Add .asd definition files for ASDF users
579 31 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
580 * Restructure directories for Common Lisp Controller v3 compatibility
582 25 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
583 * Also change case of logical host in loader files
584 * Rework handling of logical pathnames
586 05 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
587 * Change case of logical host
589 14 May 2002 Kevin Rosenberg (kevin@rosenberg.net)
590 * clsql-base.system: Added base package that can be used without
591 high-level SQL commands. Used for adding support for UncommonSQL.
592 * *.system: Reworked logical pathnames to be more consistent with
593 Common Lisp Controller.
594 * debian/*: Completed initial Debian support
596 10 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
598 * sql/transactions.cl:
599 Added transaction support. Functions/macros added:
600 with-transaction, commit-transaction, rollback-transaction,
601 add-transaction-commit-hook, add-transaction-rollback-hook
603 04 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
607 Added pool support in connect/disconnect and with-database.
608 Removed with-db-from-pool as with-database can now works with the connections pool
610 01 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
615 Completed connection pool.
616 Added with-db-from-pool macro.
618 27 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
620 Added initial support for connection pool
621 * sql/transactions.cl
622 Took transaction code from UncommonSQL and integrated
623 into CLSQL code. See file for disclaimer about why this
626 23 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
627 * interfaces/postgresql/postgresql-sql.cl:
628 Fix keyword typo in database-read-large-object
629 * interfaces/mysql/mysql-loader.cl
631 * test-suite/tester-clsql.cl
632 Fix type coercion of double-float
634 Added debian docbook catalog, made it the default
636 19 Apr 2002 Marc Battyani (marc.battyani@fractalconcept.com)
637 * interface/postgresql/postgresql-api.cl:
638 * interface/postgresql/postgresql-sql.cl:
640 * sql/db-interface.cl:
641 Added large objects support for postgresql.
643 07 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
644 * src/postgresql-socket/postgresql-socket-api.cl:
645 Fixed find-foreign-function call, eliminated crypt warning
647 Multiple improvements
649 Moved functionality from low-level interfaces to this file
650 via generic functions
651 * test-suite/tester.cl:
652 Added test with acl-compat-tester, moved others to old-tests
655 06 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
657 Reinstated commented out sections
658 * interfaces/postgresql/postgresql-loader.cl:
659 * interfaces/mysql/mysql-loader.cl:
660 Updated find-forieign-library support.
661 * interfaces/postgresql-socket/postgresql-socket-package.cl:
662 Fixed require form for Lispworks (Thanks Marc Battyani!)
663 * interfaces/postgresql-socket/postgresql-socket-api.cl:
664 Fixed eval of def-function for crypt library.
666 31 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
667 * Added interface to support USQL high-level rouines
669 29 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
670 * Separated db-interface and conditions from sql/sql.cl
671 * Improved foreign library loading testing
672 * interfaces/postgresql/postgresql-api.cl
673 Added PQisBusy function
674 * interfaces/clsql-uffi/clsql-uffi.cl
675 Fixed sign error for 64-bit processing
677 27 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
678 * interfaces/postgresql-socket/postgresql-socket-api.cl:
679 Fixes to read-double-from-socket. Added 64-bit integer support.
680 * test-suite/xptest-clsql.cl
681 Added testint for 64-bit integers
682 * Additons to installation docs
684 26 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
685 * interfaces/postgresql-socket/postgresql-socket-api.cl:
686 Implemented direct socket reading for field type :double
687 * Added usage information for :types to documentation
688 * interfaces/mysql/mysql-sql.cl: Fixed type specifiers in atoi,
690 * interfaces/clsql-uffi: Created new directory. Split common
691 interface routines that use UFFI into this package. Required
692 especially to support direct reading of 64-bit integers into
693 bignums and bypassing temporary strings.
694 * test-clsql.cl: Updated to test postgresql-socket's
695 read-double-from-socket function.
696 * test-suite/xptest-clsql.cl
697 Started work on test suite
699 25 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
700 * interfaces/mysql/mysql-api.cl: Added mysql-fetch-fields,
701 mysql-fetch-field-direct Got :auto types working
702 * interfaces/postgresql/postgresql-api.cl
703 * interfaces/postgresql-socket/postgresql-socket-api.cl
704 Added pgsql-field-types enum. Got :auto types working.
706 Renamed :field-types to :types.
708 24 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
709 * Added field-types parameter to query, database-query,
710 database-query-result-set, map-query. Haven't added code
711 to utilize field types, yet.
712 * Changed postgresql-socket result set from cons to a structure
713 * Updated test-clsql.cl to use automated testing with a config
715 * Changed return types of field accessors from cstring to
716 (* :unsigned-char). This prepares for being able to use specified
717 type conversions when taking field data into lisp.
718 * Added field-type processing for most interfaces. Not done yet.
720 23 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
721 * doc/ref.sgml: Updated MAP-QUERY example to use
722 *read-default-float-format* (John Foderaro)
723 * Extensive work to foreign library loaders and .system files to
724 check for successful loading of foreign libraries.
725 * Modified test-clsql.cl to allow more modularity and
726 automated testing in future release.
727 * mysql/mysql-sql.lisp: Added field types
729 01 Jan 2002 Kevin Rosenberg (kevin@rosenberg.net)
730 * mysql/mysql-sql.lisp:
731 - Added support for Allegro CL and Lispworks using UFFI layer
732 - Changed database-connect to use mysql-real-connect. This way,
733 can avoid using double (unwind-protect)
734 - Changed database-connect to have MySQL library allocate space
735 for MYSQL structure. This will make the code more robust in
736 the event that MySQL library changes the size of the mysql-mysql