2003-07-09 00:49:58 +00:00
|
|
|
2003-07-09 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Key Management): Clarify difference between can_sign
|
|
|
|
and can_certify.
|
|
|
|
(Information About Keys): Likewise for GPGME_ATTR_CAN_SIGN and
|
|
|
|
GPGME_ATTR_CAN_CERTIFY.
|
|
|
|
|
2003-07-08 17:22:44 +00:00
|
|
|
2003-07-08 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Progress Meter Callback): Change return type of
|
|
|
|
gpgme_progress_cb_t to void.
|
|
|
|
|
2003-06-22 21:09:58 +00:00
|
|
|
2003-06-22 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi: Add 2003 to copyright notice.
|
|
|
|
|
|
|
|
* gpgme.texi (Header): Fix name space documentation on
|
|
|
|
libgpg-error.
|
|
|
|
|
2003-06-22 12:26:11 +00:00
|
|
|
2003-06-22 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Multi Threading): Remove reference to
|
|
|
|
gpgme_recipients_t.
|
|
|
|
|
2003-06-06 00:56:03 +00:00
|
|
|
2003-06-06 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Crypto Operations): Rename gpgme_invalid_user_id_t
|
|
|
|
to gpgme_invalid_key_t.
|
|
|
|
|
2003-06-05 23:20:29 +00:00
|
|
|
2003-06-06 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi: Change error codes to GPG_ERR_* variants.
|
|
|
|
(Error Handling): Rewritten.
|
|
|
|
|
2003-05-29 03:21:02 +00:00
|
|
|
2003-05-29 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Exporting Keys): Change and document prototypes.
|
|
|
|
Add new gpgme_op_export_ext and gpgme_op_export_ext_start
|
|
|
|
variants.
|
|
|
|
(Selecting Recipients): Section removed.
|
|
|
|
(Encrypting a Plaintext): Change prototypes and document the
|
|
|
|
changes.
|
|
|
|
|
doc/
2003-05-28 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Exporting Keys): Change argument type from
gpgme_recipient_t to gpgme_user_id_t.
(Encrypting a Plaintext): Likewise.
(Selecting Recipients): Rewritten.
gpgme/
2003-05-28 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am (libgpgme_la_SOURCES): Remove recipient.c, add
user-id.c.
* gpgme.h (gpgme_recipients_t): Removed.
(gpgme_recipients_new, gpgme_recipients_release,
gpgme_recipients_add_name,
gpgme_recipients_add_name_with_validity, gpgme_recipients_count,
gpgme_recipients_enum_open, gpgme_recipients_enum_read,
gpgme_recipients_enum_close): Removed.
(gpgme_op_encrypt, gpgme_op_encrypt_start, gpgme_op_encrypt_sign,
gpgme_op_encrypt_sign_start, gpgme_op_export_start,
gpgme_op_export): Change second argument to gpgme_user_id_t.
(gpgme_user_ids_release): New prototype.
(gpgme_user_ids_append): Likewise.
* ops.h (_gpgme_recipients_all_valid): Remove.
(_gpgme_user_ids_all_valid): Add.
* context.h (struct gpgme_recipients): Removed.
* user-id.c: New file.
* recipient.c: Removed file.
* rungpg.c (append_args_from_recipients): Change last arg to
gpgme_user_id_t. Reimplement.
(gpg_encrypt): Change second arg to gpgme_user_id_t.
(gpg_encrypt_sign): Likewise.
(gpg_export): Likewise. Rewrite user ID list code.
* engine.c (_gpgme_engine_op_encrypt): Change second arg to
gpgme_user_id_t.
(_gpgme_engine_op_encrypt_sign): Likewise.
(_gpgme_engine_op_export): Likewise.
* engine.h (_gpgme_engine_op_encrypt, _gpgme_engine_op_encrypt_sign,
_gpgme_engine_op_export): Likewise.
* engine-gpgsm.c (set_recipients): Likewise. Rewrite loop code.
(gpgsm_encrypt): Likewise.
(gpgsm_export): Likewise.
* engine-backend.h (struct engine_ops): Likewise for members
ENCRYPT, ENCRYPT_SIGN and EXPORT.
* export.c (export_start, gpgme_op_export_start, gpgme_op_export):
Likewise.
* encrypt.c (encrypt_start): Likewise. Don't check for count of
recipients.
(gpgme_op_encrypt_start): Likewise.
(gpgme_op_encrypt): Likewise.
* encrypt-sign.c (encrypt_sign_start): Likewise.
(gpgme_op_encrypt_sign): Likewise.
(gpgme_op_encrypt_sign_start): Likewise.
tests/
2003-05-28 Marcus Brinkmann <marcus@g10code.de>
* gpg/t-eventloop.c (main): Rewrite recipient management.
* gpg/t-encrypt-sign.c (main): Likewise.
* gpg/t-encrypt.c (main): Likewise.
* gpg/t-export.c (main): Likewise.
2003-05-28 01:15:38 +00:00
|
|
|
2003-05-28 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Exporting Keys): Change argument type from
|
|
|
|
gpgme_recipient_t to gpgme_user_id_t.
|
|
|
|
(Encrypting a Plaintext): Likewise.
|
|
|
|
(Selecting Recipients): Rewritten.
|
|
|
|
|
2003-05-27 01:31:06 +00:00
|
|
|
2003-05-27 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
2003-05-27 05:41:43 +00:00
|
|
|
* gpgme.texi (Protocol Selection): Do not use @acronym in @node
|
|
|
|
because that breaks texi2dvi.
|
|
|
|
|
2003-05-27 01:31:06 +00:00
|
|
|
* gpgme.texi (Passphrase Callback): Document new prototype.
|
|
|
|
|
2003-05-18 20:45:24 +00:00
|
|
|
2003-05-18 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Header): Remove Gpgme as namespace prefix. Add
|
|
|
|
_GPGME to namespace prefix.
|
|
|
|
* gpgme.texi (Multi Threading): Add note about link order.
|
|
|
|
|
2003-05-04 14:57:24 +00:00
|
|
|
2003-05-04 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
2003-05-04 20:49:44 +00:00
|
|
|
* gpgme.texi (Listing Keys): Document what happens if key is not
|
|
|
|
found.
|
|
|
|
|
2003-05-04 14:57:24 +00:00
|
|
|
* gpgme.texi (Importing Keys): Fix cut and paste error.
|
|
|
|
|
2003-04-30 03:02:50 +00:00
|
|
|
2003-04-30 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
doc/
2003-04-30 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Encrypting a Plaintext): Remove reference to
gpgme_get_op_info.
(Detailed Results): Subsection removed.
gpgme/
2003-04-30 Marcus Brinkmann <marcus@g10code.de>
* gpgme.h (gpgme_get_op_info): Remove prototype.
* ops.h (_gpgme_set_op_info,
_gpgme_data_release_and_return_string, _gpgme_data_get_as_string,
_gpgme_data_append, _gpgme_data_append_string,
_gpgme_data_append_string_for_xml, _gpgme_data_append_for_xml,
_gpgme_data_append_percentstring_for_xml): Likewise.
(_gpgme_progress_status_handler): Change first arg to void *.
* progress.c (_gpgme_progress_status_handler): Likewise.
* conversion.c: Do not include <string.h>, <errno.h>, <ctype.h>,
and <sys/types.h>, but <string.h>.
(_gpgme_data_append): Remove function.
(_gpgme_data_append_string): Likewise.
(_gpgme_data_append_for_xml): Likewise.
(_gpgme_data_append_string_for_xml): Likewise.
(_gpgme_data_append_percentstring_for_xml): Likewise.
* data-mem.c (_gpgme_data_get_as_string): Likewise.
(_gpgme_data_release_and_return_string): Likewise.
* gpgme.c (gpgme_get_op_info): Likewise.
(_gpgme_set_op_info): Likewise.
tests/
2003-04-30 Marcus Brinkmann <marcus@g10code.de>
* gpg/t-eventloop.c (main): Do not call print_op_info.
(print_op_info): Function removed.
2003-04-30 03:34:30 +00:00
|
|
|
* gpgme.texi (Encrypting a Plaintext): Remove reference to
|
|
|
|
gpgme_get_op_info.
|
|
|
|
(Detailed Results): Subsection removed.
|
|
|
|
|
2003-04-30 03:02:50 +00:00
|
|
|
* gpgme.texi (Key Listing Mode): Add GPGME_KEYLIST_MODE_SIGS.
|
|
|
|
(Manipulating Keys): Add obsoleteness note.
|
|
|
|
(Key Signatures): Likewise.
|
|
|
|
(Information About Keys): Likewise.
|
|
|
|
(Key Management): Add new data types GpgmeSubkey, GpgmeKeySig,
|
|
|
|
GpgmeUserID, and all the information about GpgmeKey.
|
|
|
|
|
2003-04-29 21:53:58 +00:00
|
|
|
2003-04-29 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
2003-04-29 22:24:37 +00:00
|
|
|
* gpgme.texi (Listing Keys): Remove force_update argument from
|
|
|
|
gpgme_get_key.
|
|
|
|
|
2003-04-29 21:53:58 +00:00
|
|
|
* gpgme.texi (Trust Item Management): Add data members of
|
|
|
|
GpgmeTrustItem type.
|
|
|
|
(Information About Trust Items): Add note about obsoleteness.
|
|
|
|
(Manipulating Trust Items): Add gpgme_trust_item_ref and
|
|
|
|
gpgme_trust_item_unref.
|
|
|
|
|
2003-04-28 21:17:15 +00:00
|
|
|
2003-04-28 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
2003-04-28 23:59:03 +00:00
|
|
|
* gpgme.texi (Verify): Rewritten to take into account new and
|
|
|
|
deprecated functions and data types.
|
|
|
|
|
2003-04-28 21:17:15 +00:00
|
|
|
* gpgme.texi (Decrypt): Descript gpgme_op_decrypt_result and
|
|
|
|
GpgmeDecryptResult.
|
|
|
|
|
doc/
2003-04-27 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Deleting Keys): Document
GPGME_Ambiguous_Specification.
(Error Values): Remove GPGME_Invalid_Type and GPGME_Invalid_Mode.
Add GPGME_Unknown_Reason, GPGME_Not_Found,
GPGME_Ambiguous_Specification, GPGME_Wrong_Key_Usage,
GPGME_Key_Revoked, GPGME_Key_Expired, GPGME_No_CRL_Known,
GPGME_CRL_Too_Old, GPGME_Policy_Mismatch, GPGME_No_Secret_Key,
GPGME_Key_Not_Trusted, GPGME_Issuer_Missing, GPGME_Chain_Too_Long,
GPGME_Unsupported_Algorithm, GPGME_Sig_Expired,
GPGME_Bad_Signature, GPGME_No_Public_Key.
gpgme/
2003-04-27 Marcus Brinkmann <marcus@g10code.de>
* delete.c: Include <errno.h> and "gpgme.h", but not "util.h" or
"key.h".
(enum delete_problem): Move into function delete_status_handler.
(delete_status_handler): Change first argument to void *. Parse
delete problem with strtol instead atoi. Return better error
values.
(_gpgme_op_delete_start): Rename to ...
(delete_start): ... this. Rework error handling.
(gpgme_op_delete_start): Use delete_start instead
_gpgme_op_delete_start.
(gpgme_op_delete): Likewise.
* gpgme.h (GpgmeDataType): Removed.
2003-04-27 17:35:42 +00:00
|
|
|
2003-04-27 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
2003-04-27 22:24:37 +00:00
|
|
|
* gpgme.texi (Encrypting a Plaintext): Add info about
|
|
|
|
GpgmeEncryptResult and gpgme_op_encrypt_result.
|
|
|
|
|
doc/
2003-04-27 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Creating a Signature): Add info about
GpgmeNewSignature, GpgmeSignResult and gpgme_op_sign_result.
(Crypto Operations): Add GpgmeInvalidUserID.
(Algorithms): New chapter.
gpgme/
2003-04-27 Marcus Brinkmann <marcus@g10code.de>
* gpgme.h (GpgmePubKeyAlgo, GpgmeHashAlgo, GpgmeInvalidUserID,
GpgmeNewSignature, GpgmeSignResult): New data types.
(gpgme_op_sign_result, gpgme_pubkey_algo_name,
gpgme_hash_algo_name): New prototypes.
* gpgme.c (gpgme_pubkey_algo_name): New function.
(gpgme_hash_algo_name): Likewise.
* ops.h (_gpgme_parse_inv_userid, _gpgme_op_sign_init_result): New
prototype.
(_gpgme_op_sign_status_handler): Fix prototype.
* op-support.c: Include <errno.h> and <string.h>.
(_gpgme_parse_inv_userid): New function.
* sign.c: Include <errno.h> and "gpgme.h", but not <stdio.h>,
<assert.h> and "util.h".
(SKIP_TOKEN_OR_RETURN): Remove macro.
(struct sign_result): Change to op_data_t type and rework it.
(release_sign_result): Rename to ...
(release_op_data): ... this and rewrite it.
(append_xml_info): Remove function.
(gpgme_op_sign_result): New function.
(parse_sig_created): New function.
(_gpgme_sign_status_handler): Change first argument to void *.
Rewrite the function to use the new result structure and functions.
(_gpgme_op_sign_init_result): New function.
(_gpgme_op_sign_start): Rename to ...
(sign_start): ... this. Call _gpgme_op_sign_init_result.
(gpgme_op_sign_start): Use sign_start instead _gpgme_op_sign_start.
(gpgme_op_sign): Likewise.
2003-04-27 20:53:04 +00:00
|
|
|
* gpgme.texi (Creating a Signature): Add info about
|
|
|
|
GpgmeNewSignature, GpgmeSignResult and gpgme_op_sign_result.
|
|
|
|
(Crypto Operations): Add GpgmeInvalidUserID.
|
|
|
|
(Algorithms): New chapter.
|
|
|
|
|
doc/
2003-04-27 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Deleting Keys): Document
GPGME_Ambiguous_Specification.
(Error Values): Remove GPGME_Invalid_Type and GPGME_Invalid_Mode.
Add GPGME_Unknown_Reason, GPGME_Not_Found,
GPGME_Ambiguous_Specification, GPGME_Wrong_Key_Usage,
GPGME_Key_Revoked, GPGME_Key_Expired, GPGME_No_CRL_Known,
GPGME_CRL_Too_Old, GPGME_Policy_Mismatch, GPGME_No_Secret_Key,
GPGME_Key_Not_Trusted, GPGME_Issuer_Missing, GPGME_Chain_Too_Long,
GPGME_Unsupported_Algorithm, GPGME_Sig_Expired,
GPGME_Bad_Signature, GPGME_No_Public_Key.
gpgme/
2003-04-27 Marcus Brinkmann <marcus@g10code.de>
* delete.c: Include <errno.h> and "gpgme.h", but not "util.h" or
"key.h".
(enum delete_problem): Move into function delete_status_handler.
(delete_status_handler): Change first argument to void *. Parse
delete problem with strtol instead atoi. Return better error
values.
(_gpgme_op_delete_start): Rename to ...
(delete_start): ... this. Rework error handling.
(gpgme_op_delete_start): Use delete_start instead
_gpgme_op_delete_start.
(gpgme_op_delete): Likewise.
* gpgme.h (GpgmeDataType): Removed.
2003-04-27 17:35:42 +00:00
|
|
|
* gpgme.texi (Deleting Keys): Document
|
|
|
|
GPGME_Ambiguous_Specification.
|
|
|
|
(Error Values): Remove GPGME_Invalid_Type and GPGME_Invalid_Mode.
|
|
|
|
Add GPGME_Unknown_Reason, GPGME_Not_Found,
|
|
|
|
GPGME_Ambiguous_Specification, GPGME_Wrong_Key_Usage,
|
|
|
|
GPGME_Key_Revoked, GPGME_Key_Expired, GPGME_No_CRL_Known,
|
|
|
|
GPGME_CRL_Too_Old, GPGME_Policy_Mismatch, GPGME_No_Secret_Key,
|
|
|
|
GPGME_Key_Not_Trusted, GPGME_Issuer_Missing, GPGME_Chain_Too_Long,
|
|
|
|
GPGME_Unsupported_Algorithm, GPGME_Sig_Expired,
|
|
|
|
GPGME_Bad_Signature, GPGME_No_Public_Key.
|
|
|
|
|
2003-04-25 12:48:48 +00:00
|
|
|
2003-04-25 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
2003-04-25 17:08:00 +00:00
|
|
|
* gpgme.texi (Importing Keys): Change GPGME_IMPORT_PRIVATE to
|
|
|
|
GPGME_IMPORT_SECRET.
|
|
|
|
|
2003-04-25 16:11:25 +00:00
|
|
|
* gpgme.texi (Importing Keys): Remove note about gpgme_get_op_info.
|
|
|
|
(Detailed Results): Remove note about import.
|
|
|
|
|
doc/
2003-04-25 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Importing Keys): Add documentation for
GpgmeImportStatus, GpgmeImportResult and gpgme_op_import_result.
gpgme/
2003-04-25 Marcus Brinkmann <marcus@g10code.de>
* gpgme.h: New enum for GPGME_IMPORT_NEW, GPGME_IMPORT_UID,
GPGME_IMPORT_SIG, GPGME_IMPORT_SUBKEY, GPGME_IMPORT_PRIVATE.
(GpgmeError): GPGME_Unknown_Reason, GPGME_Not_Found,
GPGME_Ambiguous_Specification, GPGME_Wrong_Key_Usage,
GPGME_Key_Revoked, GPGME_Key_Expired, GPGME_No_CRL_Known,
GPGME_CRL_Too_Old, GPGME_Policy_Mismatch, GPGME_No_Secret_Key,
GPGME_Key_Not_Trusted, GPGME_Issuer_Missing, GPGME_Chain_Too_Long,
GPGME_Unsupported_Algorithm, GPGME_Sig_Expired,
GPGME_Bad_Signature, GPGME_No_Public_Key): New error codes.
(struct _gpgme_import_status): New structure.
(GpgmeImportStatus): New type.
(struct _gpgme_op_import_result): New structure.
(GpgmeImportResult): New type.
(gpgme_op_import_result): New function.
* import.c: Include <errno.h> and "gpgme.h", but not "util.h".
(struct import_result): Change to type op_data_t.
(release_import_result): Rename to ...
(release_op_data): ... this.
(append_xml_impinfo): Function removed.
(gpgme_op_import_result): New function.
(parse_import): New function.
(parse_import_res): Likewise.
(import_status_handler): Change first argument to void *. Rewrite
to use new functions.
(_gpgme_op_import_start): Rework error handling.
2003-04-25 15:56:24 +00:00
|
|
|
* gpgme.texi (Importing Keys): Add documentation for
|
|
|
|
GpgmeImportStatus, GpgmeImportResult and gpgme_op_import_result.
|
|
|
|
|
|
|
|
* gpgme.texi (Generating Keys): Fix documentation of public and
|
2003-04-25 12:48:48 +00:00
|
|
|
secret arguments.
|
|
|
|
|
2003-04-24 14:33:13 +00:00
|
|
|
2003-04-24 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
2003-04-24 17:16:28 +00:00
|
|
|
* gpgme.texi (Generating Keys): Document changed gpgme_op_genkey
|
|
|
|
and new gpgme_op_genkey_result function. Document
|
|
|
|
GpgmeGenKeyResult data type.
|
|
|
|
|
2003-04-24 14:33:13 +00:00
|
|
|
* gpgme.texi (Error Values): Rename GPGME_No_Passphrase to
|
|
|
|
GPGME_Bad_Passphrase.
|
|
|
|
* gpgme.texi (Decrypt): Likewise.
|
|
|
|
(Decrypt and Verify): Likewise.
|
|
|
|
(Creating a Signature): Likewise.
|
|
|
|
(Encrypting a Plaintext): Likewise.
|
|
|
|
|
|
|
|
* gpgme.texi (Error Values): Rename GPGME_No_Recipients to
|
|
|
|
GPGME_No_UserID and GPGME_Invalid_Recipient to
|
|
|
|
GPGME_Invalid_UserID.
|
|
|
|
(Encrypting a Plaintext): Likewise.
|
|
|
|
|
|
|
|
* gpgme.texi (Error Values): Remove GPGME_Busy and GPGME_No_Request.
|
|
|
|
(Listing Keys): Likewise.
|
|
|
|
(Listing Trust Items): Likewise.
|
|
|
|
|
2003-02-06 20:09:24 +00:00
|
|
|
2003-02-06 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Cancelling an Operation): Removed.
|
|
|
|
(Passphrase Callback): Document new type for GpgmePassphraseCb.
|
|
|
|
|
2003-01-30 11:54:23 +00:00
|
|
|
2003-01-30 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
2003-01-30 13:11:25 +00:00
|
|
|
* gpgme.texi (Engine Information): Rename member part to
|
|
|
|
file_name.
|
|
|
|
|
2003-01-30 12:01:21 +00:00
|
|
|
* gpgme.texi (Protocols and Engines): Document
|
|
|
|
gpgme_get_protocol_name.
|
|
|
|
|
2003-01-30 11:54:23 +00:00
|
|
|
* gpgme.texi (Engine Information): Rewritten.
|
|
|
|
|
doc/
2003-01-29 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (I/O Callback Interface): Document new even
GPGME_EVENT_START.
(Waiting For Completion): Document new possible return values.
(I/O Callback Interface): Document return type of GpgmeIOCb.
gpgme/
2003-01-29 Marcus Brinkmann <marcus@g10code.de>
* context.h (gpgme_context_s): Remove member ERROR.
* types.h (GpgmeStatusHandler): Change return type to GpgmeError.
(GpgmeCommandHandler): Change return type to GpgmeError and add
new argument RESULT.
* gpgme.h (GpgmeIOCb): Change return type to GpgmeError.
(GpgmeEventIO): New event GPGME_EVENT_START.
(GpgmeIdleFunc): Remove type.
(gpgme_register_idle): Remove prototype.
* data.c: Include <assert.h>.
(_gpgme_data_inbound_handler): Change return type to GpgmeError.
Return any error instead ignoring it, don't close file descriptor
on error.
(_gpgme_data_outbound_handler): Likewise.
* decrypt.c: Do not include <stdio.h>, <string.h> and <assert.h>.
(_gpgme_decrypt_status_handler): Change return type to GpgmeError.
Return error instead setting ctx->error. Return success at end of
function.
(gpgme_op_decrypt): Don't work around the old kludge anymore.
* decrypt-verify.c (decrypt_verify_status_handler): Change return
type to GpgmeError. Return possible errors.
* delete.c: Do not include <stdio.h>, <string.h>, <time.h> and
<assert.h>.
(delete_status_handler): Change return type to GpgmeError. Return
error instead setting ctx->error. Return success at end of
function.
* edit.c: Do not include <stdio.h> and <string.h>.
(_gpgme_edit_status_handler): Change type to GpgmeError,
make static and rename to ...
(edit_status_handler): ... this. Return error directly.
(command_handler): Change return type to GpgmeError, add result
argument. Return error directly.
* encrypt.c (status_handler_finish): Remove function.
(_gpgme_encrypt_status_handler): Change return type to GpgmeError.
Return error directly.
(_gpgme_encrypt_sym_status_handler): Likewise.
* encrypt-sign.c (encrypt_sign_status_handler): Likewise.
* engine-gpgsm.c (close_notify_handler): Do not signal done event
anymore.
(status_handler): Change return type to GpgmeError. Diddle things
around a bit to return errors directly.
(start): Send start event.
* export.c: Do not include <stdio.h>, <string.h> and <assert.h>.
(export_status_handler): Change return type to GpgmeError. Don't
check ctx->error.
* genkey.c: Do not include <stdio.h> and <assert.h>.
(genkey_status_handler): Change return type to GpgmeError. Don't
check ctx->error. Return errors directly.
* gpgme.c (_gpgme_release_result): Do not initialize ctx->error.
(_gpgme_op_event_cb): Function removed.
(_gpgme_op_event_cb_user): Likewise.
* import.c: Do not include <stdio.h>, <string.h> and <assert.h>.
(import_status_handler): Change return type to GpgmeError. Don't
check ctx->error.
* keylist.c (keylist_colon_handler, keylist_status_handler, finish_key):
Change return type to GpgmeError, return error directly.
* Makefile (libgpgme_la_SOURCES): Add wait-global.c,
wait-private.c and wait-user.c
* ops.h (test_and_allocate_result): Return error instead setting
ctx->error.
(_gpgme_data_inbound_handler, _gpgme_data_outbound_handler,
_gpgme_verify_status_handler, _gpgme_decrypt_status_handler,
_gpgme_sign_status_handler, _gpgme_encrypt_staus_handler,
_gpgme_passphrase_status_handler, _gpgme_progress_status_handler):
Change return type to GpgmeError.
(_gpgme_passphease_command_handler): Change return type to
GpgmeError and add new argument RESULT.
* op-support.c: Use new callback functions, and change private
data to ctx everywhere.
* passphrase.c (_gpgme_passphrase_status_handler): Change return
type to GpgmeError, return error directly.
(_gpgme_passphrase_command_handler): Change return type to
GpgmeError, add result argument. Return results accordingly.
* progress.c (_gpgme_progress_status_handler): Change return type
to GpgmeError, return errors directly.
* rungpg.c (status_handler): Change return type to GpgmeError.
Return error directly.
(close_notify_handler): Don't send done event.
(colon_line_handler): Change return type to GpgmeError, return
errors directly.
* rungpg.c (start): Send start event.
* sign.c (_gpgme_sign_status_handler): Change return type to
GpgmeError, return errors directly.
* trustlist.c (trustlist_status_handler): Change return type to
GpgmeError. Return 0.
(trustlist_colon_handler): Change return type GpgmeError. Return
errors directly.
* verify.c (add_notation): Change return type to GpgmeError,
return errors directly.
(_gpgme_verify_status_handler): Likewise.
* wait.h (struct fd_table): Remove lock member.
(struct wait_item_s): Moved here from wait.c.
(struct tag): New structure.
(_gpgme_wait_event_cb): Remove prototype.
(_gpgme_wait_private_event_cb, _gpgme_wait_global_event_cb,
_gpgme_wait_user_add_io_cb, _gpgme_wait_user_remove_io_cb,
_gpgme_wait_user_event_io_cb): New prototypes.
* wait.c: Don't include <stdio.h>.
(ftd_global, ctx_done_list, ctx_done_list_size,
ctx_done_list_length, ctx_done_list_lock, idle_function): Remove
global variable.
(gpgme_register_idle, do_select, _gpgme_wait_event_cb): Remove
function.
(gpgme_wait): Move to file wait-global.c.
(_gpgme_add_io_cb): Take ctx as private argument, initialize ctx
member in wait item and tag.
(_gpgme_remove_io_cb): Take ctx from tag. Don't use FDT lock.
(_gpgme_wait_one, _gpgme_wait_on_condition): Move to
wait-private.c.
(gpgme_fd_table_init): Don't initialize FDT->lock.
(gpgme_fd_table_deinit): Don't destroy FDT->lock.
(_gpgme_fd_table_put): Make static and rename to ...
(fd_table_put): ... this function. Don't use FDT->lock.
(struct wait_item_s): Move to wait.h.
* wait-global.c: New file.
* wait-private.c: New file.
* wait-user.c: New file.
2003-01-29 15:20:58 +00:00
|
|
|
2003-01-29 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (I/O Callback Interface): Document new even
|
|
|
|
GPGME_EVENT_START.
|
|
|
|
(Waiting For Completion): Document new possible return values.
|
|
|
|
(I/O Callback Interface): Document return type of GpgmeIOCb.
|
|
|
|
|
|
|
|
2003-01-29 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Hooking Up Into Idle Time): Section removed.
|
|
|
|
|
2002-12-24 13:08:56 +00:00
|
|
|
2002-12-24 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Verify): Drop R_STAT argument in gpgme_op_verify.
|
|
|
|
* gpgme.texi (Decrypt and Verify): Likewise for
|
|
|
|
gpgme_op_decrypt_verify.
|
|
|
|
|
2002-12-23 22:34:25 +00:00
|
|
|
2002-12-23 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Information About Keys): Document that
|
|
|
|
GPGME_ATTR_IS_SECRET is not representable as a string anymore.
|
|
|
|
|
2002-12-23 17:12:48 +00:00
|
|
|
2002-12-22 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Key Signatures): New section.
|
|
|
|
(Listing Keys): Add gpgme_get_key.
|
|
|
|
|
2002-12-06 22:06:25 +00:00
|
|
|
2002-12-06 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Memory Based Data Buffers): New subsection.
|
|
|
|
(File Based Data Buffers): Likewise.
|
|
|
|
(Callback Based Data Buffers): Likewise.
|
|
|
|
(Manipulating Data Buffers): Update interfaces. Add
|
|
|
|
gpgme_data_seek.
|
2002-12-23 17:12:48 +00:00
|
|
|
* gpgme.texi (Engine Version Check): Remove gpgme_check_engine.
|
2002-12-06 22:06:25 +00:00
|
|
|
|
2002-11-21 13:45:00 +00:00
|
|
|
2002-11-21 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Verify): Document the new interface.
|
|
|
|
|
2002-11-19 16:41:17 +00:00
|
|
|
2002-11-19 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Generating Keys): Document new argument to
|
|
|
|
gpgme_op_genkey.
|
|
|
|
|
2002-11-05 15:25:07 +00:00
|
|
|
2002-11-05 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Verify): Fix prototype of gpgme_get_sig_key.
|
|
|
|
Reported by Miguel Coca <e970095@zipi.fi.upm.es>.
|
|
|
|
|
2002-08-30 11:37:59 +00:00
|
|
|
2002-08-30 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Selecting Signers): Fix reference count.
|
|
|
|
|
2002-08-20 23:25:49 +00:00
|
|
|
2002-08-21 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Header): Document name space.
|
|
|
|
|
2002-08-20 13:38:40 +00:00
|
|
|
2002-08-20 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Importing Keys): Document gpgme_op_import_ext.
|
|
|
|
|
2002-08-20 15:44:48 +00:00
|
|
|
* gpgme.texi (Importing Keys): Undocument EOF.
|
|
|
|
|
2002-08-14 13:57:59 +00:00
|
|
|
2002-08-14 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* gpgme.texi (Information About Keys): Changed GPGME_ATTR_TYPE.
|
|
|
|
|
2002-07-25 18:50:23 +00:00
|
|
|
2002-07-25 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Deleting Keys): Say that secret keys might not be
|
|
|
|
deleted.
|
|
|
|
|
2002-07-25 15:50:46 +00:00
|
|
|
2002-07-25 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Information About Keys): Document (badly) the new
|
|
|
|
key attributes.
|
|
|
|
|
2002-07-25 15:52:23 +00:00
|
|
|
* gpgme.texi (Manipulating Data Buffers): Mention that backend
|
|
|
|
tries to detect encoding automatically.
|
|
|
|
|
2002-07-03 02:22:38 +00:00
|
|
|
2002-07-03 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Run Control): Update this section.
|
|
|
|
(Waiting For Completion): Likewise for this subsection.
|
|
|
|
(Cancelling an Operation): Likewise for this subsection.
|
|
|
|
(Using External Event Loops): New subsection with several
|
|
|
|
subsubsections.
|
|
|
|
|
2002-06-28 01:14:41 +00:00
|
|
|
2002-06-28 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Multi Threading): Remove item about the need to
|
|
|
|
synchronize anything against gpgme_wait (except gpgme_wait
|
|
|
|
itself).
|
|
|
|
|
2002-06-27 16:34:10 +00:00
|
|
|
2002-06-27 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Information About Keys): Fix documentation for IDX.
|
|
|
|
(Information About Trust Items): Likewise.
|
|
|
|
|
2002-06-26 12:49:59 +00:00
|
|
|
2002-06-26 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* gpgme.texi (Importing Keys): Document the return value -1 of
|
|
|
|
gpgme_op_import.
|
|
|
|
|
2002-06-20 12:13:44 +00:00
|
|
|
2002-06-20 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* gpgme.texi (Verify): Explain the new whatidx variable.
|
|
|
|
|
2002-06-11 15:33:08 +00:00
|
|
|
2002-06-10 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* gpgme.texi (Verify): Document attribute GPGME_ATTR_ERRTOK.
|
|
|
|
|
2002-06-04 12:12:08 +00:00
|
|
|
2002-06-04 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Multi Threading): Document new autodetection.
|
|
|
|
|
2002-06-04 10:56:33 +00:00
|
|
|
2002-06-04 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* Makefile.am (DISTCLEANFILES): New variable.
|
|
|
|
|
2002-05-26 20:12:51 +00:00
|
|
|
2002-05-26 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi: Some typographical correctons throughout.
|
|
|
|
|
2002-05-09 06:49:40 +00:00
|
|
|
2002-05-09 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Using Automake): New section.
|
|
|
|
|
2002-05-09 03:39:18 +00:00
|
|
|
2002-05-09 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Multi Threading): Escape { and }.
|
|
|
|
|
2002-05-09 03:38:12 +00:00
|
|
|
2002-05-09 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Overview): Replace note about thread-safeness.
|
|
|
|
(Multi Threading): New section.
|
|
|
|
|
2002-05-03 18:20:24 +00:00
|
|
|
2002-05-03 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* gpgme.texi (Manipulating Data Buffers): Changed some data types
|
|
|
|
to void*.
|
|
|
|
(Protocol Selection): Added gpgme_get_protocol.
|
|
|
|
(Verify): Updated to include the new attribute fucntions and
|
|
|
|
status codes.
|
|
|
|
|
2002-04-27 12:17:56 +00:00
|
|
|
2002-04-27 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* gpgme.texi (Manipulating Data Buffers): New type GpgmeDataEncoding.
|
|
|
|
|
2002-04-22 22:06:09 +00:00
|
|
|
2002-04-23 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Passphrase Callback): Document that either return
|
|
|
|
argument can be NULL.
|
|
|
|
(Progress Meter Callback): Likewise.
|
|
|
|
|
2002-04-22 21:58:26 +00:00
|
|
|
2002-04-22 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Passphrase Callback): Fix small typo. Document the
|
|
|
|
new function gpgme_get_passphrase_cb.
|
|
|
|
(Progress Meter Callback): Document the new function
|
|
|
|
gpgme_get_progress_cb.
|
|
|
|
|
2002-04-16 12:24:02 +00:00
|
|
|
2002-04-16 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Creating a Signature): Fix function name. Reported
|
|
|
|
by Wichert Ackerman <wichert@debian.org>.
|
|
|
|
|
|
|
|
2002-03-29 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (direntry): End index entry with a full stop.
|
|
|
|
Patch submitted by Jose Carlos Garcia Sogo <jsogo@debian.org>.
|
|
|
|
|
2002-03-18 00:01:51 +00:00
|
|
|
2002-03-17 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Detailed Results): Fix syntax error in last change.
|
|
|
|
|
2002-03-10 18:35:33 +00:00
|
|
|
2002-03-08 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* gpgme.texi (Detailed Results): Import does also return info.
|
|
|
|
|
2002-03-06 01:40:25 +00:00
|
|
|
2002-03-06 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Encrypting a Plaintext): Document symmetric
|
|
|
|
encryption.
|
|
|
|
|
2002-03-06 00:33:50 +00:00
|
|
|
2002-03-06 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Error Strings): Add example.
|
|
|
|
* gpgme.texi (Listing Keys): Likewise.
|
|
|
|
|
2002-03-03 17:37:34 +00:00
|
|
|
2002-03-03 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Information About Keys): Document GPGME_ATTR_EXPIRE.
|
|
|
|
|
2002-03-03 16:46:33 +00:00
|
|
|
2002-03-03 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Verify): Document verification of normal and
|
|
|
|
cleartext signatures.
|
|
|
|
|
2002-02-27 00:59:31 +00:00
|
|
|
2002-02-27 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Listing Keys): Document gpgme_op_keylist_ext_start.
|
|
|
|
|
2002-02-26 23:39:58 +00:00
|
|
|
2002-02-27 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Encrypting a Plaintext): Document
|
|
|
|
GPGME_Invalid_Recipients.
|
|
|
|
(Error Values): Likewise.
|
|
|
|
|
2002-02-26 00:08:09 +00:00
|
|
|
2002-02-26 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Encrypting a Plaintext): Document
|
|
|
|
gpgme_op_encrypt_sign and gpgme_op_encrypt_sign_start.
|
|
|
|
|
2002-02-25 18:31:07 +00:00
|
|
|
2002-02-25 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Creating a Signature): Add a note about
|
2002-02-25 18:34:17 +00:00
|
|
|
certificates to include.
|
|
|
|
(Included Certificates): New section.
|
2002-02-25 18:31:07 +00:00
|
|
|
|
2002-02-09 00:20:48 +00:00
|
|
|
2002-02-09 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Detailed Results): Remove literal tags.
|
|
|
|
(Generating Keys): Update documentation.
|
|
|
|
|
2002-02-09 00:35:04 +00:00
|
|
|
* gpgme.texi (Generating Keys): Fix syntax error.
|
|
|
|
|
2002-02-06 01:20:49 +00:00
|
|
|
2002-02-06 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Waiting For Completion): Adjust doc to changes in
|
|
|
|
the code.
|
|
|
|
|
2002-02-06 00:08:47 +00:00
|
|
|
2002-02-06 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Key Listing Mode): Update documentation.
|
|
|
|
|
2002-01-31 00:31:44 +00:00
|
|
|
2002-01-31 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Generating Keys): Document error at creation
|
|
|
|
failure.
|
|
|
|
|
2002-01-30 22:48:09 +00:00
|
|
|
2002-01-30 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Deleting Keys): Document new error values.
|
|
|
|
|
2002-01-30 21:52:32 +00:00
|
|
|
2002-01-30 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Importing Keys): Add reference to gpgme_get_op_info.
|
|
|
|
|
2002-01-30 01:43:05 +00:00
|
|
|
2002-01-30 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi: Some spell checking.
|
|
|
|
|
2002-01-30 01:17:30 +00:00
|
|
|
2002-01-30 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi: Add all the gpgme_op_*_start functions.
|
|
|
|
Fill the concept index with many, many entries.
|
|
|
|
|
2002-01-29 22:58:25 +00:00
|
|
|
2002-01-29 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Run Control): New section.
|
|
|
|
(Verify): Docuent gpgme_get_notation.
|
|
|
|
(More Information): New section describing gpgme_get_op_info.
|
|
|
|
|
2002-01-22 15:32:44 +00:00
|
|
|
2002-01-22 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Passphrase callback): Change GpgmePassphraseCb's
|
|
|
|
R_HD type from void* to void**.
|
|
|
|
|
2002-01-22 15:21:42 +00:00
|
|
|
2002-01-22 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Creating data buffers): Change
|
|
|
|
gpgme_data_new_from_filepart's LENGTH type from off_t to size_t.
|
|
|
|
|
2002-01-22 14:23:56 +00:00
|
|
|
2002-01-22 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme.texi (Generating keys): New subsection.
|
|
|
|
(Exporting keys): Likewise.
|
|
|
|
(Importing keys): Likewise.
|
|
|
|
(Deleting keys): Likewise.
|
|
|
|
|
2002-01-16 00:52:37 +00:00
|
|
|
2002-01-16 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
2002-01-16 02:17:02 +00:00
|
|
|
* gpgme.texi: g10Code -> g10 Code
|
|
|
|
|
2002-01-16 00:54:39 +00:00
|
|
|
* gpgme.texi (Top): Complete detailmenu.
|
|
|
|
|
2002-01-16 00:52:37 +00:00
|
|
|
* gpgme.texi: Convert embarassing cruft to the real thing.
|
|
|
|
|
2002-01-16 00:41:10 +00:00
|
|
|
2002-01-16 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* ChangeLog: New file.
|
|
|
|
* gpgme.texi: Likewise.
|
|
|
|
* gpl.texi: Likewise.
|
|
|
|
* fdl.texi: Likewise.
|
|
|
|
* Makefile.am (info_TEXINFOS): New variable.
|
|
|
|
(gpgme_TEXINFOS): Likewise.
|
2002-06-11 15:33:08 +00:00
|
|
|
|
|
|
|
Copyright 2002 g10 Code GmbH
|
|
|
|
|
|
|
|
This file is free software; as a special exception the author gives
|
|
|
|
unlimited permission to copy and/or distribute it, with or without
|
|
|
|
modifications, as long as this notice is preserved.
|
|
|
|
|
|
|
|
This file is distributed in the hope that it will be useful, but
|
|
|
|
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
|
|
|
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|