AgeCommit message (Collapse)AuthorFiles
2018-09-21Minor fixesHEADmasterSergey Poznyakoff3
2018-09-10Fix make installSergey Poznyakoff3
* gamma/Makefile.am (site_DATA): Install GAMMA_DATA_FILES * gamma/gamma-expat.c (gamma_xml_parser_free): Don't free gp (allocated using scm_gc_malloc * scripts/bootstrap: Define GAMMA_DATA_FILES to contain names of all files to be installed in Guile site directory.
2018-08-22Version 2.0.90Sergey Poznyakoff5
2018-08-22Change library loading algorithm.Sergey Poznyakoff25
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.
2018-08-21Switch to Guile 2.2Sergey Poznyakoff7
Drop support for older Guile versions.
2018-08-20Update gintSergey Poznyakoff2
2015-03-01Switch to Texinfo 5.0Sergey Poznyakoff4
* doc/Config: Rewrite. * doc/Makefile.am: Use Makeinfo 5 instead of texi2htm * doc/gendocs_template: Ps is not built * imprimatur: Upgrade.
2015-01-06Update for Guile 2.0Sergey Poznyakoff9
* configure.ac (AM_C_PROTOTYPES): Remove. * gint: Upgrade * modules/expat (libgamma_expat_la_CPPFLAGS): Add AM_CPPFLAGS * scripts/bootstrap: Fix deprecation warnings. (grammar): Fix definition of --parents * src/Makefile.am: Use AM_CPPFLAGS instead of INCLUDES * src/eval.c (scheme_exec_data) <result> Remove. (scheme_safe_exec_body): Return result. (gamma_safe_exec): Use scm_c_catch instead of scm_internal_lazy_catch. * src/gamma-expat.c (gamma_xml_parser_create) (make_user_data): Use scm_malloc instead of scm_gc_malloc. * src/expat.sci: Don't load (ice-9 syncase) when using Guile 2.0 * src/sql.sci: Likewise.
2011-06-13Exit on uncaught exceptions.Sergey Poznyakoff3
* src/eval.c: Exit with status 70 (EX_SOFTWARE) if an uncaught exception is delivered.
2010-06-24Improve handling of multi-result sets.Sergey Poznyakoff1
* src/mysql.c (s_mysql_query): Consume any additional results to avoid 'out of sequence' errors.
2010-05-11Upgrade gint.Sergey Poznyakoff2
* configure.ac (GINT_INIT): Remove unnecessary third argument. * gint: Upgrade to a5774356.
2010-04-14Upgrade gint version.Sergey Poznyakoff6
* gint: Upgrade. * src/Makefile.am: Initialize BUILT_SOURCES. * src/gamma-expat.c: Use lower-case names for parameters to SCM interfaces. Improve docstrings. * src/gsql_conn.c: Likewise. * src/syslog-port.c: Likewise. * src/syslog.c: Likewise.
2010-04-12Migrate Guile support to GINT.Sergey Poznyakoff22
* Makefile.am, configure.ac, src/Makefile.am: Migrate to GINT. * modules/expat: Remove dependency on *.inc * modules/sql: Likewise. * modules/syslog: Likewise. * scripts/bootstrap (reconfig-command): Add calls to `git submodule'. * src/documentation.sci: New file. * src/expat.sci: Use module (gamma documentation). Remove inclusion of *.inc files. * src/sql.sci: Likewise. * src/syslog.sci: Likewise. * src/gamma-expat.c: Use SCM_DEFINE_PUBLIC to define public interfaces. * src/gsql_conn.c: Likewise. * src/syslog-port.c: Likewise. * src/syslog.c: Likewise. * am/guile.m4: Remove. * scripts/guile-doc-snarf.awk: Remove. * scripts/guile-doc-snarf: Remove. * scripts/Makefile.am (EXTRA_DIST): Remove guile-doc-snarf.awk and guile-doc-snarf.
2010-03-24Check spelling in docs.release-2.0Sergey Poznyakoff2
2010-03-22Bugfix.Sergey Poznyakoff2
* src/mysql.c (s_mysql_query): Represent NULL columns as #f * src/pgsql.c (result_to_list): Likewise.
2010-03-22BugfixSergey Poznyakoff1
* src/expat.sci (xml-make-parser): More fixes (returned
2010-03-21Implement syslog output ports.Sergey Poznyakoff10
* am/guile.m4: Check for scm_t_off. * doc/.gitignore: Update. * examples/README: Update. * examples/whoisd.scm: Rewrite using new Gamma features. * modules/syslog (sources): Add syslog-port.c * src/.gitignore: Update. * src/syslog-port.c: New file. * src/syslog.c (syslog_init): Call _gamma_init_syslog_port. * src/syslog.sci: Include syslog-port.inc * doc/syslog.texi: Update.
2010-03-20Version 2.0Sergey Poznyakoff3
2010-03-20Finish the docs.Sergey Poznyakoff6
2010-03-19Further improvements in expat.Sergey Poznyakoff10
* src/expat.sci (xml-make-parser): Fix definition. (xml-error-descr): New syntax. * src/gamma-expat.c (xml-expat-version-string) (xml-expat-version) (xml-default-current) (xml-error-string) (xml-current-line-number) (xml-current-byte-count): New functions. (xml-primitive-make-parser): Include context data int the error information. (generic_xml_decl_handler): Account for possible NULLs. * examples/xml-check.scm: New file. * examples/xml-struct.scm: New file. * examples/xmlck.scm: New file. * examples/expat-info.scm: New file. * examples/Makefile.am, examples/README: Update. * doc/expat.texi: Update.
2010-03-15Use scm_from_locale_string instead of scm_makfrom0str.Sergey Poznyakoff6
2010-03-15Fix exception generation in (gamma sql)Sergey Poznyakoff6
* src/gsql_conn.c (gsql_error): Rename to gamma_sql_error. Change Scheme name to sql-error. All callers updated. * src/guile-sql.h: Likewise. * src/mysql.c (s_mysql_connect, s_mysql_query): Use scm_error to generate error exceptions. * src/pgsql.c (s_pgsql_connect, s_pgsql_query): Likewise. * src/sql.sci (sql-catch-failure) (sql-ignore-failure): Update. * doc/sql.texi: Update.
2010-03-15Add documentation.Sergey Poznyakoff20
2010-03-14Use installed guile-snarf.Sergey Poznyakoff3
* README-hacking: Update. * am/guile.m4: Define GUILE_SNARF * src/Makefile.am (.c.x): Use GUILE_SNARF.
2010-03-13Implement Expat bindings.Sergey Poznyakoff15
* modules/expat: New module. * modules/MODLIST: Add expat. * src/eval.c: New file. * src/expat.sci: New file. * src/gamma-expat.c: New file. * src/gamma-expat.h: New file. * src/.gitignore: Update. * src/Makefile.am (.c.inc): Handle GAMMA_CONST and GAMMA_EXPORT markers. * src/syslog.c (syslog_kw): Use GAMMA_CONST marker. * src/syslog.sci: Remove explicit exports. * modules/sql: Do not use AC_LIBOBJ. * scripts/bootstrap: Minor improvement. * NEWS, README: Update.
2010-03-09Improve bootstrapping.Sergey Poznyakoff2
* README-hacking: Update. * scripts/bootstrap: New command line option -p (--parents). (mkdir-p, with-output-to-file-p): New functions. (write-modconfig, write-makefile): Use with-output-to-file-p.
2010-03-09Bugfixes.Sergey Poznyakoff2
* modules/sql: add $(SQLLIBS) to libraries. * src/pgsql.c (s_pgsql_connect): Correctly handle NULL port value.
2010-03-08Rewrite module bootstrap system.Sergey Poznyakoff13
* autogen.sh: Removed. * scripts/bootstrap: New file. * README-hacking: New file. * modules/MODLIST: New file. * modules/sql: New file. * modules/syslog: New file. * Makefile.am (dist-hook): Distribute modules/. * README: Update. * configure.ac: Remove module-specific stuff. Call gamma_MODCONFIG instead. * scripts/Makefile.am (EXTRA_DIST): Add bootstrap. * src/Makefile.am: Remove module-specific stuff. Include modules.mk instead. * .gitignore, src/.gitignore: Update
2010-03-07Improve configureSergey Poznyakoff3
* am/guile.m4: Minor fix. * am/lib.m4: Imported from Mailutils * configure.ac: Use MU_CHECK_LIB
2010-03-06Bugfixes.Sergey Poznyakoff5
* 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 Poznyakoff4
* 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-06Add syslog interfaces.Sergey Poznyakoff5
* src/syslog.c: New file. * src/syslog.sci: New file. * README, configure.ac, src/Makefile.am: Update.
2010-03-06Enable silent rules.Sergey Poznyakoff4
* configure.ac: Require autoconf 2.63, automake 1.11.1 Enable silent rules by default. * Makefile.am: Add AM_V_GEN where necessary. * src/Makefile.am (EXTRA_DIST): Add mysql.c, pgsql.c Add AM_V_GEN where necessary. * am/guile.m4: fix help string.
2010-03-06Update copyright statements.Sergey Poznyakoff20
Remove gettext files, which resurrected mystically after transition to Git.
2010-03-06Provide new connection/disconnection interfaces.Sergey Poznyakoff8
* 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.
2010-03-06Remove po.Sergey Poznyakoff8
* po/: Remove. * Makefile.am (SUBDIRS): Remove po. * README: Update. * configure.ac: Version 1.99 Remove gettext requirement.
2010-03-06Finish migration to Git.Sergey Poznyakoff15
* .cvsignore, po/.cvsignore, src/.cvsignore: Rename to .gitignore, with edits. * examples/.cvsignore: Remove. * m4/common.m4, m4/guile.m4, m4/lib.m4: Move to am (new dir). * ChangeLog, ChangeLog.guile-sql: Merge into ChangeLog.cvs * Makefile.am (AUTOMAKE_OPTIONS): Remove. (ACLOCAL_AMFLAGS): Add -I am (ChangeLog): New rule. * configure.ac (build-aux): Use as aux-dir (m4): Use as macro-dir. * scripts/Makefile.am (EXTRA_DIST): Add gitlog-to-changelog * scripts/gitlog-to-changelog: New file.
2008-06-20UpdateoriginSergey Poznyakoff1
2008-06-20(sql_iftab): Remove erroneous declaration. This symbol is static in gsql_conn.cSergey Poznyakoff1
2008-06-20(sql-catch-failure, sql-ignore-failure): New syntax.Sergey Poznyakoff1
2008-05-27UpdateSergey Poznyakoff1
2008-05-27Remove leftovers from gettext.scm.Sergey Poznyakoff1
2007-12-26UpdateSergey Poznyakoff2
2007-12-26* NEWS: Update.Sergey Poznyakoff18
* 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.
2006-10-11UpdateSergey Poznyakoff1
2006-10-11(s_mysql_free): Bugfix: mysql was freed twiceSergey Poznyakoff1
(s_mysql_query): Fix the first argument to scm_list_2
2006-10-08UpdateSergey Poznyakoff1
2006-10-08(num_iface): StaticSergey Poznyakoff1
(sql_register_iface): Avoid registering the same interface twice.
2005-06-26Throw gsql-error, instead of misc-error, on failureSergey Poznyakoff8
2005-06-26Changed FSF postal mail addressSergey Poznyakoff17

Return to:

Send suggestions and report system problems to the System administrator.