Commit Graph

332 Commits

Author SHA1 Message Date
Marcus Brinkmann
7b09b1e3bc 2002-01-16 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Top): Complete detailmenu.
2002-01-16 00:54:39 +00:00
Marcus Brinkmann
738a0dacf4 2002-01-16 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi: Convert embarassing cruft to the real thing.
2002-01-16 00:52:37 +00:00
Marcus Brinkmann
2bd5bd9bd0 Update all these funny copright notices. 2002-01-16 00:46:20 +00:00
Marcus Brinkmann
6badc53695 Add information about --enable-maintainer-mode, which is required to built
the documentation from CVS.
2002-01-16 00:45:14 +00:00
Marcus Brinkmann
d159345f66 * There is a Texinfo manual documenting the API.
* New interface gpgme_op_trustlist_end() to match
   gpgme_op_keylist_end.
2002-01-16 00:44:28 +00:00
Marcus Brinkmann
f3d11ead88 2002-01-15 Marcus Brinkmann <marcus@g10code.de>
* trustlist.c: Various source clean ups.
	(my_isdigit): Removed.
	(gpgme_op_trustlist_end): New function.
2002-01-16 00:44:11 +00:00
Marcus Brinkmann
d7c0314674 2002-01-16 Marcus Brinkmann <marcus@g10code.de>
* ChangeLog: New file.
	* gpgme.texi: Likewise.
	* gpl.texi: Likewise.
	* fdl.texi: Likewise.
	* Makefile.am (info_TEXINFOS): New variable.
	(gpgme_TEXINFOS): Likewise.
2002-01-16 00:41:10 +00:00
Marcus Brinkmann
6b1277eae1 New items about various things. 2002-01-15 19:59:54 +00:00
Marcus Brinkmann
d83e746a07 2002-01-13 Marcus Brinkmann <marcus@g10code.de>
* gpgme.c: Various source clean ups, like renaming C to CTX where
	appropriate.
	(gpgme_new): Clear R_CTX before starting the work.
	(my_isdigit): Removed.
	(my_isxdigit): Likewise.

	* data.c: Various source clean ups.
	(gpgme_data_new_from_mem): Check BUFFER after clearing R_DH.
	(gpgme_data_new_with_read_cb): Similar for READ_CB.
	(gpgme_data_new_from_file): Loop over fread while EINTR.
	(gpgme_data_new_from_filepart): Rediddled a bit.  Allow LENGTH to
	be zero.  Loop over fread while EINTR.

	(my_isdigit): Removed.
	(my_isxdigit): Likewise.
2002-01-15 19:58:41 +00:00
Marcus Brinkmann
6d275b5d07 Added copyright statement for 2002. 2002-01-15 19:55:56 +00:00
Marcus Brinkmann
af5bfdd49e 2002-01-15 Marcus Brinkmann <marcus@g10code.de>
* gpgmeplug.c: Renamed to ...
	* gpgme-openpgp.c: ... this.  New file.
	* gpgsmplug.c: Renamed to ...
	* gpgme-smime.c: ... this.  new file.
	* Makefile.am: Rewritten to use libtool's module functionality.
2002-01-15 19:53:55 +00:00
Karl-Heinz Zimmer
395a2d7944 bug found: no more crashing when calling signing/encoding functions :-) 2002-01-15 08:03:26 +00:00
Karl-Heinz Zimmer
1e9cbbef87 fixed bug in function "storeNewCharPtr()" 2002-01-14 20:33:50 +00:00
Karl-Heinz Zimmer
e6c1c2828f Added specification of strings and bool values for S/MIME signing and encrypting. (note: this new StructuringInfo feature is ignored by KMail at the moment, this is an urgent ToDo item since the KMail sources are _not_ able to use the cryptplug with the changes made today) 2001-12-24 00:26:52 +00:00
Karl-Heinz Zimmer
95bed553e4 finished interface of StructuringInfo struct and added implementation of setting it's parameters in our cryptplug signMessage and
encryptmessage functions (setting of parameters in gpgsmplug.c is still missing)
2001-12-24 00:09:24 +00:00
Karl-Heinz Zimmer
9b1da5342b now including stdlib.h into the header file to avoid compile time warnings of unknown function free() 2001-12-23 22:47:40 +00:00
Karl-Heinz Zimmer
4ee79f2416 Adjust and complete the documentation of the new "StructuringInfo" struct and the corresponding free_StructuringInfo() function and - for plugin developers - the corresponding init_StructuringInfo() function 2001-12-23 22:37:51 +00:00
Marcus Brinkmann
d088ff5626 2001-12-21 Marcus Brinkmann <marcus@g10code.de>
* engine-gpgsm.c (_gpgme_gpgsm_new): Replace General_Error with
	Pipe_Error where appropriate.
