summaryrefslogtreecommitdiff
path: root/guile
Commit message (Collapse)AuthorAgeFilesLines
* Indent code.Simon Josefsson2008-07-023-179/+217
|
* Don't run guile openpgp self tests if openpgp is disabled.Simon Josefsson2008-05-071-1/+4
|
* libgnutls: Compile if SRP is disabled.Simon Josefsson2008-05-072-2/+10
| | | | | Report and tiny patches from <jared.jennings.ctr@eglin.af.mil>, see <https://savannah.gnu.org/support/index.php?106342>.
* Check whether `-fgnu89-inline' is supported before using it.Ludovic Courtès2008-03-201-1/+7
| | | | | | | | * configure.in: Check for `-fgnu89-inline', define Automake conditional `HAVE_GCC_GNU89_INLINE_OPTION'. * guile/src/Makefile.am (AM_CFLAGS): Only use `-fgnu89-inline' when `HAVE_GCC_GNU89_INLINE_OPTION' is true.
* guile: Compile with `-fgnu89-inline'.Ludovic Courtès2008-03-191-0/+3
| | | | | | | * guile/src/Makefile.am (AM_CFLAGS): Add `-fgnu89-inline' when `HAVE_GCC' is true. This works around the fact that GnuTLS is compiled with `-std=c99', while Guile and GMP expect GNU inline semantics, which defer from C99 inline semantics.
* guile: Don't declare `inline' functions that use `alloca ()'.Ludovic Courtès2008-03-191-3/+3
| | | | * guile/src/core.c (set_certificate_file): Remove `inline' keyword.
* guile: Propagate Guile's CPPFLAGS to `guile-snarf'.Ludovic Courtès2008-03-071-2/+4
|
* guile: Include <config.h>, not "config.h".Ludovic Courtès2008-03-072-5/+10
|
* Use __func__ instead of __FUNCTION__.Simon Josefsson2008-02-281-2/+2
| | | | | Reported by Tim Mooney, see <https://savannah.gnu.org/support/?106267>. A gnulib module to make sure __func__ is available would be nice.
* Also test dhe-rsa.Simon Josefsson2008-01-171-2/+2
|
* Fix dangling/unused bindings in `(gnutls)'.Ludovic Courtès2007-12-121-2/+3
| | | | | | * guile/modules/gnutls.scm (certificate-request->string, error/unknown-algorithm): Add. (error/openpgp-trustdb-version-unsupported): Remove.
* Update Guile OpenPGP test cases to use the new names.Ludovic Courtès2007-12-123-17/+19
| | | | | * guile/tests/*.scm: Substitute `certificate' to `public-key' in tests using the OpenPGP API.
* Bump Guile glue libraries version number.Ludovic Courtès2007-12-124-12/+12
| | | | | | | | | | | * guile/modules/gnutls.scm: Load `libguile-gnutls-v-1'. * guile/modules/gnutls/extra.scm: Load `libguile-gnutls-extra-v-1'. * guile/pre-inst-guile.in: Load `v-1' libraries. * guile/src/Makefile.am (lib_LTLIBRARIES): Bump libraries from `v-0' to `v-1'. Update all variables.
* Substitute `certificate' to `public-key' in `(gnutls extra)'.Ludovic Courtès2007-12-124-61/+83
| | | | | | | | | | | | | | | | | * guile/modules/gnutls/build/enums.scm (%openpgp-key-format-enum): Rename to... (%openpgp-certificate-format-enum): This. (%gnutls-extra-enums): Update. * guile/modules/gnutls/build/smobs.scm (%openpgp-public-key-smob): Rename to... (%openpgp-certificate-smob): This. (%gnutls-extra-smobs): Update. * guile/modules/gnutls/extra.scm: Substitute all `certificate' in all `public-key' names. Add backward-compatible bindings. * guile/src/extra.c: Substitute `certificate' to `public-key'.
* More GPLv3 fixes.Simon Josefsson2007-12-098-9/+9
|
* Use new APIs.Simon Josefsson2007-11-141-26/+26
|
* Typo.Simon Josefsson2007-11-141-1/+1
|
* Update API.Simon Josefsson2007-11-142-3/+3
|
* Add unknown-algorithm (new name of unknown-hash-algorithm).Simon Josefsson2007-11-141-0/+1
|
* Remove openpgp trustdb error.Simon Josefsson2007-11-141-1/+0
|
* Add `.gitignore'.Ludovic Courtès2007-10-261-0/+7
|
* Guile: Reflect SRP/PSK changes.Ludovic Courtès2007-10-082-3/+2
| | | | | | | | | * guile/modules/gnutls.scm (alert-description/unknown-srp-username, alert-description/missing-srp-username): Remove. (alert-description/unknown-psk-identity): New. * guile/modules/gnutls/build/enums.scm (%alert-description-enum): Likewise.
* Guile: Fix `x509-certificate-dn-oid' and related functions.Ludovic Courtès2007-09-111-1/+2
| | | | | | | | | * guile/src/core.c (X509_CERTIFICATE_DN_OID_FUNCTION_BODY): Use `scm_take_locale_stringn ()' instead of `scm_take_locale_string ()'. * NEWS: Update. Signed-off-by: Simon Josefsson <simon@josefsson.org>
* Fixed CPPFLAGS for Guile code and documentation.Ludovic Courtès2007-08-081-1/+2
| | | | | | | | | | | | | * doc/Makefile.am (SNARF_CPPFLAGS): Added `{top_srcdir,top_builddir}/includes' and `top_builddir'. (core.c.texi): Added `&&' between the `make' command and the `$(GUILE_FOR_BUILD)' command. Use `$(MAKE)' instead of `make'. (extra.c.texi): Likewise. * src/Makefile.am (AM_CPPFLAGS): Added `{top_srcdir,top_builddir}/includes'. Signed-off-by: Simon Josefsson <simon@josefsson.org>
* Fix build failure in doc/ when guile isn't installed built yet.Simon Josefsson2007-07-091-0/+6
|
* Put $(GUILE_FLAGS) in LIBADD, not LDFLAGS.Simon Josefsson2007-06-291-5/+4
| | | | Reported by ludo@gnu.org (Ludovic Courtès).
* Small cleanups in `guile/tests'.Ludovic Courtes2007-06-123-21/+0
| | | | Signed-off-by: Simon Josefsson <simon@josefsson.org>
* Need to put libguile-gnutls-v-0.la before gnulib_libs, to fix rpath issue.Simon Josefsson2007-06-111-2/+2
|
* Use _LIBADD for libraries, not _LDFLAGS.Simon Josefsson2007-06-111-6/+7
|
* Fix Guile linking so that the right GnuTLS libs are used.Ludovic Courtes2007-06-081-11/+15
| | | | | | | | | | * guile/src/Makefile.am (GNUTLS_CORE_LIBS, GNUTLS_EXTRA_LIBS): New. (GNULIB_LDFLAGS): Renamed to `GNULIB_LIBS'. Explicitly pass the `.la' path. (libguile_gnutls_v_0_la_LDFLAGS): Pass `$(GUILE_LDFLAGS)' as the last item so that RPATH is in the right order (i.e., all `$(top_builddir)/...' appear first). (libguile_gnutls_extra_v_0_la_LDFLAGS): Likewise.
* Fixed the `-Wno-strict-prototypes' issue in Guile code.Ludovic Courtes2007-06-061-3/+5
| | | | | | | | | | * configure.in: Add all custom CFLAGS to `AM_CFLAGS' rather than `CFLAGS', except for `-D_REENTRANT -D_THREAD_SAFE' which must be present during feature tests. Substitute `AM_CFLAGS'. * src/Makefile.am (libguile_gnutls_v_0_la_CFLAGS): Added `$(AM_CFLAGS)'. (libguile_gnutls_extra_v_0_la_CFLAGS): Likewise. (AM_CFLAGS): When GCC is used, add `-Wno-strict-prototypes'.
* Need -I for config.h.Simon Josefsson2007-06-011-1/+1
|
* Usage "old-fashion" make suffix rules rather than GNU Make patterns.Ludovic Courtes2007-06-014-6/+5
| | | | | | | | | | | | | | | | * doc/Makefile (%.c.texi): Removed. (core.c.texi, extra.c.texi): New targets. * guile/src/Makefile.am: Renamed `FILE.c.x' to `FILE.x'. (SUFFIXES): Removed. (%.c.x): Removed. (.c.x): New target. * guile/src/core.c: Include "core.x" instead of "core.c.x". * guile/src/errors.c: Likewise. * guile/src/extra.c: Likewise.
* Tiny bug fixes in Guile's documentation extraction.Ludovic Courtes2007-06-011-2/+3
| | | | | | | | | | | * doc/extract-guile-c-doc.scm (main): Use named arguments rather than a single rest arg. Fixed the order of arguments as passed to `run-cpp-and-extract-snarfing' so that `ccache gcc -E' is really passed as `("ccache" "gcc" "-E")' (in this order). * guile/modules/system/documentation/c-snarf.scm (run-cpp-and-extract-snarfing): Pass FILE as the last CPP argument.
* Build cleanups following Simon's comments.Ludovic Courtes2007-05-311-1/+1
| | | | | | | | | * Makefile.am (SUBDIRS): Add `guile' when `HAVE_GUILE'. * configure.in: When `guile-snarf' is not found, set `opt_guile_bindings' to `no' instead of bailing out. * src/Makefile.am (GUILE_FOR_BUILD): Fixed `-L' parameter.
* Try to handle "function declaration isn't a prototype" warnings.Ludovic Courtès2007-05-301-0/+8
|
* Started Guile integration.Ludovic Courtès2007-05-3043-0/+6886
Documentation is still missing. A bit rough on the edges, but `make' and `make check' do work.