gpgme.git
15 years ago2004-03-11 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 11 Mar 2004 13:54:27 +0000 (13:54 +0000)]
2004-03-11  Marcus Brinkmann  <marcus@g10code.de>

* rungpg.c (gpg_cancel): Set GPG->fd_data_map to NULL after
releasing it.

15 years ago2004-03-11 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 10 Mar 2004 23:52:18 +0000 (23:52 +0000)]
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.

15 years agoPrepare for next round of changes.
Marcus Brinkmann [Mon, 8 Mar 2004 00:57:49 +0000 (00:57 +0000)]
Prepare for next round of changes.

15 years ago*** empty log message *** gpgme-0-4-5
Marcus Brinkmann [Sun, 7 Mar 2004 22:55:35 +0000 (22:55 +0000)]
*** empty log message ***

15 years ago2004-03-07 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sun, 7 Mar 2004 22:49:42 +0000 (22:49 +0000)]
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.

15 years ago2004-03-03 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sun, 7 Mar 2004 22:32:49 +0000 (22:32 +0000)]
2004-03-03  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (I/O Callback Example Qt): New section by Marc Mutz.

15 years ago2004-03-07 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sun, 7 Mar 2004 17:44:28 +0000 (17:44 +0000)]
2004-03-07  Marcus Brinkmann  <marcus@g10code.de>

Released 0.4.5.

* Makefile.am (EXTRA_DIST): Remove autogen.sh and README.CVS.

15 years ago2004-03-07 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sun, 7 Mar 2004 17:41:43 +0000 (17:41 +0000)]
2004-03-07  Marcus Brinkmann  <marcus@g10code.de>

* gpgme-config.in: Do not emit include and lib directory for
prefix "/usr" or "".

15 years ago2004-03-03 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 3 Mar 2004 16:11:41 +0000 (16:11 +0000)]
2004-03-03  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (I/O Callback Example Qt): New section by Marc Mutz.

15 years ago* engine-gpgsm.c (gpgsm_export_ext): Properly insert a space
Werner Koch [Wed, 3 Mar 2004 15:15:41 +0000 (15:15 +0000)]
* engine-gpgsm.c (gpgsm_export_ext): Properly insert a space
beween patterns.

* gpgsm/t-export.c (main): Also check exporting 2 certificates.

15 years ago2004-02-25 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 24 Feb 2004 23:15:33 +0000 (23:15 +0000)]
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.

15 years agodoc/
Marcus Brinkmann [Tue, 24 Feb 2004 23:08:48 +0000 (23:08 +0000)]
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.

15 years ago* configure.ac: Make the check for funopen fail with just a
Werner Koch [Wed, 18 Feb 2004 18:05:38 +0000 (18:05 +0000)]
* 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.

15 years ago* gpgsm/t-import.c (check_result): gpgsm does now return info in
Werner Koch [Tue, 17 Feb 2004 17:26:20 +0000 (17:26 +0000)]
* 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.

15 years ago* gpgme.texi (Key Listing Mode): Doc KEYLIST_MODE_VALIDATE.
Werner Koch [Tue, 17 Feb 2004 15:27:42 +0000 (15:27 +0000)]
* 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.

15 years ago(memrchr): Fixed implementation. Problem pointed out
Werner Koch [Sun, 15 Feb 2004 16:02:36 +0000 (16:02 +0000)]
(memrchr): Fixed implementation.  Problem pointed out
by Adriaan de Groot.

15 years agoRemoved the unneeded alloca.h
Werner Koch [Fri, 13 Feb 2004 13:02:07 +0000 (13:02 +0000)]
Removed the unneeded alloca.h

15 years agoFixed funopen test change.
Werner Koch [Tue, 10 Feb 2004 10:10:40 +0000 (10:10 +0000)]
Fixed funopen test change.

Hey, Moritz what was the orginal problem?  Does autoconf not anymore
allow to put AC_LIBOBJ into AC_CEHCK_FUNCS?

