Commit Graph

918 Commits

Author SHA1 Message Date
Marcus Brinkmann
ae7ead80a0 2004-09-27 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi: Update copyright year for tex version.
2004-09-27 15:23:26 +00:00
Marcus Brinkmann
7bfcd45c9f 2004-09-23 Marcus Brinkmann <marcus@g10code.de>
* data.c (_gpgme_data_outbound_handler): Close the file descriptor
	if we get an EPIPE.
2004-09-23 19:23:33 +00:00
Marcus Brinkmann
4b8e1217fc 2004-09-23 Marcus Brinkmann <marcus@g10code.de>
* data-stream.c (stream_seek): Call ftello and return the current
	offset.
	* data.h (struct gpgme_data): Change type of data.mem.offset to
	off_t.
	* data.c (gpgme_data_seek): Check dh->cbs->seek callback, not read
	callback.  If SEEK_CUR, adjust the offset by the pending buffer
	size.  Clear pending buffer on success.
2004-09-23 17:54:26 +00:00
Marcus Brinkmann
497b0f8bd8 Add entry about AC_CONFIG_MACRO_DIR. 2004-09-16 22:21:49 +00:00
Marcus Brinkmann
fcdad8cfb9 2004-09-17 Marcus Brinkmann <marcus@g10code.de>
* configure.ac: Disable AC_CONFIG_MACRO_DIR for now.
2004-09-16 22:17:51 +00:00
Marcus Brinkmann
84af83d668 2004-09-14 Marcus Brinkmann <marcus@g10code.de>
* configure.ac: Improve diagnostics with version check.
2004-09-14 19:47:50 +00:00
Marcus Brinkmann
c9209a7d19 2004-09-14 Marcus Brinkmann <marcus@g10code.de>
* configure.ac: Print diagnostics about found thread libraries at
	the end.  Check for the versions of GPG and GPGSM and print the
	found versions at the end.
	(HAVE_GPGSM): Do not require GPGSM to exist and be readable.
	(AC_CONFIG_MACRO_DIR): Invoke with argument m4.
2004-09-14 19:27:46 +00:00
Marcus Brinkmann
13a65ef0e0 2004-09-14 Marcus Brinkmann <marcus@g10code.de>
* gpgme.m4: Add copyright notice.
2004-09-14 18:40:35 +00:00
Marcus Brinkmann
851f76fe5d 2004-09-14 Marcus Brinkmann <marcus@g10code.de>
* pth.m4: Disable _ac_pth_line, and don't fail if Pth is not
	found.
2004-09-14 18:31:45 +00:00
Marcus Brinkmann
3e4881a65a 2004-09-14 Marcus Brinkmann <marcus@g10code.de>
* acinclude.m4: Add copyright notice.
	(jm_GLIBC21, AM_PATH_GPG_ERROR, _AC_PTH_ERROR, _AC_PTH_VERBOSE,
	AC_CHECK_PTH): Removed.

m4/
2004-09-14  Marcus Brinkmann  <marcus@g10code.de>

	* glibc21.m4: New file.
	* gpg-error.m4: New file.
	* pth.m4: New file.
2004-09-14 18:30:23 +00:00
Marcus Brinkmann
92f095084a 2004-08-18 Marcus Brinkmann <marcus@g10code.de>
* passphrase.c (_gpgme_passphrase_status_handler): Always run the
	status handler.
2004-08-18 00:48:50 +00:00
Marcus Brinkmann
8802eb4240 2004-08-17 Marcus Brinkmann <marcus@g10code.de>
* rungpg.c (build_argv): Use --no-sk-comment, not --no-comment.
2004-08-17 21:16:12 +00:00
Marcus Brinkmann
6d65ae9632 2004-08-17 Marcus Brinkmann <marcus@g10code.de>
* gpgsm/t-keylist.c (struct): Add new fields VALIDITY and
	KEY_LENGTH.
	(main): Use them.
	* gpgsm/t-import.c (check_result): New argument total_stat.
	(main): Pass this argument.  Reduce number of total considered
	keys to 1 for the second test.
2004-08-17 21:13:20 +00:00
Moritz Schulte
b2c86ab705 2004-07-29 Moritz Schulte <moritz@g10code.com>
* gpgme.texi (Verify): Fix gpgme_get_key example (ancient
	force_update argument was still there).
