Commit Graph

932 Commits

Author SHA1 Message Date
Marcus Brinkmann
543f958169 Document thread changes. 2003-09-03 01:18:25 +00:00
Marcus Brinkmann
d772a96a62 2003-09-03 Marcus Brinkmann <marcus@g10code.de>
* configure.ac: Remove GPGME_CONFIG_LIBS and GPGME_CONFIG_CFLAGS.

doc/
2003-09-03  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme.texi (Header): We don't use the assuan namespace anymore.
	Document new thread options.

gpgme/
2003-09-03  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme-config.in: Rewritten.
	* gpgme.m4: Rewritten.
2003-09-03 01:15:56 +00:00
Marcus Brinkmann
be89abd137 Document some more problems. 2003-09-02 22:44:46 +00:00
Marcus Brinkmann
5231aa6a2a 2003-08-14 Marcus Brinkmann <marcus@g10code.de>
* gpg/t-sign.c (check_result): Change output format for signature
	class to unsigned int.
	* gpg/t-signers.c (check_result): Likewise.
	* gpg/t-encrypt-sign.c (check_result): Likewise.
	* gpgsm/t-sign.c (check_result): Likewise.
2003-09-02 22:00:37 +00:00
Marcus Brinkmann
58616ade03 2003-09-02 Marcus Brinkmann <marcus@g10code.de>
* configure.ac: Move invocation of AC_CANONICAL_HOST up to
	suppress warning by autoconf.
2003-09-02 21:46:31 +00:00
Marcus Brinkmann
2b7e505a39 2003-08-30 Robert Schiele <rschiele@uni-mannheim.de>
* gpgme.spec.in: %{_infodir}/dir is not packaged,
	remove to prevent checking failure.
2003-09-02 18:04:22 +00:00
Marcus Brinkmann
2591d8a70b 2003-08-18 Marcus Brinkmann <marcus@g10code.de>
*configure.ac (AM_PATH_GPG_ERROR): Require 0.3.

assuan/
See README.1st.

gpgme/
2003-08-19  Marcus Brinkmann  <marcus@g10code.de>

	The ath files (ath.h, ath.c, ath-pth.c, ath-pthread.c,
	ath-compat.c, ath-pth-compat.c and ath-pthread-compat.c) have been
	updated to have better thread support, and the Makefile.am was
	changed to reflect that.

	* util.h [!HAVE_FOPENCOOKIE]: Remove fopencookie declaration.
	* engine-gpgsm.c (gpgsm_assuan_simple_command): Set ERR to return
	value of status_fnc.
	* rungpg.c (start): Return SAVED_ERRNO, not errno.
2003-08-20 20:41:18 +00:00
Marcus Brinkmann
0217495902 2003-08-18 Marcus Brinkmann <marcus@g10code.de>
*configure.ac (AM_PATH_GPG_ERROR): Require 0.3.

assuan/
See README.1st.

gpgme/
2003-08-19  Marcus Brinkmann  <marcus@g10code.de>

	The ath files (ath.h, ath.c, ath-pth.c, ath-pthread.c,
	ath-compat.c, ath-pth-compat.c and ath-pthread-compat.c) have been
	updated to have better thread support, and the Makefile.am was
	changed to reflect that.

	* util.h [!HAVE_FOPENCOOKIE]: Remove fopencookie declaration.
	* engine-gpgsm.c (gpgsm_assuan_simple_command): Set ERR to return
	value of status_fnc.
	* rungpg.c (start): Return SAVED_ERRNO, not errno.
2003-08-20 20:20:46 +00:00
Marcus Brinkmann
c93237c3a4 2003-08-18 Marcus Brinkmann <marcus@g10code.de>
* configure.ac: If building Assuan, check for funopen and
	fopencookie, and make isascii, putc_unlocked and memrchr
	replacement functions.

assuan/
Update to the latest assuan version.

gpgme/
2003-08-18  Marcus Brinkmann  <marcus@g10code.de>

	* funopen.c, putc_unlocked.c, isascii.c, memrchr.c: New files.
	* fopencookie.c: File removed.
