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