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