2001-12-21 01:41:12 +00:00
Marcus Brinkmann
a087259977 gpgme/
2001-12-19  Marcus Brinkmann  <marcus@g10code.de>

	* engine.c: Include `string.h'.  Reported by St�phane Corth�sy.

	* version.c (get_engine_info): Remove prototype.

tests/
2001-12-19  Marcus Brinkmann  <marcus@g10code.de>

	* gpg/t-decrypt-verify.c: Don't include `mcheck.h'.  Reported by
	St�phane Corth�sy.
2001-12-19 17:46:02 +00:00
Marcus Brinkmann
530bad57ce Revert cruft from last check in. 2001-12-19 17:26:54 +00:00
Werner Koch
bb902af3a3 configure has fixed the version number, better checkin so that we are
sure that everyone uses the right version even if configure is not run.
2001-12-19 13:01:17 +00:00
Werner Koch
8ec53dc804 Learn more about the trash I have on my machine. 2001-12-19 13:00:10 +00:00
Werner Koch
f8a16cb228 * configure.ac (VERSION,PACKAGE): Defined and subst. Used for
AM_INIT_AUTOMAKE and moved all version number more to the top.
2001-12-19 12:59:19 +00:00
Werner Koch
a3fcd4e06c updated .cvsignore files 2001-12-19 12:44:02 +00:00
Marcus Brinkmann
09a4b95c74 Add info about noinst of gpgmeplug. 2001-12-19 01:11:09 +00:00
Marcus Brinkmann
fe22c97e8d 2001-12-19 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am (lib_LTLIBRARIES): Rename to ...
	(noinst_LTLIBRARIES): ... this target.
2001-12-19 01:09:19 +00:00
Marcus Brinkmann
abd820c4a9 2001-12-19 Marcus Brinkmann <marcus@g10code.de>
* gpg/Makefile.am (EXTRA_DIST): Add missing line continuation.
2001-12-19 00:47:42 +00:00
Marcus Brinkmann
c298758eff 2001-12-19 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am (libgpgmeplug_la_SOURCES): Remove gpgme.h.
	(libgpgsmplug_la_SOURCES): Likewise.
2001-12-19 00:28:12 +00:00
Marcus Brinkmann
a299997103 2001-12-19 Marcus Brinkmann <marcus@g10code.de>
* engine-gpgsm.c (_gpgme_gpgsm_new): New variable CHILD_FDS.
	Fill it with the servers fds, and pass it to assuan_pipe_connect.
2001-12-19 00:24:17 +00:00
Marcus Brinkmann
102009c336 Update from newpg. 2001-12-19 00:23:25 +00:00
Marcus Brinkmann
d5e1994ee4 Final polish. 2001-12-18 23:51:20 +00:00
Marcus Brinkmann
a9507b5638 Update the file (but not yet sent to the GNU people). 2001-12-18 23:50:51 +00:00
Marcus Brinkmann
2ad0959598 2001-12-19 Marcus Brinkmann <marcus@g10code.de>
* gpgsm/Makefile.am (EXTRA_DIST): Add $(key_id).
2001-12-18 23:46:50 +00:00
Marcus Brinkmann
5f7ccb193a New item about make clean. 2001-12-18 23:46:36 +00:00
Marcus Brinkmann
34e14106a3 Change history. 2001-12-18 23:33:07 +00:00
Marcus Brinkmann
98faded2e3 2001-12-18 Marcus Brinkmann <marcus@g10code.de>
* autogen.sh (libtool_vers): Bump to 1.4.

	* configure.ac (LIBGPGME_LT_CURRENT): Increment.
	(LIBGPGME_LT_AGE): Likewise.
	Improve comment.
	Fix wrong comment character.
2001-12-18 23:32:08 +00:00
Marcus Brinkmann
7ce2fb718a 2001-12-18 Marcus Brinkmann <marcus@g10code.de>
* keylist.c (gpgme_op_keylist_end): New function.
	* gpgme.h (gpgme_op_keylist_end): New prototype.

	* engine.h (gpgme_engine_check_version): Move prototype to ...
	* gpgme.h (gpgme_engine_check_version): ... here.

	* genkey.c (gpgme_op_genkey_start): Remove unused variable.
