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