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