15 years ago2004-02-06 Moritz Schulte <mo@g10code.com>
Moritz Schulte [Fri, 6 Feb 2004 15:47:15 +0000 (15:47 +0000)]
2004-02-06  Moritz Schulte  <mo@g10code.com>

* gpgme.texi: A couple of small fixes regarding the Largfile
Support section.

15 years ago2004-02-06 Moritz Schulte <mo@g10code.com>
Moritz Schulte [Fri, 6 Feb 2004 15:45:44 +0000 (15:45 +0000)]
2004-02-06  Moritz Schulte  <mo@g10code.com>

* configure.ac: Fix funopen replacement mechanism.

15 years ago2004-02-01 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sun, 1 Feb 2004 14:34:54 +0000 (14:34 +0000)]
2004-02-01  Marcus Brinkmann  <marcus@g10code.de>

* rungpg.c (build_argv): Use --no-comment, not --comment "".

15 years ago2004-01-31 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sun, 1 Feb 2004 13:39:45 +0000 (13:39 +0000)]
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.

15 years ago(_gpgme_map_gnupg_error): Handle numerical codes as
Werner Koch [Fri, 16 Jan 2004 15:47:27 +0000 (15:47 +0000)]
(_gpgme_map_gnupg_error): Handle numerical codes as
used by GnuPG 1.9.x

15 years agoAdd note about key signature notations.
Marcus Brinkmann [Tue, 13 Jan 2004 21:44:55 +0000 (21:44 +0000)]
Add note about key signature notations.

15 years ago2004-01-13 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 13 Jan 2004 21:43:25 +0000 (21:43 +0000)]
2004-01-13  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Key Management): Fix exportable field.

15 years ago2004-01-13 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 13 Jan 2004 21:42:04 +0000 (21:42 +0000)]
2004-01-13  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.h (struct _gpgme_key_sig): Fix comment on REVOKED>

15 years agoAdded files usually installed bu automake. We want to keep them in the CVS gpgme-0-4-4
Werner Koch [Mon, 12 Jan 2004 13:49:11 +0000 (13:49 +0000)]
Added files usually installed bu automake.  We want to keep them in the CVS
from now on.

15 years agoUpdated the CVS build stuff
Werner Koch [Mon, 12 Jan 2004 13:41:20 +0000 (13:41 +0000)]
Updated the CVS build stuff

15 years agoAbout to release 0.4.4:
Werner Koch [Mon, 12 Jan 2004 13:28:36 +0000 (13:28 +0000)]
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.

15 years agodoc/
Marcus Brinkmann [Thu, 25 Dec 2003 14:38:40 +0000 (14:38 +0000)]
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.

15 years ago2003-12-23 Moritz Schulte <mo@g10code.com>
Moritz Schulte [Tue, 23 Dec 2003 09:08:06 +0000 (09:08 +0000)]
2003-12-23  Moritz Schulte  <mo@g10code.com>

* gpgme.texi (Listing Keys): Minor clarification for
gpgme_get_key.

15 years agoC++ fixes
Werner Koch [Tue, 23 Dec 2003 08:21:08 +0000 (08:21 +0000)]
C++ fixes

15 years ago* gpg/t-support.h (DIM): Added.
Werner Koch [Wed, 19 Nov 2003 15:15:33 +0000 (15:15 +0000)]
* 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.

15 years ago* conversion.c (_gpgme_parse_timestamp): New.
Werner Koch [Wed, 19 Nov 2003 15:15:21 +0000 (15:15 +0000)]
* 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.

15 years ago* acinclude.m4: Add AM_PATH_GPG_ERROR.
Werner Koch [Wed, 19 Nov 2003 15:15:11 +0000 (15:15 +0000)]
* acinclude.m4: Add AM_PATH_GPG_ERROR.
* configure.ac: Check for timegm.  Made warning messages more
prominent.

15 years agoSilly me: Reverted last change. The code here is actually okay but
Werner Koch [Thu, 13 Nov 2003 07:31:58 +0000 (07:31 +0000)]
Silly me:  Reverted last change.  The code here is actually okay but
when driving the one for gnupg, the bug was probably introduced.

