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