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