GnuPG Made Easy. NOTE: Maintainers are not tracking this mirror. Do not make pull requests here, nor comment any commits, submit them usual way to bug tracker (https://www.gnupg.org/documentation/bts.html) or to the mailing list (https://www.gnupg.org/documentation/mailing-lists.html).
5d03d9b7eb
* debug.h: New file. * Makefile.am (libgpgme_la_SOURCES): Add debug.h. * util.h: Removed all prototypes and declarations related to debugging. Include "debug.h". * debug.c (debug_level): Comment variable and remove superfluous zero initializer. (errfp): Likewise. (_gpgme_debug_enabled): Function removed. (struct debug_control_s): Definition removed. (_gpgme_debug_level): Function removed. (_gpgme_debug_begin): Rewritten to use vasprintf. Accept a pritnf-style format specification and a variable number of arguments. (_gpgme_debug_add): Rewritten using vasprintf. Expect that format starts out with "%s" for simplicity. (_gpgme_debug_end): Rewritten using vasprintf. Do not accept a TEXT argument anymore. * posix-io.c (_gpgme_io_select): Use new level argument for DEBUG_BEGIN instead explicit if construct. * debug.c (debug_init): Remove superfluous zero initializer, remove volatile flag of INITIALIZED. Do not use the double-checked locking algorithm, it is fundamentally flawed and will empty your fridge (on a more serious note, despite the volatile flag it doesn't give you the guarantee you would expect, for example on a DEC Alpha or an SMP machine. The volatile only serializes accesses to the volatile variable, but not to the other variables). |
||
---|---|---|
assuan | ||
bonobo | ||
complus | ||
doc | ||
gpgme | ||
gpgmeplug | ||
jnlib | ||
tests | ||
acinclude.m4 | ||
AUTHORS | ||
autogen.sh | ||
ChangeLog | ||
configure.ac | ||
gpgme.txt | ||
INSTALL | ||
Makefile.am | ||
NEWS | ||
README | ||
README-alpha | ||
THANKS | ||
TODO |
GPGME - GnuPG Made Easy --------------------------- !!!! THIS IS WORK IN PROGRESS !!! If you want to hack on it, start with one of the `tests/t-foo' programs. For support of the OpenPGP protocol (default), you need the latest CVS version of GnuPG 1.0, see `http://www.gnupg.org/cvs-access.html'. You need at least GnuPG 1.0.6, but don't use a 1.1.x version. If configure can't find the `gpg' binary in your path, you can specify the location with the --with-gpg=/path/to/gpg argument to configure. For support of the CMS (Cryptographic Message Syntax) protocol, you need the latest CVS version of GpgSM, module name `newpg', at `:pserver:anoncvs@cvs.gnupg.org:/cvs/aegypten'. You need at least GpgSM 0.3.1. If configure can't find the `gpgsm' binary in your path, you can specify the location with the --with-gpgsm=/path/to/gpgsm argument to configure. To enable the CryptPlug GPGME PlugIn for both protocols, use the `--enable-gpgmeplug' option to the configure script. `gpgmeplug' is experimental and you should not assume that it will stay with gpgme. The plug-ins are installed by `make install' in `pkglibdir', normally `PREFIX/lib/gpgme'. Before building the CVS version following the generic install instructions in `INSTALL', you need to set up the build scripts with `./autogen.sh'. To build the W32 version, use `./autogen.sh --build-w32'. You also need to enable maintainer mode at configure time with `--enable-maintainer-mode', or the documentation will not built (because the version.texi won't be generated unless maintainer mode is enabled). Please subscribe to the gnupg-devel@gnupg.org mailing list if you want to do serious work.