aboutsummaryrefslogtreecommitdiffstats
path: root/src/err-codes.h.in (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * src/Makefile.am (mkerrcodes.h): Let CPP work on a temporary file.Werner Koch2004-03-091-1/+1
| | | | | | | | | (CLEANFILES): Add that temporary file. * configure.ac (AC_PROG_CPP): Added. * src/err-codes.h.in: Removed trailing spaces from GPG_ERR_NOT_LOCKED.
* 2004-02-27 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-02-271-205/+225
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/Makefile.am (noinst_PROGRAMS): New variable. (gpg_error_LDADD): New variable. (gpg_error_SOURCES): New variable. (EXTRA_DIST): Add mkheader.awk and gpg-error.h.in. (BUILT_SOURCES): Add err-sources-sym.h, err-codes-sym.h and errnos-sym.h. (CLEANFILES): Add err-sources-sym.h, err-codes-sym.h, errnos-sym.h and gpg-error.h. (err-codes.h, err-sources.h): Add -v textidx=3 to mkstrtable.awk invocation. (err-codes-sym.h): New target. (err-sources-sym.h): New target. (gpg-error.h): New rule. * src/mkstrtable.awk: Skip the second field (which contains the error code symbol). (FS): Allow more than one tab as field separator. Allow to specify the field to be used as text with the variable textidx. Allow to suppress gettext markers in the output. Allow to specify a prefix to the messages. Allow to specify a namespace for the variable and macro names. * src/mkerrnos.awk (FS): Initialize. Understand variable errnoidx, which defaults to 2, to cope with the error names being in a different column than the first. * src/mkerrcodes1.awk: Likewise. Use \t as separator. * src/mkheader.awk: New file. * src/errnos.in: Add error code numbers (relativ to GPG_ERR_SYSTEM_ERROR). * src/strerror-sym.c: New file. * src/strsources-sym.c: New file. * src/err-codes.h.in: Add the error code symbol for every error code. (GPG_ERR_BUFFER_TOO_SHORT): Fix error code (it is 200, not 199). * src/err-sources.h.in: Likewise. * src/gpg-error.h.in: New file. * src/gpg-error.h: File removed. * src/gpg-error.c: New file.
* Added GPG_ERR_NOT_LOCKED.Werner Koch2004-02-031-0/+1
|
* Added GPG_ERR_LOCALE_PROBLEM.Werner Koch2003-12-221-1/+2
|
* Removed: GPG_ERR_IO_ERROR,Werner Koch2003-11-131-5/+0
| | | | | | GPG_ERR_FILE_ERROR, GPG_ERR_READ_ERROR, GPG_ERR_WRITE_ERROR, GPG_ERR_LOCK_ERROR.
* Added these codes:Werner Koch2003-11-121-0/+39
| | | | | | | | | | | | | | | | | | | GPG_ERR_INV_ATTR, GPG_ERR_NO_VALUE, GPG_ERR_NOT_FOUND, GPG_ERR_VALUE_NOT_FOUND, GPG_ERR_SYNTAX, GPG_ERR_INV_CRL, GPG_ERR_BAD_BER, GPG_ERR_INV_BER, GPG_ERR_ELEMENT_NOT_FOUND, GPG_ERR_IDENTIFIER_NOT_FOUND, GPG_ERR_INV_TAG, GPG_ERR_INV_LENGTH, GPG_ERR_INV_KEYINFO, GPG_ERR_UNEXPECTED_TAG, GPG_ERR_NOT_DER_ENCODED, GPG_ERR_NO_CMS_OBJ, GPG_ERR_INV_CMS_OBJ, GPG_ERR_UNKNOWN_CMS_OBJ, GPG_ERR_UNSUPPORTED_CMS_OBJ, GPG_ERR_UNSUPPORTED_ENCODING, GPG_ERR_UNSUPPORTED_CMS_VERSION, GPG_ERR_UNKNOWN_ALGORITHM, GPG_ERR_ENCODING_PROBLEM, GPG_ERR_INV_STATE, GPG_ERR_DUP_VALUE, GPG_ERR_MISSING_ACTION, GPG_ERR_MODULE_NOT_FOUND, GPG_ERR_INV_OID_STRING, GPG_ERR_INV_TIME, GPG_ERR_INV_CRL_OBJ, GPG_ERR_UNSUPPORTED_CRL_VERSION, GPG_ERR_INV_CERT_OBJ, GPG_ERR_UNKNOWN_NAME, GPG_ERR_IO_ERROR, GPG_ERR_FILE_ERROR, GPG_ERR_READ_ERROR, GPG_ERR_WRITE_ERROR, GPG_ERR_LOCK_ERROR, GPG_ERR_BUFFER_TOO_SHORT
* Added error sources forWerner Koch2003-11-061-0/+1
| | | | | Libksba and Dirmngr. Added GPG_ERR_TRUNCATED.
* 2003-10-28 Moritz Schulte <[email protected]>Moritz Schulte2003-10-281-0/+3
| | | | | | | | * src/gpg-error.h (gpg_err_code_t): Added: GPG_ERR_NO_ENCODING_METHOD, GPG_ERR_NO_ENCRYPTION_SCHEME, GPG_ERR_NO_SIGNATURE_SCHEME. * src/err-codes.h.in: Likewise.
* Add PIN_NOT_SYNCED.Werner Koch2003-09-301-0/+1
|
* 2003-09-02 Moritz Schulte <[email protected]>Moritz Schulte2003-09-021-0/+1
| | | | | | * src/gpg-error.h (gpg_err_code_t): Added: GPG_ERR_NO_PRIME. * src/err-codes.h.in: Likewise.
* 2003-08-06 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-08-061-1/+1
| | | | | | | * code-from-errno.c, code-to-errno.c, err-codes.h.in, err-sources.h.in, errnos.in, gpg-error.h, strerror.c, strsource.c: Fix typo in copyright notice.
* * src/gpg-error.h: Add HARDWARE, PIN_BLOCKED and USE_CONDITIONS.Werner Koch2003-07-171-0/+3
|
* * src/gpg-error.h: Add WRONG_CARD.Werner Koch2003-06-301-0/+1
|
* 2003-06-05 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-06-051-0/+1
| | | | | | * src/gpg-error.h (gpg_err_code_t): Add GPG_ERR_SIG_EXPIRED. (err-codes.h.in): Likewise.
* solved conflictsWerner Koch2003-06-041-0/+5
|
* 2003-06-04 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-06-041-0/+4
| | | | | | | | | | | * src/gpg-error.h (gpg_err_code_t): Add GPG_ERR_INV_ENGINE, GPG_ERR_PUBKEY_NOT_TRUSTED, GPG_ERR_DECRYPT_FAILED, GPG_ERR_KEY_EXPIRED. (gpg_make_error): Rename to gpg_err_make. (gpg_error): Use here. * tests/t-strerror.c (main): And here. (gpg_make_error_from_errno): Rename to gpg_err_make_from_errno.
* Fix last change.Marcus Brinkmann2003-06-041-16/+16
|
* 2003-06-04 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-06-031-0/+16
| | | | | | | | | * src/gpg-error.h (gpg_err_source_t): Add GPG_ERR_SOURCE_USER_1 to GPG_ERR_SOURCE_USER_4. (gpg_err_code_t): Add GPG_ERR_USER_1 to GPG_ERR_USER_16. * src/err-sources.h.in: Likewise. * src/err-codes.h.in: Likewise.
* Fix wrong error code.Marcus Brinkmann2003-06-011-1/+1
|
* 2003-06-01 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-06-011-13/+0
| | | | | | | | | | * src/gpg-error.h (gpg_err_code_t): Remove GPG_ERR_FILE_READ, GPG_ERR_FILE_WRITE, GPG_ERR_FILE_OPEN, GPG_ERR_FILE_CREATE, GPG_ERR_FILE_CLOSE, GPG_ERR_FILE_DELETE, GPG_ERR_FILE_EXISTS, GPG_ERR_FILE, GPG_ERR_IO, GPG_ERR_OUT_OF_CORE, GPG_ERR_READ_ERROR, GPG_ERR_WRITE_ERROR. * src/err-codes.h.in: Likewise.
* 2003-06-01 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-06-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | * src/mkerrcodes1.awk: New file. * src/mkerrcodes2.awk: New file. * src/mkerrnos.awk: New file. * src/errnos.in: New file. * src/code-from-errno.c: New file. * src/code-to-errno.c: New file. * src/Makefile.am (libgpg_error_la_SOURCES): Remove err-sources.h and err-codes.h. Add code-to-errno.c and code-from-errno.c. (code-to-errno.h): New target. (code-from-errno.h): Likewise. (EXTRA_DIST): Add mkerrnos.awk, errnos.in, and mkerrcodes1.awk. (BUILT_SOURCES): Add code-to-errno.h and code-from-errno.h. (CLEANFILES): Likewise. * src/strerror.c (gpg_strerror): Use strerror for system errors. * src/err-codes.h.in: Add 16382 (Unknown system error). * src/gpg-error.h (gpg_err_code_t): Add system errors. (GPG_ERR_CODE_DIM): Change to 32768. (GPG_ERR_SYSTEM_ERROR): New macro. (gpg_err_code_from_errno): New prototype. (gpg_err_code_to_errno): Likewise.
* 2003-05-15 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-05-151-23/+27
| | | | | | | | | | | | | | | | | | | | | * src/mkstrtable.awk: Add exception clause to license about the output of the script. * configure.ac: Change license to LGPL 2.1 or later. * Makefile.am: Likewise. * src/Makefile.am: Likewise. * src/err-codes.h.in: Likewise. * src/err-sources.h.in: Likewise. * src/strsource.c: Likewise. * src/strerror.c: Likewise. * src/gpg/error.h: Likewise. * tests/Makefile.am: Likewise. * src/mkstrtable.awk: New variable HEADER. Copy input until first line with an actual code and description occurs. * src/err-codes.h.in: Uncomment license, so it is copied into the output. * src/err-sources.h.in: Likewise.
* 2003-05-15 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-05-151-0/+166
* Initial check-in.