aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2003-02-06 20:09:24 +0000
committerMarcus Brinkmann <[email protected]>2003-02-06 20:09:24 +0000
commit5a37051361cd2d8c47c49f7ac3c4ae6fd0e0c206 (patch)
treeae288a94cdbbc1d5b36583ed3130a16df35ee017 /NEWS
parent2003-01-30 Marcus Brinkmann <[email protected]> (diff)
downloadgpgme-5a37051361cd2d8c47c49f7ac3c4ae6fd0e0c206.tar.gz
gpgme-5a37051361cd2d8c47c49f7ac3c4ae6fd0e0c206.zip
doc/
2003-02-06 Marcus Brinkmann <[email protected]> * gpgme.texi (Cancelling an Operation): Removed. (Passphrase Callback): Document new type for GpgmePassphraseCb. gpgme/ 2003-02-06 Marcus Brinkmann <[email protected]> * gpgme.h (GpgmePassphraseCb): Change type to return GpgmeError, and add argument for returning the result string. (gpgme_cancel): Remove prototype. * gpgme.c (gpgme_cancel): Remove function. * context.h (struct gpgme_context_s): Remove member cancel. * passphrase.c (_gpgme_passphrase_command_handler): Call the passphrase callback in the new way. tests/ 2003-02-06 Marcus Brinkmann <[email protected]> * gpg/t-decrypt.c (passphrase_cb): Fix to new prototype. * gpg/t-decrypt-verify.c (passphrase_cb): Likewise. * gpg/t-edit.c (passphrase_cb): Likewise. * gpg/t-encrypt-sign.c (passphrase_cb): Likewise. * gpg/t-encrypt-sym.c (passphrase_cb): Likewise. * gpg/t-sign.c (passphrase_cb): Likewise. * gpg/t-signers.c (passphrase_cb): Likewise.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 331123c8..d0d7266c 100644
--- a/NEWS
+++ b/NEWS
@@ -36,6 +36,11 @@ Noteworthy changes in version 0.4.1 (unreleased)
* The new function gpgme_get_protocol_name can be used to convert a
GpgmeProtocol value into a string.
+ * The GpgmePassphraseCb type now returns a GpgmeError value, and
+ returns the password string in a new parameter. The gpgme_cancel
+ function has been removed, just return GPGME_Canceled in the
+ passphrase callback directly.
+
* Interface changes relative to the 0.4.0 release:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GpgmeIOCb CHANGED: Return type from void to GpgmeError.
@@ -49,6 +54,8 @@ gpgme_register_idle REMOVED
GpgmeEngineInfo NEW
gpgme_get_engine_info CHANGED: Return info structure instead XML.
gpgme_get_protocol_name NEW
+GpgmePassphraseCb CHANGED: Return error value, new argument.
+gpgme_cancel REMOVED: Return error in callback directly.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Noteworthy changes in version 0.4.0 (2002-12-23)