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