Commit Graph

2184 Commits

Author SHA1 Message Date
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
Werner Koch
c2740411a9 (int_vasprintf): ARGS should not be a pointer. 2003-11-13 07:26:53 +00:00
Werner Koch
2f1226cea9 (parse_timestamp): Detect ISO 8601 timestamps and try
to convert them.
2003-10-31 12:07:48 +00:00
Marcus Brinkmann
2250b42294 2003-10-10 Marcus Brinkmann <marcus@g10code.de>
* genkey.c (get_key_parameter): Make a copy of the key parameters.
	Submitted by Miguel Coca <e970095@zipi.fi.upm.es>.
2003-10-10 09:08:23 +00:00
Marcus Brinkmann
96793df9ec Prepare for developing the next version. 2003-10-06 21:14:23 +00:00
Marcus Brinkmann
01e247eeb4 2003-10-06 Marcus Brinkmann <marcus@g10code.de>
* data-compat.c: Include <sys/time.h> before <sys/stat.h> for
	broken systems.
2003-10-06 19:48:46 +00:00
Marcus Brinkmann
91cc459641 2003-10-06 Marcus Brinkmann <marcus@g10code.de>
* gpg/t-eventloop.c: Include <sys/types.h> for old systems.
2003-10-06 19:46:55 +00:00
Marcus Brinkmann
638c25eda4 2003-10-06 Marcus Brinkmann <marcus@g10code.de>
* gpgsm/Makefile.am (DISTCLEANFILES): Add random_seed.
2003-10-06 19:33:05 +00:00
Marcus Brinkmann
b8f831b7a0 Fix last change. 2003-10-06 19:22:21 +00:00
Marcus Brinkmann
ccb90f4e4d 2003-10-06 Marcus Brinkmann <marcus@g10code.de>
* engine-gpgsm.c (map_assuan_error): If ERR is -1, return sensible
	error.
2003-10-06 19:12:50 +00:00
Marcus Brinkmann
e702f52860 2003-10-06 Marcus Brinkmann <marcus@g10code.de>
Released 0.4.3.

	* configure.ac (LIBGPGME_LT_CURRENT, LIBGPGME_LT_AGE): Bump up by 1.
	(LIBGPGME_LT_REVISION): Set to 0.
2003-10-06 18:30:54 +00:00
Marcus Brinkmann
8b4852963b Add item about sigaction. 2003-10-06 16:32:21 +00:00
Marcus Brinkmann
0d0378a200 doc/
2003-10-06  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme.texi (Signal Handling): New section.

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

	* io.h (_gpgme_io_subsystem_init): New prototype.
	* posix-io.c (_gpgme_io_subsystem_init): Add function.
	(_gpgme_io_spawn): Do not fixup signal handler here.
	* version.c (do_subsystem_inits): Call _gpgme_io_subsystem_init.

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

	* gpg/t-thread1.c (thread_one): Do not call initialize_gpgme.
	Likewise.
2003-10-06 16:17:13 +00:00
Marcus Brinkmann
5024a533e8 2003-10-06 Marcus Brinkmann <marcus@g10code.de>
* debug.c (debug_init): Drop const qualifier from E.
2003-10-06 14:50:19 +00:00
Marcus Brinkmann
142f4aea09 2003-10-06 Marcus Brinkmann <marcus@g10code.de>
* ath.h (struct ath_ops): Make ADDR argument of CONNECT prototype
	const.
	(ath_connect): Make ADDR argument const.
	* ath-pthread.c (ath_connect): Likewise.
	* ath-pth.c (ath_connect): Likewise.
	* ath-compat.c (ath_connect): Likewise.
	* ath.c (ath_connect): Likewise.
2003-10-06 14:06:31 +00:00
Marcus Brinkmann
4cb6f77a32 2003-10-06 Marcus Brinkmann <marcus@g10code.de>
* ath.h [HAVE_SYS_SELECT_H]: Include <sys/select.h> for fd_set.
	[!HAVE_SYS_SELECT_H]: Include <sys/time.h>.

	* conversion.c (_gpgme_hextobyte): Drop "unsigned" from type of
	SRC argument.
	* util.h (_gpgme_hextobyte): Likewise for prototype.

	* gpgme.h: Remove trailing comma in enum.
2003-10-06 13:24:13 +00:00
Marcus Brinkmann
5168a8d5be 2003-10-06 Marcus Brinkmann <marcus@g10code.de>
* rungpg.c: Do not include <time.h>, <sys/time.h>, <sys/types.h>,
	<signal.h>, <fcntl.h>, or "unistd.h".
2003-10-06 12:15:18 +00:00
Marcus Brinkmann
fe37afc050 Remove empty line 2003-10-06 12:02:25 +00:00
Marcus Brinkmann
91f217b4b2 2003-10-02 Marcus Brinkmann <marcus@g10code.de>
* engine-backend.h (struct engine_ops): Add argument TYPE.
	* engine.c (_gpgme_engine_op_edit): Likewise.
	* engine.h: Likewise.
	* rungpg.c (gpg_edit): Likewise.  Use it.
	* edit.c (edit_start): Likewise.  Pass it on.
	(gpgme_op_edit_start, gpgme_op_edit): Likewise.
	(gpgme_op_card_edit_start, gpgme_op_card_edit): New functions.