2001-12-18 22:54:49 +00:00
Marcus Brinkmann
985334f7ed More about the new version. 2001-12-18 22:22:18 +00:00
Marcus Brinkmann
a3d0634e97 2001-12-18 Marcus Brinkmann <marcus@g10code.de>
* version.c (gpgme_get_engine_info): Reimplemented.
	(gpgme_check_engine): Reimplemented.
	(_gpgme_compare_versions): Return NULL if MY_VERSION is NULL.

	* engine.c: Include `io.h'.
	(gpgme_engine_get_info): New function.
	* engine.h (gpgme_engine_check_version, _gpgme_engine_get_info):
	Add prototype.
2001-12-18 22:21:06 +00:00
Karl-Heinz Zimmer
44023ddfb2 corrected specification of Aegypten test key in encrypt() function 2001-12-18 21:11:03 +00:00
Marcus Brinkmann
6d7f9eb4ff 2001-12-18 Marcus Brinkmann <marcus@g10code.de>
* rungpg.c (struct reap_s, reap_list, reap_list_lock): Moved to ...
	* engine.c (struct reap_s, reap_list, reap_list_lock): ... here.
	Include `time.h', `sys/types.h', `assert.h', and `sema.h'.

	* rungpg.c (_gpgme_engine_add_child_to_reap_list): New function.
	(do_reaping, _gpgme_gpg_housecleaning): Moved to ...
	* engine.c (do_reaping, _gpgme_engine_housecleaning): ... here.
	* rungpg.c (_gpgme_gpg_release): Replace code that is now in its
	own function by call to _gpgme_engine_add_child_to_reap_list().

	* wait.c: Include `engine.h'.
	(run_idle): Call _gpgme_engine_housecleaning(), not
	_gpgme_gpg_housecleaning().
2001-12-18 21:02:35 +00:00
Karl-Heinz Zimmer
a39980abe7 added debug message to encrypt() function 2001-12-18 20:13:08 +00:00
Marcus Brinkmann
247eecaab9 2001-12-18 Marcus Brinkmann <marcus@g10code.de>
* key.c (_gpgme_key_append_name): Append, not prepend, the uid.
	Initialize the next field of the uid structure.
	(gpgme_key_get_as_xml): Do not list last uid first.
2001-12-18 19:54:00 +00:00
Werner Koch
ac53a44dfa * acinclude.m4 (GNUPG_FIX_HDR_VERSION): Fixed for new automake. 2001-12-18 18:46:00 +00:00
Marcus Brinkmann
d1384aabc5 2001-12-17 Marcus Brinkmann <marcus@g10code.de>
* engine-gpgsm.c (_gpgme_gpgsm_set_colon_line_handler): New
	function [!ENABLE_GPGSM].
2001-12-17 17:08:32 +00:00
Marcus Brinkmann
2a866e025c 2001-12-16 Marcus Brinkmann <marcus@g10code.de>
* gpgsm/Makefile: Rename `pubcerts.kbx' to `pubring.kbx'.
2001-12-16 18:38:03 +00:00
Marcus Brinkmann
5e667d3c1d 2001-12-15 Marcus Brinkmann <marcus@g10code.de>
* gpgsm/t-keylist.c (check_two_contexts): Set protocols.
2001-12-15 14:13:18 +00:00
Marcus Brinkmann
21b09f74e6 2001-12-14 Marcus Brinkmann <marcus@g10code.de>
* engine-gpgsm.c (_gpgme_gpgsm_op_verify): Put TEXT into
	message_data, not SIG.
	(_gpgme_gpgsm_op_sign): Use `--detached', not `--detach'.

	* sign.c (sign_status_handler): Call
	_gpgme_passphrase_status_handler early.

2001-12-14  Marcus Brinkmann  <marcus@g10code.de>
2001-12-14 22:32:31 +00:00
Marcus Brinkmann
017c62f464 Small code cleanup. 2001-12-14 22:03:11 +00:00
Marcus Brinkmann
6493b00042 2001-12-14 Marcus Brinkmann <marcus@g10code.de>
* engine-gpgsm.c (_gpgme_gpgsm_op_verify): Put TEXT into
	message_data, not SIG.
2001-12-14 22:02:43 +00:00