aboutsummaryrefslogtreecommitdiffstats
path: root/doc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* doc/Marcus Brinkmann2003-04-242-40/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-24 Marcus Brinkmann <[email protected]> * 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. gpgme/ 2003-04-24 Marcus Brinkmann <[email protected]> * gpgme.h (GpgmeError): Rename GPGME_No_Passphrase to GPGME_Bad_Passphrase. * passphrase.c (_gpgme_passphrase_status_handler): Use GPGME_Bad_Passphrase instead GPGME_No_Passphrase. * gpgme.h (GpgmeError): Rename GPGME_No_Recipients to GPGME_No_UserID and GPGME_Invalid_Recipient to GPGME_Invalid_UserID. * encrypt.c (_gpgme_encrypt_status_handler): Use GPGME_No_UserID instead GPGME_No_Recipients and GPGME_Invalid_UserID instead GPGME_Invalid_Recipient. (_gpgme_op_encrypt_start): Likewise. * gpgme.h (GpgmeError): Remove GPGME_Busy and GPGME_No_Request. * wait-user.c (_gpgme_wait_user_event_cb): Don't clear CTX->pending. * wait-private.c (_gpgme_wait_private_event_cb): Likewise. * wait-global.c (gpgme_wait): Likewise. * verify.c (_gpgme_op_verify_start): Likewise. (gpgme_get_sig_status): Don't check pending flag. (gpgme_get_sig_string_attr): Likewise. (gpgme_get_sig_ulong_attr): Likewise. (gpgme_get_sig_key): Likewise. * op-support.c (_gpgme_op_reset): Likewise. * trustlist.c (gpgme_op_trustlist_start): Don't clear pending flag. (gpgme_op_trustlist_next): Don't check or clear pending flag. (gpgme_op_trustlist_end): Likewise. * sign.c (_gpgme_op_sign_start): Likewise. * context.h (struct gpgme_context_s): Remove member PENDING. * decrypt.c (_gpgme_decrypt_start): Likewise. * delete.c (_gpgme_op_delete_start): Likewise. * edit.c (_gpgme_op_edit_start): Likewise. * encrypt.c (_gpgme_op_encrypt_start): Likewise. * encrypt-sign.c (_gpgme_op_encrypt_sign_start): Likewise. * export.c (_gpgme_op_export_start): Likewise. * genkey.c (_gpgme_op_genkey_start): Likewise. * import.c (_gpgme_op_import_start): Likewise. * key.c (gpgme_get_key): Likewise. * keylist.c (gpgme_op_keylist_start): Likewise. (gpgme_op_keylist_ext_start): Likewise. (gpgme_op_keylist_next): Likewise. (gpgme_op_keylist_end): Likewise. * data-compat.c (gpgme_error_to_errno): Don't convert EBUSY.
* Fix last change.Marcus Brinkmann2003-02-071-2/+0
|
* doc/Marcus Brinkmann2003-02-062-18/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* doc/Marcus Brinkmann2003-01-302-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-30 Marcus Brinkmann <[email protected]> * gpgme.texi (Engine Information): Rename member part to file_name. gpgme/ 2003-01-30 Marcus Brinkmann <[email protected]> * engine-backend.h (struct engine_ops): Rename get_path to get_file_name. * gpgme.h (struct _gpgme_engine_info): Rename member path to file_name. * version.c: Do not include <stdio.h>, <stdlib.h>, context.h and util.h. Other clean ups. (parse_version_number): Protect more seriously against overflow. (gpgme_get_engine_info): Move to ... * engine.c (gpgme_get_engine_info): ... here. (_gpgme_engine_get_info): Function removed. (_gpgme_engine_get_path): Make static and rename to ... (engine_get_file_name): .. this. (_gpgme_engine_get_version): Make static and rename to ... (engine_get_version): ... this. (_gpgme_engine_get_req_version): Make static and rename to ... (engine_get_req_version): ... this. * engine.h (_gpgme_engine_get_path, _gpgme_engine_get_version, _gpgme_engine_req_version, _gpgme_engine_get_info.): Remove prototypes. tests/ 2003-01-30 Marcus Brinkmann <[email protected]> * t-engine-info.c: Use file_name instead path throughout.
* 2003-01-30 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-01-302-0/+10
| | | | | | * gpgme.texi (Protocols and Engines): Document gpgme_get_protocol_name.
* doc/Marcus Brinkmann2003-01-302-29/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-30 Marcus Brinkmann <[email protected]> * gpgme.texi (Engine Information): Rewritten. gpgme/ 2003-01-30 Marcus Brinkmann <[email protected]> * gpgme.h (enum GpgmeProtocol): Remove GPGME_PROTOCOL_AUTO. * gpgme.c (gpgme_set_protocol): Don't handle GPGME_PROTOCOL_AUTO. (gpgme_get_protocol_name): New function. * engine-backend.h (struct engine_ops): New member get_req_version, remove member check_version. * engine.h (_gpgme_Engine_get_version): New prototype. * rungpg.c (gpg_get_req_version): New function. (gpg_check_version): Function removed. (_gpgme_engine_ops_gpg): Add gpg_get_req_version, remove gpg_check_version. * engine-gpgsm.c (gpgsm_get_req_version): New function. (gpgsm_check_version): Function removed. (_gpgme_engine_ops_gpgsm): Add gpgsm_get_req_version, remove gpgsm_check_version. * engine.c: Include ops.h. (_gpgme_engine_get_req_version): New function. (gpgme_engine_check_version): Rewritten. * version.c (gpgme_get_engine_info): Rewritten. * gpgme.h (gpgme_engine_info): New structure. (GpgmeEngineInfo): New type. tests/ 2003-01-30 Marcus Brinkmann <[email protected]> * Makefile.am (TESTS): Add t-engine-info. * t-engine-info.c: New file. * gpg/t-encrypt.c (main): Don't print engine info. * gpg/t-eventloop.c (main): Likewise. * gpg/t-encrypt-sign.c (main): Likewise. * gpgsm/t-encrypt.c (main): Likewise.
* doc/Marcus Brinkmann2003-01-292-34/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-29 Marcus Brinkmann <[email protected]> * 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 <[email protected]> * 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.
* doc/Marcus Brinkmann2002-12-242-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-24 Marcus Brinkmann <[email protected]> * gpgme.texi (Verify): Drop R_STAT argument in gpgme_op_verify. * gpgme.texi (Decrypt and Verify): Likewise for gpgme_op_decrypt_verify. gpgme/ 2002-12-24 Marcus Brinkmann <[email protected]> * gpgme.h (gpgme_op_verify, gpgme_op_decrypt_verify): Drop R_STAT argument. * decrypt-verify.c (gpgme_op_decrypt_verify): Drop R_STAT argument. * verify.c (gpgme_op_verify): Drop R_STAT argument. (_gpgme_intersect_stati): Function removed. * ops.h (_gpgme_intersect_stati): Remove prototype. tests/ 2002-12-24 Marcus Brinkmann <[email protected]> * gpgsm/t-verify.c (main): Adjust caller of gpgme_op_verify. * gpg/t-verify.c (main): Likewise. * gpg/t-decrypt-verify.c (main): Likewise for gpgme_op_decrypt_verify.
* doc/Marcus Brinkmann2002-12-232-2/+6
| | | | | | | | 2002-12-23 Marcus Brinkmann <[email protected]> * gpgme.texi (Information About Keys): Document that GPGME_ATTR_IS_SECRET is not representable as a string anymore.
* 2002-12-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-12-232-1/+131
| | | | | | * gpgme.texi (Key Signatures): New section. (Listing Keys): Add gpgme_get_key.
* Fix bugs in last change.Marcus Brinkmann2002-12-061-2/+2
|
* doc/Marcus Brinkmann2002-12-062-69/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-06 Marcus Brinkmann <[email protected]> * 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. * gpgme.texi (Engine Version Check): Remove gpgme_chec_engine. gpgme/ 2002-12-06 Marcus Brinkmann <[email protected]> * data.h (gpgme_data_release_cb): Change return type to void. (gpgme_data_read_cb): Change return type to ssize_t. * data.c (gpgme_data_read): Likewise. * data-stream.c (stream_read): Likewise. * data-fd.c (fd_read): Likewise. * data-mem.c (mem_read): Likewise. (mem_release): Change return type to void. * data-user.c (user_read): Change return type to ssize_t. (user_release): Change return type to void. * data-compat.c (old_user_read): Change return type to ssize_t. * gpgme.h (GpgmeDataReadCb): Likewise. (gpgme_data_read): Likewise. (GpgmeDataSeekCb): Change return type to off_t.
* 2002-11-21 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-11-212-9/+14
| | | | | * gpgme.texi (Verify): Document the new interface.
* doc/Marcus Brinkmann2002-11-192-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-19 Marcus Brinkmann <[email protected]> * gpgme.texi (Generating Keys): Document new argument to gpgme_op_genkey. gpgme/ 2002-11-19 Marcus Brinkmann <[email protected]> * genkey.c: Only include <config.h> if [HAVE_CONFIG_H]. (struct genkey_result_s): Add new member FPR. (_gpgme_release_genkey_result): Free RESULT->fpr if set. (genkey_status_handler): Extract the fingerprint from the status line. (gpgme_op_genkey): Add new argument FPR and return the fingerprint in it. * gpgme.h: Adjust prototype of gpgme_op_genkey. tests/ 2002-11-19 Marcus Brinkmann <[email protected]> * gpg/t-genkey.c (main): Add missing argument to gpgme_op_genkey invocation. CVSk: ----------------------------------------------------------------------
* 2002-11-05 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-11-052-1/+6
| | | | | | * gpgme.texi (Verify): Fix prototype of gpgme_get_sig_key. Reported by Miguel Coca <[email protected]>.
* 2002-08-30 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-08-302-1/+5
| | | | | * gpgme.texi (Selecting Signers): Fix reference count.
* 2002-08-21 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-08-202-1/+10
| | | | | * gpgme.texi (Header): Document name space.
* 2002-08-20 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-08-202-3/+4
| | | | | * gpgme.texi (Importing Keys): Undocument EOF.
* doc/Marcus Brinkmann2002-08-202-0/+11
| | | | | | | | | | | | | | | | | | 2002-08-20 Marcus Brinkmann <[email protected]> * gpgme.texi (Importing Keys): Document gpgme_op_import_ext. gpgme/ 2002-08-20 Marcus Brinkmann <[email protected]> * gpgme.h: Add prototype for gpgme_op_import_ext. * import.c (struct import_result_s): New member `nr_considered'. Rename `any_imported' to `nr_imported'. (import_status_handler): Increment nr_imported. Set nr_considered if appropriate. (gpgme_op_import_ext): New function. (gpgme_op_import): Implement in terms of gpgme_op_import_ext.
* * gpgme.texi (Information About Keys): Changed GPGME_ATTR_TYPE.Werner Koch2002-08-142-1/+7
|
* 2002-07-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-07-252-1/+6
| | | | | | * gpgme.texi (Deleting Keys): Say that secret keys might not be deleted.
* 2002-07-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-07-252-1/+5
| | | | | | * gpgme.texi (Manipulating Data Buffers): Mention that backend tries to detect encoding automatically.
* 2002-07-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-07-252-1/+18
| | | | | | * gpgme.texi (Information About Keys): Document (badly) the new key attributes.
* 2002-07-03 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-07-032-14/+579
| | | | | | | | | * 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 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-06-282-9/+7
| | | | | | | * gpgme.texi (Multi Threading): Remove item about the need to synchronize anything against gpgme_wait (except gpgme_wait itself).
* doc/Marcus Brinkmann2002-06-272-14/+17
| | | | | | | | | | | | | 2002-06-27 Marcus Brinkmann <[email protected]> * gpgme.texi (Information About Keys): Fix documentation for IDX. (Information About Trust Items): Likewise. gpgme/ 2002-06-27 Marcus Brinkmann <[email protected]> * gpgme.h: Fix documentation of key attribute retrieval functions.
* * gpgsm/t-import.c (print_op_info): New.Werner Koch2002-06-262-2/+8
| | | | | | | | | | | | | | | | (main): Print operation info. * engine-gpgsm.c (map_assuan_error): Map No_Data_Available to EOF. * import.c (append_xml_impinfo): Kludge to print fingerprint instead of keyid for use with gpgsm. (import_status_handler): Set a flag to know whether any import occured. (gpgme_op_import): Reurn -1 if no certificate ewas imported. * gpgme.texi (Importing Keys): Document the return value -1 of gpgme_op_import.
* * verify.c (calc_sig_summary): Set bad policy for wrong key usage.Werner Koch2002-06-202-10/+23
| | | | | | | | | | | | (skip_token): New. (_gpgme_verify_status_handler): Watch out for wrong key usage. (gpgme_get_sig_string_attr): Hack to return info on the key usage. Does now make use of the former RESERVED argument which has been renamed to WHATIDX. (gpgme_get_sig_ulong_attr): Renamed RESERVED to WHATIDX. * gpgme.texi (Verify): Explain the new whatidx variable.
* tests/Werner Koch2002-06-121-0/+48
| | | | | | | | | | | | | * gpgsm/t-keylist.c (doit): Print operation info if available. gpgme/ * keylist.c (struct keylist_result_s): New. (_gpgme_release_keylist_result): Release it here (keylist_status_handler): Handle truncated. (append_xml_keylistinfo): New. * gpgme.c (_gpgme_release_result): and use it here. * types.h: Declare the new type here. * context.h (struct gpgme_context_s): Use it here.
* * gpgme.h: Add GPGME_ATTR_SIG_SUMMARY and the GPGME_SIGSUM_Werner Koch2002-06-112-3/+18
| | | | | | | constants. * verify.c (calc_sig_summary): New. (gpgme_get_sig_ulong_attr): And use it here.
* 2002-06-04 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-06-042-9/+36
| | | | | * gpgme.texi (Multi Threading): Document new autodetection.
* 2002-06-04 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-06-042-0/+6
| | | | | * Makefile.am (DISTCLEANFILES): New variable.
* 2002-05-26 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-05-262-15/+19
| | | | | * gpgme.texi: Some typographical correctons throughout.
* 2002-05-09 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-05-092-0/+41
| | | | | * gpgme.texi (Using Automake): New section.
* 2002-05-09 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-05-092-4/+8
| | | | | * gpgme.texi (Multi Threading): Escape { and }.
* doc/Marcus Brinkmann2002-05-092-5/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-09 Marcus Brinkmann <[email protected]> * gpgme.texi (Overview): Replace note about thread-safeness. (Multi Threading): New section. gpgme/ 2002-05-08 Marcus Brinkmann <[email protected]> * w32-util.c: New static variable GET_PATH_LOCK. (_gpgme_get_gpg_path): Remove superfluous NULL initializer. Take lock while determining path. (_gpgme_get_gpgsm_path): Likewise. * version.c (do_subsystem_inits): Set DONE to 1 after initialization. (gpgme_get_engine_info): New variable ENGINE_INFO_LOCK. Take lock while determining engine info. * rungpg.c (_gpgme_gpg_get_version): New variable GPG_VERSION_LOCK. Take the lock while determining the program version. * posix-io.c: Include "sema.h". (_gpgme_io_spawn): New variable FIXED_SIGNALS_LOCK. Take the lock while fixing the signals. (_gpgme_io_select): Make READFDS and WRITEFDS non-static. * key.c: Include "sema.h". New globals KEY_CACHE_LOCK and KEY_REF_LOCK. (capabilities_to_string): Make STRINGS very const. (_gpgme_key_cache_add): Lock the key cache. (_gpgme_key_cache_get): Likewise. (gpgme_key_ref, gpgme_key_release): Lock the key_ref_lock. * import.c (append_xml_impinfo): Make IMPORTED_FIELDS and IMPORT_RES_FIELDS very const. Make FIELD and FIELD_NAME a litle const. * engine.c (_gpgme_engine_get_info): New variable ENGINE_INFO_LOCK. Take lock while determining engine info. * engine-gpgsm.c: Include "sema.h". (_gpgme_gpgsm_get_version): New variable GPGSM_VERSION_LOCK. Take lock while getting program version.
* * gpgme.texi (Manipulating Data Buffers): Changed some data typesWerner Koch2002-05-032-2/+65
| | | | | | | | to void*. (Protocol Selection): Added gpgme_get_protocol. (Verify): Updated to include the new attribute fucntions and status codes.
* * gpgme.texi (Manipulating Data Buffers): New type GpgmeDataEncoding.Werner Koch2002-04-272-0/+50
|
* doc/Marcus Brinkmann2002-04-222-0/+12
| | | | | | | | | | | | | | | | 2002-04-23 Marcus Brinkmann <[email protected]> * gpgme.texi (Passphrase Callback): Document that either return argument can be NULL. (Progress Meter Callback): Likewise. gpgme/ 2002-04-23 Marcus Brinkmann <[email protected]> * gpgme.c (gpgme_get_progress_cb): Allow either return parameter to be NULL. (gpgme_get_passphrase_cb): Likewise.
* doc/Marcus Brinkmann2002-04-222-1/+24
| | | | | | | | | | | | | | | | | | 2002-04-22 Marcus Brinkmann <[email protected]> * 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. gpgme/ 2002-04-22 Marcus Brinkmann <[email protected]> * gpgme.c (gpgme_get_passphrase_cb): New function. (gpgme_get_progress_cb): New function. * gpgme.h: Add new prototypes for gpgme_get_passphrase_cb and gpgme_get_progress_cb.
* 2002-04-16 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-04-162-2/+12
| | | | | | | | | | | * gpgme.texi (Creating a Signature): Fix function name. Reported by Wichert Ackerman <[email protected]>. 2002-03-29 Marcus Brinkmann <[email protected]> * gpgme.texi (direntry): End index entry with a full stop. Patch submitted by Jose Carlos Garcia Sogo <[email protected]>.
* 2002-03-17 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-03-182-1/+6
| | | | | * gpgme.texi (Detailed Results): Fix syntax error in last change.
* removed all the .cvsignre files - they should be localWerner Koch2002-03-101-1/+0
|
* Minor doc fixesWerner Koch2002-03-102-1/+5
|
* doc/Marcus Brinkmann2002-03-062-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-06 Marcus Brinkmann <[email protected]> * gpgme.texi (Encrypting a Plaintext): Document symmetric encryption. gpgme/ 2002-03-06 Marcus Brinkmann <[email protected]> * encrypt.c (_gpgme_encrypt_sym_status_handler): New function. (gpgme_op_encrypt_start): New variable SYMMETRIC, set it if RECP is null, and if it is set, use _gpgme_encrypt_sym_status_handler as status handler and run _gpgme_passphrase_start. * rungpg.c (_gpgme_gpg_op_encrypt): If RECP is zero, do symmetric encryption. * engine-gpgsm.c (_gpgme_gpgsm_op_encrypt): If RECP is zero, return error value. * rungpg.c (_gpgme_gpg_op_verify): Add "--" argument. tests/ 2002-03-06 Marcus Brinkmann <[email protected]> * gpg/t-encrypt-sym.c: New file. * gpg/Makefile.am (TESTS): Add t-encrypt-sym.
* 2002-03-06 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-03-062-3/+47
| | | | | | * gpgme.texi (Error Strings): Add example. * gpgme.texi (Listing Keys): Likewise.
* doc/Marcus Brinkmann2002-03-032-1/+6
| | | | | | | | | | | | | 2002-03-03 Marcus Brinkmann <[email protected]> * gpgme.texi (Information About Keys): Document GPGME_ATTR_EXPIRE. gpgme/ 2002-03-03 Marcus Brinkmann <[email protected]> * passphrase.c (_gpgme_passphrase_status_handler): Also set the error No_Passphrase if only a bad passphrase was provided.
* doc/Marcus Brinkmann2002-03-032-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-03 Marcus Brinkmann <[email protected]> * gpgme.texi (Verify): Document verification of normal and cleartext signatures. gpgme/ 2002-03-03 Marcus Brinkmann <[email protected]> * rungpg.c (_gpgme_gpg_op_verify): If TEXT is of mode GPGME_DATA_MODE_IN, construct a command line that stores the plaintext in TEXT. * verify.c (gpgme_op_verify_start): Accept TEXT being uninitialized, and in this case interpret SIG as a normal or cleartext signature and TEXT as a return data object. * engine-gpgsm.c (_gpgme_gpgsm_op_verify): Likewise. tests/ 2002-03-03 Marcus Brinkmann <[email protected]> * gpg/t-verify.c (main): Add a few more sanity checks, and a check for normal signatures.
* doc/Marcus Brinkmann2002-02-272-0/+29
| | | | | | | | | | | | | | | | | | 2002-02-27 Marcus Brinkmann <[email protected]> * gpgme.texi (Listing Keys): Document gpgme_op_keylist_ext_start. gpgme/ 2002-02-27 Marcus Brinkmann <[email protected]> * rungpg.h (_gpgme_gpg_op_keylist_ext): New prototype. * rungpg.c (_gpgme_gpg_op_keylist_ext): New function. * engine-gpgsm.h (_gpgme_gpgsm_op_keylist_ext): New prototype. * engine-gpgsm.c (_gpgme_gpgsm_op_keylist_ext): New function. * engine.h (_gpgme_engine_op_keylist_ext): New prototype. * engine.c (_gpgme_engine_op_keylist_ext): New function. * keylist.c (gpgme_op_keylist_ext_start): New function.
* doc/Marcus Brinkmann2002-02-262-8/+22
| | | | | | | | | | | | | | | | | | | | | 2002-02-27 Marcus Brinkmann <[email protected]> * gpgme.texi (Encrypting a Plaintext): Document GPGME_Invalid_Recipients. (Error Values): Likewise. gpgme/ 2002-02-27 Marcus Brinkmann <[email protected]> * gpgme.h: Add new error code GPGME_Invalid_Recipient. * encrypt.c (struct encrypt_result_s): New member invalid_recipients, rename no_recipients to no_valid_recipients. (_gpgme_encrypt_status_handler): Include error for invalid recipients. * engine-gpgsm.c (gpgsm_set_recipients): Change type of first argument to GpgsmObject. Use that to report back the status about the recipients.