core: Add new context flag "redraw".
authorWerner Koch <wk@gnupg.org>
Tue, 31 Jan 2017 08:44:29 +0000 (09:44 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 31 Jan 2017 08:44:29 +0000 (09:44 +0100)
commit752d3597ef02a95efd693373132bf1e246f0edb0
tree61fca51953b8bc3a68d3610e26b98f4f8458cc3a
parent7bd6ab4a91d43d7cbf5d347c0c12e0e4f9f7e3bf
core: Add new context flag "redraw".

* src/context.h (struct gpgme_context): New field 'redraw_suggested'.
* src/op-support.c (_gpgme_op_reset): Clear REDRAW_SUGGESTED.
* src/progress.c (_gpgme_progress_status_handler): Set REDRAW_SUGGESTED.
* src/gpgme.c (gpgme_set_ctx_flag, gpgme_get_ctx_flag): Add "redraw".
* tests/run-sign.c (main): Use it.

Signed-off-by: Werner Koch <wk@gnupg.org>
doc/gpgme.texi
src/context.h
src/gpgme.c
src/op-support.c
src/progress.c
tests/run-sign.c