clsql.git
15 years agoPulling in changes from darcs patch:
nathan@acceleration.net [Fri, 22 Feb 2008 21:44:30 +0000 (16:44 -0500)]
Pulling in changes from darcs patch:
Tue Jun 12 17:51:57 EDT 2007  Nathan Bird <nathan@acceleration.net>
  * refactorng choose-database-for-instance method out
  this function encapsulates the logic about which database connection to use
  and is called by most of the update-*-from-* in the oodml functions.

  Also refactored update-record-from-instance to call update-record-from-slots.

WARNING: This patch may not represent a stable point as i was cutting and pasting to apply.

15 years agoFrom darcs: * Teach expressions how to deal with identity columns
nathan@acceleration.net [Fri, 22 Feb 2008 20:59:39 +0000 (15:59 -0500)]
From darcs: * Teach expressions how to deal with identity columns

15 years agoModified pool.lisp:acquire-from-conn-pool to perform connection
Russ Tyndall [Mon, 5 Jan 2009 19:18:42 +0000 (14:18 -0500)]
Modified pool.lisp:acquire-from-conn-pool to perform connection
validity checks on all returned connections.

Pooled connections can become invalid whenever the pipe goes down,
(such as db reboot). To do this check we 'SELECT 1;' on the connection
and catch any errors that occur, disconnecting the connection if it
is no longer valid

15 years agochanged generic-odbc to correctly handle owner in list views
Russ Tyndall [Wed, 17 Dec 2008 15:22:05 +0000 (10:22 -0500)]
changed generic-odbc to correctly handle owner in list views

15 years agoIn postgresql-socket another location dealing with octets that wasn't using the exter...
Nathan Bird [Tue, 14 Oct 2008 19:37:49 +0000 (15:37 -0400)]
In postgresql-socket another location dealing with octets that wasn't using the external format. Fixed that and added a package local parameter for what the external format these 3 functions now should use.

15 years agoadded :external-format :utf8 on the octets-to-string call
Russ Tyndall [Fri, 10 Oct 2008 20:18:29 +0000 (16:18 -0400)]
added :external-format :utf8 on the octets-to-string call

15 years agoadded :external-format :utf8 on the string-to-octets call
Russ Tyndall [Fri, 10 Oct 2008 20:07:12 +0000 (16:07 -0400)]
added :external-format :utf8 on the string-to-octets call

15 years agoTests for the previous patch (adding special time printing in postgres).
Russ Tyndall [Thu, 9 Oct 2008 20:53:42 +0000 (16:53 -0400)]
Tests for the previous patch (adding special time printing in postgres).

Also including the time tests , which were not included prev

These tests will create a table and verify that the date inserted is
the date retrieved and that when we update the database the value we
retrieve is the same as the one we inserted.

15 years agoadded some generic postegres code to send times to the database as iso8601
Russ Tyndall [Thu, 9 Oct 2008 18:30:22 +0000 (14:30 -0400)]
added some generic postegres code to send times to the database as iso8601

15 years agoAdded some postgres overloads for database-output-sql-as-type so that nullable floati...
russ@acceleration.net [Thu, 3 Jul 2008 16:34:09 +0000 (12:34 -0400)]
Added some postgres overloads for database-output-sql-as-type so that nullable floating point numbers work correctly

15 years agoIn ODBC when reading data in chunks with a specified out-length, use that as
nathan@acceleration.net [Thu, 10 Apr 2008 15:25:12 +0000 (11:25 -0400)]
In ODBC when reading data in chunks with a specified out-length, use that as
an indicator since freetds doens't set the info status appropriately.

15 years agoadding emacs *~ and lisp fasl files to the ignore set.
nathan@acceleration.net [Thu, 10 Apr 2008 15:24:25 +0000 (11:24 -0400)]
adding emacs *~ and lisp fasl files to the ignore set.

15 years agoMake functional expressions work with :desc and :asc specifiers.
Ryszard Szopa [Sun, 4 Jan 2009 00:39:27 +0000 (01:39 +0100)]
Make functional expressions work with :desc and :asc specifiers.

15 years agoMake it possible to pass functional expression to :order-by in select.
Ryszard Szopa [Sun, 4 Jan 2009 00:23:07 +0000 (01:23 +0100)]
Make it possible to pass functional expression to :order-by in select.

