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