summaryrefslogtreecommitdiff
path: root/guile
Commit message (Collapse)AuthorAgeFilesLines
* guile: Fix out-of-tree builds.Ludovic Courtès2016-02-221-1/+1
| | | | | | This fixes a regression introduced in 3045a96. * guile/Makefile.am (.in.scm): Make the parent directory of $@.
* guile: Work around lack of 'eval-when' on 1.8.Ludovic Courtès2016-02-151-1/+7
| | | | * guile/modules/gnutls.in (eval-when) [!guile-2]: New macro.
* guile: build: Make silent rules actually quiet.Ludovic Courtès2016-02-152-12/+13
| | | | | | * guile/Makefile.am (.in.scm): Use $(AM_V_GEN) and $(AM_V_at). * guile/src/Makefile.am (enums.h, enum-map.i.c) (smobs.h, smob-types.i.c, %.x): Likewise.
* guile: Build and install .go files on Guile 2.x.Ludovic Courtès2016-02-153-82/+117
| | | | | | | | | | * configure.ac: Check for 'guild' and substitute 'GUILD'. Define 'HAVE_GUILD'. Substitute 'guileobjectdir'. Don't output guile/modules/Makefile and guile/tests/Makefile. * guile/modules/Makefile.am, guile/tests/Makefile.am: Remove. Move contents to... * guile/Makefile.am: ... here. (SUBDIRS): Remove 'modules' and 'tests'.
* guile: tests: Add Guile 2.2 compatibility layer.Ludovic Courtès2016-02-151-2/+27
| | | | | | | | | This allows tests to run with Guile 2.1/2.2. * guile/modules/gnutls/build/tests.scm (define-replacement) [guile-2]: New macro. (uniform-vector-read!, uniform-vector-write) [guile-2]: New procedures. * doc/gnutls-guile.texi (Guile Preparations): Mention 2.2.
* guile: tests: Make sure no processes are left behind.Ludovic Courtès2016-02-154-3/+7
| | | | | | | | Before that, child processes would be left behind and become zombies. * guile/tests/anonymous-auth.scm, guile/tests/openpgp-auth.scm, guile/tests/session-record-port.scm, guile/tests/x509-auth.scm: Add (waitpid pid) call on the server side.
* guile: tests: Add 'with-child-process'.Ludovic Courtès2016-02-157-210/+255
| | | | | | | | | | | | | | This makes sure that child processes always exit no matter what. * guile/modules/gnutls/build/tests.scm (define-syntax-rule) [!guile-2]: New macro. (call-with-child-process): New procedure. (with-child-process): New macro. * guile/tests/anonymous-auth.scm, guile/tests/openpgp-auth.scm, guile/tests/session-record-port.scm, guile/tests/x509-auth.scm: Use it instead of an explicit 'primitive-fork' call. * guile/.dir-locals.el: New file. * guile/Makefile.am (EXTRA_DIST): New variable.
* guile: Call 'load-extension' both during expansion and at run time.Ludovic Courtès2015-01-081-6/+7
| | | | | | | Fixes <https://bugzilla.redhat.com/show_bug.cgi?id=1177847>. * guile/modules/gnutls.in: Wrap '%libdir' definition and 'load-extension' call in 'eval-when'.
* guile: Open binary file in binary mode, for the sake of MinGW.Ludovic Courtès2014-12-111-2/+2
| | | | | | | Reported by Eli Zaretskii <eliz@gnu.org>. * guile/tests/openpgp-keyring.scm: Use 'open-file' with "rb" instead of 'open-input-file'.
* guile: Link with '-no-undefined'.Ludovic Courtès2014-12-111-1/+5
| | | | | | | | Fixes builds on MinGW. Reported by Eli Zaretskii <eliz@gnu.org>. * guile/src/Makefile.am (guile_gnutls_v_2_la_LDFLAGS): Add -no-undefined.
* guile: Build with warnings.Ludovic Courtès2014-12-041-1/+7
| | | | | * guile/src/Makefile.am (AM_CFLAGS) [HAVE_GCC]: Add -Wall -Wextra -Wno-unused-parameter.
* guile: Remove the deprecated priority API.Ludovic Courtès2014-12-048-223/+16
| | | | | | | | | | | | | | * guile/modules/gnutls/build/priorities.scm: Remove. * guile/src/make-session-priorities.scm: Remove. * guile/modules/Makefile.am (EXTRA_DIST): Adjust accordingly. * guile/src/Makefile.am (EXTRA_DIST): Likewise. (GENERATED_BINDINGS): Remove 'priorities.i.c'. (priorities.i.c): Remove target. * guile/src/core.c: Don't include it. (scm_gnutls_set_default_priority_x): Remove. * guile/modules/gnutls.in (gnutls): Adjust export list. * guile/tests/session-record-port.scm: Use 'set-session-priorities!'. * guile/tests/x509-auth.scm: Likewise.
* guile: Remove RSA parameters and related procedures.Ludovic Courtès2014-12-045-147/+3
| | | | | | | | | | | | | | | | | * guile/modules/gnutls/build/smobs.scm (%rsa-parameters-smob): Remove. (%gnutls-smobs): Remove it. * guile/src/core.c (scm_gnutls_make_rsa_parameters, scm_gnutls_pkcs1_import_rsa_parameters, scm_gnutls_pkcs1_export_rsa_parameters, scm_gnutls_set_certificate_credentials_rsa_export_params_x): Remove. * guile/modules/gnutls.in: Adjust export list. * guile/tests/openpgp-auth.scm (import-rsa-params): Remove. Remove references to it and to 'set-certificate-credentials-rsa-export-parameters!'. * guile/tests/x509-auth.scm: Likewise. * doc/gnutls-guile.texi (Representation of Binary Data): Remove references to RSA parameters. Adjust example accordingly. (OpenPGP Authentication Guile Example): Likewise.
* guile: Remove trailing zero in 'gnutls_server_name_set' call.Ludovic Courtès2014-10-141-1/+1
| | | | | | In GnuTLS 3.2.19 (and possibly 3.3.9 and 3.1.17), 'set-session-server-name!' would pass a trailing nul character on the wire after the server name, which would thus be rejected by servers.
* guile: Restore cross-reference in 'set-session-priorities!' docstring.Ludovic Courtès2014-09-221-5/+6
| | | | This had been destroyed in 32d90395.
* guile: Add bindings for 'gnutls_server_name_set'.Ludovic Courtès2014-09-224-6/+46
| | | | | This adds the 'set-session-server-name!' procedure and the 'server-name-type' enum type.
* do not override gnutls' allocation functionsNikos Mavrogiannopoulos2014-04-191-5/+0
| | | | | That was not being done using the API, and overriding them is no longer possible in 3.3.x.
* guile: Fix possible stack overflows.Ludovic Courtès2013-10-092-3/+3
|
* guile: Use intermediary files when generating code.Ludovic Courtès2013-09-151-5/+10
|
* guile: Make builds parallel-safe.Ludovic Courtès2013-09-151-2/+5
| | | | Reported by Andreas Metzler <ametzler@bebt.de>.
* guile: Keep a weak reference on objects aggregated by other objects.Ludovic Courtès2013-06-281-1/+27
| | | | | | | | | Before, in cases such as `set-anonymous-server-dh-parameters!' where the C object beneath CRED keeps a pointer to the C object beneath DH_PARAMS, DH_PARAMS could be garbage-collected before CRED, leading to the destruction of the underlying C object. Reported by Nikos Mavrogiannopoulos <nmav@gnutls.org>.
* guile: tests: Use `port->fdes' rather than `fileno'.Ludovic Courtès2013-06-283-9/+9
| | | | | This has no practical impact, but it's a better way to express that we don't want the file descriptors closed behind our back.
* corrected priority stringsNikos Mavrogiannopoulos2013-06-061-2/+2
|
* guile: Use `LOG_COMPILER', as required by Automake 1.12+.Ludovic Courtès2013-06-061-3/+4
|
* guile: Fix dependencies to be parallel-safe.Ludovic Courtès2012-12-011-4/+9
|
* Add gnulib -I's to guile-snarf command.Simon Josefsson2012-08-091-1/+1
|
* guile: Don't cast return value of `alloca'.Ludovic Courtès2012-01-202-20/+19
|
* guile: Update the list of error codes.Ludovic Courtès2012-01-202-19/+98
|
* Print detailed guile warnings (for obsolete functions).Simon Josefsson2012-01-191-0/+1
|
* Fix builddir != srcdir builds.Simon Josefsson2012-01-181-1/+1
|
* Fix $(srcdir) != $(builddir) for Guile.Ludovic Courtès2012-01-171-0/+1
| | | | | Now that modules/gnutls.scm is generated, $(builddir) must be in the search path.
* Collapse and cleanup copyright information.Simon Josefsson2012-01-1623-23/+23
|
* Run 'make update-copyright'.Simon Josefsson2012-01-1635-35/+35
|
* guile: Fix the (unused) `output-procedure-texi-documentation-from-c-file'.Ludovic Courtès2011-11-251-2/+2
| | | | Reported by Mike Gran <spk121@yahoo.com>.
* guile: Rename `libguile-gnutls-v-2.la' to `guile-gnutls-v-2.la'.Ludovic Courtès2011-11-043-6/+7
|
* guile: Install libguile-gnutls under $(libdir)/guile/X.Y.Ludovic Courtès2011-11-044-4/+21
|
* guile: Rename to `libguile-gnutls-v-2'.Ludovic Courtès2011-11-033-6/+6
|
* guile: Remove uses of (gnutls extra) from the tests.Ludovic Courtès2011-11-033-3/+1
|
* guile: Merge the (gnutls extra) module in (gnutls); deprecate it.Ludovic Courtès2011-11-0312-630/+547
|
* Reverting "Drop guile libgnutls-extra stuff."Ludovic Courtès2011-11-032-4/+32
|
* removed enumerations that don't existNikos Mavrogiannopoulos2011-11-021-2/+0
|
* Drop guile libgnutls-extra stuff.Simon Josefsson2011-10-282-32/+4
|
* removed extra.h header from guile code.Nikos Mavrogiannopoulos2011-10-232-3/+0
|
* removed more extra.h leftovers.Nikos Mavrogiannopoulos2011-10-211-1/+0
|
* libgnutls-extra is no more.Nikos Mavrogiannopoulos2011-10-201-3/+2
|
* guile: Fix `priorities' test to use `run-test'.Ludovic Courtès2011-08-221-26/+20
| | | | | | This is a followup to commit cd7b8102316cd4151356c4b2b7909c7435593890 ("guile: Fix tests to match the `exit' behavior introduced in Guile 2.0.1.").
* guile bindings added as a separate document.Nikos Mavrogiannopoulos2011-05-271-2/+2
|
* guile: Fix tests to match the `exit' behavior introduced in Guile 2.0.1.Ludovic Courtès2011-04-2812-152/+137
| | | | | This fix makes tests behave correctly wrt. to the Guile bug fix at <http://git.sv.gnu.org/cgit/guile.git/commit/?id=e309f3bf9ee910c4772353ca3ff95f6f4ef466b5>.
* Purged all references of LZO.Nikos Mavrogiannopoulos2011-04-111-2/+1
|
* Use a single configure.ac. This speed ups compilation andNikos Mavrogiannopoulos2011-04-081-2/+2
| | | | | reduces duplication of code (multiple gl/ libraries etc.). This saves about 2mb in distributed size (compressed).