16 years ago* sql/expressions.lisp: Bind *in-subselect* when outputting selections
Kevin Rosenberg [Wed, 12 Dec 2007 20:34:49 +0000 (13:34 -0700)]
* sql/expressions.lisp: Bind *in-subselect* when outputting selections

16 years agoremove extra whitespace debian-4.0.3-1
Kevin Rosenberg [Wed, 12 Dec 2007 01:35:01 +0000 (18:35 -0700)]
remove extra whitespace

16 years agoAutomated commit for debian release 4.0.3-1
Kevin Rosenberg [Wed, 12 Dec 2007 01:18:09 +0000 (18:18 -0700)]
Automated commit for debian release 4.0.3-1

16 years ago * Version 4.0.3 v4.0.3
Kevin Rosenberg [Wed, 12 Dec 2007 01:17:43 +0000 (18:17 -0700)]
    * Version 4.0.3
        * sql/metaclasses.lisp: Unify base-table processing by extracting
        the correct code from initialize-instance :around into the helper
        function set-view-table-slot. Call that function also in
        reinitialize-instance :around replacing erroneous code discovered
        by Josh Feinstein.

16 years agonote new bug entry in ChangeLog
Kevin Rosenberg [Sat, 17 Nov 2007 15:58:03 +0000 (08:58 -0700)]
note new bug entry in ChangeLog

16 years agonote the benefit of using configure file to create Makefiles
Kevin Rosenberg [Sat, 17 Nov 2007 15:56:02 +0000 (08:56 -0700)]
note the benefit of using configure file to create Makefiles

16 years agodb-postgresql/postgresql-sql.lisp: Patch from Gabriele Favalessa based on
Kevin Rosenberg [Tue, 23 Oct 2007 14:58:31 +0000 (08:58 -0600)]
db-postgresql/postgresql-sql.lisp: Patch from Gabriele Favalessa based on
Andrew Golding suggestion for more informative :error-id slot

16 years agoVersion 4.0.1 debian-4.0.1-1 v4.0.1
Kevin Rosenberg [Mon, 17 Sep 2007 17:01:16 +0000 (11:01 -0600)]
Version 4.0.1
17 Sep 2007  Kevin Rosenberg <kevin@rosenberg.net>
* Version 4.0.1
* db-mysql/mysql-sql.lisp: Convert query to uffi cstring (thanks to
Albert Krewinkel).
* doc/Makefile, doc/html.xsl: Change output encoding from ISO-8859-1 to UTF-8

16 years ago14 Sep 2007 Kevin Rosenberg <kevin@rosenberg.net> debian-4.0.0-1 v4.0.0
Kevin Rosenberg [Sat, 15 Sep 2007 11:54:44 +0000 (05:54 -0600)]
14 Sep 2007  Kevin Rosenberg <kevin@rosenberg.net>
* Version 4.0.0: Major version increase to warn of potential
backwards incompatibility.
* NEWS: Document potentional backward incompatible changes
* db-mysql/mysql-sql.lisp: Changes session SQL mode to ANSI immediately
after connecting. This may break compatibility with some applications
who are using non-ANSI features with MySQL. This change is required to
properly support view-classes using a string as their :base-table
attribute. This allows users to specify the case of table names.
This is feature is even more essential for MySQL itself since MySQL
uses case-sensitive table names. Use connection-based database-create
and database-destroy rather than trying to invoke command-line mysql
utility. Remove automatic upcasing of strings from list-indices.
* db-postgresql/postgresql-sql.lisp: Use connection-based
database-create and database-destroy rather than trying to invoke
command-line utilities.
* db-postgresql-socket/postgresql-socket-sql.lisp: Use
database-execute-command rather than execute-command for
database-{create,destroy}. Connect to postgres database
rather than template1 for those database creation/deletion.
* sql/metaclasses.lisp: Store the string value of :base-table if a
string is provided. Perform sql-escape at time of view-table name
creation.
* tests/test-init.lisp: Use "ej_join" as a string, rather than a
symbol, since "ej_join" is specified as :base-table. Clear the
expression output-cache in case the code for generating sql output
has changed.
* test/test-oodml.lisp: whitespace fix
* sql/ooddl.lisp: Use quoted string for primary key constraint if
table name is specified as a string.
* sql/oodml.lisp: Don't convert a string view-table name to database's
default case.
* sql/expressions.lisp: Properly handle table and attribute identifiers
when they are a string. Do not change case of symbols to match database
default case.
* sql/operations.lisp: Change multiword symbols to upper case.
* sql/fddl.lisp: Quote base-table if a string to preserve case
for drop-table and create-table.
* tests/test-syntax.lisp: Add tests of low-level string attribute
identifiers.

