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