2004-07-29 20:46:43 +00:00
Marcus Brinkmann
78bd20d676 2004-06-23 Marcus Brinkmann <marcus@g10code.de>
* key.c (_gpgme_key_append_name): Make sure tail points to the
        byte following the uid.
        (_gpgme_key_add_sig): Likewise.  Don't use calloc, but malloc and
        memset.
2004-06-23 21:15:21 +00:00
Marcus Brinkmann
a89821bbb5 Update version number. 2004-06-23 14:13:48 +00:00
Marcus Brinkmann
3f1b8857e6 2004-06-23 Marcus Brinkmann <marcus@g10code.de>
* configure.ac: Check for <sys/uio.h>.

assuan
2004-06-23  Marcus Brinkmann  <marcus@g10code.de>

	* assuan-domain-connect.c [HAVE_SYS_UIO_H]: Include <sys/uio.h>.
2004-06-23 14:11:47 +00:00
Marcus Brinkmann
533d9dfb94 2004-06-23 Marcus Brinkmann <marcus@g10code.de>
* assuan-handler.c: Include <errno.h>.
2004-06-23 13:52:17 +00:00
Marcus Brinkmann
59dfd6debf D'oh, forget the release date in the released NEWS entry!
Prepare for upcoming release.
2004-06-08 18:46:21 +00:00
Marcus Brinkmann
c5ed55fb62 Add two items about documentation fixes. 2004-06-08 17:52:36 +00:00
Marcus Brinkmann
50caa77ee5 2004-06-08 Marcus Brinkmann <marcus@g10code.de>
* assuan-buffer.c (assuan_write_line): If the line is longer than
	the maximum line length, bail out early.
2004-06-08 17:48:37 +00:00
Marcus Brinkmann
99011b0b8d 2004-06-08 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Listing Keys): Elaborate on the length restrictions
	on search patterns.
2004-06-08 17:39:40 +00:00
Marcus Brinkmann
5236702f6f 2004-06-08 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Decrypt and Verify): Document the NO_DATA error
	code.
	(Verify): Document the relationship between gpgme_op_verify_result
	and the decrypt and verify operations.
2004-06-08 17:26:48 +00:00
Marcus Brinkmann
8d2e1e7f61 2004-06-02 Marcus Brinkmann <marcus@g10code.de>
* libgpgme.vers: Remove C-style comment, which is not supported by
	older binutils.
2004-06-02 14:18:03 +00:00
Marcus Brinkmann
f7b5cdc464 Add item about gpgme.m4. 2004-05-21 19:53:50 +00:00
Marcus Brinkmann
ce8d1aed08 2004-05-21 Marcus Brinkmann <marcus@g10code.de>
* configure.ac (GPGME_CONFIG_API_VERSION): New variable,
	substitute it.

gpgme/
2004-05-21  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme-config.in (Options): Support --api-version.
2004-05-21 19:49:38 +00:00
Marcus Brinkmann
60e6827efe 2004-05-21 Marcus Brinkmann <marcus@g10code.de>
* libgpgme.vers: List all gpgme symbols under version GPGME_1.0.
2004-05-21 19:43:39 +00:00
Marcus Brinkmann
fafe1d9392 Remove item about verify.keyusage. 2004-05-21 19:19:11 +00:00
Marcus Brinkmann
bfe01a28ab 2004-05-21 Marcus Brinkmann <marcus@g10code.de>
* decrypt.c (_gpgme_decrypt_status_handler): Fix last change.
	* verify.c (parse_error): Likewise.
2004-05-21 19:17:27 +00:00
Marcus Brinkmann
17c7de32c3 2004-05-21 Marcus Brinkmann <marcus@g10code.de>
* verify.c (parse_error): Do not skip location of where token.
2004-05-21 19:15:06 +00:00
Marcus Brinkmann
d37c56aca0 Add item about GPG_ERR_CERT_REVOKED in verify status. 2004-05-21 16:39:29 +00:00
Marcus Brinkmann
ae1e3748d7 2004-05-21 Marcus Brinkmann <marcus@g10code.de>
* gpgme.text (Verify): Document GPG_ERR_CERT_REVOKED status.
2004-05-21 16:38:59 +00:00
Marcus Brinkmann
b9d1269d0a 2004-05-21 Marcus Brinkmann <marcus@g10code.de>
* gpgme.h (gpgme_status_code_t): Add GPGME_STATUS_REVKEYSIG.
	* verify.c (_gpgme_verify_status_handler): Add handling of
	GPGME_STATUS_REVKEYSIG.
	(parse_trust): Likewise.