16 years agor11859: Canonicalize whitespace v3.8.6
Kevin M. Rosenberg [Fri, 31 Aug 2007 18:04:31 +0000 (18:04 +0000)]
r11859: Canonicalize whitespace

16 years agor11852:
Kevin M. Rosenberg [Tue, 28 Aug 2007 14:45:17 +0000 (14:45 +0000)]
r11852:

16 years agor11773: cl-sql (3.8.6.1-3) unstable; urgency=low
Kevin M. Rosenberg [Thu, 26 Jul 2007 22:57:09 +0000 (22:57 +0000)]
r11773: cl-sql (3.8.6.1-3) unstable; urgency=low

  * debian/control: actually use the binary:Version for any-to-any dependencies
  (closes:434812)

 -- Kevin M. Rosenberg <kmr@debian.org>  Thu, 26 Jul 2007 16:55:29 -0600

16 years agor11768:
Kevin M. Rosenberg [Mon, 23 Jul 2007 19:27:37 +0000 (19:27 +0000)]
r11768:

16 years agor11766:
Kevin M. Rosenberg [Mon, 23 Jul 2007 18:57:15 +0000 (18:57 +0000)]
r11766:

16 years agor11761: 20 Jul 2007 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Fri, 20 Jul 2007 23:19:02 +0000 (23:19 +0000)]
r11761: 20 Jul 2007  Kevin Rosenberg <kevin@rosenberg.net>
* Version 3.8.6
* db-oracle/oracle-loader.lisp: Rework use of ORACLE_HOME directory
(problem noted on clsql-devel by icardo Boccato Alves)
* sql/pool.lisp: Remove incorrect keyword
* sql/database.lisp: Rework WITH-DATABASE to not make the database the
default database (reported by Saurabh Nanda and Chaitanya Gupta)
* doc/ref-connect.lisp: Update the documentation to WITH-DATABASE to emphasis
that make-default has a default value of nil.
* sql/transaction.lisp: Adjust commit/rollback messages for Microsoft SQL Server.
(patch from Nathan Bird)
* sql/metaclasses.lisp: Use finalize-inheritance hack on SBCL because of trouble with
def-view-class compilations (patch from Nathan Bird)

16 years agor11760: do not ignore make errors
Kevin M. Rosenberg [Thu, 19 Jul 2007 02:34:57 +0000 (02:34 +0000)]
r11760: do not ignore make errors

16 years agor11758: new watch file
Kevin M. Rosenberg [Thu, 19 Jul 2007 02:26:14 +0000 (02:26 +0000)]
r11758: new watch file

16 years agor11754: 3.8.5 final
Kevin M. Rosenberg [Mon, 16 Jul 2007 08:16:45 +0000 (08:16 +0000)]
r11754: 3.8.5 final

16 years agor11753: 15 Jul 2007 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Mon, 16 Jul 2007 08:15:23 +0000 (08:15 +0000)]
r11753: 15 Jul 2007  Kevin Rosenberg <kevin@rosenberg.net>
        * Version 3.8.5
        * db-mysql/mysql-loader.lisp: Revert previous change since libmysql is
        not dynamically loaded on Windows
        * debian/control: Add libmysqlclient15-dev as dependency for cl-sql-mysql
        since clsql-mysql modules depends on finding the .so files to load

16 years agor11736: * debian/control: Change from ${Source-Version} to ${source:Version}
Kevin M. Rosenberg [Fri, 22 Jun 2007 17:02:06 +0000 (17:02 +0000)]
r11736:   * debian/control: Change from ${Source-Version} to ${source:Version}

16 years agor11735: 22 Jun 2007 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Fri, 22 Jun 2007 16:54:51 +0000 (16:54 +0000)]
r11735: 22 Jun 2007  Kevin Rosenberg <kevin@rosenberg.net>
        * Version 3.8.4
        * db-mysql/mysql-loader.lisp: Do not bother loading libmysqlclient since
        that library is dymically linked to clsql-mysql library. Thus, the mysql
        library will be automatically loaded. This has only been tested on Linux,
        thus far.