15 years ago(int_vasprintf): ARGS should not be a pointer.
Werner Koch [Thu, 13 Nov 2003 07:26:53 +0000 (07:26 +0000)]
(int_vasprintf): ARGS should not be a pointer.

15 years ago(parse_timestamp): Detect ISO 8601 timestamps and try
Werner Koch [Fri, 31 Oct 2003 12:07:48 +0000 (12:07 +0000)]
(parse_timestamp): Detect ISO 8601 timestamps and try
to convert them.

15 years ago2003-10-10 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 10 Oct 2003 09:08:23 +0000 (09:08 +0000)]
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>.

15 years agoPrepare for developing the next version.
Marcus Brinkmann [Mon, 6 Oct 2003 21:14:23 +0000 (21:14 +0000)]
Prepare for developing the next version.

15 years ago2003-10-06 Marcus Brinkmann <marcus@g10code.de> gpgme-0-4-3
Marcus Brinkmann [Mon, 6 Oct 2003 19:48:46 +0000 (19:48 +0000)]
2003-10-06  Marcus Brinkmann  <marcus@g10code.de>

* data-compat.c: Include <sys/time.h> before <sys/stat.h> for
broken systems.

15 years ago2003-10-06 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 6 Oct 2003 19:46:55 +0000 (19:46 +0000)]
2003-10-06  Marcus Brinkmann  <marcus@g10code.de>

* gpg/t-eventloop.c: Include <sys/types.h> for old systems.

15 years ago2003-10-06 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 6 Oct 2003 19:33:05 +0000 (19:33 +0000)]
2003-10-06  Marcus Brinkmann  <marcus@g10code.de>

* gpgsm/Makefile.am (DISTCLEANFILES): Add random_seed.

15 years agoFix last change.
Marcus Brinkmann [Mon, 6 Oct 2003 19:22:21 +0000 (19:22 +0000)]
Fix last change.

15 years ago2003-10-06 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 6 Oct 2003 19:12:50 +0000 (19:12 +0000)]
2003-10-06  Marcus Brinkmann  <marcus@g10code.de>

* engine-gpgsm.c (map_assuan_error): If ERR is -1, return sensible
error.

15 years ago2003-10-06 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 6 Oct 2003 18:30:54 +0000 (18:30 +0000)]
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.

15 years agoAdd item about sigaction.
Marcus Brinkmann [Mon, 6 Oct 2003 16:32:21 +0000 (16:32 +0000)]
Add item about sigaction.

15 years agodoc/
Marcus Brinkmann [Mon, 6 Oct 2003 16:17:13 +0000 (16:17 +0000)]
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.

15 years ago2003-10-06 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 6 Oct 2003 14:50:19 +0000 (14:50 +0000)]
2003-10-06  Marcus Brinkmann  <marcus@g10code.de>

* debug.c (debug_init): Drop const qualifier from E.

15 years ago2003-10-06 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 6 Oct 2003 14:06:31 +0000 (14:06 +0000)]
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.

15 years ago2003-10-06 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 6 Oct 2003 13:24:13 +0000 (13:24 +0000)]
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.

15 years ago2003-10-06 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 6 Oct 2003 12:15:18 +0000 (12:15 +0000)]
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".

15 years agoRemove empty line
Marcus Brinkmann [Mon, 6 Oct 2003 12:02:25 +0000 (12:02 +0000)]
Remove empty line

15 years ago2003-10-02 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 2 Oct 2003 15:03:02 +0000 (15:03 +0000)]
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.

15 years ago2003-09-30 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 30 Sep 2003 19:36:20 +0000 (19:36 +0000)]
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.

15 years ago2003-09-30 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 30 Sep 2003 17:19:13 +0000 (17:19 +0000)]
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.

15 years agodoc/
Marcus Brinkmann [Sun, 14 Sep 2003 14:48:48 +0000 (14:48 +0000)]
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.

