Werner Koch
80997967c5
(memrchr): Fixed implementation. Problem pointed out
...
by Adriaan de Groot.
2004-02-15 16:02:36 +00:00
Werner Koch
e7a79303ab
Removed the unneeded alloca.h
2004-02-13 13:02:07 +00:00
Werner Koch
6889656312
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
beb6b0accf
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
cadac2e3af
2004-02-06 Moritz Schulte <mo@g10code.com>
...
* configure.ac: Fix funopen replacement mechanism.
2004-02-06 15:45:44 +00:00
Marcus Brinkmann
1e514df02c
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
20a0d5bab8
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
6e79929111
(_gpgme_map_gnupg_error): Handle numerical codes as
...
used by GnuPG 1.9.x
2004-01-16 15:47:27 +00:00
Marcus Brinkmann
e6479ea9df
Add note about key signature notations.
2004-01-13 21:44:55 +00:00
Marcus Brinkmann
e8dc4f650d
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
02106062cb
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
bd6025ca88
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
05ed4a677e
Updated the CVS build stuff
2004-01-12 13:41:20 +00:00
Werner Koch
dfd32b8155
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
ed9ae3056a
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
6b8fdd8c7e
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
f1ec43bd3f
C++ fixes
2003-12-23 08:21:08 +00:00
Werner Koch
87f26c4e54
* 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
3109089bd0
* 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
5a5e9a7758
* 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
4e148b115e
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
3dfd4f9516
(int_vasprintf): ARGS should not be a pointer.
2003-11-13 07:26:53 +00:00
Werner Koch
fb2161c2ea
(parse_timestamp): Detect ISO 8601 timestamps and try
...
to convert them.
2003-10-31 12:07:48 +00:00
Marcus Brinkmann
aaf7401562
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
970d95d9d1
Prepare for developing the next version.
2003-10-06 21:14:23 +00:00
Marcus Brinkmann
6e991c3a95
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
2fa6a44cf4
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
de014f751b
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
ac72874830
Fix last change.
2003-10-06 19:22:21 +00:00
Marcus Brinkmann
40520da87b
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
aa0c37862b
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
2d4d08dd4f
Add item about sigaction.
2003-10-06 16:32:21 +00:00
Marcus Brinkmann
74b3256bc5
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
ef8cd10552
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
c13d39712c
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
faa75476e4
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
31f31f1c07
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
f10f7452e8
Remove empty line
2003-10-06 12:02:25 +00:00
Marcus Brinkmann
4a8d55ab06
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
5e857426de
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
24af7e00d9
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
069f33acf8
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
340937946d
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
a0f8f09828
Include "t-support.h".
2003-09-14 01:05:06 +00:00
Marcus Brinkmann
09e4de60c8
Require libgpg-error 0.5.
2003-09-14 00:41:39 +00:00
Marcus Brinkmann
4b1cee53dd
Update release list.
2003-09-14 00:34:48 +00:00
Marcus Brinkmann
455ab023c7
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
eca0f0165e
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
9681a5e859
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
f83b0c6101
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