16 years agor11727: 17 Jun 2007 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Sun, 17 Jun 2007 19:39:07 +0000 (19:39 +0000)]
r11727: 17 Jun 2007  Kevin Rosenberg <kevin@rosenberg.net>
        * db-mysql/mysql-loader.lisp: Do not bother loading libmysqlclient since
        that library is dymically linked to clsql-mysql library. Thus, the mysql
        library will be automatically loaded.

16 years agor11718: 29 May 2007 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Thu, 31 May 2007 02:51:37 +0000 (02:51 +0000)]
r11718: 29 May 2007  Kevin Rosenberg <kevin@rosenberg.net>
        * tests/test-fddl.lisp: Add :order-by for :fddl/big/1 as
        reported by Ricardo Boccato Alves

17 years agor11675: 02 May 2007 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Thu, 3 May 2007 03:17:56 +0000 (03:17 +0000)]
r11675: 02 May 2007  Kevin Rosenberg <kevin@rosenberg.net>
        * sql/database.lisp: Add ability of WITH-DATABASE to return
        multiple values (patch from Liam Healy)

17 years agor11657: 25 Apr 2007 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Wed, 25 Apr 2007 18:14:36 +0000 (18:14 +0000)]
r11657: 25 Apr 2007  Kevin Rosenberg <kevin@rosenberg.net>
        * Version 3.8.3
        * doc/connect.xml: variable description fix by Liam Healy
        * db-sqlite3/sqlite3-api.lisp, uffi/clsql-uffi-loader.lisp:
        Apply patches from Marcus Pierce to reduce load-time warnings
        * sql/package.lisp: Export iso-timestring as requested by Kevin Blaisdell

17 years agor11653: documentation update
Kevin M. Rosenberg [Wed, 25 Apr 2007 07:21:53 +0000 (07:21 +0000)]
r11653: documentation update

17 years agor11651: 25 Apr 2007 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Wed, 25 Apr 2007 05:51:22 +0000 (05:51 +0000)]
r11651: 25 Apr 2007  Kevin Rosenberg <kevin@rosenberg.net>
        * doc/connect.xml: variable description fix by Liam Healy

17 years agor11597: 23 Mar 2007 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Fri, 23 Mar 2007 13:44:17 +0000 (13:44 +0000)]
r11597: 23 Mar 2007  Kevin Rosenberg <kevin@rosenberg.net>
        * Version 3.8.2
        * sql/db-postgresql-socket-api.lisp: Change read-socket-sequence to
        disable wide characters for crypt salt sequence on SBCL, based
        on patch from Lars Nostdal.

17 years agor11517: Automated commit for Debian build of clsql upstream-version-3.8.1
Kevin M. Rosenberg [Fri, 26 Jan 2007 15:30:45 +0000 (15:30 +0000)]
r11517: Automated commit for Debian build of clsql upstream-version-3.8.1

17 years agor11510: disconnect pooled session already removed from stack with
Kevin M. Rosenberg [Thu, 25 Jan 2007 08:52:23 +0000 (08:52 +0000)]
r11510: disconnect pooled session already removed from stack with
database-disconnect rather than the higher level disconnect fn

17 years agor11509: fix number of arguments to handler-case :no-error form
Kevin M. Rosenberg [Thu, 25 Jan 2007 08:22:32 +0000 (08:22 +0000)]
r11509: fix number of arguments to handler-case :no-error form

17 years agor11508: 25 Jan 2007 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Thu, 25 Jan 2007 06:14:01 +0000 (06:14 +0000)]
r11508: 25 Jan 2007  Kevin Rosenberg <kevin@rosenberg.net>
        * sql/pool.lisp: Test pooled connection when popped from
        the pool to ensure the connection still works. Currently, implemented
        only for MySQL.

17 years agor11497: 17 Jan 2007 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Fri, 19 Jan 2007 22:00:13 +0000 (22:00 +0000)]
r11497: 17 Jan 2007  Kevin Rosenberg <kevin@rosenberg.net>
        * db-mysql/Makefile: Add potential mysq

17 years agor11496: add dir
Kevin M. Rosenberg [Fri, 19 Jan 2007 21:58:43 +0000 (21:58 +0000)]
r11496: add dir

17 years agor11495: add dir
Kevin M. Rosenberg [Fri, 19 Jan 2007 21:57:20 +0000 (21:57 +0000)]
r11495: add dir

