Commit Graph

1455 Commits

Author SHA1 Message Date
Marcus Brinkmann
a68fd530ef 2004-12-16 Marcus Brinkmann <marcus@g10code.de>
* assuan-pipe-connect.c (do_finish): Do not wait for child to finish.
	(assuan_pipe_connect): Use double-fork approach.
	* assuan-connect.c (assuan_disconnect): Do not write BYE to the
	status line.
2004-12-21 08:42:31 +00:00
Marcus Brinkmann
3ad6f89275 2004-12-12 Marcus Brinkmann <marcus@g10code.de>
* engine.c (_gpgme_set_engine_info): Fix assertion.
2004-12-12 14:58:12 +00:00
Marcus Brinkmann
c00c3c75ff Small beautification. 2004-12-11 15:48:34 +00:00
Marcus Brinkmann
04be3c316c 2004-12-11 Marcus Brinkmann <marcus@g10code.de>
* configure.ac: Replace ttyname_r if it doesn't exist (and warn in
	that case).

gpgme/
2004-12-11  Marcus Brinkmann  <marcus@g10code.de>

	* util.h [HAVE_CONFIG_H && HAVE_TTYNAME_R] (ttyname_r): Define
	prototype.
	* ttyname_r.c: New file.
2004-12-11 15:48:00 +00:00
Marcus Brinkmann
f355692a65 Add news entry for 0.3.16. 2004-12-07 21:24:03 +00:00
Marcus Brinkmann
31c6be048f 2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* lesser.texi (Library Copying): Change from @appendixsec to
        @appendix.
        * gpgme.texi (Features): Change reference to GPL to one to LGPL.
2004-12-07 21:21:41 +00:00
Marcus Brinkmann
71775ad8fc 2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* README: Refer to COPYING.LESSER and "each file" instead of
	COPYING.
	* COPYING.LESSER: New file.
	* gpgme.spec.in (%doc): Add COPYING.LESSER.
	* acinclude.m4, configure.ac, Makefile.am: Change license to LGPL
	2.1 or later.
	* TODO: Add copyright notice.
	* README.CVS: Likewise.

assuan/
2004-12-07  Marcus Brinkmann  <marcus@g10code.de>

	* README.1st: Add copyright notice.

doc/
2004-12-07  Marcus Brinkmann  <marcus@g10code.de>

	* Makefile.am: Change license to LGPL.
	(gpgme_TEXINFOS): Replace gpl.texi with lesser.texi.

	* gpgme.texi: Change license to LGPL (also for documentation of
	GPGME's license).
	* lesser.texi: New file.
	* gpl.texi: File removed.

gpgme/
2004-12-07  Marcus Brinkmann  <marcus@g10code.de>

	* putc_unlocked.c, funopen.c: I just claim copyright on these
	files and change their license to LGPL, because they are totally
	trivial wrapper functions.
	* isascii.c: Change copyright notice to the one from ctype/ctype.h
	in the GNU C Library (CVS Head 2004-10-10), where isascii is
	defined as a macro doing exactly the same as the function in this
	file.
	* memrchr.c: Update from the GNU C Library (CVS Head 2001-07-06).
	* stpcpy.c: Update from the GNU C Library (CVS Head 2004-10-10).
	* ath.c, ath-compat.c, ath.h, ath-pth.c, ath-pth-compat.c,
	ath-pthread.c, ath-pthread-compat.c, context.h, conversion.c,
	data.c, data-compat.c, data-fd.c, data.h, data-mem.c,
	data-stream.c, data-user.c, debug.c, debug.h, decrypt.c,
	decrypt-verify.c, delete.c, edit.c, encrypt.c, encrypt-sign.c,
	engine-backend.h, engine.c, engine-gpgsm.c, engine.h, error.c,
	export.c, genkey.c, get-env.c, gpgme.c, gpgme.h, import.c, io.h,
	key.c, keylist.c, mkstatus, Makefile.am, ops.h, op-support.c,
	passphrase.c, posix-io.c, posix-sema.c, posix-util.c, progress.c,
	rungpg.c, sema.h, sign.c, signers.c, trust-item.c, trustlist.c,
	util.h, verify.c, version.c, w32-io.c, w32-sema.c, w32-util.c,
	wait.c, wait-global.c, wait.h, wait-private.c, wait-user.c: Change
	license to LGPL.

tests/
2004-12-07  Marcus Brinkmann  <marcus@g10code.de>

	* gpg/mkdemodirs: Add copyright notice.

	* gpgsm/Makefile.am, gpgsm/t-support.h, gpgsm/t-decrypt.c,
	gpgsm/t-encrypt.c, gpgsm/t-export.c, gpgsm/t-genkey.c,
	gpgsm/t-import.c, gpgsm/t-keylist.c, gpgsm/t-sign.c,
	gpgsm/t-verify.c, gpg/Makefile.am, gpg/t-decrypt.c,
	gpg/t-decrypt-verify.c, gpg/t-edit.c, gpg/t-encrypt.c,
	gpg/t-encrypt-sign.c, gpg/t-encrypt-sym.c, gpg/t-eventloop.c,
	gpg/t-export.c, gpg/t-genkey.c, gpg/t-import.c, gpg/t-keylist.c,
	gpg/t-keylist-sig.c, gpg/t-sign.c, gpg/t-signers.c,
	gpg/t-support.h, gpg/t-thread1.c, gpg/t-trustlist.c,
	gpg/t-verify.c, Makefile.am, t-data.c, t-engine-info.c,
	t-version.c: Change license to LGPL.
2004-12-07 21:13:39 +00:00
Marcus Brinkmann
a4a985c4cc Add Noel Torres <envite@rolamasao.org>. 2004-12-07 19:06:29 +00:00
Marcus Brinkmann
d40de0d14f 2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Creating Contexts): Fix cut&paste error.  Reported
	by Noel Torres <envite@rolamasao.org>.