15 years ago2003-09-14 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sun, 14 Sep 2003 01:32:41 +0000 (01:32 +0000)]
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.

15 years agoInclude "t-support.h".
Marcus Brinkmann [Sun, 14 Sep 2003 01:05:06 +0000 (01:05 +0000)]
Include "t-support.h".

15 years agoRequire libgpg-error 0.5.
Marcus Brinkmann [Sun, 14 Sep 2003 00:41:39 +0000 (00:41 +0000)]
Require libgpg-error 0.5.

15 years agoUpdate release list.
Marcus Brinkmann [Sun, 14 Sep 2003 00:34:48 +0000 (00:34 +0000)]
Update release list.

15 years ago2003-09-14 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sun, 14 Sep 2003 00:30:53 +0000 (00:30 +0000)]
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.

15 years ago2003-09-14 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sun, 14 Sep 2003 00:29:42 +0000 (00:29 +0000)]
2003-09-14  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.h: Add prototype for gpgme_set_locale.

15 years ago2003-09-14 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sun, 14 Sep 2003 00:06:22 +0000 (00:06 +0000)]
2003-09-14  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.h: Define macro _GPGME_INLINE depending on the compiler
characteristics and use that instead __inline__.

15 years agodoc/
Marcus Brinkmann [Sun, 14 Sep 2003 00:02:41 +0000 (00:02 +0000)]
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.

15 years agodoc/
Marcus Brinkmann [Sat, 13 Sep 2003 21:45:13 +0000 (21:45 +0000)]
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.

15 years ago2003-09-13 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sat, 13 Sep 2003 18:04:16 +0000 (18:04 +0000)]
2003-09-13  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Multi Threading): Update documentation.

15 years ago2003-09-13 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sat, 13 Sep 2003 17:45:04 +0000 (17:45 +0000)]
2003-09-13  Marcus Brinkmann  <marcus@g10code.de>

* acinclude.m4: Remove libtool cruft, add jm_GLIBC21.
* configure.ac: Add check for getenv_r, and call jm_GLIBC21.
Define HAVE_THREAD_SAFE_GETENV if appropriate.

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

* get-env.c: New file.
* util.h (_gpgme_getenv): Add prototype.
* Makefile.am (libgpgme_real_la_SOURCES): Add get-env.c.
* rungpg.c (build_argv): Use _gpgme_getenv.
* debug.c (debug_init): Likewise.
* engine-gpgsm.c (gpgsm_new): Likewise.
(gpgsm_new): Use ttyname_r.
* w32-io.c (_gpgme_io_spawn): Disable debugging for now.

15 years ago2003-09-03 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 3 Sep 2003 20:58:38 +0000 (20:58 +0000)]
2003-09-03  Marcus Brinkmann  <marcus@g10code.de>

* gpgme-config.in: Use $libdir, not @libdir@, for the echo
command.

15 years agoDocument thread changes.
Marcus Brinkmann [Wed, 3 Sep 2003 01:18:25 +0000 (01:18 +0000)]
Document thread changes.

15 years ago2003-09-03 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 3 Sep 2003 01:15:56 +0000 (01:15 +0000)]
2003-09-03  Marcus Brinkmann  <marcus@g10code.de>

* configure.ac: Remove GPGME_CONFIG_LIBS and GPGME_CONFIG_CFLAGS.

doc/
2003-09-03  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Header): We don't use the assuan namespace anymore.
Document new thread options.

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

* gpgme-config.in: Rewritten.
* gpgme.m4: Rewritten.

15 years agoDocument some more problems.
Marcus Brinkmann [Tue, 2 Sep 2003 22:44:46 +0000 (22:44 +0000)]
Document some more problems.

15 years ago2003-08-14 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 2 Sep 2003 22:00:37 +0000 (22:00 +0000)]
2003-08-14  Marcus Brinkmann  <marcus@g10code.de>