17 years agor11444: use namestring since file name as two periods in it
Kevin M. Rosenberg [Wed, 3 Jan 2007 10:48:46 +0000 (10:48 +0000)]
r11444: use namestring since file name as two periods in it

17 years agor11440: + * clsql.asd: Also check ~/.clsql-init.lisp at load-time (usually...
Kevin M. Rosenberg [Wed, 3 Jan 2007 09:20:18 +0000 (09:20 +0000)]
r11440: +       * clsql.asd: Also check ~/.clsql-init.lisp at load-time (usually used to
+       push search libraries

17 years agor11422: 31 Dec 2006 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Sun, 31 Dec 2006 18:42:41 +0000 (18:42 +0000)]
r11422: 31 Dec 2006  Kevin Rosenberg <kevin@rosenberg.net>
       * sql/metaclasses.lisp: Remove usused saved-initargs

17 years agor11418: 30 Dec 2006 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Sun, 31 Dec 2006 01:36:25 +0000 (01:36 +0000)]
r11418: 30 Dec 2006  Kevin Rosenberg <kevin@rosenberg.net>
        * Version 3.8.0: BACKWARD INCOMPATABLE CHANGE!
        * db-postgresql/postgresql-{api,loader,sql,package}.lisp:
        Apply patch from Edi Weitz to avoid conflict with new Lispworks 5
        POSTGRESQL package name. CLSQL's new package will be PGSQL, however
        on non-Lispworks platforms, the nickname POSTGRESQL will still be
        available. Applications directly using low-level POSTGRESQL package
        are recommended to use the new PGSQL name.
        * db-oracle/oracle-{api,sql}.lisp, sql/{expressions,loop-extension}.lisp,
        Apply patch from Edi Weitz to reduce compiler warnings.

17 years agor11417: 28 Dec 2006 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Sat, 30 Dec 2006 21:36:58 +0000 (21:36 +0000)]
r11417: 28 Dec 2006  Kevin Rosenberg <kevin@rosenberg.net>
* Version 3.7.9
* sql/expressions.lisp: Commit patch from Edi Weitz to
use *default-database* for SQL-OUTPUT if no database is
explicitly passed to function.
* uffi/clsql-uffi-loader.lisp: Change load order to first try
plain name/type before attempting user-specified paths (patch
from Edi Weitz)
* uffi/ptrbits.c: New file to return number of bits in an pointer
* uffi/Makefile: use intbits to name .so file based on bit size.
Build both 32-bit and 64-bit libraries on 64-bit platform.

17 years agor11416: rename file
Kevin M. Rosenberg [Sat, 30 Dec 2006 21:34:13 +0000 (21:34 +0000)]
r11416: rename file

17 years agor11415: change log order attempts per Edi Weitz
Kevin M. Rosenberg [Sat, 30 Dec 2006 21:32:22 +0000 (21:32 +0000)]
r11415: change log order attempts per Edi Weitz

17 years agor11414: new file
Kevin M. Rosenberg [Sat, 30 Dec 2006 21:32:07 +0000 (21:32 +0000)]
r11414: new file

17 years agor11407: 28 Dec 2006 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Thu, 28 Dec 2006 18:08:27 +0000 (18:08 +0000)]
r11407: 28 Dec 2006  Kevin Rosenberg <kevin@rosenberg.net>
        * Version 3.7.9                                                                 * sql/expressions.lisp: Commit patch from Edi Weitz to
        use *default-database* for SQL-OUTPUT if no database is
        explicitly passed to function.

17 years agor11326: 30 Nov 2006 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Fri, 1 Dec 2006 03:09:33 +0000 (03:09 +0000)]
r11326: 30 Nov 2006  Kevin Rosenberg <kevin@rosenberg.net>
        * Version 3.7.8
        * db-sqlite3/sqlite3-sql.lisp: Commit patch from Edi Weitz fixing
        error display

17 years agor11232: 16 Oct 2006 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Mon, 16 Oct 2006 19:38:09 +0000 (19:38 +0000)]
r11232: 16 Oct 2006  Kevin Rosenberg <kevin@rosenberg.net>
        * Version 3.7.7
        * db-postgresql/postgresql-sql.lisp: Remove
        uffi:convert-foreign-to-native wrapper since using cstring for
        PQresultErrorField

17 years agor11231: 16 Oct 2006 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Mon, 16 Oct 2006 19:28:44 +0000 (19:28 +0000)]
r11231: 16 Oct 2006  Kevin Rosenberg <kevin@rosenberg.net>
        * Version 3.7.6
        * db-postgresql/postgresql-api.lisp: Fix UFFI return type for
        PQresultErrorField foreign function.