2004-12-07 19:05:18 +00:00
Marcus Brinkmann
4b45385889 Update. 2004-12-07 18:49:35 +00:00
Marcus Brinkmann
0ebb858f1e 2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* libgpgme.vers (GPGME_1.1): New version.
	* engine-backend.h (struct engine_ops): Add argument FILE_NAME to
	member get_version().  Add arguments FILE_NAME and HOME_DIR to
	member new().  Change return type of get_file_name and get_version
	to char *.
	* engine-gpgsm.c (gpgsm_get_version): Change return type to char
	pointer.  Do not cache result.
	(gpgsm_new): Add file_name and home_dir argument, and use them
	instead of the defaults, if set.
	* rungpg.c (struct engine_gpg): New member file_name.
	(gpg_get_version): Change return type to char pointer, and do not
	cache result.
	(gpg_release): Free gpg->file_name.
	(gpg_new): Take new arguments file_name and home_dir.  Set the
	--homedir argument if HOME_DIR is not NULL.  Set gpg->file_name.
	(start): Use gpg->file_name instead _gpgme_get_gpg_path, if set.
	* engine.h (_gpgme_engine_info_copy, _gpgme_engine_info_release):
	New prototypes.
	(_gpgme_engine_new): Change first argument to gpgme_engine_info_t
	info.
	* engine.c: Include <assert.h>.
	(gpgme_get_engine_info): Set *INFO within the lock.  Move
	ENGINE_INFO and ENGINE_INFO_LOCK to ....
	(engine_info, engine_info_lock): ... here.  New static variables.
	(engine_get_version): Add file_name argument to
	get_version invocation.  Change return type to char pointer.
	(gpgme_engine_check_version): Rewritten to free() the return value
	of engine_get_version after using it.
	(_gpgme_engine_info_release): New function.
	(gpgme_get_engine_info): Rewritten.
	(_gpgme_engine_info_copy): New function.
	(_gpgme_set_engine_info): New function.
	(gpgme_set_engine_info): New function.
	(_gpgme_engine_new): Change first argument to gpgme_engine_info_t
	info, and use that.
	* gpgme.h (struct _gpgme_engine_info): Change type of file_name
	and version to char * (remove the const).  New member home_dir.
	(gpgme_set_engine_info, gpgme_ctx_get_engine_info,
	gpgme_ctx_set_engine_info): New prototypes.
	* context.h (struct gpgme_context): New member engine_info.
	* gpgme.c (gpgme_new): Allocate CTX->engine_info.
	(gpgme_release): Deallocate CTX->engine_info.
	(gpgme_ctx_get_engine_info, gpgme_ctx_set_engine_info): New
	functions.
	* op-support.c (_gpgme_op_reset): Look for correct engine info and
	pass it to _gpgme_engine_new.
	* version.c (gpgme_check_version): Adjust to
	_gpgme_compare_versions returning an int.
	(_gpgme_compare_versions): Return an int value, not a const char
	pointer.
	* ops.h (_gpgme_compare_versions): Same for prototype.
2004-12-07 18:25:54 +00:00
Marcus Brinkmann
e8e4400785 2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* configure.ac (GPGSM_VERSION): Fix filter to get it.
2004-12-07 15:30:36 +00:00
Marcus Brinkmann
0120be1520 Fix up gpgme-1.0.1 release changes. Somehow the correct change didn't
make it into the repository.
2004-12-07 15:27:11 +00:00
Marcus Brinkmann
886cde2ea0 Revert change to fix up gpgme-1.0.1 release tag glitch. 2004-12-07 15:25:48 +00:00
Marcus Brinkmann
4504426076 2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* configure.ac (GPGSM_VERSION): Fix filter to get it.
2004-12-07 14:37:00 +00:00
Werner Koch
cae6d4e940 . 2004-11-04 13:58:06 +00:00
Marcus Brinkmann
b5853f2afd 2004-10-22 Marcus Brinkmann <marcus@g10code.de>
* configure.ac (LIBGPGME_LT_REVISION): Bump up to 2.
	(AC_INIT): Set version to 1.0.1.
