Commit Graph

865 Commits

Author SHA1 Message Date
Werner Koch
9fc0272efc Updated 2004-04-06 14:41:28 +00:00
Werner Koch
55a5561da5 Bumbed version number 2004-04-06 14:24:29 +00:00
Werner Koch
054f95f1b3 Tell that gpgsm 1.9.6 is required. 2004-04-06 14:22:55 +00:00
Werner Koch
156ca55890 Updated 2004-04-06 14:21:43 +00:00
Werner Koch
fa5930eba7 * config.guess, config.sub, ltmain.sh: Updated to those from
libtools 1.5.4.
2004-04-06 14:21:31 +00:00
Werner Koch
9ad224b6c1 Final fix. 2004-04-05 18:54:18 +00:00
Werner Koch
edf5d2bd31 * gpgme.h: Add GPGME_STATUS_NEWSIG.
* gpgsm/Makefile.am: Changed the faked system time to 20011213T12000.
2004-04-05 18:40:10 +00:00
Werner Koch
fe16ca5cc4 * verify.c (parse_error): Compare only the last part of the where
token.
(prepare_new_sig): New.
(parse_new_sig): Use prepare_new_sig when required.
(_gpgme_verify_status_handler): Handle STATUS_NEWSIG.

* engine-gpgsm.c (gpgsm_keylist_ext): Send with-validation
option.  Fixed pattern construction.
(status_handler): Add debugging output.
2004-04-05 18:39:28 +00:00
Werner Koch
761cd12e1e (parse_error): Compare only the last part of the where
token.
2004-04-05 13:49:29 +00:00
Werner Koch
92dff6e4f1 (gpgsm_keylist_ext): Send with-validation
option.  Fixed pattern construction.
2004-04-05 11:53:55 +00:00
Moritz Schulte
78cdfffd92 2004-03-29 Moritz Schulte <moritz@duesseldorf.ccc.de>
* gpgme.texi (Verify): Fix type of gpgme_op_verify_result.
	* gpgme.texi (Key Listing Mode): Typo fix.
2004-03-29 18:42:41 +00:00
Marcus Brinkmann
3816adb43a 2004-03-23 Marcus Brinkmann <marcus@g10code.de>
* engine-gpgsm.c (gpgsm_new): Protect _only_ tty related code with
	isatty().  Submitted by Bernhard Herzog.
2004-03-23 18:10:13 +00:00
Marcus Brinkmann
e17289e77c 2004-03-23 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Library Version Check): Fix the instruction when to
	set the locale.
2004-03-23 13:43:37 +00:00
Marcus Brinkmann
9ee42a1e47 *** empty log message *** 2004-03-11 14:31:20 +00:00
Marcus Brinkmann
f7e02a469f 2004-03-11 Marcus Brinkmann <marcus@g10code.de>
* rungpg.c (gpg_cancel): Set GPG->fd_data_map to NULL after
	releasing it.
2004-03-11 13:54:27 +00:00
Marcus Brinkmann
dcb04fb195 2004-03-11 Marcus Brinkmann <marcus@g10code.de>
* engine-gpgsm.c (gpgsm_cancel): Only call assuan_disconnect if
	GPGSM->assuan_ctx is not NULL.  Set it to NULL afterwards.
2004-03-10 23:52:18 +00:00
Marcus Brinkmann
6de192d691 Prepare for next round of changes. 2004-03-08 00:57:49 +00:00
Marcus Brinkmann
4e4944ff19 *** empty log message *** 2004-03-07 22:55:35 +00:00
Marcus Brinkmann
af3c09d9b2 2004-03-07 Marcus Brinkmann <marcus@g10code.de>
* configure.ac (NEED_GPGSM_VERSION): Bump up to 1.9.6.

2004-03-07  Marcus Brinkmann  <marcus@g10code.de>

	* gpgsm/t-keylist.c: Add chain IDs.
2004-03-07 22:49:42 +00:00
Marcus Brinkmann
887c31aa0a 2004-03-03 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (I/O Callback Example Qt): New section by Marc Mutz.
2004-03-07 22:32:49 +00:00
Marcus Brinkmann
498347ce00 2004-03-07 Marcus Brinkmann <marcus@g10code.de>
Released 0.4.5.

	* Makefile.am (EXTRA_DIST): Remove autogen.sh and README.CVS.