17 years agor11230: Automated commit for clsql debian-version-3.7.5-1
Kevin M. Rosenberg [Mon, 16 Oct 2006 19:17:39 +0000 (19:17 +0000)]
r11230: Automated commit for clsql debian-version-3.7.5-1

17 years agor11229: new doc
Kevin M. Rosenberg [Mon, 16 Oct 2006 19:14:58 +0000 (19:14 +0000)]
r11229: new doc

17 years agor11228: * db-postgresql/postgresql-{package,api,sql}.lisp: Apply
Kevin M. Rosenberg [Mon, 16 Oct 2006 19:07:38 +0000 (19:07 +0000)]
r11228:         * db-postgresql/postgresql-{package,api,sql}.lisp: Apply
        changes from Andew Golding to use a more-specific error code
        from PostgreSQL than the generic fatal error code of the result set.

17 years agor11225: 16 Oct 2006 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Mon, 16 Oct 2006 17:17:39 +0000 (17:17 +0000)]
r11225: 16 Oct 2006  Kevin Rosenberg <kevin@rosenberg.net>
        * doc/intro.xml: Update supported platforms.

17 years agor11207: 03 Oct 2006 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Tue, 3 Oct 2006 11:03:20 +0000 (11:03 +0000)]
r11207: 03 Oct 2006  Kevin Rosenberg <kevin@rosenberg.net>
        * sql/syntax.lisp: Commit patch from Marcus Pearce to improve
        readtable modifications

17 years agor11206: check reader syntax functions stored before trying to restore them.
Kevin M. Rosenberg [Tue, 3 Oct 2006 05:09:03 +0000 (05:09 +0000)]
r11206: check reader syntax functions stored before trying to restore them.

17 years agor11199: 20 Sep 2006 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Thu, 21 Sep 2006 03:26:39 +0000 (03:26 +0000)]
r11199: 20 Sep 2006  Kevin Rosenberg <kevin@rosenberg.net>
        * sql/syntax.lisp: Apply patch from Marcus Pearce to correctly
        display sql reader syntax.

17 years agor11125: updates
Kevin M. Rosenberg [Sun, 10 Sep 2006 17:04:44 +0000 (17:04 +0000)]
r11125: updates

17 years agor11102: 06 Sep 2006 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Wed, 6 Sep 2006 12:51:12 +0000 (12:51 +0000)]
r11102: 06 Sep 2006  Kevin Rosenberg <kevin@rosenberg.net>
        * uffi/clsql-uffi-loader.lisp, db-mysql/mysql-loader.lisp: Change from using *features*
        to decide on 64-bit platform and check size of most-positive-fixnum instead.
        Needed to support clisp amd64.

17 years agor11094: 03 Sep 2006 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Tue, 5 Sep 2006 03:31:01 +0000 (03:31 +0000)]
r11094: 03 Sep 2006  Kevin Rosenberg <kevin@rosenberg.net>
        * Version 3.7.1
        * sql/metaclasses.lisp: Rework slot type's to be more AMOP
        compatibile. Add warning for a metaclass condition that should
        not occur.
        * sql/time.lisp: Fixed symbol case inconsistency causing problem
        in AllegroCL's modern lisp. First sign of bug noted by
        Joel Reymond on clsql-devel.
        * clsql.asd: Make time.lisp depend on utils.lisp

17 years agor11084: 31 Aug 2006 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Thu, 31 Aug 2006 15:20:13 +0000 (15:20 +0000)]
r11084: 31 Aug 2006  Kevin Rosenberg <kevin@rosenberg.net>
        * db-mysql/mysql-loader: Apply patch from Marcus Pearce to push
        *library-file-dir* to CLSQL's library path.

17 years agor11077: fix perm
Kevin M. Rosenberg [Wed, 30 Aug 2006 23:15:53 +0000 (23:15 +0000)]
r11077: fix perm

17 years agor11074: Automated commit for Debian build of clsql upstream-version-3.7.0
Kevin M. Rosenberg [Wed, 30 Aug 2006 23:09:21 +0000 (23:09 +0000)]
r11074: Automated commit for Debian build of clsql upstream-version-3.7.0