2004-10-22 18:21:43 +00:00
Marcus Brinkmann
bcd1b60960 2004-10-22 Marcus Brinkmann <marcus@g10code.de>
* configure.ac (LIBGPGME_LT_REVISION): Bump up to 2.
	(AC_INIT): Set version to 1.0.1.
2004-10-22 18:19:04 +00:00
Marcus Brinkmann
d7d2dfa15a 2004-10-22 Marcus Brinkmann <marcus@g10code.de>
* configure.ac: Set HAVE_GPGSM to true only if $GPGSM is not "no".
2004-10-22 18:16:49 +00:00
Marcus Brinkmann
0f087215d5 Add item about 1.0.1. 2004-10-22 18:11:33 +00:00
Marcus Brinkmann
bbcda9f87f 2004-10-03 Marcus Brinkmann <marcus@g10code.de>
* verify.c (parse_trust): If no reason is provided, set
	SIG->validity_reason to 0.
	(calc_sig_summary): Set GPGME_SIGSUM_CRL_TOO_OLD if appropriate.
2004-10-22 17:57:56 +00:00
Marcus Brinkmann
e2297804cf 2004-10-22 Marcus Brinkmann <marcus@g10code.de>
* engine-gpgsm.c (map_assuan_error): Return 0 if ERR is 0.
	(start): Call map_assuan_error on return value of
	assuan_write_line.
2004-10-22 16:55:16 +00:00
Marcus Brinkmann
9bccf0d830 2004-10-05 Marcus Brinkmann <marcus@g10code.de>
* op-support.c (_gpgme_op_data_lookup): Use char pointer for
	pointer arithmetic.
2004-10-05 15:08:45 +00:00
Marcus Brinkmann
ee3186519d Add some more info. 2004-09-30 02:37:13 +00:00
Marcus Brinkmann
5b667d74fa 2004-09-30 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am (gpgme_TEXINFOS): Remove fdl.texi.
	* gpgme.texi: Do not include fdl.texi.  Change license to GPL.
	* fdl.texi: File removed.
2004-09-30 02:11:18 +00:00
Marcus Brinkmann
f3b369df84 Update the information before release, for what it's worth. 2004-09-30 01:44:17 +00:00
Marcus Brinkmann
ba4d74f2cb Update for 1.0.0 release. 2004-09-30 01:33:49 +00:00
Marcus Brinkmann
61006547a9 2004-09-30 Marcus Brinkmann <marcus@g10code.de>
Released 1.0.0.

	* configure.ac (LIBGPGME_LT_REVISION): Bump up to 1.
	(AC_INIT): Set version to 1.0.0.
2004-09-30 01:32:17 +00:00
Marcus Brinkmann
0a026d32c4 Update information. 2004-09-30 01:30:28 +00:00
Marcus Brinkmann
2fcd7ca12d 2004-09-30 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am (EXTRA_DIST): Remove README-alpha.
	* README-alpha: Remove file.
2004-09-30 01:30:10 +00:00
Marcus Brinkmann
5c4008a176 2004-09-30 Marcus Brinkmann <marcus@g10code.de>
* gpgme.m4: Implement the --api-version check.
2004-09-30 01:06:19 +00:00
Marcus Brinkmann
1819293208 2004-09-30 Marcus Brinkmann <marcus@g10code.de>
* rungpg.c (read_status): Move the polling of the output data pipe
	to just before removing the command fd, from just before adding
	it.  This avoids buffering problems.
2004-09-30 00:24:58 +00:00
Marcus Brinkmann
a2d38f6824 2004-09-30 Marcus Brinkmann <marcus@g10code.de>
* data.c (_gpgme_data_inbound_handler): Use _gpgme_io_read, not
	read, to improve debug output.
2004-09-30 00:19:22 +00:00
Marcus Brinkmann
b6852571b3 Update some entries. 2004-09-28 23:25:35 +00:00
Marcus Brinkmann
cc769c66ed doc/
2004-09-29  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme.texi (Key Management): Change type of keylist_mode in
	gpgme_key_t to gpgme_keylist_mode_t.

gpgme/
2004-09-29  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme.h (GPGME_IMPORT_NEW, GPGME_IMPORT_UID, GPGME_IMPORT_SIG,
	GPGME_IMPORT_SUBKEY, GPGME_IMPORT_SECRET,
	(GPGME_KEYLIST_MODE_LOCAL, GPGME_KEYLIST_MODERN_EXTERN,
	GPGME_KEYLIST_MODE_SIGS, GPGME_KEYLIST_MODE_VALIDATE): Change from
	enum to macros.
	(gpgme_keylist_mode_t): Define as unsigned int.
	(gpgme_key_t): Change type of keylist_mode to
	gpgme_keylist_mode_t.
2004-09-28 23:15:39 +00:00
Marcus Brinkmann
9a2a72db08 2004-09-28 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Passphrase Callback): Fix last change.
2004-09-28 11:42:06 +00:00
Marcus Brinkmann
b8b44c4767 2004-09-27 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Passphrase Callback): Document
	GPG_ERR_NOT_IMPLEMENTED.
2004-09-27 20:24:48 +00:00
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