doc/
authorMarcus Brinkmann <mb@g10code.com>
Thu, 5 Jun 2003 23:20:29 +0000 (23:20 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Thu, 5 Jun 2003 23:20:29 +0000 (23:20 +0000)
commit4aac64dc54e06c00cd2221bd315c2df9dae96def
tree2f6e24476177f282a3e2a8e8b50d2ef720c07c58
parent582a567abe6a897a09167bc09119f672dbcbc42a
doc/
2003-06-06  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi: Change error codes to GPG_ERR_* variants.
(Error Handling): Rewritten.

gpgme/
2003-06-05  Marcus Brinkmann  <marcus@g10code.de>

Everywhere: Use libgpg-error error codes.

* Makefile.am (EXTRA_DIST): Remove mkerrors.
(BUILT_SOURCES): Remove errors.c.
(MOSTLYCLEANFILES): Likewise.
(libgpgme_la_SOURCES): Likewise.  Add error.c.
(errors.c): Remove target.
* mkerrors: File removed.
* error.c: New file.

* gpgme.h (gpgme_error_t): Change to type gpg_error_t.
(gpgme_err_code_t, gpgme_err_source_t): New types.
(gpgme_err_code, gpgme_err_source, gpgme_error, gpgme_err_make):
New static inline functions.
(gpgme_strsource, gpgme_err_code_from_errno,
gpgme_err_code_to_errno, gpgme_err_make_from_errno,
gpgme_error_from_errno): New prototypes.

tests/
2003-06-06  Marcus Brinkmann  <marcus@g10code.de>

Everywhere: Use libgpg-error error codes.

* gpg/Makefile.am (noinst_HEADERS): New variable.
* gpg/t-support.h: New file.
* gpgsm/Makefile.am (noinst_HEADERS): New variable.
* gpgsm/t-support.h: New file.
69 files changed:
trunk/ChangeLog
trunk/NEWS
trunk/TODO
trunk/configure.ac
trunk/doc/ChangeLog
trunk/doc/gpgme.texi
trunk/gpgme/ChangeLog
trunk/gpgme/Makefile.am
trunk/gpgme/conversion.c
trunk/gpgme/data-compat.c
trunk/gpgme/data.c
trunk/gpgme/decrypt-verify.c
trunk/gpgme/decrypt.c
trunk/gpgme/delete.c
trunk/gpgme/edit.c
trunk/gpgme/encrypt-sign.c
trunk/gpgme/encrypt.c
trunk/gpgme/engine-gpgsm.c
trunk/gpgme/engine.c
trunk/gpgme/error.c [new file with mode: 0644]
trunk/gpgme/export.c
trunk/gpgme/genkey.c
trunk/gpgme/gpgme.c
trunk/gpgme/gpgme.h
trunk/gpgme/import.c
trunk/gpgme/key.c
trunk/gpgme/keylist.c
trunk/gpgme/mkerrors [deleted file]
trunk/gpgme/op-support.c
trunk/gpgme/passphrase.c
trunk/gpgme/progress.c
trunk/gpgme/rungpg.c
trunk/gpgme/sign.c
trunk/gpgme/signers.c
trunk/gpgme/trust-item.c
trunk/gpgme/trustlist.c
trunk/gpgme/verify.c
trunk/gpgme/wait-global.c
trunk/gpgme/wait-private.c
trunk/gpgme/wait.c
trunk/tests/ChangeLog
trunk/tests/gpg/Makefile.am
trunk/tests/gpg/t-decrypt-verify.c
trunk/tests/gpg/t-decrypt.c
trunk/tests/gpg/t-edit.c
trunk/tests/gpg/t-encrypt-sign.c
trunk/tests/gpg/t-encrypt-sym.c
trunk/tests/gpg/t-encrypt.c
trunk/tests/gpg/t-eventloop.c
trunk/tests/gpg/t-export.c
trunk/tests/gpg/t-genkey.c
trunk/tests/gpg/t-import.c
trunk/tests/gpg/t-keylist-sig.c
trunk/tests/gpg/t-keylist.c
trunk/tests/gpg/t-sign.c
trunk/tests/gpg/t-signers.c
trunk/tests/gpg/t-support.h [new file with mode: 0644]
trunk/tests/gpg/t-trustlist.c
trunk/tests/gpg/t-verify.c
trunk/tests/gpgsm/Makefile.am
trunk/tests/gpgsm/t-decrypt.c
trunk/tests/gpgsm/t-encrypt.c
trunk/tests/gpgsm/t-export.c
trunk/tests/gpgsm/t-genkey.c
trunk/tests/gpgsm/t-keylist.c
trunk/tests/gpgsm/t-sign.c
trunk/tests/gpgsm/t-support.h [new file with mode: 0644]
trunk/tests/gpgsm/t-verify.c
trunk/tests/t-data.c