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