17 years agor11073: new platforms
Kevin M. Rosenberg [Wed, 30 Aug 2006 22:56:20 +0000 (22:56 +0000)]
r11073: new platforms

17 years agor11072: fix typo
Kevin M. Rosenberg [Wed, 30 Aug 2006 19:04:20 +0000 (19:04 +0000)]
r11072: fix typo

17 years agor11071: add platforms
Kevin M. Rosenberg [Wed, 30 Aug 2006 19:02:58 +0000 (19:02 +0000)]
r11071: add platforms

17 years agor11068: * clsql.asd: Add support for loop extensions for clisp. Support clisp...
Kevin M. Rosenberg [Wed, 30 Aug 2006 13:36:06 +0000 (13:36 +0000)]
r11068:         * clsql.asd: Add support for loop extensions for clisp. Support clisp via cffi.

17 years agor11067: * sql/expressions.lisp: Use database-output-as-type if value exists...
Kevin M. Rosenberg [Wed, 30 Aug 2006 13:13:05 +0000 (13:13 +0000)]
r11067:         * sql/expressions.lisp: Use database-output-as-type if value exists for boolean output

17 years agor11066: * sql/expressions.lisp: Use database-output-as-type if value exists...
Kevin M. Rosenberg [Wed, 30 Aug 2006 13:12:54 +0000 (13:12 +0000)]
r11066:         * sql/expressions.lisp: Use database-output-as-type if value exists for boolean output

17 years agor11065: note doc fix
Kevin M. Rosenberg [Wed, 30 Aug 2006 11:10:50 +0000 (11:10 +0000)]
r11065: note doc fix

17 years agor11064: fix default field-type
Kevin M. Rosenberg [Wed, 30 Aug 2006 11:08:18 +0000 (11:08 +0000)]
r11064: fix default field-type

17 years agor11062: Remove old mysql C API functions
Kevin M. Rosenberg [Wed, 30 Aug 2006 10:47:38 +0000 (10:47 +0000)]
r11062: Remove old mysql C API functions

17 years agor11061: 29 Aug 2006 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Wed, 30 Aug 2006 10:03:39 +0000 (10:03 +0000)]
r11061: 29 Aug 2006  Kevin Rosenberg <kevin@rosenberg.net>
        * Version 3.7.0: Now supports clisp on linux and windows. Requires latest
        development versions of clisp and cffi/cffi-uffi-compat

17 years agor11060: fix loop error on clisp. RESULT-SET should be T at start of loop to avoid...
Kevin M. Rosenberg [Wed, 30 Aug 2006 08:58:47 +0000 (08:58 +0000)]
r11060: fix loop error on clisp. RESULT-SET should be T at start of loop to avoid terminating before starting

17 years agor11059: fix loop package on lispworks
Kevin M. Rosenberg [Wed, 30 Aug 2006 08:24:02 +0000 (08:24 +0000)]
r11059: fix loop package on lispworks

17 years agor11058: 29 Aug 2006 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Wed, 30 Aug 2006 08:05:21 +0000 (08:05 +0000)]
r11058: 29 Aug 2006  Kevin Rosenberg <kevin@rosenberg.net>
* Makefile.common: Add OS detection
* uffi/make.sh, db-mysql/make.sh: Remove files
* uffi/Makefile, db-mysql/Makefile: Add support for cygwin compilation.
Refactor to remove need to make.sh shell scripts.
* clsql.asd: Add support for loop extensions for clisp.
* sql/loop-extension.lisp: Add support for ansi-loop on clisp.
Define loop-record-iteration-path in CLSQL-SYS package rather
than CL-USER.
* sql/ansi-loop.lisp: New file to support iteration on clisp.

17 years agor11056: 28 Aug 2006 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Tue, 29 Aug 2006 15:05:01 +0000 (15:05 +0000)]
r11056: 28 Aug 2006  Kevin Rosenberg <kevin@rosenberg.net>
        * Version 3.6.7
        * sql/oodml.lisp: Remove high debugging level declaration

17 years agor11027: add postgresql not
Kevin M. Rosenberg [Mon, 14 Aug 2006 06:57:09 +0000 (06:57 +0000)]
r11027: add postgresql not

17 years agor11026: 14 Aug 2006 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Mon, 14 Aug 2006 06:54:32 +0000 (06:54 +0000)]
r11026: 14 Aug 2006  Kevin Rosenberg <kevin@rosenberg.net>
        * Version 3.6.6
        * sql/generic-postgresql.lisp: Fix assumption that postgres user id
        is always 1.