2003-08-18 19:17:08 +00:00
Marcus Brinkmann
c1ae70b177 2003-08-15 Marcus Brinkmann <marcus@g10code.de>
* gpgme-config.in: Put gpg-error related flags after gpgme's.
2003-08-14 22:54:42 +00:00
Marcus Brinkmann
694e2a8041 doc/
2003-08-14  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme.texi (Creating a Signature): Change type of member class
	to unsigned int.

gpgme/
2003-08-14  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme.h (struct _gpgme_new_signature): Rename member CLASS to
	_OBSOLETE_CLASS, add member CLASS with type unsigned int.
	* sign.c (parse_sig_created): Also set SIG->_unused_class for
	backward compatibility.

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

	* gpg/t-sign.c (check_result): Change output format for signature
	class to unsigned int.
2003-08-14 17:32:18 +00:00
Marcus Brinkmann
52ee4708a0 Add info about bug fix. 2003-08-04 21:13:49 +00:00
Marcus Brinkmann
275ef15b0b doc/
2003-08-04  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme.texi (Verify): Get error code from SIG->status in the code
	for gpgme_get_sig_status.

gpgme/
2003-08-04  Marcus Brinkmann  <marcus@g10code.de>

	* verify.c (parse_new_sig): Fix status parsing case.
2003-08-04 21:11:11 +00:00
Marcus Brinkmann
9d0642c012 doc/
2003-07-31  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme.texi (Key Management): Add can_authenticate flag.

gpgme/
2003-07-31  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme.h (struct _gpgme_subkey): Add flag CAN_AUTHENTICATE.
	Lower _UNUSED to 23 bits.
	(struct _gpgme_key): Likewise.
	* keylist.c (set_mainkey_capability): Support 'a' and 'A'.
	(set_subkey_capability): Support 'a'.
2003-07-31 16:59:36 +00:00
Marcus Brinkmann
82f7a68aa2 doc/
2003-07-31  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme.texi (Listing Keys): Document GPG_ERR_AMBIGUOUS_NAME for
	gpgme_get_key.

gpgme/
2003-07-31  Marcus Brinkmann  <marcus@g10code.de>

	* keylist.c (gpgme_get_key): Check if there is more than one key
	listed, and return GPG_ERR_AMBIGUOUS_NAME in that case.
2003-07-31 16:01:13 +00:00
Marcus Brinkmann
6bb0790d97 2003-07-31 Marcus Brinkmann <marcus@g10code.de>
* configure.ac (AC_INIT): Bump version to 0.4.3.
2003-07-31 15:57:35 +00:00
Marcus Brinkmann
51c384409e 2003-07-31 Marcus Brinkmann <marcus@g10code.de>
* gpg/t-verify.c (check_result): Change type of SUMMARY to
	unsigned int.
	* gpg/t-decrypt-verify.c (check_verify_result): Likewise.
	* gpg/t-keylist-sig.c (keys): Change type of member CLASS to
	unsigned int.
	* t-data.c (read_cb): Change type of AMOUNT to unsigned int.
	* t-version.c (version): Remove unused variable.
2003-07-31 15:44:32 +00:00
Marcus Brinkmann
f4c25d034c 2003-07-31 Marcus Brinkmann <marcus@g10code.de>
* util.h (_gpgme_decode_c_string): Change type of LEN argument to
	size_t.
	(_gpgme_decode_percent_string): Likewise.
	* conversion.c (_gpgme_decode_c_string): Likewise.
	(_gpgme_decode_percent_string): Likewise.
	(_gpgme_map_gnupg_error): Change type of I to unsigned int.
	* signers.c (gpgme_signers_clear): Likewise.
	(gpgme_signers_enum): New unsigned variable SEQNO, set to SEQ.
	Use SEQNO instead SEQ.
	* wait.c (fd_table_put): Change type of I and J to unsigned int.
	* wait-global.c (_gpgme_wait_global_event_cb): Change type of IDX
	to unsigned int.
	(gpgme_wait): Change type of I and IDX to unsigned int.
	* wait-private.c (_gpgme_wait_on_condition): Change type of IDX
	and I to unsigned int.
	* posix-io.c (_gpgme_io_close): Cast return value of macro DIM to
	int to suppress gcc warning.
	(_gpgme_io_set_close_notify): Likewise.
	(_gpgme_io_select): Change type of I to unsigned int.
	* engine.c (gpgme_get_engine_info): Change type of PROTO to
	unsigned int.
	* wait-user.c (_gpgme_user_io_cb_handler): Change type of IDX and
	I to unsigned int.