2004-03-07 17:44:28 +00:00
Marcus Brinkmann
d6d3eaa858 2004-03-07 Marcus Brinkmann <marcus@g10code.de>
* gpgme-config.in: Do not emit include and lib directory for
	prefix "/usr" or "".
2004-03-07 17:41:43 +00:00
Marcus Brinkmann
52cf0dda67 2004-03-03 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (I/O Callback Example Qt): New section by Marc Mutz.
2004-03-03 16:11:41 +00:00
Werner Koch
e65396c735 * engine-gpgsm.c (gpgsm_export_ext): Properly insert a space
beween patterns.

* gpgsm/t-export.c (main): Also check exporting 2 certificates.
2004-03-03 15:15:41 +00:00
Marcus Brinkmann
d988a1820c 2004-02-25 Marcus Brinkmann <marcus@g10code.de>
* rungpg.c (gpg_cancel): New function.
	(gpg_release): Call it here.
	(_gpgme_engine_ops_gpg): Add it here.
	* engine-gpgsm.c (gpgsm_cancel): Fix last change.
2004-02-24 23:15:33 +00:00
Marcus Brinkmann
ed314ff766 doc/
2004-02-24  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme.texi (cancellation): New section.

gpgme/
2004-02-24  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme.c (gpgme_cancel): New function.
	* engine-backend.h (struct engine_ops): New member cancel.
	* engine.h (_gpgme_engine_cancel): New prototype.
	* engine.c (_gpgme_engine_cancel): New function.
	* engine-gpgsm.c: Add new member cancel.
	(gpgsm_cancel): New function.
	(gpgsm_release): Use it.
	* rungpg.c: Add new member cancel.
2004-02-24 23:08:48 +00:00
Werner Koch
fd8f4ac9f0 * configure.ac: Make the check for funopen fail with just a
warning.

* assuan-handler.c (assuan_get_data_fp): Fail with ENOSYS if we
can't implement this.
2004-02-18 18:05:38 +00:00
Werner Koch
91d3e5aa57 * gpgsm/t-import.c (check_result): gpgsm does now return info in
the result->imports; adjust for that.

* gpgsm/Makefile.am (TESTS_ENVIRONMENT): Reset the GPG_AGENT_INFO.

* gpg/t-keylist-sig.c (main): s/class/sig_class/.
* gpg/t-signers.c (check_result): Ditto.
* gpg/t-sign.c (check_result): Ditto.
* gpg/t-encrypt-sign.c (check_result): Ditto.
* gpgsm/t-sign.c (check_result): Ditto.
2004-02-17 17:26:20 +00:00
Werner Koch
afabac4c9d * gpgme.texi (Key Listing Mode): Doc KEYLIST_MODE_VALIDATE.
* gpgme.h: Add GPGME_KEYLIST_MODE_VALIDATE.
* engine-gpgsm.c (gpgsm_keylist): Send this to gpgsm.
2004-02-17 15:27:42 +00:00
Werner Koch
6e468be50e (memrchr): Fixed implementation. Problem pointed out
by Adriaan de Groot.
2004-02-15 16:02:36 +00:00
Werner Koch
3d6d811a83 Removed the unneeded alloca.h 2004-02-13 13:02:07 +00:00
Werner Koch
867df1aa04 Fixed funopen test change.
Hey, Moritz what was the orginal problem?  Does autoconf not anymore
allow to put AC_LIBOBJ into AC_CEHCK_FUNCS?
2004-02-10 10:10:40 +00:00
Moritz Schulte
a4bbdd6cbd 2004-02-06 Moritz Schulte <mo@g10code.com>
* gpgme.texi: A couple of small fixes regarding the Largfile
	Support section.
2004-02-06 15:47:15 +00:00
Moritz Schulte
cdf91c300d 2004-02-06 Moritz Schulte <mo@g10code.com>
* configure.ac: Fix funopen replacement mechanism.
2004-02-06 15:45:44 +00:00
Marcus Brinkmann
b1b57049f5 2004-02-01 Marcus Brinkmann <marcus@g10code.de>
* rungpg.c (build_argv): Use --no-comment, not --comment "".
2004-02-01 14:34:54 +00:00
Marcus Brinkmann
68ab067358 2004-01-31 Marcus Brinkmann <marcus@g10code.de>
* configure.ac: Add invocation of AC_SYS_LARGEFILE, AC_TYPE_OFF_T
	and AC_FUNC_FSEEKO.

