Commit Graph

2347 Commits

Author SHA1 Message Date
Marcus Brinkmann
a5329adab7 Delete obsolete item. 2002-01-22 18:14:33 +00:00
Marcus Brinkmann
14fe216277 Some small updates. 2002-01-22 16:55:58 +00:00
Marcus Brinkmann
498ba7818c 2002-01-22 Marcus Brinkmann <marcus@g10code.de>
* engine-gpgsm.c (_gpgme_gpgsm_release): Call assuan_disconnect,
	not assuan_pipe_disconnect.

	* Makefile.am (libgpgme_la_LIBADD): Change to link assuan and
	jnlib (needed by assuan) statically into libgpgme.  Linking a
	static library into a shared library this way is not portable.
2002-01-22 16:36:08 +00:00
Marcus Brinkmann
4da57b04cb 2002-01-22 Marcus Brinkmann <marcus@g10code.de>
* configure.ac (HAVE_JNLIB_LOGGING): Define always for assuan.
2002-01-22 16:34:52 +00:00
Marcus Brinkmann
b863cea7d7 Update to current version in newpg module. 2002-01-22 16:29:12 +00:00
Marcus Brinkmann
e70c184235 Remove obsolete item. 2002-01-22 15:34:17 +00:00
Marcus Brinkmann
1e1fb4724c doc/
2002-01-22  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme.texi (Passphrase callback): Change GpgmePassphraseCb's
	R_HD type from void* to void**.

gpgme/
2002-01-22  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme.h (GpgmePassphraseCb): Change type of R_HD from void* to
	void**.

tests/
2002-01-22  Marcus Brinkmann  <marcus@g10code.de>

	* gpg/t-signers.c (passphrase_cb): Change type of r_hd to void**.
	* gpg/t-sign.c (passphrase_cb): Likewise.
	* gpg/t-decrypt-verify.c (passphrase_cb): Likewise.
	* gpg/t-decrypt.c (passphrase_cb): Likewise.
2002-01-22 15:32:44 +00:00
Marcus Brinkmann
8270a38b05 doc/
2002-01-22  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme.texi (Creating data buffers): Change
	gpgme_data_new_from_filepart's LENGTH type from off_t to size_t.

gpgme/
2002-01-22  Marcus Brinkmann  <marcus@g10code.de>

	* data.c (gpgme_data_new_from_filepart): Change type of LENGTH
	from off_t to size_t.
	* gpgme.h: Likewise.
2002-01-22 15:21:42 +00:00
Marcus Brinkmann
6f7d1bc770 2002-01-22 Marcus Brinkmann <marcus@g10code.de>
* wait.c (_gpgme_wait_on_condition): If the process finished,
	reset the pending flag.  Also if the operation was cancelled.

	(struct proc_s): Rename READY to DONE.
	(wait_item_s): Likewise.
	(set_process_ready): Rename to ...
	(set_process_done): ... this.
	(_gpgme_remove_proc_from_wait_queue): Call set_process_done
	instead set_process_ready.
	(_gpgme_wait_on_condition): Likewise.
	(do_select): Rename READY to DONE.

	* verify.c (gpgme_op_verify): Do not set pending to zero here.
	* sign.c (gpgme_op_sign): Likewise.
	* import.c (gpgme_op_import): Likewise.
	* genkey.c (gpgme_op_genkey): Likewise.
	* export.c (gpgme_op_export): Likewise.
	* encrypt.c (gpgme_op_encrypt): Likewise.
	* delete.c (gpgme_op_delete): Likewise.
	* decrypt-verify.c (gpgme_op_decrypt_verify): Likewise.
	* decrypt.c (gpgme_op_decrypt): Likewise.
2002-01-22 15:11:53 +00:00
Marcus Brinkmann
abe732ef1c Fix copyright year. 2002-01-22 14:25:40 +00:00
Marcus Brinkmann
76209ac6bb Some more items. 2002-01-22 14:24:50 +00:00
Marcus Brinkmann
8ea8c8832d 2002-01-22 Marcus Brinkmann <marcus@g10code.de>
* export.c: Cleanup.
2002-01-22 14:24:38 +00:00
Marcus Brinkmann
705ff0ac99 2002-01-22 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Generating keys): New subsection.
	(Exporting keys): Likewise.
	(Importing keys): Likewise.
	(Deleting keys): Likewise.
2002-01-22 14:23:56 +00:00
Marcus Brinkmann
f9dbfb9069 2002-01-16 Marcus Brinkmann <marcus@g10code.de>
* gpgme-openpgp.c: New file.
	* Makefile.am (gpgme_openpgp_la_SOURCES): Replace gpgmeplug.c with
	gpgme-openpgp.c.
2002-01-16 17:48:23 +00:00
Marcus Brinkmann
ca28bb4f82 2002-01-16 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi: g10Code -> g10 Code

	* gpgme.texi (Top): Complete detailmenu.

	* gpgme.texi: Convert embarassing cruft to the real thing.
2002-01-16 02:17:02 +00:00
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