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