* gpg/t-sign.c (check_result): Change output format for signature
class to unsigned int.
* gpg/t-signers.c (check_result): Likewise.
* gpg/t-encrypt-sign.c (check_result): Likewise.
* gpgsm/t-sign.c (check_result): Likewise.

15 years ago2003-09-02 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 2 Sep 2003 21:46:31 +0000 (21:46 +0000)]
2003-09-02  Marcus Brinkmann  <marcus@g10code.de>

* configure.ac: Move invocation of AC_CANONICAL_HOST up to
suppress warning by autoconf.

15 years ago2003-08-30 Robert Schiele <rschiele@uni-mannheim.de>
Marcus Brinkmann [Tue, 2 Sep 2003 18:04:22 +0000 (18:04 +0000)]
2003-08-30  Robert Schiele <rschiele@uni-mannheim.de>

* gpgme.spec.in: %{_infodir}/dir is not packaged,
remove to prevent checking failure.

15 years ago2003-08-18 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 20 Aug 2003 20:41:18 +0000 (20:41 +0000)]
2003-08-18  Marcus Brinkmann  <marcus@g10code.de>

*configure.ac (AM_PATH_GPG_ERROR): Require 0.3.

assuan/
See README.1st.

gpgme/
2003-08-19  Marcus Brinkmann  <marcus@g10code.de>

The ath files (ath.h, ath.c, ath-pth.c, ath-pthread.c,
ath-compat.c, ath-pth-compat.c and ath-pthread-compat.c) have been
updated to have better thread support, and the Makefile.am was
changed to reflect that.

* util.h [!HAVE_FOPENCOOKIE]: Remove fopencookie declaration.
* engine-gpgsm.c (gpgsm_assuan_simple_command): Set ERR to return
value of status_fnc.
* rungpg.c (start): Return SAVED_ERRNO, not errno.

15 years ago2003-08-18 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 20 Aug 2003 20:20:46 +0000 (20:20 +0000)]
2003-08-18  Marcus Brinkmann  <marcus@g10code.de>

*configure.ac (AM_PATH_GPG_ERROR): Require 0.3.

assuan/
See README.1st.

gpgme/
2003-08-19  Marcus Brinkmann  <marcus@g10code.de>

The ath files (ath.h, ath.c, ath-pth.c, ath-pthread.c,
ath-compat.c, ath-pth-compat.c and ath-pthread-compat.c) have been
updated to have better thread support, and the Makefile.am was
changed to reflect that.

* util.h [!HAVE_FOPENCOOKIE]: Remove fopencookie declaration.
* engine-gpgsm.c (gpgsm_assuan_simple_command): Set ERR to return
value of status_fnc.
* rungpg.c (start): Return SAVED_ERRNO, not errno.

15 years ago2003-08-18 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 18 Aug 2003 19:17:08 +0000 (19:17 +0000)]
2003-08-18  Marcus Brinkmann  <marcus@g10code.de>

* configure.ac: If building Assuan, check for funopen and
fopencookie, and make isascii, putc_unlocked and memrchr
replacement functions.

assuan/
Update to the latest assuan version.

gpgme/
2003-08-18  Marcus Brinkmann  <marcus@g10code.de>

* funopen.c, putc_unlocked.c, isascii.c, memrchr.c: New files.
* fopencookie.c: File removed.

15 years ago2003-08-15 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 14 Aug 2003 22:54:42 +0000 (22:54 +0000)]
2003-08-15  Marcus Brinkmann  <marcus@g10code.de>

* gpgme-config.in: Put gpg-error related flags after gpgme's.

15 years agodoc/
Marcus Brinkmann [Thu, 14 Aug 2003 17:32:18 +0000 (17:32 +0000)]
doc/
2003-08-14  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Creating a Signature): Change type of member class
to unsigned int.

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

* gpgme.h (struct _gpgme_new_signature): Rename member CLASS to
_OBSOLETE_CLASS, add member CLASS with type unsigned int.
* sign.c (parse_sig_created): Also set SIG->_unused_class for
backward compatibility.

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