17 years agor11018: 12 Aug 2006 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Sat, 12 Aug 2006 21:19:22 +0000 (21:19 +0000)]
r11018: 12 Aug 2006  Kevin Rosenberg <kevin@rosenberg.net>
        * Version 3.6.5
        * sql/generic-postgresql.lisp: Add slot for has-table-pg_roles to
        lazily cache if pg_roles tables exist. Selectively use SQL from
        Joel's previous patch if pg_roles table exists. Should now work
        with both postgresql 7.4 and 8.x.

17 years agor11016: * sql/generic-postgresql.lisp: Revert patch from Joel Reymont since
Kevin M. Rosenberg [Sat, 12 Aug 2006 20:07:34 +0000 (20:07 +0000)]
r11016:         * sql/generic-postgresql.lisp: Revert patch from Joel Reymont since
        it fails on versions of postgresql that lack the pg_role table

17 years agor11014: 12 Aug 2006 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Sat, 12 Aug 2006 19:43:22 +0000 (19:43 +0000)]
r11014: 12 Aug 2006  Kevin Rosenberg <kevin@rosenberg.net>
* Version 3.6.4
* clsql.asd: Add support for c:\etc\clsql-init.lisp as possible
local initialization file
* db-mysql/mysql-loader.lisp: Remove former method of using pathnames
as name candidates.
* db-odbc/odbc-api.lisp: Work-around Allegro/Windows FFI bug
that generates incorrect integer return type

17 years agor10975: 07 Jul 2006 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Fri, 7 Jul 2006 19:01:59 +0000 (19:01 +0000)]
r10975: 07 Jul 2006  Kevin Rosenberg <kevin@rosenberg.net>
        * Version 3.6.3
        * sql/transactions.lisp: Important typo fix from Alexey Antipov
        for database-start-transaction

17 years agor10971: Automated commit for clsql debian-version-3.6.2-1
Kevin M. Rosenberg [Wed, 5 Jul 2006 02:17:10 +0000 (02:17 +0000)]
r10971: Automated commit for clsql debian-version-3.6.2-1

17 years agor10969: 04 Jul 2006 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Wed, 5 Jul 2006 02:16:49 +0000 (02:16 +0000)]
r10969: 04 Jul 2006  Kevin Rosenberg <kevin@rosenberg.net>
        * Version 3.6.2
        * db-postgresql/postgresql-sql.lisp: Apply patch from Vladimir Sekissov
        to close connection when failing to connect to database.
        * sql/generic-postgresql.lisp: Apply patch from Joel Reymont
        to avoid dropping system views.
        * sql/oodml.lisp: Apply patch from Joel Reymont to avoid listify
        a nil value [patch sponsored by Flektor]
        * clsql-uffi.asd, uffi/make.sh: Patch from Richard Kreuter
        for netbsd compilation

17 years agor10947: Automated commit for Debian build of clsql upstream-version-3.6.1
Kevin M. Rosenberg [Tue, 16 May 2006 06:38:55 +0000 (06:38 +0000)]
r10947: Automated commit for Debian build of clsql upstream-version-3.6.1

17 years agor10946: 15 May 2006 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Tue, 16 May 2006 06:27:04 +0000 (06:27 +0000)]
r10946: 15 May 2006  Kevin Rosenberg <kevin@rosenberg.net>
        * doc/ref-ooddl.xml: Add documentation for :db-reader and :db-writer
        slots for def-view-class macro [as reported missing by Thomas Fischbacher].

17 years agor10945: 15 May 2006 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Tue, 16 May 2006 06:26:40 +0000 (06:26 +0000)]
r10945: 15 May 2006  Kevin Rosenberg <kevin@rosenberg.net>
        * doc/ref-ooddl.xml: Add documentation for :db-reader and :db-writer
        slots for def-view-class macro [as reported missing by Thomas Fischbacher].

17 years agor10941: 09 May 2006 Kevin Rosenberg <kevin@rosenberg.net>
Kevin M. Rosenberg [Wed, 10 May 2006 15:08:30 +0000 (15:08 +0000)]
r10941: 09 May 2006  Kevin Rosenberg <kevin@rosenberg.net>
        * db-postgresql-socket/postgresql-socket-api.lisp:
        Apply patch from Marko Kocic adding the socket creation
        function needed for CLISP.