2004-05-21 16:36:28 +00:00
Marcus Brinkmann
cf6910f69d doc/
2004-05-21  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme.texi (Decrypt): Add note about new field wrong_key_usage
	of gpgme_decrypt_result_t.

gpgme/
2004-05-21  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme.h (struct _gpgme_decrypt_result): New fields
	wrong_key_usage and _unused.
	* decrypt.c (_gpgme_decrypt_status_handler): Don't skip over
	character after a matched string, as in a protocol error this
	could skip over the trailing binary zero.
	Handle decrypt.keyusage error notifications.
2004-05-21 15:51:53 +00:00
Marcus Brinkmann
6aeee0426a doc/
2004-05-21  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme.texi (Key Management): Add note about new field
	keylist_mode of gpgme_key_t.

gpgme/
2004-05-21  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme.h (struct _gpgme_key): New member keylist_mode.
	* keylist.c (keylist_colon_handler): Set the keylist_mode of KEY.
2004-05-21 15:15:21 +00:00
Marcus Brinkmann
54f9887cf6 Update version number. 2004-04-29 21:50:38 +00:00
Marcus Brinkmann
eadf1ffb7d 2004-04-29 Marcus Brinkmann <marcus@g10code.de>
Released 0.4.7.

	* configure.ac (LIBGPGME_LT_REVISION): Bump it up.
2004-04-29 21:49:11 +00:00
Marcus Brinkmann
1a47f1ee9f Finalize for 0.4.7. 2004-04-29 21:47:22 +00:00
Marcus Brinkmann
619929800a 2004-04-29 Marcus Brinkmann <marcus@g10code.de>
* gpgme.h (struct _gpgme_signature): Change member WRONG_KEY_USAGE
	to unsigned int.  Same for member _unused.
2004-04-29 21:19:43 +00:00
Marcus Brinkmann
3e64cff5f8 2004-04-29 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Verify): Correct type of member wrong_key_usage.
2004-04-29 21:19:30 +00:00
Marcus Brinkmann
7bdaddd213 Add Albrecht Dre� <albrecht.dress@arcor.de>, because he was helpful. 2004-04-29 21:19:09 +00:00
Marcus Brinkmann
715da14d23 Add Albrecht Dress, because he was helpful. 2004-04-29 21:18:40 +00:00
Marcus Brinkmann
7f99d65249 Add item about key fields. 2004-04-29 11:01:31 +00:00
Marcus Brinkmann
b9ed761b6e 2004-04-29 Marcus Brinkmann <marcus@g10code.de>
* keylist.c (set_mainkey_trust_info): Rewritten.
	(set_subkey_capability): Handle 'd' (disabled).
	(set_mainkey_capability): Rewritten.
2004-04-29 10:55:50 +00:00
Marcus Brinkmann
a7adf03290 2004-04-22 Marcus Brinkmann <marcus@g10code.de>
* gpgme.m4: Quote first argument to AC_DEFUN.
2004-04-22 18:23:56 +00:00
Werner Koch
37a4f44f06 (gpgme_key_unref): Allow passing NULL like free does.
The rule of least surprise.
2004-04-21 18:14:12 +00:00
Werner Koch
7eb7b24228 * assuan-socket-connect.c: Include sys/types.h
* assuan-socket-server.c: Ditto
* assuan-domain-connect.c: Ditto.
2004-04-19 14:24:57 +00:00
Marcus Brinkmann
1266b7f061 2004-04-02 Thomas Schwinge <schwinge@nic-nac-project.de>
* autogen.sh: Added ACLOCAL_FLAGS.
2004-04-19 14:09:29 +00:00
Werner Koch
09bd0f6a89 (prepare_new_sig, _gpgme_verify_status_handler): Remove
unused result.signatures items.
2004-04-15 15:58:08 +00:00
Werner Koch
a33e7ba3c7 (gpgme_get_key): Return an error if FPR is NULL. 2004-04-15 15:18:30 +00:00