2003-10-02 15:03:02 +00:00
Marcus Brinkmann
2f91a25865 2003-09-30 Marcus Brinkmann <marcus@g10code.de>
* gpgme.h (gpg_strerror_r): Change prototype to match
	gpg_strerror_r change.
	* error.c (gpg_strerror_r): Likewise, also update implementation.
2003-09-30 19:36:20 +00:00
Marcus Brinkmann
d66ff5e665 2003-09-30 Marcus Brinkmann <marcus@g10code.de>
* gpgme.c (gpgme_hash_algo_name): Change name of RMD160 to
	RIPEMD160, name of TIGER to TIGER192, name of CRC32-RFC1510 to
	CRC32RFC1510, and name of CRC24-RFC2440 to CRC24RFC2440.
2003-09-30 17:19:13 +00:00
Marcus Brinkmann
b4473cfffd doc/
2003-09-14  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme.texi (Multi Threading): Correct documentation on memory
	synchronization requirement.

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

	* gpg/t-thread1.c (main): Call init_gpgme here.
	(initialize_gpgme): Function removed.
2003-09-14 14:48:48 +00:00
Marcus Brinkmann
0a952a59b6 2003-09-14 Marcus Brinkmann <marcus@g10code.de>
* gpg/t-thread1.c: New file.
	* gpg/Makefile.am (TESTS): Add t-thread1.c.
	(t_thread1_LDADD): New variable.
	(LDADD): Remove GPG Error lib.
	* gpgsm/Makefile.am (LDADD): Likewise.
2003-09-14 01:32:41 +00:00
Marcus Brinkmann
38a0357afb Include "t-support.h". 2003-09-14 01:05:06 +00:00
Marcus Brinkmann
0291c00091 Require libgpg-error 0.5. 2003-09-14 00:41:39 +00:00
Marcus Brinkmann
68def3d9dc Update release list. 2003-09-14 00:34:48 +00:00
Marcus Brinkmann
f8867f2707 2003-09-14 Marcus Brinkmann <marcus@g10code.de>
* gpg/t-import.c (main): Likewise.
	* gpg/t-keylist-sig.c (main): Likewise.
	* gpg/t-keylist.c (main): Likewise.
	* gpg/t-sign.c (main): Likewise.
	* gpg/t-signers.c (main): Likewise.
	* gpg/t-trustlist.c (main): Likewise.
	* gpgsm/t-support.h: Include <stdlib.h> and <locale.h>.
	(init_gpgme): New function.
	* gpg/t-support.h: Likewise.
	* gpgsm/t-verify.c (main): Call init_gpgme.
	* gpgsm/t-decrypt.c (main): Likewise.
	* gpgsm/t-encrypt.c (main): Likewise.
	* gpgsm/t-export.c (main): Likewise.
	* gpgsm/t-genkey.c (main): Likewise.
	* gpgsm/t-import.c (main): Likewise.
	* gpgsm/t-keylist.c (main): Likewise.
	* gpgsm/t-sign.c (main): Likewise.
	* gpg/t-verify.c (main): Call init_gpgme.
	* gpg/t-decrypt-verify.c (main): Likewise.
	* gpg/t-decrypt.c (main): Likewise.
	* gpg/t-edit.c (main): Likewise.
	* gpg/t-encrypt-sign.c (main): Likewise.
	* gpg/t-encrypt-sym.c (main): Likewise.
	* gpg/t-encrypt.c (main): Likewise.
	* gpg/t-eventloop.c (main): Likewise.
	* gpg/t-export.c (main): Likewise.
	* gpg/t-genkey.c (main): Likewise.
2003-09-14 00:30:53 +00:00
Marcus Brinkmann
e4792cfb7d 2003-09-14 Marcus Brinkmann <marcus@g10code.de>
* gpgme.h: Add prototype for gpgme_set_locale.
2003-09-14 00:29:42 +00:00
Marcus Brinkmann
36e27200b7 2003-09-14 Marcus Brinkmann <marcus@g10code.de>
* gpgme.h: Define macro _GPGME_INLINE depending on the compiler
	characteristics and use that instead __inline__.
2003-09-14 00:06:22 +00:00
Marcus Brinkmann
256ef2e87e doc/
2003-09-14  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme.texi (Locale): New section.
	(Multi Threading): Set locale in example.

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

	* context.h (struct gpgme_context): New members lc_ctype and
	lc_messages.
	* gpgme.c: Include <locale.h>.
	(def_lc_lock, def_lc_ctype, def_lc_messages): New static
	variables.
	(gpgme_set_locale): New function.
	* engine.c (_gpgme_engine_new): Add arguments lc_ctype and
	lc_messages.
	* engine.h (_gpgme_engine_new): Likewise.
	* engine-gpgsm.c (gpgsm_new): Likewise.
	* rungpg.c (gpg_new): Likewise.
	* engine-backend.h (struct engine_ops): Likewise to NEW.
	* op-support.c (_gpgme_op_reset): Likewise to invocation of
	_gpgme_engine_new.
2003-09-14 00:02:41 +00:00
Marcus Brinkmann
c4ea1235d5 doc/
2003-09-13  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme.texi (Error Strings): Add gpgme_strerror_r.

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

	* gpgme.h (gpgme_strerror_r): New prototype.
	* error.c (gpgme_strerror_r): New function.
2003-09-13 21:45:13 +00:00
Marcus Brinkmann
33912dcc86 2003-09-13 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Multi Threading): Update documentation.
2003-09-13 18:04:16 +00:00