2003-07-31 15:44:02 +00:00
Marcus Brinkmann
b0e0ab96cb 2003-07-30 Marcus Brinkmann <marcus@g10code.de>
* configure.ac (LIBGPGME_LT_REVISION): Bump up to 1.

	Released 0.4.2.
2003-07-30 12:56:28 +00:00
Marcus Brinkmann
f29ce4cdb4 Add item about configure check for gpg and gpgsm warning. 2003-07-30 12:43:14 +00:00
Marcus Brinkmann
6d6cb1c049 Update information about todo items. 2003-07-30 12:41:57 +00:00
Marcus Brinkmann
56b09ecb29 Add task for verify. 2003-07-29 20:04:35 +00:00
Marcus Brinkmann
95390e074a 2003-07-29 Marcus Brinkmann <marcus@g10code.de>
* decrypt-verify.c (decrypt_verify_status_handler): Expand silly
	and wrong expression.
	* encrypt-sign.c (encrypt_sign_status_handler): Likewise.
	* encrypt.c (encrypt_sym_status_handler): Likewise.
	* sign.c (sign_status_handler): Likewise.
	* verify.c (verify_status_handler): Likewise.
	* decrypt.c (decrypt_status_handler): Likewise.
2003-07-29 19:34:03 +00:00
Marcus Brinkmann
235e4e8eac 2003-07-29 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am (EXTRA_DIST): Remove variable.
2003-07-29 18:49:06 +00:00
Marcus Brinkmann
14c928fb91 2003-07-29 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Encrypting a Plaintext): Bad passphrase is only
	possible with symmetric encryption, change the wording to reflect
	that.

	* gpgme.texi (Creating a Signature): Document
	GPG_ERR_UNUSABLE_SECKEY.
2003-07-29 18:46:30 +00:00
Marcus Brinkmann
50bc3d654b 2003-07-29 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Creating a Signature): Document
	GPG_ERR_UNUSABLE_SECKEY.
2003-07-29 18:31:46 +00:00
Marcus Brinkmann
62673145f0 Add item about result structures. 2003-07-29 18:27:31 +00:00
Marcus Brinkmann
40343b5f4a 2003-07-29 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Encrypting a Plaintext): Mention encrypt and sign
	operations in result function.
	(Creating a Signature): Likewise.
2003-07-29 18:25:27 +00:00
Marcus Brinkmann
b2e98c407a 2003-07-29 Marcus Brinkmann <marcus@g10code.de>
* engine.c (gpgme_get_engine_info): Initialize NULL.
2003-07-29 18:20:09 +00:00
Marcus Brinkmann
0e4157b1d0 2003-07-23 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Key Listing Mode): Remove word duplication.
	(Listing Keys): Remove mentioning of force argument.
	(Verify): Don't mention r_stat.  Fix some typos.
	(Decrypt and Verify): Correct info how to get the result.  Don't
	mention r_stat.
	(Manipulating Data Buffers): Fix documentation of return value.
	(Listing Keys): Update examples.
	(Decrypt): Result might also be available when operation failed.
	(Verify): Result might also be available when operation failed.
	All spotted by St�phane Corth�sy.
2003-07-28 12:09:42 +00:00
Marcus Brinkmann
7ab89d8d6c 2003-07-23 Marcus Brinkmann <marcus@g10code.de>
* gpgme-config.in (gpg_error_libs): Quote GPG_ERROR_CFLAGS and
	GPG_ERROR_LIBS when setting the corresponding variables.
	Reported by St�phane Corth�sy.
2003-07-28 12:09:04 +00:00
Marcus Brinkmann
c605cb3b77 2003-07-22 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Error Sources): Fix cut and paste error.
2003-07-22 12:19:32 +00:00
Marcus Brinkmann
5758e09e61 Fill in missing info. 2003-07-22 11:48:43 +00:00
Marcus Brinkmann
ade276f81e 2003-07-22 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am (AM_CPPFLAGS): New variable.
	(LDADD): Add @GPG_ERROR_LIBS@.
	* gpg/Makefile.am (AM_CPPFLAGS): New variable.
	(LDADD): Add @GPG_ERROR_LIBS@.
	* gpgsm/Makefile.am (AM_CPPFLAGS): New variable.
	(LDADD): Add @GPG_ERROR_LIBS@.
