summaryrefslogtreecommitdiff
path: root/src/err-codes.h.in
Commit message (Collapse)AuthorAgeFilesLines
* New error codes for SQLiteWerner Koch2019-12-131-1/+41
| | | | | | | * src/err-codes.h.in: Add GPG_ERR_SQL_ codes. * src/gpg-error.h.in (gpg_err_code_from_sqlite): New. Signed-off-by: Werner Koch <wk@gnupg.org>
* core: Fix broken strings (first letter missing)Werner Koch2019-09-101-1/+1
| | | | | | | | src/err-codes.h.in (GPG_ERR_KEYBOXD): Add missing tabs. -- Fixes-commit: c6d9598a8572e7757504ddf53c01dcf611228143 Signed-off-by: Werner Koch <wk@gnupg.org>
* New error codes NO_KEYBOXD, KEYBOXD, NO_SERVICE, and SERVICE.Werner Koch2019-08-051-0/+4
| | | | --
* New error codes NO_AUTH and BAD_AUTHWerner Koch2019-02-111-0/+2
| | | | | | | | | -- In particular for PIV cards ithe use of BAD_PIN sounds worong, thus we now use dedicated codes. Signed-off-by: Werner Koch <wk@gnupg.org>
* New error code GPG_ERR_INV_NAME.Werner Koch2017-02-191-0/+1
| | | | Signed-off-by: Werner Koch <wk@gnupg.org>
* New error code GPG_ERR_TRY_LATER.Werner Koch2016-12-131-0/+1
| | | | Signed-off-by: Werner Koch <wk@gnupg.org>
* New error code GPG_ERR_DNS_TIMEOUT.Werner Koch2016-12-121-1/+2
| | | | Signed-off-by: Werner Koch <wk@gnupg.org>
* New error codes to support libdns.Werner Koch2016-12-121-0/+15
| | | | Signed-off-by: Werner Koch <wk@gnupg.org>
* New error code GPG_ERR_INV_FLAGWerner Koch2016-12-021-0/+1
|
* Fix misspellings in error descriptions.Daniel Kahn Gillmor2016-11-181-2/+2
| | | | | | -- Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* Fix typo in two new error descriptions.Werner Koch2016-11-141-2/+2
|
* Change description of GPG_ERR_OPEN_KEYRING.Werner Koch2016-11-101-1/+1
| | | | Signed-off-by: Werner Koch <wk@gnupg.org>
* Add error codes GPG_ERR_TOO_YOUNG and GPG_ERR_TOO_OLD.Werner Koch2016-11-021-0/+2
| | | | Signed-off-by: Werner Koch <wk@gnupg.org>
* Add error code USER_ID_EXISTS, NAME_EXISTS, and DUP_NAME.Werner Koch2016-10-071-1/+3
| | | | Signed-off-by: Werner Koch <wk@gnupg.org>
* Add error WINDOW_TOO_SMALL, WINDOW_TOO_LARGE, and MISSING_ENVVAR.Werner Koch2016-09-011-1/+5
| | | | Signed-off-by: Werner Koch <wk@gnupg.org>
* New error code GPG_ERR_ENGINE_TOO_OLDWerner Koch2016-08-161-1/+2
|
* Add GPG_ERR_SUBKEYS_EXP_OR_REV.Werner Koch2016-05-171-1/+2
|
* Add GPG_ERR_DB_CORRUPTED.Werner Koch2016-01-191-2/+2
| | | | Signed-off-by: Werner Koch <wk@gnupg.org>
* Add error codes NO_NAME, NO_KEY, and SERVER_FAILURE.Werner Koch2015-10-211-1/+4
|
* Add GPG_ERR_FALSE and GPG_ERR_TRUE error codes.Werner Koch2015-09-281-1/+2
| | | | Signed-off-by: Werner Koch <wk@gnupg.org>
* Changed LDAP error strings.Werner Koch2015-04-101-78/+78
| | | | --
* Add GPG_ERR_LDAP_* error codes.Werner Koch2015-03-191-2/+103
| | | | | | | * src/err-codes.h.in: Add error codes. * doc/ldap2gpgerr.c: New. Signed-off-by: Werner Koch <wk@gnupg.org>
* Add GPG_ERR_LEGACY_KEY.Werner Koch2015-01-221-1/+2
|
* Add GPG_ERR_REQUEST_TOO_SHORT and GPG_ERR_REQUEST_TOO_LONG.Werner Koch2014-12-281-1/+3
|
* Add GPG_ERR_OBJ_TERM_STATE.Werner Koch2014-12-151-1/+2
|
* Add GPG_ERR_FORBIDDEN.Werner Koch2014-12-031-2/+1
|
* Add GPG_ERR_BOGUS_STRING and an experimental gpgrt_pending.Werner Koch2014-10-021-2/+2
| | | | | | | | | * 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.
* Add error codes for use by a TLS library.Werner Koch2014-09-291-1/+28
|
* New error code GPG_ERR_KEY_DISABLED.Werner Koch2014-06-101-1/+2
|
* Add code GPG_ERR_KEY_ON_CARD.Werner Koch2014-04-151-1/+2
|
* Add gpgrt_lock_ functions.Werner Koch2014-01-161-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/gpg-error.h.in (GPGRT_LOCK_DEFINE): New. (gpgrt_lock_init): New. (gpgrt_lock_lock): New. (gpgrt_lock_unlock): New. (gpgrt_lock_destroy): New. (gpgrt_yield): New. * src/gpg-error.def.in: Add new functions. * m4/lock.m4, m4/threadlib.m4: New. Taken from current gnulib. * configure.ac: Call gl_LOCK. Check size of pthread_mutex_t. Add LIBTHREAD to GPG_ERROR_CONFIG_LIBS. * src/err-codes.h.in (GPG_ERR_INV_LOCK_OBJ): New. * src/gen-posix-lock-obj.c: New. * src/gen-w32-lock-obj.c: New. * src/lock.h, src/thread.h: New. * src/posix-lock-obj.h, src/w32-lock-obj.h: New. * src/posix-lock.c, src/w32-lock.c: New. * src/posix-thread.c, src/w32-thread.c: * src/w32-lock-obj-pub.in: New. * src/mkheader.c (include_file): Support build time include files. (write_special): Add keyword "include:lock-obj". * src/Makefile.am: (posix-lock-obj-pub.in): New rule. (noinst_PROGRAMS): Add gen-*-lock-obj helpers. * tests/t-common.h: New. * tests/t-lock.c: New. * tests/Makefile.am (t_lock_LDADD): Add new test. -- This patch introduces the gpgrt_ functions which will be extended over time to provide a library of commonly used code in GnuPG and Libgcrypt. Having them in a library named libgpg-error is a misnomer but this way we can achieve a smooth upgrade path. In contrasts to other GnuPG libraries, the gpgrt_ functions return a simple gpg_err_code_t and not gpg_error_t. The rationale for this is that a source of error identifier does not make sense here; it is better to use the source of error identifier of the caller. This can easily be achieved in a component by wrapping these function in a gpg_error macro/inline. There is no cross-compiling support for Posix platforms; the gen-posix-lock-obj tool must be run on the target system. Note that the gen-w32-lock-obj tool is not needed at build time but was used to figure out ABI definitions for Windows. Signed-off-by: Werner Koch <wk@gnupg.org>
* Add GPG_ERR_MAC_ALGO.Werner Koch2013-11-171-1/+1
|
* Add GPG_ERR_*CRYPT_CTX* and GPG_ERR_BROKEN_*KEY.Werner Koch2013-04-111-2/+7
| | | | | | | * 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.
* Typo fix.Jordy Provost2012-08-091-1/+1
| | | | * src/err-codes.h.in: Unify uppercase.
* Add GPG_ERR_AMBIGUOUSWerner Koch2011-08-231-2/+3
|
* Add GPG_ERR_DUP_KEYWerner Koch2011-08-231-1/+2
|
* Add GPG_ERR_INV_CURVE and GPG_ERR_UNKNOWN_CURVEWerner Koch2011-02-011-7/+9
|
* Add GPG_ERR_NO_KEYSERVERWerner Koch2011-01-061-0/+1
|
* Fix for W32CE.Werner Koch2010-10-201-1/+2
|
* Update pl.po.Werner Koch2010-09-161-1/+2
| | | | | | Updated to gettext 0.1.17 Add a new error code.
* Add new error code.Werner Koch2010-09-021-1/+2
| | | | | Remove comment cruft.
* Add gpg_err_deinitlibgpg-error-1.9Werner Koch2010-07-211-1/+3
| | | | | Prepare a new release.
* Add new error code.Werner Koch2010-06-181-1/+2
| | | | | Convert de.po to utf8
* Add another error code.Werner Koch2009-10-161-1/+2
|
* Add new translations.Werner Koch2009-08-201-1/+1
|
* Add new code GPG_ERR_NOT_ENABLEDWerner Koch2009-07-231-1/+2
|
* Add codes GPG_ERR_NO_PIN and GPG_ERR_NO_PASSPHRASE.Werner Koch2008-11-121-1/+3
|
* Add a new error code.Werner Koch2008-08-061-1/+1
|
* new codesWerner Koch2007-09-271-1/+3
|
* Minor tweaks of yesterday's changes.Werner Koch2006-09-061-4/+6
|