* gpg/t-sign.c (check_result): Change output format for signature
class to unsigned int.

15 years agoAdd info about bug fix.
Marcus Brinkmann [Mon, 4 Aug 2003 21:13:49 +0000 (21:13 +0000)]
Add info about bug fix.

15 years agodoc/
Marcus Brinkmann [Mon, 4 Aug 2003 21:11:11 +0000 (21:11 +0000)]
doc/
2003-08-04  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Verify): Get error code from SIG->status in the code
for gpgme_get_sig_status.

gpgme/
2003-08-04  Marcus Brinkmann  <marcus@g10code.de>

* verify.c (parse_new_sig): Fix status parsing case.

15 years agodoc/
Marcus Brinkmann [Thu, 31 Jul 2003 16:59:36 +0000 (16:59 +0000)]
doc/
2003-07-31  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Key Management): Add can_authenticate flag.

gpgme/
2003-07-31  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.h (struct _gpgme_subkey): Add flag CAN_AUTHENTICATE.
Lower _UNUSED to 23 bits.
(struct _gpgme_key): Likewise.
* keylist.c (set_mainkey_capability): Support 'a' and 'A'.
(set_subkey_capability): Support 'a'.

15 years agodoc/
Marcus Brinkmann [Thu, 31 Jul 2003 16:01:13 +0000 (16:01 +0000)]
doc/
2003-07-31  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Listing Keys): Document GPG_ERR_AMBIGUOUS_NAME for
gpgme_get_key.

gpgme/
2003-07-31  Marcus Brinkmann  <marcus@g10code.de>

* keylist.c (gpgme_get_key): Check if there is more than one key
listed, and return GPG_ERR_AMBIGUOUS_NAME in that case.

15 years ago2003-07-31 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 31 Jul 2003 15:57:35 +0000 (15:57 +0000)]
2003-07-31  Marcus Brinkmann  <marcus@g10code.de>

* configure.ac (AC_INIT): Bump version to 0.4.3.

15 years ago2003-07-31 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 31 Jul 2003 15:44:32 +0000 (15:44 +0000)]
2003-07-31  Marcus Brinkmann  <marcus@g10code.de>

* gpg/t-verify.c (check_result): Change type of SUMMARY to
unsigned int.
* gpg/t-decrypt-verify.c (check_verify_result): Likewise.
* gpg/t-keylist-sig.c (keys): Change type of member CLASS to
unsigned int.
* t-data.c (read_cb): Change type of AMOUNT to unsigned int.
* t-version.c (version): Remove unused variable.

15 years ago2003-07-31 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 31 Jul 2003 15:44:02 +0000 (15:44 +0000)]
2003-07-31  Marcus Brinkmann  <marcus@g10code.de>

* util.h (_gpgme_decode_c_string): Change type of LEN argument to
size_t.
(_gpgme_decode_percent_string): Likewise.
* conversion.c (_gpgme_decode_c_string): Likewise.
(_gpgme_decode_percent_string): Likewise.
(_gpgme_map_gnupg_error): Change type of I to unsigned int.
* signers.c (gpgme_signers_clear): Likewise.
(gpgme_signers_enum): New unsigned variable SEQNO, set to SEQ.
Use SEQNO instead SEQ.
* wait.c (fd_table_put): Change type of I and J to unsigned int.
* wait-global.c (_gpgme_wait_global_event_cb): Change type of IDX
to unsigned int.
(gpgme_wait): Change type of I and IDX to unsigned int.
* wait-private.c (_gpgme_wait_on_condition): Change type of IDX
and I to unsigned int.
* posix-io.c (_gpgme_io_close): Cast return value of macro DIM to
int to suppress gcc warning.
(_gpgme_io_set_close_notify): Likewise.
(_gpgme_io_select): Change type of I to unsigned int.
* engine.c (gpgme_get_engine_info): Change type of PROTO to
unsigned int.
* wait-user.c (_gpgme_user_io_cb_handler): Change type of IDX and
I to unsigned int.