2003-07-22 11:40:48 +00:00
Marcus Brinkmann
841cb75ed4 2003-07-22 Marcus Brinkmann <marcus@g10code.de>
* engine-gpgsm.c (set_recipients): Move declaration of NEWLEN to
	the beginning of the block.
2003-07-22 11:30:39 +00:00
Marcus Brinkmann
708e6d984e 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-09 00:49:58 +00:00
Marcus Brinkmann
4b409bbad9 Update. 2003-07-08 18:02:10 +00:00
Marcus Brinkmann
3dc6488cae 2003-07-08 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Progress Meter Callback): Change return type of
	gpgme_progress_cb_t to void.
2003-07-08 17:22:44 +00:00
Marcus Brinkmann
3e348f622b 2003-07-08 Marcus Brinkmann <marcus@g10code.de>
* configure.ac: Complain if libgpg-error is not found.
2003-07-08 17:11:06 +00:00
Marcus Brinkmann
a237b4eb82 Add decrypt feature. 2003-06-28 12:45:16 +00:00
Marcus Brinkmann
4975c762c6 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 21:09:58 +00:00
Marcus Brinkmann
83cc539b1d 2003-06-22 Marcus Brinkmann <marcus@g10code.de>
* data-mem.c (mem_write): Copy original buffer content.
2003-06-22 20:56:48 +00:00
Marcus Brinkmann
7b1bac188f doc/
2003-06-22  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme.texi (Multi Threading): Remove reference to
	gpgme_recipients_t.

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

	* gpgme.h (gpgme_user_ids_release, gpgme_user_ids_append): Remove
	prototypes.
2003-06-22 12:26:11 +00:00
Marcus Brinkmann
e390cd4e78 2003-06-22 Marcus Brinkmann <marcus@g10code.de>
* configure.ac (AC_INIT): Bump version to 0.4.2.
2003-06-22 12:24:45 +00:00
Marcus Brinkmann
6e899f43f9 2003-06-06 Marcus Brinkmann <marcus@g10code.de>
* configure.ac (LIBGPGME_LT_CURRENT): Bump up to 11.
2003-06-06 03:04:09 +00:00
Marcus Brinkmann
44b3538634 2003-06-06 Marcus Brinkmann <marcus@g10code.de>
* configure.ac: Use AM_PATH_GPG_ERROR.

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

	* Makefile.am (AM_CPPFLAGS): Add @GPG_ERROR_CFLAGS@.
	* gpgme-config.in (gpg_error_libs, gpg_error_cflags): New variables.
	Print them.
2003-06-06 02:35:45 +00:00
Marcus Brinkmann
a8fe22ca6b doc/
2003-06-06  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme.texi (Crypto Operations): Rename gpgme_invalid_user_id_t
	to gpgme_invalid_key_t.

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

	* op-support.c (_gpgme_parse_inv_userid): Rename to
	_gpgme_parse_inv_recp and change to new datatype.
	* ops.h (_gpgme_parse_inv_key): Fix prototype.
	* gpgme.h (struct _gpgme_invalid_user_id): Rename to
	__gpgme_invalid_key.  Rename field ID to KEY.
	(gpgme_invalid_user_id_t): Rename to gpgme_invalid_key_t.
	(struct _gpgme_op_encrypt_result): Here, too.
	(struct _gpgme_op_sign_result): Likewise.
	* encrypt.c (struct op_data): Likewise.
	(release_op_data): Likewise.
	* sign.c (struct op_data): Likewise.
	(release_op_data): Likewise.
2003-06-06 00:56:03 +00:00
Marcus Brinkmann
0b08f4b85f Fix last change. 2003-06-06 00:26:54 +00:00
Marcus Brinkmann
ef2ffa5165 2003-06-06 Marcus Brinkmann <marcus@g10code.de>
* posix-io.c (_gpgme_io_read): Save errno across debug calls.
	(_gpgme_io_write): Likewise.
	(_gpgme_io_pipe): Likewise.
	(_gpgme_io_select): Likewise.
2003-06-06 00:22:27 +00:00
Marcus Brinkmann
e03686e013 Remove obsolete item 2003-06-06 00:08:08 +00:00