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