path: root/src/gsql_lib.c
AgeCommit message (Collapse)AuthorFiles
2018-08-22Change library loading algorithm.Sergey Poznyakoff1
If the environment variable LD_LIBRARY_PATH is set, the loadable modules are first looked up in the directories listed in that variable, and then in the extension installation directory. Two attempts are made for each directory: first the library name with the -v-VERSION suffix is tried, then the library name without that suffix. * src: Rename to gamma * Makefile.am (SUBDIRS): Update. * configure.ac: Update. * scripts/bootstrap (srcdir, makefile): Update. * gamma/loader.sci: New file. * gamma/Makefile.am: Build loader.scm * src/sql.sci: Remove. * gamma/sql.scm: New file. * modules/sql (scm): Update. * src/syslog.sci: Remove. * gamma/syslog.scm: New file. * modules/syslog (scm): Update. * src/expat.sci: Remove. * gamma/expat.scm: New file. * modules/expat (scm): Update.
2010-03-15Use scm_from_locale_string instead of scm_makfrom0str.Sergey Poznyakoff1
2010-03-06Bugfixes.Sergey Poznyakoff1
* src/mysql.c, src/pgsql.c: Use scm_from_ulong. * src/pgsql.c (s_pgsql_connect): Call gamma_parmlist_parse (ouch!) * src/gsql_conn.c, src/gsql_lib.c: Remove unused variables * src/guile-sql.h (gsql_conn_init) (sql_register_iface): New protos.
2010-03-06Remove uses of scm_i_ functions.Sergey Poznyakoff1
* src/gsql_lib.c (scm_makenum): Remove. * src/guile-sql.h (scm_makenum): Remove. * src/mysql.c, src/pgsql.c: Use scm_to_ulong instead of scm_makenum.
2010-03-06Update copyright statements.Sergey Poznyakoff1
Remove gettext files, which resurrected mystically after transition to Git.
2010-03-06Provide new connection/disconnection interfaces.Sergey Poznyakoff1
* src/Makefile.am: Rename the library to libgamma-sql. * src/gsql_conn.c (sql_connect_print): Avoid coredumps on NULL values. (sql-connect): Rename to sql-connection-open and rewrite. Connection parameters are given by a single argument, which is a list of conses. Each cons is a pair (kw . value), and sets a single parameter. (sql-query): Do not use internal Guile functions. (sql-connect-close): Rename to sql-close-connection. * gsql_lib.c (gamma_parmlist_parse): New function. (gamma_cvt_string, gamma_cvt_int): New functions. * guile-sql.h (sql_iface)<connect>: Change signature. (gamma_parmdcl): New struct. (GAMMA_PARMLIST_IGNORE_UNKNOWN) (GAMMA_PARMLIST_WARN_UNKNOWN): New constants. (gamma_parmlist_parse): New proto. (gamma_cvt_string, gamma_cvt_int): New protos. * examples/whoisd.scm: Update. * src/mysql.c (s_mysql_connect): Rewrite for the new calling convention. * src/pgsql.c (s_pgsql_connect): Likewise. * src/sql.sci: Update library name. (sql-connect, sql-connect-close): New public functions.
2007-12-26* NEWS: Update.Sergey Poznyakoff1
* configure.ac: Version number 1.1 * COPYING: GPLv3. * Makefile.am: GPLv3. * examples/whoisd.scm: GPLv3. * m4/guile.m4: Require Guile v. 1.8 or later. * scripts/Makefile.am: GPLv3. * scripts/guile-doc-snarf.awk: GPLv3. * src/.cvsignore (gettext.inc, gettext.scm): Remove. * src/Makefile.am: Remove libguile-gettext. * src/app.h: GPLv3. * src/gsql_conn.c, src/gsql_lib.c, src/guile-sql.h, src/mysql.c, src/pgsql.c: GPLv3; Guile v.>=1.8. * src/gettext.sci, src/gettext.h, src/gettext.c: Remove. * src/gettext.scm: New file.
2005-06-26Throw gsql-error, instead of misc-error, on failureSergey Poznyakoff1
2005-06-26Changed FSF postal mail addressSergey Poznyakoff1
2004-10-09Use scm_i_long2big instead of scm_long2big.Sergey Poznyakoff1
2003-01-10(scm_makenum): Updated for guile >= 1.6Sergey Poznyakoff1
(init_util_sql,scm_init_util_sql_module): Removed. (sql_init): New function.
2002-05-24Added GNU copyleft headers.Sergey Poznyakoff1
2002-05-21Initialize dynamic module.Sergey Poznyakoff1
2001-12-06Initial revisionSergey Poznyakoff1

Return to:

Send suggestions and report system problems to the System administrator.