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)
commit02536bb72b884dceeaadda9364860f0649450e2e
treeafecdba3949d91312fa74bd6aa34fe898370415e
parent8f8c78d534d7a1242f1cc68bfb1ac9b5079108a5
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:
ChangeLog
NEWS
TODO
configure.ac
doc/ChangeLog
doc/gpgme.texi
gpgme/ChangeLog
gpgme/Makefile.am
gpgme/conversion.c
gpgme/data-compat.c
gpgme/data.c
gpgme/decrypt-verify.c
gpgme/decrypt.c
gpgme/delete.c
gpgme/edit.c
gpgme/encrypt-sign.c
gpgme/encrypt.c
gpgme/engine-gpgsm.c
gpgme/engine.c
gpgme/error.c [new file with mode: 0644]
gpgme/export.c
gpgme/genkey.c
gpgme/gpgme.c
gpgme/gpgme.h
gpgme/import.c
gpgme/key.c
gpgme/keylist.c
gpgme/mkerrors [deleted file]
gpgme/op-support.c
gpgme/passphrase.c
gpgme/progress.c
gpgme/rungpg.c
gpgme/sign.c
gpgme/signers.c
gpgme/trust-item.c
gpgme/trustlist.c
gpgme/verify.c
gpgme/wait-global.c
gpgme/wait-private.c
gpgme/wait.c
tests/ChangeLog
tests/gpg/Makefile.am
tests/gpg/t-decrypt-verify.c
tests/gpg/t-decrypt.c
tests/gpg/t-edit.c
tests/gpg/t-encrypt-sign.c
tests/gpg/t-encrypt-sym.c
tests/gpg/t-encrypt.c
tests/gpg/t-eventloop.c
tests/gpg/t-export.c
tests/gpg/t-genkey.c
tests/gpg/t-import.c
tests/gpg/t-keylist-sig.c
tests/gpg/t-keylist.c
tests/gpg/t-sign.c
tests/gpg/t-signers.c
tests/gpg/t-support.h [new file with mode: 0644]
tests/gpg/t-trustlist.c
tests/gpg/t-verify.c
tests/gpgsm/Makefile.am
tests/gpgsm/t-decrypt.c
tests/gpgsm/t-encrypt.c
tests/gpgsm/t-export.c
tests/gpgsm/t-genkey.c
tests/gpgsm/t-keylist.c
tests/gpgsm/t-sign.c
tests/gpgsm/t-support.h [new file with mode: 0644]
tests/gpgsm/t-verify.c
tests/t-data.c