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