doc/
2004-02-01  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme.texi (Largefile Support): New section.

gpgme/
2004-02-01  Marcus Brinkmann  <marcus@g10code.de>

	* data-compat.c (gpgme_data_new_from_filepart): Call fseeko if
	available.
	* data-stream.c (stream_seek): Likewise.
2004-02-01 13:39:45 +00:00
Werner Koch
0c2e282d2f (_gpgme_map_gnupg_error): Handle numerical codes as
used by GnuPG 1.9.x
2004-01-16 15:47:27 +00:00
Marcus Brinkmann
8986b98063 Add note about key signature notations. 2004-01-13 21:44:55 +00:00
Marcus Brinkmann
6d47796aa6 2004-01-13 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Key Management): Fix exportable field.
2004-01-13 21:43:25 +00:00
Marcus Brinkmann
76b5855b8e 2004-01-13 Marcus Brinkmann <marcus@g10code.de>
* gpgme.h (struct _gpgme_key_sig): Fix comment on REVOKED>
2004-01-13 21:42:04 +00:00
Werner Koch
615321b796 Added files usually installed bu automake. We want to keep them in the CVS
from now on.
2004-01-12 13:49:11 +00:00
Werner Koch
b5c66f75ba Updated the CVS build stuff 2004-01-12 13:41:20 +00:00
Werner Koch
215da10c1c About to release 0.4.4:
* configure.ac: Bumbed LT_Revision; now at C12/A1/R1.
(NEED_GPGSM_VERSION): Set to 1.9.3.

* sign.c: Include util.h for prototype of _gpgme_parse_timestamp.

* gpg/t-keylist-sig.c (main): Temporary disabled one test due top
gpg 1.3.4 problems.
* gpg/t-import.c (check_result): Likewise.
2004-01-12 13:28:36 +00:00
Marcus Brinkmann
de739f876b doc/
2003-12-25  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme.texi (Key Management): Rename member class in
	gpgme_key_sig_t to sig_class.
	(Creating a Signature): Likewise for gpgme_signature_t.

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

	* gpgme.h (_GPGME_D_CLASS): Revert this change.
	(struct _gpgme_key_sig): For C++ compilers, rename class
	member to _obsolete_class.  Add new member sig_class.
	(struct _gpgme_new_signature): Same here.
	* key.c (gpgme_key_sig_get_ulong_attr): Use CERTSIG->sig_class,
	not CERTSIG->class.
	* keylist.c (keylist_colon_handler): Likewise for KEYSIG, but keep
	setting KEYSIG->class, too.  Rename variable CLASS to SIG_CLASS.
	* sign.c (parse_sig_created): Set SIG->sig_class.
2003-12-25 14:38:40 +00:00
Moritz Schulte
a3d1b15db2 2003-12-23 Moritz Schulte <mo@g10code.com>
* gpgme.texi (Listing Keys): Minor clarification for
	gpgme_get_key.
2003-12-23 09:08:06 +00:00
Werner Koch
4597915910 C++ fixes 2003-12-23 08:21:08 +00:00
Werner Koch
82cb03cc83 * gpg/t-support.h (DIM): Added.
* gpg/t-verify.c (check_result): Rewrote test for notations
because the order of notaions is not guaranteed.

* gpgsm/t-support.h (fail_if_err): Also print the numeric values.
2003-11-19 15:15:33 +00:00
Werner Koch
7fab1937f8 * conversion.c (_gpgme_parse_timestamp): New.
(atoi_1, atoi_2, atoi_4): New.
* keylist.c (parse_timestamp): Removed. Changed all callers to use
the new function.
* verify.c (parse_valid_sig): Ditto.  Repalced the errno check.
* sign.c (parse_sig_created): Ditto.
2003-11-19 15:15:21 +00:00
Werner Koch
9cf95d61eb * acinclude.m4: Add AM_PATH_GPG_ERROR.
* configure.ac: Check for timegm.  Made warning messages more
prominent.
2003-11-19 15:15:11 +00:00
Werner Koch
23a2e04133 Silly me: Reverted last change. The code here is actually okay but
when driving the one for gnupg, the bug was probably introduced.
2003-11-13 07:31:58 +00:00