aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Added GPG_ERR_LOCALE_PROBLEM.Werner Koch2003-12-222-2/+4
|
* About to release 0.6libgpg-error-0-6Werner Koch2003-11-141-3/+3
|
* Removed: GPG_ERR_IO_ERROR,Werner Koch2003-11-132-14/+1
| | | | | | GPG_ERR_FILE_ERROR, GPG_ERR_READ_ERROR, GPG_ERR_WRITE_ERROR, GPG_ERR_LOCK_ERROR.
* Added these codes:Werner Koch2003-11-122-7/+84
| | | | | | | | | | | | | | | | | | | 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-063-9/+14
| | | | | Libksba and Dirmngr. Added GPG_ERR_TRUNCATED.
* Allow GPG_ERR_INLINE to get overriden, so thatWerner Koch2003-11-031-0/+2
| | | | | | one can use the -D flag to specify the inline keyword. Suggested by Philip Brown.
* 2003-10-28 Moritz Schulte <[email protected]>Moritz Schulte2003-10-282-1/+7
| | | | | | | | * 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.
* Fixed last fix:Werner Koch2003-10-252-1/+1
| | | | | | Include stdio.h for snprintf prototype. Suggested by [email protected], fixes #gnupg/214.
* Include stdio.h for snprintfWerner Koch2003-10-251-0/+1
| | | | | prototype. Suggested by [email protected], fixes #gnupg/214.
* 2003-10-11 Moritz Schulte <[email protected]>Moritz Schulte2003-10-111-1/+0
| | | | | | * src/gpg-error.m4: Do not ask gpg-error-config to change the prefix, if --with-gpg-error-prefix=... is used.
* 2003-09-30 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-09-302-150/+69
| | | | | | | | | | | * src/gpg-error.h: Include <stddef.h>. (gpg_strerror_r): Change prototype to match POSIX. Rewritten for that prototype. * src/strerror.c: Include <errno.h>. (gpg_strerror_r, system_strerror_r): Change prototype to match POSIX. Rewritten for that prototype. Rewritten for that prototype.
* Add PIN_NOT_SYNCED.Werner Koch2003-09-302-3/+5
|
* 2003-09-13 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-09-132-2/+214
| | | | | | | | * configure.ac: Invoke AC_FUNC_STRERROR_R. * src/gpg-error.h (gpg_strerror_r): New prototype. * src/strerror.c (system_strerror_r): New function. (gpg_strerror_r): New function.
* 2003-09-03 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-09-031-85/+42
| | | | | * src/gpg-error-config.in: Rewritten.
* 2003-09-03 Marcus Brinkmann <[email protected]>libgpg-error-0-4Marcus Brinkmann2003-09-031-1/+3
| | | | | | | | | Released 0.4. * src/gpg-error.h: Define GPG_ERR_INLINE to nothing if the compiler does not implement C99. * configure.ac: (AC_INIT): Bump up version number.
* 2003-09-02 Moritz Schulte <[email protected]>Moritz Schulte2003-09-022-1/+3
| | | | | | * src/gpg-error.h (gpg_err_code_t): Added: GPG_ERR_NO_PRIME. * src/err-codes.h.in: Likewise.
* 2003-08-19 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-08-191-147/+150
| | | | | | | | | * src/gpg-error.h (GPG_ERR_SYSTEM_ERROR): Fix value (should have been 2^15, was 2^14). (GPG_ERR_CODE_DIM): Fix value (should have been 65536, was 32768). Change the error codes of all system errors to have the GPG_ERR_SYSTEM_ERROR bit set.
* 2003-08-06 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-08-068-8/+8
| | | | | | | * 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.
* 2003-07-31 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-07-314-20/+12
| | | | | | | | | | * README: Clarify copyright conditions. * src/mkstrtable.awk: Don't claim in the copyright information that this program is part of libgpg-error. * src/mkerrnos.awk: Likewise. * src/mkerrcodes1.awk: Likewise. * src/mkerrcodes2.awk: Likewise.
* 2003-07-31 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-07-311-1/+1
| | | | | | | | * src/strerror.c (gpg_strerror): Use CODE, not ERR to map error code to errno. * configure.ac (AC_INIT): Bump version to 0.3.
* * src/gpg-error.h: Add HARDWARE, PIN_BLOCKED and USE_CONDITIONS.Werner Koch2003-07-172-1/+7
|
* 2003-07-16 Moritz Schulte <[email protected]>Moritz Schulte2003-07-161-2/+3
| | | | | | | | | * src/gpg-error.h (gpg_err_code): Cast return value to gpg_err_code_t. Thanks to Ralf Schneider <[email protected]>. (gpg_err_source): Cast return value to gpg_err_source_t. Thanks to Ralf Schneider <[email protected]>.
* 2003-07-15 Moritz Schulte <[email protected]>Moritz Schulte2003-07-161-1/+1
| | | | | | | * src/gpg-error.m4 (AM_PATH_GPG_ERROR): Use `0.0' instead of `0.0.0' in case no version number is given, since the following sed commands expect the former form, not a triplet.
* 2003-07-06 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-07-061-6/+12
| | | | | | * src/gpg-error.h (GPG_ERR_INLINE): Define macro. Use it instead of __inline__ in this file.
* * src/gpg-error.h: Add WRONG_CARD.Werner Koch2003-06-302-2/+3
|
* 2003-06-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-06-221-1/+1
| | | | | * src/gpg-error.h: Fix value of GPG_ERR_CANCELED.
* Fix last change.Marcus Brinkmann2003-06-061-5/+5
|
* Drop micro version.Marcus Brinkmann2003-06-061-10/+0
|
* 2003-06-06 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-06-063-1/+187
| | | | | | | | | | | | | * configure.ac: Define GPG_ERROR_CONFIG_LIBS and GPG_ERROR_CONFIG_CFLAGS. Add src/gpg-error-config to config files. * src/Makefile.am (EXTRA_DIST): Add gpg-error-config.in and gpg-error.m4. (bin_SCRIPTS): New variable. (m4datadir, m4data_DATA): New variables. * src/gpg-error-config.in: New file. * src/gpg-error.m4: New file.
* Fix typo.Marcus Brinkmann2003-06-051-1/+1
|
* 2003-06-05 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-06-051-1/+1
| | | | | * src/gpg-error.h (gpg_err_make_from_errno): Fix implementation.
* 2003-06-05 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-06-052-2/+4
| | | | | | * src/gpg-error.h (gpg_err_code_t): Add GPG_ERR_SIG_EXPIRED. (err-codes.h.in): Likewise.
* 2003-06-05 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-06-051-1/+2
| | | | | | * src/gpg-error.h (gpg_error_from_errno): Change return type to gpg_error_t.
* Clarify comments, and add a few more.Marcus Brinkmann2003-06-041-11/+25
|
* solved conflictsWerner Koch2003-06-043-4/+14
|
* 2003-06-04 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-06-042-3/+12
| | | | | | | | | | | * 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-042-20/+20
|
* 2003-06-04 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-06-032-0/+19
| | | | | | | | | * src/gpg-error.h (gpg_make_error_from_errno): New inline function. (gpg_error_from_errno): Likewise. * src/code-from-errno.c (gpg_err_code_from_errno): Handle the case of no error at all.
* 2003-06-04 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-06-033-11/+55
| | | | | | | | | * 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.
* 2003-06-02 Moritz Schulte <[email protected]>Moritz Schulte2003-06-022-4/+4
| | | | | | | * src/gpg-error.h: Fix description of gpg_err_code_to_errno (i.e. substitute `ERR' with `CODE'). * src/code-to-errno.c: Likewise.
* Fix wrong error code.Marcus Brinkmann2003-06-012-5/+5
|
* 2003-06-01 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-06-011-0/+2
| | | | | * src/strerror.c: Include <string.h>.
* 2003-06-01 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-06-012-28/+14
| | | | | | | | | | * 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-2/+6
| | | | | * src/Makefile.am (EXTRA_DIST): Add err-sources.h and err-codes.h.
* 2003-06-01 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-06-0110-7/+754
| | | | | | | | | | | | | | | | | | | | | | | | * 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-06-01 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-06-014-5/+5
| | | | | | | | | | | * src/Makefile.am (nobase_include_HEADERS): Rename target to ... (include_HEADERS): ... this. Change file to gpg-error.h (libgpg_error_la_SOURCES): Change gpg/error.h to gpg-error.h. * src/gpg/error.h: Move to ... * src/gpg-error.h: ... here. New file. * src/strerror.c: Include <gpg-error.h>, not <gpg/error.h>. * src/strsource.c: Likewise.
* 2003-06-01 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-06-011-1/+1
| | | | | | * src/gpg/error.h (gpg_error_t): Change type to unsigned int, not long.
* Add essential comment.Marcus Brinkmann2003-05-281-1/+5
|
* 2003-05-26 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-05-251-2/+3
| | | | | | | * src/gpg/error.h (gpg_make_error): Only OR in the error source if there is an error, this allows to test for success with "if (!err)" and similar tests.
* 2003-05-15 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-05-157-91/+141
| | | | | | | | | | | | | | | | | | | | | * 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.