15 years ago2003-07-30 Marcus Brinkmann <marcus@g10code.de> gpgme-0-4-2
Marcus Brinkmann [Wed, 30 Jul 2003 12:56:28 +0000 (12:56 +0000)]
2003-07-30  Marcus Brinkmann  <marcus@g10code.de>

* configure.ac (LIBGPGME_LT_REVISION): Bump up to 1.

Released 0.4.2.

15 years agoAdd item about configure check for gpg and gpgsm warning.
Marcus Brinkmann [Wed, 30 Jul 2003 12:43:14 +0000 (12:43 +0000)]
Add item about configure check for gpg and gpgsm warning.

15 years agoUpdate information about todo items.
Marcus Brinkmann [Wed, 30 Jul 2003 12:41:57 +0000 (12:41 +0000)]
Update information about todo items.

15 years agoAdd task for verify.
Marcus Brinkmann [Tue, 29 Jul 2003 20:04:35 +0000 (20:04 +0000)]
Add task for verify.

15 years ago2003-07-29 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 29 Jul 2003 19:34:03 +0000 (19:34 +0000)]
2003-07-29  Marcus Brinkmann  <marcus@g10code.de>

* decrypt-verify.c (decrypt_verify_status_handler): Expand silly
and wrong expression.
* encrypt-sign.c (encrypt_sign_status_handler): Likewise.
* encrypt.c (encrypt_sym_status_handler): Likewise.
* sign.c (sign_status_handler): Likewise.
* verify.c (verify_status_handler): Likewise.
* decrypt.c (decrypt_status_handler): Likewise.

15 years ago2003-07-29 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 29 Jul 2003 18:49:06 +0000 (18:49 +0000)]
2003-07-29  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (EXTRA_DIST): Remove variable.

15 years ago2003-07-29 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 29 Jul 2003 18:46:30 +0000 (18:46 +0000)]
2003-07-29  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Encrypting a Plaintext): Bad passphrase is only
possible with symmetric encryption, change the wording to reflect
that.

* gpgme.texi (Creating a Signature): Document
GPG_ERR_UNUSABLE_SECKEY.

15 years ago2003-07-29 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 29 Jul 2003 18:31:46 +0000 (18:31 +0000)]
2003-07-29  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Creating a Signature): Document
GPG_ERR_UNUSABLE_SECKEY.

15 years agoAdd item about result structures.
Marcus Brinkmann [Tue, 29 Jul 2003 18:27:31 +0000 (18:27 +0000)]
Add item about result structures.

15 years ago2003-07-29 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 29 Jul 2003 18:25:27 +0000 (18:25 +0000)]
2003-07-29  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Encrypting a Plaintext): Mention encrypt and sign
operations in result function.
(Creating a Signature): Likewise.

15 years ago2003-07-29 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 29 Jul 2003 18:20:09 +0000 (18:20 +0000)]
2003-07-29  Marcus Brinkmann  <marcus@g10code.de>

* engine.c (gpgme_get_engine_info): Initialize NULL.

15 years ago2003-07-23 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 28 Jul 2003 12:09:42 +0000 (12:09 +0000)]
2003-07-23  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Key Listing Mode): Remove word duplication.
(Listing Keys): Remove mentioning of force argument.
(Verify): Don't mention r_stat.  Fix some typos.
(Decrypt and Verify): Correct info how to get the result.  Don't
mention r_stat.
(Manipulating Data Buffers): Fix documentation of return value.
(Listing Keys): Update examples.
(Decrypt): Result might also be available when operation failed.
(Verify): Result might also be available when operation failed.
All spotted by St�phane Corth�sy.

15 years ago2003-07-23 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 28 Jul 2003 12:09:04 +0000 (12:09 +0000)]
2003-07-23  Marcus Brinkmann  <marcus@g10code.de>

* gpgme-config.in (gpg_error_libs): Quote GPG_ERROR_CFLAGS and
GPG_ERROR_LIBS when setting the corresponding variables.
Reported by St�phane Corth�sy.