Marcus Brinkmann
442f2fe541
2002-09-02 Marcus Brinkmann <marcus@g10code.de>
...
* Makefile.am (assuan_libobjs): Use @LTLIBOBJS@ instead @LIBOBJS@.
2002-09-02 12:38:43 +00:00
Marcus Brinkmann
1b40ede2c5
2002-09-02 Marcus Brinkmann <marcus@g10code.de>
...
* debug.c (_gpgme_debug_add): Test *LINE, not LINE.
(_gpgme_debug_end): Likewise.
Reported by Dr. Stefan Dalibor <Dr.Stefan.Dalibor@bfa.de>.
2002-09-02 12:29:53 +00:00
Marcus Brinkmann
f0bb43f3da
Wrap the lines nicer.
2002-09-02 12:19:15 +00:00
Marcus Brinkmann
ad264f924b
2002-09-02 Marcus Brinkmann <marcus@g10code.de>
...
* posix-io.c (_gpgme_io_select): Don't use a non-constant struct initializer.
* version.c (_gpgme_get_program_version): Likewise.
Reported by Dr. Stefan Dalibor <Dr.Stefan.Dalibor@bfa.de>.
2002-09-02 12:17:51 +00:00
Marcus Brinkmann
43eb40838c
Bump up version number.
2002-09-01 23:55:31 +00:00
Marcus Brinkmann
c40f22a7d8
2002-09-02 Marcus Brinkmann <marcus@g10code.de>
...
* conversion.c (_gpgme_decode_c_string): Set DESTP before modifying DEST.
2002-09-01 23:29:55 +00:00
Marcus Brinkmann
d55e88d0bc
2002-09-02 Marcus Brinkmann <marcus@g10code.de>
...
* conversion.c (_gpgme_decode_c_string): Fix off by one error in last change.
* rungpg.c (_gpgme_append_gpg_args_from_signers): Move before
_gpgme_op_edit so its prototype is known early on.
2002-09-01 23:08:50 +00:00
Marcus Brinkmann
7bc8297fe7
2002-09-02 Marcus Brinkmann <marcus@g10code.de>
...
Released 0.3.10.
* NEWS: Update for 0.3.9 release.
* configure.ac: Bump up LIBGPGME_LT_REVISION.
2002-09-01 22:30:28 +00:00
Marcus Brinkmann
3471e1560c
Add item about prior change.
2002-09-01 22:24:58 +00:00
Marcus Brinkmann
328bed4901
2002-09-02 Marcus Brinkmann <marcus@g10code.de>
...
* conversion.c: New file.
* util.h: Add prototypes for _gpgme_decode_c_string and
_gpgme_hextobyte.
* keylist.c (keylist_colon_handler): Call _gpgme_decode_c_string
on issuer name.
* Makefile.am (libgpgme_la_SOURCES): Add conversion.c
* key.c (_gpgme_key_append_name): Replace calls to hextobyte by
calls to _gpgme_hextobyte.
(hash_key): Likewise.
2002-09-01 22:23:56 +00:00
Marcus Brinkmann
1731657df0
2002-09-01 Marcus Brinkmann <marcus@g10code.de>
...
* op-support.c (_gpgme_op_reset): Set CTX->pending after calling
_gpgme_engine_release, as this will reset pending to zero in the
event done callback on cancelled operations.
2002-09-01 19:47:11 +00:00
Marcus Brinkmann
ee97cfaa5d
2002-08-30 Marcus Brinkmann <marcus@g10code.de>
...
* rungpg.c (_gpgme_gpg_op_edit): Add bogus ctx argument.
* rungpg.h: Also to prototype.
* engine.c (_gpgme_engine_op_edit): Likewise.
* engine.h: Likewise.
* edit.c (_gpgme_op_edit_start): Likewise.
2002-08-31 02:34:26 +00:00
Marcus Brinkmann
6f9f516830
2002-08-30 Marcus Brinkmann <marcus@g10code.de>
...
* gpgme.texi (Selecting Signers): Fix reference count.
2002-08-30 11:37:59 +00:00
Marcus Brinkmann
8e118f2d2c
2002-08-30 Marcus Brinkmann <marcus@g10code.de>
...
* rungpg.c (_gpgme_gpg_op_edit): Add args from signers.
Suggested by Miguel Coca <e970095@zipi.fi.upm.es>.
2002-08-30 11:00:58 +00:00
Werner Koch
0784f4f62d
new news
2002-08-29 11:58:41 +00:00
Werner Koch
1fcc363243
* vasprintf.c (va_copy): Define macro if not yet defined.
2002-08-29 11:58:22 +00:00
Werner Koch
c642b7d54a
* engine-gpgsm.c (_gpgme_gpgsm_op_sign): Implement signer
...
selection.
* vasprintf.c (va_copy): Define macro if not yet defined.
2002-08-29 11:57:53 +00:00
Werner Koch
a48cef2c66
* acinclude.m4 (GNUPG_CHECK_VA_COPY): New.
...
* configure.ac: Use it.
2002-08-29 11:47:21 +00:00
Marcus Brinkmann
8ab900be7b
2002-08-29 Marcus Brinkmann <marcus@g10code.de>
...
* gpgme.spec.in: Changed user name in Wojciech Polak's email
address from ghostface to polak per request by himself.
2002-08-29 10:24:21 +00:00
Marcus Brinkmann
f01df10760
2002-08-29 Marcus Brinkmann <marcus@g10code.de>
...
* passphrase.c (_gpgme_passphrase_status_handler): Reset
CTX->result.passphrase->no_passphrase if passphrase is given (good
or bad). Submitted by Jean DIRAISON <jean.diraison@free.fr>.
2002-08-29 00:30:31 +00:00
Marcus Brinkmann
61aa194762
2002-08-28 Marcus Brinkmann <marcus@g10code.de>
...
* posix-io.c (_gpgme_io_spawn): Use a double-fork approach.
Return 0 on success, -1 on error.
* version.c (_gpgme_get_program_version): Don't wait for the child.
* engine.c (_gpgme_engine_housecleaning): Function removed.
(do_reaping): Likewise.
(_gpgme_engine_add_child_to_reap_list): Likewise.
(struct reap_s): Removed.
(reap_list): Likewise.
(reap_list_lock): Likewise.
* engine.h (_gpgme_engine_io_event): Remove prototypes for
_gpgme_engine_housecleaning and
_gpgme_engine_add_child_to_reap_list.
* rungpg.c (_gpgme_gpg_release): Don't add child to reap list.
(struct gpg_object_s): Remove PID member.
(_gpgme_gpg_new): Don't initialize GPG->pid.
(_gpgme_gpg_spawn): Don't set GPG->pid.
* wait.c (run_idle): Removed.
(gpgme_wait): Run idle_function directly.
2002-08-28 20:31:31 +00:00
Marcus Brinkmann
2ba4dc7998
2002-08-21 Marcus Brinkmann <marcus@g10code.de>
...
* encrypt-sign.c (encrypt_sign_status_handler): Remove dead
variables encrypt_info and encrypt_info_len.
* trustlist.c (gpgme_op_trustlist_start): Set colon line handler.
* posix-sema.c (sema_fatal): Remove function.
All these reported by St�phane Corth�sy.
2002-08-28 17:29:32 +00:00
Werner Koch
725f093f49
* configure.ac (GPGME_CONFIG_CFLAGS): Renamed from GPGME_CFLAGS
...
and removed the libpath because it is set by the config script.
2002-08-23 19:48:43 +00:00
Werner Koch
bcba2d8e2d
* gpgme-config.in: Made --prefix work for --libs.
2002-08-23 19:48:30 +00:00
Marcus Brinkmann
d0020f11e0
2002-08-21 Marcus Brinkmann <marcus@g10code.de>
...
* NEWS: Add template for development version.
2002-08-21 00:52:06 +00:00
Marcus Brinkmann
d23f98bbf1
2002-08-21 Marcus Brinkmann <marcus@g10code.de>
...
* configure.ac: Bump version number to 0.3.10.
2002-08-21 00:36:27 +00:00
Marcus Brinkmann
cc98c30bb5
2002-08-21 Marcus Brinkmann <marcus@g10code.de>
...
Released 0.3.9.
* NEWS: Update for 0.3.9 release.
* Makefile.am (EXTRA_DIST): Add gpgme.spec.in.
2002-08-21 00:09:52 +00:00
Steffen Hansen
a579b5fa35
Use gpgme_op_import_ext() instead of gpgme_op_import()
2002-08-20 23:37:43 +00:00
Marcus Brinkmann
49216a0360
2002-08-21 Marcus Brinkmann <marcus@g10code.de>
...
* gpgme.texi (Header): Document name space.
2002-08-20 23:25:49 +00:00
Marcus Brinkmann
ea6c5f180b
Remove item about namespace, we are clean now.
2002-08-20 23:19:28 +00:00
Marcus Brinkmann
5e69581a43
2002-08-21 Marcus Brinkmann <marcus@g10code.de>
...
* ath.h: Update list of symbols that get a prefix: Rename the
ath_mutex_*_available symbols to ath_*_available.
2002-08-20 23:15:03 +00:00
Marcus Brinkmann
9f637f0b8a
2002-08-21 Marcus Brinkmann <marcus@g10code.de>
...
* jnlib/argparse.c, jnlib/argparse.h, jnlib/ChangeLog,
jnlib/dotlock.c, jnlib/dotlock.h, jnlib/libjnlib-config.h,
jnlib/logging.c, jnlib/logging.h,jnlib/Makefile.am,
jnlib/mischelp.h, jnlib/README, jnlib/stringhelp.c,
jnlib/stringhelp.h, jnlib/strlist.c, jnlib/strlist.h,
jnlib/types.h, jnlib/xmalloc.c, jnlib/xmalloc.h: Remove files.
2002-08-20 22:53:13 +00:00
Marcus Brinkmann
166fbcc9ef
2002-08-21 Marcus Brinkmann <marcus@g10code.de>
...
* Makefile.am (SUBDIRS): Remove jnlib.
* configure.ac: Don't check for unsigned short or unsigned long.
Don't check for memicmp, strlwr, strtoul, memmove, stricmp.
Make stpcpy a replaced function.
Don't define HAVE_JNLIB_LOGGING.
Don't generate jnlib/Makefile.
gpgme/
2002-08-21 Marcus Brinkmann <marcus@g10code.de>
* stpcpy.c: New file from gnulib.
* Makefile.am (assuan_libobjs): Remove jnlib.
2002-08-20 22:42:48 +00:00
Werner Koch
b3901634c3
Replaced with a new and faster version. This does not anymore try to
...
build test programs. If we really need test programs, we should add
an option to gpgme-config to do so.
2002-08-20 16:11:46 +00:00
Marcus Brinkmann
a01ee915e1
2002-08-20 Marcus Brinkmann <marcus@g10code.de>
...
* gpgme.texi (Importing Keys): Undocument EOF.
2002-08-20 15:44:48 +00:00
Marcus Brinkmann
bfbe265613
doc/
...
2002-08-20 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Importing Keys): Document gpgme_op_import_ext.
gpgme/
2002-08-20 Marcus Brinkmann <marcus@g10code.de>
* gpgme.h: Add prototype for gpgme_op_import_ext.
* import.c (struct import_result_s): New member `nr_considered'.
Rename `any_imported' to `nr_imported'.
(import_status_handler): Increment nr_imported. Set nr_considered
if appropriate.
(gpgme_op_import_ext): New function.
(gpgme_op_import): Implement in terms of gpgme_op_import_ext.
2002-08-20 13:38:40 +00:00
Werner Koch
009390ddb1
* vasprintf.c (int_vasprintf): Hack to handle NULL passed for %s.
2002-08-20 11:59:38 +00:00
Werner Koch
4c7d357bce
Added some feature requests.
2002-08-20 11:59:24 +00:00
Marcus Brinkmann
d50bc6abc1
2002-08-20 Marcus Brinkmann <marcus@g10code.de>
...
* gpgme.c (_gpgme_set_op_info): Append data on subsequent calls.
* encrypt-sign.c (encrypt_sign_status_handler): Remove op_info
handling.
2002-08-20 11:01:43 +00:00
Werner Koch
337119d9b2
* decrypt.c (is_token,skip_token): Duplicated from verify.c
...
(gpgme_op_decrypt): Hack to properly return Decryption_Failed..
(_gpgme_decrypt_status_handler): Create an operation info.
2002-08-19 16:55:08 +00:00
Werner Koch
a8782e4ed7
* key.h (struct certsig_s): New. Use it in gpgme_key_s.
...
* key.c (gpgme_key_release): Release it. We need to add more code
of course.
(_gpgme_key_append_name): Use memset to intialize the struct.
* gpgme.h (GPGME_KEYLIST_MODE_SIGS): New.
* rungpg.c (_gpgme_gpg_op_keylist): Include sigs in listing depending
non the list mode.
* key.c (gpgme_key_get_string_attr): Use GPGME_ATTR_TYPE to return
information about the key type (PGP or X.509).
(gpgme_key_get_ulong_attr): Likewise.
* keylist.c (keylist_colon_handler): Include 1 in the check for
valid algorithms so that RSA is usable. Store the issuer name and
serial number also for "crs" records. Parse the expire date for
subkeys.
(set_userid_flags): Put them onto the last appended key.
2002-08-14 14:01:09 +00:00
Werner Koch
c79fa94260
* gpgme.texi (Information About Keys): Changed GPGME_ATTR_TYPE.
2002-08-14 13:57:59 +00:00
Marcus Brinkmann
9fe6c4f30d
Fixed a missing update in the fix to the update conflict ;)
...
(STATUS_EOF -> GPGME_STATUS_EOF).
2002-08-02 10:43:58 +00:00
Marcus Brinkmann
f9dcb109bc
Correct path to test programs.
2002-08-01 17:40:38 +00:00
Marcus Brinkmann
9285922de0
2002-08-01 Marcus Brinkmann <marcus@g10code.de>
...
* gpg/t-edit.c: Also add a test for the expire command (testing
the passphrase callback).
2002-08-01 16:02:19 +00:00
Werner Koch
b94497bf1f
Fixed an update conflict.
2002-08-01 10:16:21 +00:00
Steffen Hansen
6676c74b6a
new cryptplug function importCertificateFromMem()
2002-07-31 12:37:34 +00:00
Marcus Brinkmann
4530913bc5
2002-07-29 Marcus Brinkmann <marcus@g10code.de>
...
* rungpg.c (_gpgme_gpg_op_edit): Use --with-colons.
2002-07-29 11:01:53 +00:00
Marcus Brinkmann
4823df7cf4
Add items about the edit key operation.
2002-07-28 18:45:52 +00:00
Marcus Brinkmann
6539293063
2002-07-28 Marcus Brinkmann <marcus@g10code.de>
...
* gpg/t-edit.c: New file.
* gpg/Makefile (TESTS): Add t-edit.
2002-07-28 18:43:48 +00:00