aboutsummaryrefslogtreecommitdiffstats
path: root/doc (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-06-15Release 1.23libgpg-error-1.23Werner Koch1-0/+2
2016-05-17Add GPG_ERR_SUBKEYS_EXP_OR_REV.Werner Koch1-2/+12
2016-04-25Release 1.22.libgpg-error-1.22Werner Koch1-0/+2
* configure.ac: Set LT version to C18/A18/R0. Signed-off-by: Werner Koch <[email protected]>
2016-02-08Convert http links to https where possible in the source.Daniel Kahn Gillmor3-3/+3
-- * use https for bug reporting * in comments and docs, use https to refer to: - www.gnu.org - creativecommons.org - translationproject.org - mail.gnome.org - www.perl.org - www.ctan.org - www.cl.cam.ac.uk - www.ntg.nl - cygwin.com - www.ethnologue.com
2016-01-19Add GPG_ERR_DB_CORRUPTED.Werner Koch1-0/+2
Signed-off-by: Werner Koch <[email protected]>
2015-10-21Add error codes NO_NAME, NO_KEY, and SERVER_FAILURE.Werner Koch1-0/+10
2015-10-18estream: Avoid calling write(fd,NULL,n).Werner Koch1-0/+1
* src/estream.c (es_func_fd_write): Take care of a flush requests. (es_func_w32_write): Ditto. (es_func_fp_write): Ditto. -- The write handlers may be called with (BUFFER,SIZE) of (NULL,0) to propagate flush events to user supplied functions (es_fopencookie). However we need to take care to also do this with the internal handler. Might be a reason for system faults due to write or fwrite with a NULL buffer; on Linux this seems to be harmless. Signed-off-by: Werner Koch <[email protected]>
2015-09-28Add GPG_ERR_FALSE and GPG_ERR_TRUE error codes.Werner Koch1-0/+6
Signed-off-by: Werner Koch <[email protected]>
2015-09-25estream: Add gpgrt_set_nonblock and gpgrt_poll.Werner Koch1-1/+1
* configure.ac (AC_CHECK_HEADERS): Add sys/select.h and sys/time.h. * src/estream.c: Include both header if available. (COOKIE_IOCTL_NONBLOCK): New. (struct estream_cookie_fd): Add field nonblock. (func_fd_create): Set nonblock from MODEFLAGS. (es_func_fd_ioctl): New. (parse_mode): Add modeflag "nonblock". (es_fill): Map EWOULDBLOCK to EAGAIN. Do not set error indicator for EAGAIN. (es_flush, es_seek, es_write_nbf): Map EWOULDBLOCK to EAGAIN. (do_fdopen): Call COOKIE_IOCTL_NONBLOCK. (_gpgrt_set_nonblock): New. (_gpgrt_get_nonblock): New. (_gpgrt_poll): New. * src/gpg-error.h.in (struct _gpgrt_poll_s): New. (gpgrt_poll_t, es_poll_t): New. (es_set_nonblock, es_get_nonblock, es_poll): New. * src/gpg-error.vers, src/gpg-error.def.in: Add gpgrt_set_nonblock, gpgrt_get_nonblock, and gpgrt_poll. * src/visibility.c (gpgrt_set_nonblock, gpgrt_get_nonblock): New. (gpgrt_poll): New. * tests/t-common.h (DIM): New. * tests/t-poll.c: New. * tests/Makefile.am (TESTS): Add t-poll. (t_poll_LDADD): New. -- The poll interface uses select(2) internally because that is more portable than poll(2). Signed-off-by: Werner Koch <[email protected]>
2015-08-26Release 1.20.libgpg-error-1.20Werner Koch1-3/+9
* configure.ac: Set LT version to C16/A16/R0. Signed-off-by: Werner Koch <[email protected]>
2015-04-10w32: Remove compiler warnings.Werner Koch1-1/+7
* src/Makefile.am (pre_mkheader_cmds): Avoid make diagnostic about failed but ignored command. This confuses Emacs' compiler job parser. * tests/t-lock.c [W32]: Include time.h. * src/init.c: Reorganize Windows only code. (wchar_to_utf8, utf8_to_wchar): Remove unused functions. (_gpg_err_set_errno): Use only one copy for all platforms. -- Note that there is a still a problem for W64 pertaining to the use of an int to store a HANDLE. This will be fixed when we add a full abstraction layer for Windows file objects.
2015-03-19Add GPG_ERR_LDAP_* error codes.Werner Koch2-0/+214
* src/err-codes.h.in: Add error codes. * doc/ldap2gpgerr.c: New. Signed-off-by: Werner Koch <[email protected]>
2015-01-26Update copyright notices.Werner Koch1-0/+3
--
2015-01-22Add GPG_ERR_LEGACY_KEY.Werner Koch1-5/+8
2014-12-28Add GPG_ERR_REQUEST_TOO_SHORT and GPG_ERR_REQUEST_TOO_LONG.Werner Koch1-1/+9
2014-12-15Add GPG_ERR_OBJ_TERM_STATE.Werner Koch1-6/+10
2014-12-03Add GPG_ERR_FORBIDDEN.Werner Koch1-0/+4
2014-10-15doc: Add a man page for gpg-error-config.Werner Koch5-0/+3037
* doc/gpgrt.texi: New. Just a start for now. * doc/gpl.texi, doc/lgpl.texi: New. Take from Libgcrypt. * doc/yat2m.c: New. Take from GnuPG master. * doc/Makefile.am: New. * configure.ac (AC_CONFIG_FILES): Add doc/Makefile. * Makefile.am (SUBDIRS): Add doc/. * build-aux/mdate-sh, build-aux/texinfo.tex: New. Signed-off-by: Werner Koch <[email protected]>
2014-10-02Add GPG_ERR_BOGUS_STRING and an experimental gpgrt_pending.Werner Koch1-2/+20
* src/visibility.c (gpgrt_pending, gpgrt_pending_unlocked): New. * src/estream.c (_gpgrt_pending, _gpgrt_pending_unlocked): New. (check_pending): new. (check_pending_fbf, check_pending_nbf): New. (es_func_mem_read, es_func_fd_read, es_func_w32_read) (es_func_fp_read, es_fill): Take care of the special 0 value for SIZE.
2014-09-29Update error reference.Werner Koch1-11/+156
--
2014-09-18doc updates and type fixes.Werner Koch1-2/+16
--
2014-08-12doc: Explain two error codes.Werner Koch1-1/+10
--
2014-06-30doc update.Werner Koch1-2/+6
--
2014-06-10New error code GPG_ERR_KEY_DISABLED.Werner Koch1-0/+5
2014-04-15Add code GPG_ERR_KEY_ON_CARD.Werner Koch1-2/+18
2013-11-17Add GPG_ERR_MAC_ALGO.Werner Koch1-1/+10
2013-04-11Add GPG_ERR_*CRYPT_CTX* and GPG_ERR_BROKEN_*KEY.Werner Koch1-3/+56
* src/err-codes.h.in (GPG_ERR_NO_CRYPT_CTX): New. (GPG_ERR_WRONG_CRYPT_CTX, GPG_ERR_BAD_CRYPT_CTX): New. (GPG_ERR_CRYPT_CTX_CONFLICT): New. (GPG_ERR_BROKEN_PUBKEY, GPG_ERR_BROKEN_SECKEY): New.
2012-06-20Add more error code documentationWerner Koch1-3/+18
--
2011-12-01Generate the ChangeLog from commit logs.Werner Koch1-0/+25
* build-aux/gitlog-to-changelog: New script. Taken from gnulib. * build-aux/git-log-fix: New file. * build-aux/git-log-footer: New file. * doc/HACKING: New file. * ChangeLog: New file. * Makefile.am (EXTRA_DIST): Add new files. (gen-ChangeLog): New. (dist-hook): Run gen-ChangeLog. Rename all ChangeLog files to ChangeLog-2011.
2011-08-23Add GPG_ERR_AMBIGUOUSWerner Koch1-0/+5
2011-08-23Add GPG_ERR_DUP_KEYWerner Koch1-1/+21
2011-03-04Updated error code referencesWerner Koch1-19/+28
2011-02-23Make gpg-error-config and gpg-error.m4 more robust.Werner Koch1-1/+6
This is done by taking host prefixed config scripts names in account (as suggested by bug#1261) and adding a new config option --host to print a warning if the used config script was not built for the current host. Care has been taken not to mess things up if an old config script without the option is used or if AC_CANONICAL_HOST has not been used.
2011-02-01Add GPG_ERR_INV_CURVE and GPG_ERR_UNKNOWN_CURVEWerner Koch1-3/+22
2011-01-06Add GPG_ERR_NO_KEYSERVERWerner Koch1-1/+12
2011-01-05Add file describing some usages of the error codesWerner Koch1-0/+378