Blob Blame History Raw
2019-06-13  Werner Koch  <wk@gnupg.org>

	Release 1.13.1.
	+ commit ea11c2a13cd44caf0bab395bd5132bf232318ad8
	* configure.ac: Bump LT versions to c=C33/A22/R1 cpp=C16/A10/R0
	qt=C10/A3/R4.

	python: Fix regression in t-decrypt-verify test.
	+ commit 7d0a979c07d2a32c1e39a9403f009cbe026f77ff
	* lang/python/tests/t-decrypt-verify.py: Comment recent changes.

	python: Set a default-key into gpg.conf for the tests.
	+ commit ad1395f210f3a3d5839f482f1933eac80a94d174
	* lang/python/tests/Makefile.am (gpg.conf): Set a default key.

	core: At debug levels up to 9 print only an ascii dump.
	+ commit 4f11210b21a1914a1daf67474e9b82084b2cac01
	* src/debug.c (_gpgme_debug_buffer): Switch between two output
	formats.

2019-06-06  Werner Koch  <wk@gnupg.org>

	tests: Minor fix to run-threaded.c.
	+ commit f6fd90c99aea8b604d76ae49d29bc5269c236a98
	* tests/run-threaded.c (random_data_close): Correct FD test.

	core: Add commented debug helper to posix-io.c.
	+ commit f84abcad253ace782708c05760e52793814896f4
	* src/posix-io.c (_gpgme_is_fd_valid): New out-commented function.

	core: Fix error return value of _gpgme_run_io_cb.
	+ commit 6b9ff1ba391a4364b37cb116748194f3f33b4f12
	* src/wait.c (_gpgme_run_io_cb): Fix return code.

2019-06-06  Andre Heinecke  <aheinecke@gnupg.org>

	tests: Add option "allow-del" to run-threaded.
	+ commit e6f28273062ff26344163e219c1b784ae99de980
	* tests/run-threaded.c (main): Handle allow-del.
	(allow-del): New. Variable to allow deletion of keys.
	(import): Delete key after import if allow-del is set.
	(delete_impres): Delete keys from an import result.
	(delete_fpr): Delete a key by fingerprint.

2019-06-05  Andre Heinecke  <aheinecke@gnupg.org>

	tests: Implement import in run-threaded.
	+ commit 024a7f75d4b8e017b92a13552b23e7fb1d22a5ce
	* tests/run-threaded.c (import): New.
	(do_data_op): Call it.

2019-06-05  Werner Koch  <wk@gnupg.org>

	core: Prettify _gpgme_io_select debug output again and fix TRACE_SYSRES.
	+ commit 0f68c9f16bdae7295cac4cbf3c9a197840989a85
	* src/debug.c (_gpgme_debug): Take better care of NULL userinfo.
	(_gpgme_debug_end): Rework.
	(_trace_sysres): Print ERRNO and not the supplied RES.

2019-06-05  Andre Heinecke  <aheinecke@gnupg.org>

	tests: Use synced output for error in run-threaded.
	+ commit 3a3648e3a56712261bda4fa866bd2419a740cec8
	* tests/run-threaded.c (do_data_op): Use synced out macro.

	tests: Avoid variable named the same as a macro.
	+ commit 3a11421d0f63b8cb5afa407cd65f763b11033241
	* tests/run-threaded.c (decrypt, verify): Don't use a variable name
	that is also a macro.

	tests,w32: Fix thread creation in run-threaded.
	+ commit 9bbe15ebbc41533fa219d5b3017a26a75bc72731
	* tests/run-threaded.c (create_thread): Check proper return
	value and not return value of CloseHandle.

2019-06-05  Werner Koch  <wk@gnupg.org>

	core: Improve the debug messages even more.
	+ commit 8f9f3224aac78ce9d54e19e73acf7ab659787168
	* src/debug.c (_gpgme_debug): Add arg LINE.  Chnage all callers.
	(_gpgme_debug_begin): Remove.
	* src/debug.h (TRACE_SEQ): Use the LINE arg of _gpgme_debug.

	core: Avoid explicit locks in the debug code.
	+ commit 856d2e8d64f668855b1c22d3d38fe783904c6c48
	* src/debug.c (debug_lock): Remove.  Also remove all users.
	(_gpgme_debug): Use gpgrt_bsprintf to prepare the output and finally
	print using standard fprintf.  Reformat to prefix to be narrower.

2019-06-04  Werner Koch  <wk@gnupg.org>

	json: Print "nan", "-inf", "inf" if needed.
	+ commit f56c996318dfa1c9f0d10582b18c2fce10d24668
	* src/cJSON.c (print_number): Print NaN and INF.

	json: Improve handling of large exponents in the JSON parsor.
	+ commit fabe96126b4ed9c5e07b713813d7db26a02e5e5f
	* src/cJSON.c: Include stdint.h.
	(parse_number): Avoid overflob in SUBSCALE and cap integer values.

	core: Implement recpstring option parsing for gpgsm.
	+ commit 1024884e07f750ce781fa74dffa62e126bdda622
	* src/engine-gpg.c (append_args_from_recipients_string): Detect bad
	options.
	* src/engine-gpgsm.c (set_recipients_from_string): Implement option
	parsing.

	core: Make gpgme_op_encrypt_ext work for CMS.
	+ commit e9ca36f876e1066227668981f5a9e1a7f1031d9e
	* src/engine-gpgsm.c (gpgsm_encrypt): Fix argument check.

2019-06-04  NIIBE Yutaka  <gniibe@fsij.org>

	python: Fix typo in DecryptionError exception.
	+ commit 47135ffdb923de66bc275a37e31811ad22c73dd7
	* lang/python/src/errors.py (DecryptionError): Rename from
	DeryptionError.
	(UnsupportedAlgorithm): Use DecryptionError.

2019-06-03  Andre Heinecke  <aheinecke@gnupg.org>

	Add NEWS for 1.13.1.
	+ commit 49883023f661a18d73f9f2c7a3a98902af62ef6b
	* NEWS: Add news for 1.13.1

2019-05-06  Andre Heinecke  <aheinecke@gnupg.org>

	python: Make EXTRA_DIST files explicit.
	+ commit f9c923bb2d87711235312e8085964372d7480ce4
	* configure.ac: Configure new Makefiles.
	* lang/python/Makefile.am: Remove dirs from extra dist and use
	subdirs.
	* lang/python/examples/Makefile.am, lang/python/src/Makefile.am,
	lang/python/doc/Makefile.am: New. Files that list EXTRA_DIST files.

	Python, doc: Minor style improvement.
	+ commit 63055f13407760c877e5a3a94e564dfb3077dd47
	* lang/python/src/core.py (Context): Retab and shorten
	max line length.

	Merge remote-tracking branch 'origin/dkg/fix-T4276'
	+ commit f303806a110a9813023a5fd9468a55ab0f7fb39d


2019-05-03  Andre Heinecke  <aheinecke@gnupg.org>

	Always use maintainer mode -Wno cflags.
	+ commit 33b13d1c290d7ce35c636cce4265b512fb8e64c3
	* configure.ac (CFLAGS): Move -Wno flags out of the maintainer mode.

	cpp: Fix initialization warning.
	+ commit 0ed81498147723f0e9282df5ae08b8b8e40edd2f
	* lanc/cpp/src/gpggencardkeyinteractor.cpp
	(GpgGenCardKeyInteractor::Private): Fix initialization warning.

2019-05-03  Daniel Kahn Gillmor  <dkg@fifthhorseman.net>

	python: stop raising BadSignatures from decrypt(verify=True)
	+ commit 4100794e305ba22241ea5a4f7b42bb5189fbd948
	* src/core.py (decrypt): filter out signatures with errors from the
	returned verify_result, but avoid raising BadSignatures
	* tests/t-decrypt-verify.py: ensure that only a single signature is
	returned when evaluating cipher-3.asc, since the other signature is
	unknown.

	python/tests: try to decrypt and verify new test data.
	+ commit bd2d282e572b5d02669238c9e087259b85638477
	* lang/python/tests/t-decrypt.py: test decryption of cipher-3.asc and
	cipher-no-sig.asc
	* lang/python/tests/t-decrypt-verify.py: test decryption and
	verification of cipher-3.asc and cipher-no-sig.asc

	tests: add two new types of encrypted data.
	+ commit c5c3a9d10be415ea7bc0cd9730ad6085f16ee7a0
	* tests/gpg/cipher-3.asc: add an encrypted file containing signatures
	(one from a known key, and one from an unknown key)
	* tests/gpg/cipher-no-sig.asc: add an encrypted file containing no
	signatures at all

	python: make it easier to run a limited number of tests.
	+ commit 30bd1c097544376f257d426d5feb4706fb5d3afd
	* lang/python/tests/Makefile.am: prefer py_tests from the environment
	if present.

2019-05-02  Andre Heinecke  <aheinecke@gnupg.org>

	tests: Add cms mode to run-import.
	+ commit 4746c5c9e2dd9a3ee471a429c19bc1f7fd1d07db
	* tests/run-import.c (show_usage): Add doc for cms / openpgp.
	(main): Handle protocol.

2019-04-24  Andre Heinecke  <aheinecke@gnupg.org>

	cpp: Add wrapper for gpgme_set_global_flag.
	+ commit 7981ec4147f3058d5b56905903456247993dc6f7
	* lang/cpp/src/context.cpp (setGlobalFlag): New.
	* lang/cpp/src/global.h (setGlobalFlag): Export it.

2019-04-19  NIIBE Yutaka  <gniibe@fsij.org>

	core: Fix duplication of close_notify_handler for gpgsm.
	+ commit 7673ef7953482f42cab50dca1810e5c9d10f461e
	* src/engine-gpgsm.c [!USE_DESCRIPTOR_PASSING] (gpgsm_new): Remove
	last call to _gpgme_io_set_close_notify.

	core: Fix error return.
	+ commit 814f6c8de8006830f19a029a879bd92f9e584789
	* src/engine.c (_gpgme_set_engine_info): Add error return.

2019-04-09  Andre Heinecke  <aheinecke@gnupg.org>

	core,w32: Fix minor potential memleak.
	+ commit 140d694e1fddf16fa3fd2371b9a852ebb14622c8
	* src/w32-util.c (_gpgme_create_process_utf8): Free converted
	startup info strings.

	core,w32: Fix new w32-util functions.
	+ commit ecbba12b869106ba03e10b7b7dd80f74d086831b
	* src/w32-util.c (_gpgme_access): Respect mode parameter.
	(_gpgme_create_process_utf8): Convert startupinfo, too.

	core,w32: Improve handling of Unicode paths.
	+ commit a82e3a0ae57a48ba173e282a050680751006c074
	* src/dirinfo.c (get_gpgconf_item): Use _gpgme_access.
	* src/posix-util.c (_gpgme_access): Add forward to normal access.
	* src/sys-util.h (_gpgme_access): New for posix and w32.
	* src/w32-io.c (_gpgme_io_spawn): Use _gpgme_crate_process_utf8.
	* src/w32-util.c (utf8_to_wchar, utf8_to_wchar0): The usual w32 conv.
	(find_program_in_dir): Use _gpgme_access.
	(find_program_at_standard_place): Use wchar API and convert to UTF-8.
	(_gpgme_access): Convert UTF-8 to wchar and use wchar API.
	(_gpgme_create_process_utf8): Convert UTF-8 to wchar and use wchar API.

	core,w32: Show w32-spawn warning only once.
	+ commit 937adfdcbb22f715c5a331e5e2d4546ac15a1b7e
	* src/w32-io.c (_gpgme_io_spawn): Show MessageBox only once.

2019-03-27  Andre Heinecke  <aheinecke@gnupg.org>

	core, w32: Fix format string errors on windows.
	+ commit 4a4680f8901ecdcb7e8d5ed55f48226ccfccd7c8
	* src/debug.c (_gpgme_debug): Use gpgrt_vasprintf instead of
	vfprintf to have a more portable format.

	core: Fix assuan logger-fd hack for windows.
	+ commit 19a4c4daa2cfd075b181d5131a4b8b4d54714b8c
	* src/assuan-support.c (my_spawn): Zero is a perfectly fine fd.

2019-03-26  Andre Heinecke  <aheinecke@gnupg.org>

	core,w32,glib: Fix build of w32-glib-io.c.
	+ commit 213c4bc1eb1f45695cc3955cc722ebb363dcbdd0
	* src/w32-glib-io.c (_gpgme_io_pipe, _gpgme_io_connect): Do not
	use TRACE_SUC in a return statement.

2019-03-26  Werner Koch  <wk@gnupg.org>

	Release GPGME 1.13.0.
	+ commit 1b5a6bf27ac9b2e5a1fc4d5e879bd4901fcad5bb
	* configure.ac: Bump LT versions.
	                For C to C33/A22/R0.
	                For C++ to C15/A9/R0.
	                For Qt to C10/A3/R3.

2019-03-26  Andre Heinecke  <aheinecke@gnupg.org>

	core: Fix a strtoul to strtol.
	+ commit 10576dc427b3746e2c3b9bc40efe618a3bd40519
	* src/assuan-support.c (my_spawn): Fix using strtoul for
	a long.

	cpp: Fix GenCardKeyInteractor and extend it.
	+ commit ffdb75217bc09561cf651dab15cd26e0024d89a7
	* NEWS: Mention interface change.
	* lang/cpp/src/gpggencardkeyinteractor.cpp
	(GpgGenCardKeyInteractor::setAlgo): New.
	(GpgGenCardKeyInteractor::action),
	(GpgGenCardKeyInteractor::nextState: Handle new interface.

2019-03-25  Andre Heinecke  <aheinecke@gnupg.org>

	core, w32: Add hack to translate diag logger-fd.
	+ commit 129def87b262241483ba3a8b6771ad6d07c2e3be
	* src/assuan-support.c (my_spawn): Add hack to
	mark the logger fd for w32spawn translation.

2019-03-20  Andre Heinecke  <aheinecke@gnupg.org>

	qt: Handle diagnostic audit log for CMS.
	+ commit 47369569e23482bdd24a136b071192352b1d1347
	* lang/qt/src/threadedjobmixin.cpp(_detail::audit_log_as_html):
	Handle CMS audit log.

2019-03-19  Werner Koch  <wk@gnupg.org>
	    Andre Heinecke  <aheinecke@gnupg.org>

	core: Support GPGME_AUDITLOG_DIAG for gpgsm.
	+ commit dd21ec997cf4b6ba18538c63c728478110ad1f60
	* src/engine-gpgsm.c (struct engine_gpgsm): Add fields diag_cb and
	diagnostics.
	(close_notify_handler): Close the diag fd on status fd close.
	Handle diag close.
	(gpgsm_cancel): Handle diag.
	(gpgsm_release): Free DIAGNOSTICS.
	(gpgsm_new): Support the diag feature.
	(start): Set a handler for the diag fd.
	(gpgsm_getauditlog): Support GPGME_AUDITLOG_DIAG.

2019-03-13  Andre Heinecke  <aheinecke@gnupg.org>

	cpp: Fix Error::hasSystemError.
	+ commit c4cc47ee8f0bedc58e58ab416689d7014b0df2e7
	* lang/cpp/src/context.cpp (Error::hasSystemError): Invert logic to
	do what it says.

2019-02-28  Werner Koch  <wk@gnupg.org>

	json: Fix cosmetic error in the repl.
	+ commit 1bdab961c51fc038c33ae8116595aa0213ab1dd5
	* src/gpgme-json.c (native_messaging_repl): Use correct var with sizeof.

	tests: Let run-verify print the de-vs flag.
	+ commit b159b2eddd9df5df6cc8f29bd999cf1603c56991
	* tests/run-verify.c (print_result): Chack is_de_vs.
	* tests/run-import.c (main): Fix bad parameter for format string.

2019-02-27  Andre Heinecke  <aheinecke@gnupg.org>

	json: Limit recursion depth.
	+ commit 4a117859e7a512458ab78cfedfae0372805196b1
	* src/cJSON.c (MAX_DEPTH): New. Maximum recursion depth.
	(parse_value, parse_array, parse_object): Carry and check
	depth argument.
	(cJSON_ParseWithOpts): Initialize depth.

2019-02-21  Andre Heinecke  <aheinecke@gnupg.org>

	cpp: Add ostream operators for import result.
	+ commit 73b2f40ae5e6881991dea609b0781373b28d7d30
	* lang/cpp/src/importresult.cpp: Add ostream operators.
	* lang/cpp/src/importresult.h: Update accordingly.

	cpp: Make GpgME::Data::toKeys really const.
	+ commit 6175025c822678102c3f089e37952aa84b19a3ec
	* lang/cpp/src/data.cpp (GpgME::Data::toKeys): Rewind afterards.

2019-02-19  Werner Koch  <wk@gnupg.org>

	core,w32: Fix missing sentinel in dir name builder.
	+ commit 4c49417cc0dbd7f34269aff00fccafba150af744
	* src/w32-util.c (_gpgme_get_gpgconf_path): Add NULL top strconcat.

2019-02-11  Andre Heinecke  <aheinecke@gnupg.org>

	tests: Fix memleak in run-threaded.
	+ commit f8312d7c333193582dcb5816198219b9564023f0
	* tests/run-threaded.c (verify): Free msg.

2019-02-10  Ben McGinnes  <ben@adversary.org>

	python: examples.
	+ commit 302d5ef52e095378231efd54677b5c315354ad78
	* A rather obvious variant of the existing key import examples, except
	  directed at Mailvelope's keyserver.
	* Yeah, Werner, I know ... but it exists because I used it and there's
	  no harm in sharing.

2019-01-30  Ben McGinnes  <ben@adversary.org>

	python: docs.
	+ commit e005052f4d5b29beda2252f8042dbf5728f5e2aa
	* Version bump in preparation for whenever GPGME 1.13.0 happens.
	* Ran the post_installer.py for docs preparation again.

2019-01-27  Ben McGinnes  <ben@adversary.org>

	python: post installer script.
	+ commit 2de1e599770cdb129b84302d963f65fdd3ddd2a4
	* Removed auto-generated .texi files from doc/src/ so only the
	  corrected versions are left.
	* Which means now it is complete, but with the initial work to expand
	  it with info file generation later.

	python: post installer docs fix script.
	+ commit 1e265723653042bc1010b457537b69a2011b43b7
	* Moved post_installer.py into the examples/howto/ directory.
	* Added instructions for its use to the Python Bindings HOWTO.
	* Ran it as intended from the lang/python/ directory in order to both
	  prove it works and quickly and easily get the updated howto
	  replicated.  Also to fix all those .texi files.

2019-01-25  Werner Koch  <wk@gnupg.org>

	json: Better use gpgme_free.
	+ commit ed81892917f47dddc23aa99d88733e3f8f344256
	* src/gpgme-json.c (subkey_to_json): here

	json: Fix minor memory leaks.
	+ commit 7f2423371964263784252cf839269023b6573bd2
	* src/gpgme-json.c (interactive_repl): Fix memleak.
	(subkey_to_json): Ditto
	(op_config): Delay init of j_comps to avoid a leak on error.

2019-01-16  NIIBE Yutaka  <gniibe@fsij.org>

	build: With LD_LIBRARY_PATH defined, use --disable-new-dtags.
	+ commit 66bcb8acb2452cf19318023ed0ff1ea7d7bb8439
	* configure.ac (LDADD_FOR_TESTS_KLUDGE): New for --disable-new-dtags.
	* tests/Makefile.am (LDADD): Use LDADD_FOR_TESTS_KLUDGE.
	* lang/cpp/tests/Makefile.am, lang/qt/tests/Makefile.am: Likewise.
	* tests/gpg/Makefile.am, tests/gpgsm/Makefile.am: Likewise.
	* tests/json/Makefile.am, tests/opassuan/Makefile.am: Likewise.

2019-01-15  Andre Heinecke  <aheinecke@gnupg.org>

	tests: Add diagnostic example to run-import.c.
	+ commit ce327f994a2888b807b63cf202ddcecc3fb9c685
	* tests/run-import.c (main): Show diagnostics in verbose mode.

2019-01-09  Andre Heinecke  <aheinecke@gnupg.org>

	qt: Use tofu conflict test keys without expiry.
	+ commit 66376f3e206a1aa791d712fb8577bb3490268f60
	* lang/qt/tests/t-tofuinfo.cpp: Use new test keys without
	expiry.

2019-01-02  Ben McGinnes  <ben@adversary.org>

	python docs: post installer.
	+ commit a0dbdfebbb60f0d34dd16894803e95221d8be668
	* Merging post installer script.
	* Included ammended Sphinx config file to try to reduce the
	  auto-generated EPUB validation failures it produces.

	python: post installer doc fix script.
	+ commit a2e7c863c821ca035f1e3f8077bdae3b0f81f5eb
	* Got rid of the bash bit in the comments.
	* Made the final printed instructions far more obvious.

	python: examples.
	+ commit 207d4289d84971d11ec1824fbe7d4a2be63b56e4
	* Fixed inter-edit.py so it will actually work now.
	* made 3 others executable.
	* Fixed the semantics of assuan.py's instructions.

2018-12-26  Ben McGinnes  <ben@adversary.org>

	python: examples.
	+ commit d406471d4bf9c79140e4bc91de7d316ec7465892
	* Fixed inter-edit.py so it will actually work now.
	* made 3 others executable.
	* Fixed the semantics of assuan.py's instructions.

2018-12-24  Ben McGinnes  <ben@adversary.org>

	python: docs processing.
	+ commit ef9355c2fe8f81ccd73e0ed45ce33e925928f8e1
	* Added some EPUB specific config options to the Sphinx config file
	  which might help reduce some of Sphinx's more stupid default errors
	  with EPUB validation.
	* Added lang/python/post_installer.py script for automating the
	  generation of .texi and .rst "source" files from the real source
	  files written in Org mode.  Includes recreating the Sphinx Makefile
	  which is excluded due to the m4 toolchain in parent directories, it
	  also handles the rewriting of the reST index file properly and
	  rewrites the .texi files so they don't impale themselves on Unicode.

2018-12-21  Ben McGinnes  <ben@adversary.org>

	python: docs.
	+ commit 06bca0eaa8de8405fafc892ab7864990f8853bcf
	* Found a bug in org-mode's export to texinfo function which will
	  require either manual modification of each file or a customs sed run
	  over the generated files for all updates.
	* Manually updated the current files for now, but will need to add
	  some post-install processing scripts for future use (I already have
	  some of these for my specific setup, they just need to be made a
	  little more generic and platform independent for here).

	python: groups example.
	+ commit dc5f416351e47bfafb46a53f8fd8435dd6c231ba
	* Tightened code a little more.

2018-12-17  Ben McGinnes  <ben@adversary.org>

	python docs: house keeping.
	+ commit daded4925489d306f6a65271c2f55101b331187c
	* Dropped the ASCII copyright line, since even MS have conceded their
	  battle against Unicode enough to load UTF-8.
	* Fixed the drafts section since there will be less need of multiple
	  output format testing from next year.

2018-12-17  Werner Koch  <wk@gnupg.org>

	core: Silence newer compiler warnings.
	+ commit 8b41fb08f00f01fe0dd8b2b5455d3422d97ddc60
	* configure.ac: Add -Wno-format-truncation and
	  -Wno-sizeof-pointer-div.
	* src/b64dec.c (_gpgme_b64dec_proc): Add fallthrough annotation.
	* src/cJSON.c (parse_string): Ditto.
	* src/gpgme-json.c (main): Ditto.

2018-12-16  Ben McGinnes  <ben@adversary.org>

	python: howto and examples.
	+ commit fbc298dc1b0fbb51ebc92a9d56c45b78c5e9989d
	* Tightening up both the documentation and some of the example code.

2018-12-13  Ben McGinnes  <ben@adversary.org>

	python: examples bugfix.
	+ commit 4308d172816f3172454fac1dc0771014056764a1
	* Fixed a bug in the ProtonMail importers (pmkey-*.py) where multiple
	  keys found for a username would always result in the last email
	  address checked being returned in the printed output for all located
	  keys.

2018-12-12  Ben McGinnes  <ben@adversary.org>

	python: new example script.
	+ commit 3849b60e22432ef33f0d1d39b88e07922ad7779e
	* Though Keybase really should not be encouraged due to
	  disengenuosness and FUD emanating from that souce, this new script
	  will obtain a key hosted on that site and import it when supplied
	  with the keybase username.

	python: what's new summary.
	+ commit 3ca7cf07f5d3ec4af89e69ed13ea7ab701e33c03
	* Added a little more detail to the what's new section.

	python: advanced howto example.
	+ commit 64758a0dac4c7c3b312dccbc1661813e2c3e2888
	* Added Cython requirement to this advanced use case.

	python: howto examples equirements.
	+ commit 4c324ac1beb710714262af0040dea21232ba87d9
	* Added small requirements.txt file for additional modules not in the
	  standard python library and not including the bindings themselves
	  and not including Cython, which is for more advanced examples.

2018-12-10  Ben McGinnes  <ben@adversary.org>

	python: hkp key importer.
	+ commit 772b5aae24a2a3a996f399024845de612192fc2f
	* Tweaked it slightly to avoid repetition of key searches when there
	  is only one search pattern to check (i.e. usually a single key ID or
	  fingerprint).

	python: HKP search and import updates.
	+ commit 2e7a14c9b369096775a035091c197f2d438142a0
	* Tweaked the code again so that it can also handle the cases where
	  someone has included a hexadecimal string in their user ID.
	* Updated the HOWTO to match.
	* Exported to .rst and .texi.

	python: key import via HKP example.
	+ commit fe7e01d164b64ad5e7f65cb80e4bf13f06d8d3ef
	* Fixed the logic used to search for any given pattern.
	* Added a sensible method of checking whether a pattern is a key ID or
	  fingerprint.

	python: docs updates.
	+ commit 7c63bfe4ab434b61a871aec4bc1d0a05b4c068e6
	* Multiple updates, expanding on the Windows installation issues.
	* Also adding to the new maintenance mode reference document.
	* Includes content relating to the resolution of T4271 and T4191.

2018-12-07  Andre Heinecke  <aheinecke@intevation.de>

	core: Fix ERR_INV_ARG check in genkey_start.
	+ commit 78f6291a3bf56769f53af66fe39718ddd2d74bf2
	* src/genkey.c (gpgme_op_genkey_start): Fix check for
	parms.

2018-12-05  Ben McGinnes  <ben@adversary.org>

	python: examples.
	+ commit dc5600d306f808767068bad5117232fc3d35ac43
	* cut some of then poor len usage.

2018-12-05  Daniel Kahn Gillmor  <dkg@fifthhorseman.net>

	python: overhaul logic of Context.decrypt()
	+ commit 65c28da4e49a8778607fdcf6f51a840166616d9f
	* lang/python/src/core.py (Context.decrypt): simplify and clarify the
	logic behind handling verify=False.
	* lang/python/tests/t-decrypt.py: ensure that we test verify=False

	python: ctx.decrypt() has problematic error handling.
	+ commit 878a0ad01265dba5b06429276bdcc5c21fedb6f5
	* lang/python/src/core.py (Context.decrypt): document odd
	error-handling behavior as a potential problem to be addressed.

	python: Clarify the meaning of ctx.decrypt(verify=[])
	+ commit 5d8b4f74891af22379899ccee9e8ee849144eee3
	* lang/python/src/core.py (Context.decrypt): docstring clarification
	of what it means to pass an empty list to the verify argument.

	python: gpg.Context.decrypt verify_sigs and sink_result are bools.
	+ commit b8fa76a30c02afc3d7f6aad0a59bb613d1b711fc
	Both of these function-internal variables are never used for anything
	other than a binary state.  Implement them as the booleans they are.
	Otherwise, casual readers of the code might think that they're
	supposed to represent something other than a flag (e.g. "verify_sigs"
	could mean "the signatures to verify", and "sink_result" could mean
	"the place where we sink the result").

	Signed-Off-By: Daniel Kahn Gillmor <dkg@fifthhorseman.net>

	python: clarify documentation for verify argument for Context.decrypt()
	+ commit 49af6d76e55f348c7b3cece756d6ac643d17ee68
	It's easy to miss that verify can take a list of keys.  Make it more
	obvious to the average python dev who reads docstrings.

	python: simplify Context.decrypt()
	+ commit 2491e6f92f5b562cbd6f7f931df630cb106f6688
	In the course of trying to address https://dev.gnupg.org/T4271, i
	discovered that gpg.Context.decrypt() has a bit of superfluous code.
	This changeset is intended to simplify the code without making any
	functional changes.

2018-12-05  Ben McGinnes  <ben@adversary.org>

	python: windows c and cython.
	+ commit 1dffdcc6e9d249111eb8761d29ef3b35b32a8c3d
	* added warning that he Windows C runtime issues will also affect use
	  with Cython and that relying on binary installers would remove that
	  possible use case.

2018-12-04  Ben McGinnes  <ben@adversary.org>

	python: sphinx modification.
	+ commit c8a04af676d981b42172c9bdad82eb83f91c8ce6
	* The make.bat file incorrectly triggers the trailing whitespace check
	  in the git repo (it doesn't actually have any trailing whitespace,
	  but triggers the error on every line).
	* Will need to add a script to handle future org-mode conversions of
	  the index page anyway, so will get that script to deal with this
	  problem too by generating the make.bat file if the platform is
	  detected as Windows.

	python: Sphinx support.
	+ commit 6d8823b81162c18406d40ec59bd252cfdf1df648
	* Added framework from sphinx-quickstart to lang/python/doc/rst/ so
	  that Python developers already using Sphinx can use the generated
	  reST files with existing documentation systems.
	* Note that when generating source files from Org-mode, the index page
	  will require manual intervention to match the Sphinx requirements.

	python: docs update.
	+ commit 8613727f1ee985c3cfa2c815523312914f033ffd
	* Expanded the section on issues with Windows installations, with
	  greater detail of which versions of Visual Studio are needed
	  depending on which version of CPython is to be used.
	* Included a recommendation which is a bit harsh without being totally
	  prickish.
	* Updated all files to not link to author's key or related data in
	  order to make them all consistent with the changes in commit
	  649b19688132dd315e361c0f5b63ba6d8f45996d.

2018-12-04  NIIBE Yutaka  <gniibe@fsij.org>

	build: Remove --with-*-prefix, which is no need any more.
	+ commit 5dbac555f23bcec4adcfd82de61878f0f23ff272
	* autogen.rc (configure_opts): Remove --with-*-prefix.

2018-12-03  Andre Heinecke  <aheinecke@intevation.de>

	qt,cpp: Consistently use nullptr and override.
	+ commit 1d31420650bfa7ca1d1503cc7431b3360e86022c
	* lang/cpp/src/Makefile.am, lang/qt/src/Makefile.am (AM_CPPFLAGS):
	Add suggest-override and zero-as-null-pointer-constant warnings.

	* lang/cpp/src/*, lang/qt/src/*: Consistenly use nullptr and override.

2018-11-30  Ben McGinnes  <ben@adversary.org>

	python: documentation fixes.
	+ commit 2e3a681d0c35bbf6db584fedc9d7f0a010430b51
	* Typographic and whitespace error correction pertaining to the
	  previous update.

	python: documentation.
	+ commit 3b056a01a252bb72df5744409ba494e1a6e54d31
	* Added long description to setup.py.in.
	* Added maintenance mode details with clarification for what type of
	  things would be a bug as far as MM is concerned and what wouldn't
	  be.
	** Includes a not too subtle hint directed towards the donations page.
	* Miscellaneous tightening of documentation.

2018-11-28  Andre Heinecke  <aheinecke@intevation.de>

	tests, json: Make them run on debian stable.
	+ commit a9cfb6dad8ac60543bcb06f4d0515f4a64ad897a
	* tests/json/t-json.c (main): Relax version check a bit.

2018-11-26  Ben McGinnes  <ben@adversary.org>

	python docs: checking key signatures.
	+ commit 1c92f3ff55ad0cdda06d05ad0a83193e3a147b7e
	* Added instructions for checking key certifications or key
	  signatures (depending on preferred terminology).
	* Added pendulum module to recommended installations, but not to
	  requirements.

2018-11-22  Ben McGinnes  <ben@adversary.org>

	python: docs update.
	+ commit c87155e6eba2e97e4e6c6ee7e2591088a5489556
	* Added documentation for the new methods added to gpgme.version.
	* Removed the Flask based advanced use case from the what-is-new
	  section as that type of code will not be added here.

	python: version as integers.
	+ commit de6bb23279796b9ae4dc369d58591cb75f818684
	* lang/python/version.py.in: added gpg.version.versionintlist
	* If gpg.version.versionintlist[2] ever returns -1 then there's a
	  serious problem with the build and it should be lodged as a bug if
	  it's repeatable.  Seeing this should never happen, but checking for
	  it is better than not doing so.

2018-11-19  Werner Koch  <wk@gnupg.org>

	core: Fix format string errors in w32-io.c and use of TRACE_SUC.
	+ commit b182838f71d8349d6cd7be9ecfb859b893d09127
	* src/w32-io.c: Fix use of TRACE_SUC.  Fix some format strung errors.

2018-11-19  Ben McGinnes  <ben@adversary.org>

	python: import type.
	+ commit fd34415bdd57332424bd5a98d279e2331678a2fb
	* Fixed bug T4242 and tested that dropping "Import" in favour of
	  "import_type" does indeed work just fine.

	python: import constant.
	+ commit f773ad392da57e6be4ade93c44baa5d2057c40b6
	* lang/python/src/constants/__init__.py: dropped use of Import
	  capitalisation and renamed lang/python/src/constants/import.py to
	  lang/python/src/constants/import_type.py to address bug T4242.
	* lang/python/doc/src/gpgme-python-howto: minor docs updates.

2018-11-16  Werner Koch  <wk@gnupg.org>

	core: Protect the trace macros for fun and profit.
	+ commit 7a1e7006d06fdbab86ea79a197c316744b09d933
	* src/debug.h: Protect macros using.
	(_trace_err, _trace_sysres, _trace_syserr): New helper inline
	functions.

	core: Fix a LF problem in the new debug fucntion.
	+ commit 7eda50a673d15320022375360fd220e8381b69ab
	* src/debug.c (_gpgme_debug): Print a LF for an empty FORMAT unless we
	are in legacy mode.

	core: Remove old debug helper function.
	+ commit 94d274a1a33c6fb30981290b127f2c4babc27245
	* src/debug.c (_gpgme_debug): Remove.
	(_gpgme_debugf): Rename to _gpgme_debug.

	core: Simplify the trace maros by using variadics.
	+ commit 5857491a2aa7d4975100d90f1ad62c08aa345e3e
	* src/debug.h (TRACE_BEG, TRACE_LOG, TRACE_SUC): Use variadic macros
	and remove the TRACE_BEG1 et al.  Change all users to always pass a
	format string.
	(TRACE): Ditto.
	* src/debug.c (_gpgme_debugf): New.
	* configure.ac <GCC>: Add -Wno-format-zero-length.

2018-11-15  Andre Heinecke  <aheinecke@intevation.de>

	tests: Add run-threaded for multithread tests.
	+ commit d0402f886b720d03369887c807581bd980ee70cf
	* tests/Makefile.am (run-threaded): Add.
	* tests/run-threaded.c: New.

	tests,json: Clean openpgp-revocs.d.
	+ commit 004e2cad2f26250cd010684f11dc187f08e6f9e1
	* tests/json/clean-local: Remove revocs.d

	tests,json: Move version check into t-json.
	+ commit 40d962b43a183070ba8602cac1e83f2292ebf2c3
	* tests/gpg/t-support.h (check_gpg_version, compare_versions),
	(parse_version_string, parse_version_number): Remove version
	check code.
	* tests/json/t-json.c (check_gpg_version, compare_versions),
	(parse_version_string, parse_version_number): Add.

2018-11-14  Andre Heinecke  <aheinecke@intevation.de>

	tests,json: Add sig-notations test.
	+ commit d3dae4a445d950c94c952ddf54e534ef71675bd1
	* tests/json/t-sig-notations.in.json,
	tests/json/t-sig-notations.out.json: New
	* tests/json/Makefile.am (EXTRA_DIST): Add files.
	* tests/json/t-json.c: Register it.

	tests,json: Fix distcheck.
	+ commit def030e843bd4576597272abe9fe12f846066576
	* tests/json/Makefile.am (EXTRA_DIST): Add inital and final scripts.
	(t_json_SOURCES): Don't use cJSON.o as source.

	tests,json: Add more tests.
	+ commit d0087d45f0207bf82a4f078d972c28c4d1cd2690
	* t-config-opt.in.json,
	 t-config-opt.out.json,
	 t-import.in.json,
	 t-import.out.json,
	 t-sign.in.json,
	 t-sign.out.json: New.

	tests,json: Add missing files and chunking test.
	+ commit 88b7221eb737a3102ec61ea385990b7ea7ef2b30
	* tests/json/Makefile.am, tests/json/final.test,
	tests/json/initial.test: New.
	* tests/json/t-chunking.in.json, tests/json/t-chunking.out.json:
	New test.
	* tests/json/t-json.c: Register new test.

	tests,json: Fix match if the first child differs.
	+ commit 27ca12e815c0a582d357641a04b889d648b8766e
	* tests/json/t-json.c (test_contains): Try all siblings of
	the haystack child.

	tests,json: Add the bulk of tests.
	+ commit dd4b80a5f640232bb44eb825ff5a74ec295fad10
	* t-json.c (tests): Register new tests.
	* t-createkey.in.json,
	  t-createkey.out.json,
	  t-decrypt-verify.in.json,
	  t-decrypt-verify.out.json,
	  t-decrypt.in.json,
	  t-decrypt.out.json,
	  t-delete.in.json,
	  t-delete.out.json,
	  t-encrypt-sign.in.json,
	  t-encrypt-sign.out.json,
	  t-encrypt.in.json,
	  t-encrypt.out.json,
	  t-export-secret-info.in.json,
	  t-export-secret-info.out.json,
	  t-export.in.json,
	  t-export.out.json,
	  t-json.c,
	  t-keylist-secret.in.json,
	  t-keylist-secret.out.json,
	  t-keylist.in.json,
	  t-keylist.out.json,
	  t-verify.in.json,
	  t-verify.out.json,
	  t-version.in.json,
	  t-version.out.json: New.

	tests,json: Add wildcard string matching.
	+ commit 9a31fdcb11d04d47dfcc38a8409b84436c549108
	* tests/json/t-json.c (test_contains): When searching for "*" accept
	every string.

	tests,json: Skip tests for older GnuPG versions.
	+ commit e55e467d5ffb32c428566a876616d309ef2d15cd
	* tests/json/t-json.c (main): Skip if version is not at least
	2.2.0

	tests,json: Suffix .json to test pattern.
	+ commit ca2e2b3d6973b1f942571ba65bd8b57153847777
	* tests/json/t-config.in, tests/json/t-config.out: Renamed.
	* t-json.c (run_test): Use new naming pattern.

	tests,gpg: Add version check hlp to t-support.
	+ commit 5b61c092e7444749b08e39ac5aa9fb0818e1a076
	* t-support.h (parse_version_number, parse_version_string)
	(compare_versions): New. Copy&Paste from src/version.c
	(check_gpg_version): New helper to check for a gpg version.

	tests,json: Improve verbose mode and add verbose 2.
	+ commit 9933641cce595ba308d0f3a1f3ae8f13a9743dd1
	* tests/json/t-json.c (main): Handle multiple verbose args.
	(test-contains): Improve verbose output

	tests,json: Fix and improve t-json.
	+ commit 3e5684d99b881787f9739e53fd8e8c22eadc2146
	* tests/json/t-json.c (run_test): Terminate argv array correctly.
	(run_test): Note and handle empty response.

	tests: Add json testrunner.
	+ commit 0c31837766e016227b3c8dfd44c476949cd4741e
	* configure.ac: Configure makefile.
	* tests/Makefile.am: Run json tests if gpg tests are run.
	* tests/json/t-json.c: New testrunner for json tests.
	* tests/json/t-config.in, tests/json/t-config.out: First test.

2018-11-13  NIIBE Yutaka  <gniibe@fsij.org>

	build: Update gpg-error.m4 and libassuan.m4.
	+ commit c4aa4af50f3102b251cfff9c9755e2dde8d1bd1f
	* m4/gpg-error.m4: Update from master.
	* m4/libassuan.m4: Update from master.

2018-11-12  NIIBE Yutaka  <gniibe@fsij.org>

	Fix the previous commit.
	+ commit 895176f42af3a1b13614f15dd537a426bb4ac16a


	build: Make gpgme.m4 use gpgrt-config with *.pc.
	+ commit 60828a505a1c74fd34476c181df2a588ea6f9c83
	* src/gpgme.m4 (_AM_PATH_GPGME_CONFIG): Use gpgrt-config with gpgme.pc
	when possible.
	(AM_PATH_GPGME_GLIB): Likewise with gpgme-glib.pc.

	build: Provide gpgme-glib.pc too.
	+ commit a76e145a1057e11953b71f804cf3a499c3ad5362
	* src/gpgme-glib.pc.in: New.
	* src/gpgme.pc.in (avail_lang): Remove.

	build: Provide gpgme.pc, generated by configure.
	+ commit f3e60521899e6126229b6efedc9f011b84122e11
	* configure.ac: Generate src/gpgme.pc.
	* src/Makefile.am (pkgconfigdir, pkgconfig_DATA): New.
	(EXTRA_DIST): Add gpgme.pc.in.
	* src/gpgme.pc.in: New.
	* src/gpgme-config.in: Use variables.

2018-11-08  Daniel Kahn Gillmor  <dkg@fifthhorseman.net>

	spelling: fix misspellings.
	+ commit 2557d0ae6ff0336b041129b7bf5c1e3a8c20a805


2018-11-06  Ben McGinnes  <ben@adversary.org>

	docs: python bindings.
	+ commit d0a5caf73c2d6b73dd043f62574c31946e4f347d
	* Continued restructuring as part of moving beyond mere;y the HOWTO
	  file.
	* Generated the alternative source files for reST and Texinfo.
	* Fixed some errors and updated links after moving the what's new
	  section to two new files (yes, two).

	python examples: another importer.
	+ commit 0cb625da84d7e5deeacad113c404a8bc2154c8e7
	* Fixed a similar type of bug with the non-protonmail importer.

	python examples: protonmail hkp scripts.
	+ commit 1b9d30db089e9de3ef859195ad58d2164a0231a0
	* fixed a bug in the import try statement for both versions.

2018-11-05  Werner Koch  <wk@gnupg.org>

	gpg: Avoid error diagnostics with --override-session-key.
	+ commit bded8ebc59c7fdad2617f4c9232a58047656834c
	* src/engine-gpg.c (gpg_decrypt): Add --no-keyring.

2018-11-03  Ben McGinnes  <ben@adversary.org>

	docs: typo.
	+ commit 13e09bd21a531b448f2f34b1f075315502b76fb6
	* lang/python/doc/src/gpgme-python-howto: s/Revokinging/Revoking/g

2018-11-02  Werner Koch  <wk@gnupg.org>

	w32: Fix a few compiler warnings.
	+ commit 5262ce0c815193fc901b00a9b4132925ba672df7
	* src/debug.h (TRACE_SYSERR_NR): New.
	* src/w32-io.c: Fix compiler warnings.

	w32: Log all errors from CloseHandle and WFSO in w32-io.
	+ commit ed3f5ad760a28566fa2571e0c7392467bfc3770d
	* src/w32-io.c (close_handle, _close_handle): New macro and function;
	use in place of all CloseHandle calls.
	(wait_for_single_object, _wait_for_single_object): Likewise.

	w32: Don't use CloseHandle on an arbitrary integer.
	+ commit 4faa0ccf58c7a0f64f51dcbc8466add660080414
	* src/assuan-support.c (my_waitpid): Do not close the PID = it is not
	a handle.

	w32: Revamp the closing of system objects.
	+ commit da89528ac39b687bfbed2209ca2637e3bd8e0ac5
	* src/w32-io.c (hddesc_t): New.
	(reader_context_s, writer_context_s): Replace file_sock and file_hd by
	the hddesc_t hdd.
	(fd_table): Ditto.  Add want_reader and want_writer.
	(hddesc_lock): New lock variable.
	(new_hddesc, ref_hddesc): New.
	(release_hddesc): New.
	(reader, writer): Call release_hddesc.
	(create_reader, create_writer): Change for new hddesc scheme.
	(destroy_reader, destroy_writer): Replace closing by a call to
	release_hddesc.
	(_gpgme_io_pipe): Change for new hddesc scheme.
	(_gpgme_io_close): Ditto.
	(_gpgme_io_dup): Ditto.  Use want_reader and want_writer.
	(_gpgme_io_socket): Change for new hddesc scheme.

	core: Print a dump of the I/O data only at level 8.
	+ commit 337c10825525d4084f3f437fde5af3806707e6a4
	* src/debug.h (TRACE_SUC3): New.
	(TRACE_LOGBUFX): New.
	* src/posix-io.c: Use TRACE_LOGBUFX instead of TRACE_LOGBUF.
	* src/w32-glib-io.c: Ditto.

	w32: Fix and improve CancelSynchronousIo use.
	+ commit acef4f775f273bbef63bc81afbad8feaabc7414e
	* src/w32-util.c (_gpgme_w32_cancel_synchronous_io): Fix name of DLL
	and print trace info only on error.

2018-11-01  Werner Koch  <wk@gnupg.org>

	w32: Use CancelSynchronousIo in destroy_reader.
	+ commit 63ba09b541dabbe838253926896e721cb9be564a
	* src/w32-util.c (_gpgme_w32_cancel_synchronous_io): New.
	* src/w32-io.c (destroy_reader): Use it here.

	w32: Merge all the object tables of w32-io into one.
	+ commit 338e9edfdb9239f1c9d4409f6d08d79a9d6f285b
	* src/w32-io.c (fd_table_size): New.  Used in most places instead of
	the MAX_SLAFD constant.
	(reader_table, writer_table, notify_table): Merge them into ...
	(fd_table): this table.  Chnage all affected code to take just one
	lock.

2018-10-31  Werner Koch  <wk@gnupg.org>

	w32: Remove unused arg from two functions.
	+ commit 79fc7c0fe825014e75bb825c4966a04a22e78254
	* src/w32-io.c (find_reader, find_writer): Remove unused start_it
	arg.  It is always passed as true.  Change callers.

	w32: Remove all support for WindowsCE.
	+ commit 3c04dea3ecebed35208f6b631b2e8b04222ea432
	* configure.ac: Remove WindwosCE support.
	* contrib/: Remove all; it was only used for WindowsCE.
	* src/w32-ce.c, src/w32-ce.h: Remove files.
	* src/Makefile.am (system_components): Remove these files.
	* src/ath.c, src/ath.h: Remove W32CE support.
	* src/data-compat.c (gpgme_data_new_from_filepart): Ditto.
	(gpgme_data_new_from_file): Ditto.
	* src/debug.c (debug_init, _gpgme_debug): Ditto.
	* src/gpgme-tool.c (gpgme_server): Ditto.
	(main): Ditto.
	* src/priv-io.h: Do not include w32-ce.h.
	* src/util.h: Remove WindowsCE support.
	* src/w32-io.c: Ditto.
	* src/w32-util.c: Ditto.
	* src/debug.h (TRACE_SUC4): New.

	w32: Remove cruft in w32-io from WindowsME times.
	+ commit 2e07d4f89a26bb56a55b2743d39fb37532028ffd
	* src/w32-io.c (set_synchronize): Remove.
	(create_reader, create_writer): No need for set_synchronize.

2018-10-30  Ben McGinnes  <ben@adversary.org>

	docs: python docs restructure.
	+ commit 78be1e2f543667576a49286476e7d66a707dd17e
	* Moved the what's new section out of the HOWTO (mostly), in
	  anticipation of expanding the docs to be more than merely a HOWTO.

	docs: python.
	+ commit d5c22966d5bf397cccfa171095885cd207ef6ae3
	* dropped the ".org" extension and added a mode line for each file as
	  this will make scripting format conversions a lot easier.

2018-10-30  Werner Koch  <wk@gnupg.org>

	w32: Fix previous commit.
	+ commit 9eef23fcf39f2b2eb2645afd31a79ba1286d9885
	* src/w32-io.c (_gpgme_io_spawn): Move freeing of TMP_NAME behind its
	use in an error handling.

2018-10-29  Andre Heinecke  <aheinecke@intevation.de>

	core,w32: Fix memleak of tmp_name in w32-io.
	+ commit 7a1b58045f980c4df76daf225a2a1b604e8604d2
	* src/w32-io.c (_gpgme_io_spawn): Free tmp_name.

	tests: Add repeat argument to run-verify.
	+ commit 681525be003433728d127303d40712803b70cb9c
	* tests/run-verify.c (main): Add repeat argument.

	core: Do not crash if CMS plaintext is ignored.
	+ commit 8f27511862cabac8fa1dd8f883cb78faebc05ef6
	* src/engine-gpgsm.c (gpgsm_verify): Fix handling both
	plaintext and signed_text as NULL.

	cpp,tests: Add another test runner.
	+ commit 62c736ba76a19d3b41af69e1f340a53b80f13fe0
	* lang/cpp/tests/run-verify.cpp: New.
	* lang/cpp/tests/Makefile.am: Update accordingly.

2018-10-25  Andre Heinecke  <aheinecke@intevation.de>

	cpp: Add some convenience functions.
	+ commit 05a0e97f5c12c06082fbeab0fba6f86ddbfbe6b2
	* lang/cpp/src/context.cpp (Context::create): New.
	* lang/cpp/src/context.h: Update accordingly.
	* lang/cpp/src/key.cpp, lang/cpp/src/key.h:
	(Key::isBad, Subkey::isBad, UserID::isBad)
	(UserID::Signature::isBad): Add shorthand for the isX checks.
	* NEWS: Mention it.

2018-10-23  Ben McGinnes  <ben@adversary.org>

	docs: python howto.
	+ commit 04791c896712857feaf9a472a48d7a4c4f287775
	* Fixed a few spelling and grammatical errors.

2018-10-21  Ben McGinnes  <ben@adversary.org>

	Python: docs tweaks.
	+ commit 59e38e3d2c14b40045e15c45b6c2f300e8f097dc
	* Fixed a minor error in how the reST version of the HOWTO is
	  generated.
	* Updated the help() in __init__.py with a little more detail as to
	  why not to use the lower level functions.

2018-10-20  Ben McGinnes  <ben@adversary.org>

	python bindings: callback test.
	+ commit 651a1afe80bcc421da26f38015e8a322e140f130
	* lang/python/tests/t-callbacks.py: Updated test logic to try
	  generating a key which expires in 2099 and if that fails then
	  fallback to an expiration in 2037 in an attempt to catch the 32-bit
	  systems.

2018-10-18  Werner Koch  <wk@gnupg.org>

	core: Fix segv in genkey when no endtag is provided.
	+ commit fbac11b19d97730494dc9dad3b7f71453ef15581
	* src/genkey.c (get_key_parameter): Provide a fallback ENDTAG.

	core: Return an error if NULL is provided for genkey's parms.
	+ commit 174af15725d4989a840ff3098996cc8a0568f724
	* src/debug.c (_gpgme_debug_buffer): Bail out of BUF is NULL.
	* src/genkey.c (gpgme_op_genkey): Do no deref a NULL in
	TRACE_LOGBUF.
	(gpgme_op_genkey_start): Ditto. Return an error if PARMS is NULL.

2018-10-18  Daniel Kahn Gillmor  <dkg@fifthhorseman.net>

	python: do not export HAVE_CXX11 definition.
	+ commit 9de1c96ac3cf6fa126325002b61a1b606037ca88
	* lang/python/gpgme.i: ignore HAVE_CXX11 in SWIG interface

2018-10-17  Werner Koch  <wk@gnupg.org>

	python: Auto-check for all installed python versions.
	+ commit ff6ff616aea6f59b7f2ce1176492850ecdf3851e
	* m4/python.m4 (AM_PATH_PYTHON): Add a 4th arg.
	* configure.ac (available_languages): Remove separate python2 and
	python3 and keep just python.  Simplify test for pythons.  Use an
	explicit list of python versions to test.

2018-10-16  Werner Koch  <wk@gnupg.org>

	core: Really remove CR from version output.
	+ commit d63d6d8b8030ec1dc19f9f66c8af3b2f3288d309
	* src/version.c (_gpgme_get_program_version): Fix test.

2018-10-10  NIIBE Yutaka  <gniibe@fsij.org>

	build: Let configure create the VERSION file.
	+ commit 85dd0fa4b5f026a13da842bf64ab8a37a68918d4
	* autogen.sh: Update from libgpg-error.
	* configure.ac: Use mym4_version to create VERSION file.
	* Makefile.am (dist-hook): Do not create VERSION.
	(EXTRA_DIST): Add VERSION.

2018-10-09  Andre Heinecke  <aheinecke@intevation.de>

	cpp: Add KeyListMode::Locate.
	+ commit c565cf42a38a8bda936df8c52936589cc8a06ca3
	* cpp/src/global.h (KeyListMode): Add Locate.

	cpp: Add first manual tests.
	+ commit 9f85f4967e617e9f97529b89f530c1bc36b52a5c
	* lang/cpp/Makefile.am: Add tests subdir.
	* lang/cpp/tests/Makefile.am: New.
	* lang/cpp/tests/README,
	lang/cpp/tests/run-getkey.cpp,
	lang/cpp/tests/run-keylist.cpp: New.
	* configure.ac: Configure tests makefile.

	core: Add trust-model flag.
	+ commit 85627e58184529e982369cfc00ed7865244c13d6
	* src/context.h (gpgme_context): Extend with trust_model.
	* src/engine-gpg.c (engine_gpg): Extend with trust_model.
	(gpg_set_engine_flags): Take trust_model from context.
	(build_argv): Handle trust_model.
	(gpg_release): Free trust_model.
	* src/gpgme.c (gpgme_set_ctx_flag): Handle trust-model flag.
	(gpgme_release): Release trust-model.
	* doc/gpgme.texi: Document new flag for gpgme_set_ctx_flag.
	(Context Flags): New subsection for the context flags.
	* tests/run-keylist.c (show_usage, main): Add new --trust-model
	parameter.

	cpp: Initialize all gpgme_key_t's in context.
	+ commit 7a1e6dbfb16f71f692a53f7e0955bde86dbb7fee
	* lang/cpp/src/context.cpp (Context::startKeyListing),
	(Context::keyListResult, Context::signingKeys): Initialize key.

	core: Ensure r_key init in gpgme_get_key.
	+ commit ecfa88e65fda9c9766ad526d57e2fc8b2884f634
	* src/keylist.c (gpgme_get_key): Move r_key init above
	the first invalid value check.

	qt, tests: Add test for single get key.
	+ commit bf4aae45129c1093ee7712bdbcdfe1c8f2ca7c0f
	* lang/qt/tests/t-keylist.cpp (testGetKey): New.

2018-10-08  Werner Koch  <wk@gnupg.org>

	Release 1.12.0.
	+ commit 1aff2512d846ea640d400caa31c20c40230b3b04
	* configure.ac: Bump core LT version to C32/A21/R0.  Bump C++ LT
	version to C14/A8/R0.

	* lang/qt/tests/Makefile.am (CLEANFILES): Add reader status files.
	* Makefile.am (EXTRA_DIST): Add conf/whatisthis.

2018-10-05  Werner Koch  <wk@gnupg.org>

	core: Apply GPGME_EXPORT_MODE_NOUID also to keyserver exports.
	+ commit 913601f4879f011878b53b885f35524df98b5570
	* src/engine-gpg.c (export_common): Add keyserver-options to the
	send-keys commands.

	build: Move config.h to conf/config.h.
	+ commit ecfa48fffa93f3d1b66354d2d46872ff614c4a68
	* conf/: New dir.
	* configure.ac (AC_CONFIG_HEADER): Move header to conf dir.
	* doc/Makefile.am (mkdefsinc): Adjust rule.
	* lang/python/Makefile.am (copystamp): Ditto.

2018-10-04  Ben McGinnes  <ben@adversary.org>

	docs: whitespace bug.
	+ commit 033da18b88af69b7846de62af4aeea359d27ec20
	* Same as before, but exported.

	docs: org to texinfo whitspace bug.
	+ commit a8d4aa6f763599bbd8ea36ef98b7b4931bf326dc
	* replaced "." in headings with "ยท" to prevent whitspace being
	  appended by texinfo and breaking git.

	docs: python.
	+ commit 0b5930b276186afd1ca1dd91d82db7e60dd20606
	* Fixed an error in the new index page and then exported to the other
	  two "source" formats.

	docs: python.
	+ commit 48258879720a4f423d0efa955da942d69f3c49d4
	* lang/python/doc/meta/TODO.org: Added the two major documentation
	  build system tasks to the TODO list.
	* Added an index page in preparation for sorting out the second of
	  those TODO lists (Docutils is a lot easier to handle than Texinfo).
	* Meanwhile, have confirmed that it all builds just fine under
	  GNU/Linux, OS X and FreeBSD while retaining the documentation, so
	  that's a nice improvement from 1.11.1.

	python: makefiles.
	+ commit f3fc73738264d21baf0e9b49fdd5cb67faa11d31
	* doc/Makefile.am: Removed a bit I forgot about.
	* Renamed lang/python/docs to lang/python/doc bvecause apparently
	  automake cares about that too.
	* Decided to be extra explicit in the manifest because if I don't then
	  all sorts of things get deleted ... like lang/python
	* Tested on an external linux system just in case my osx workstation
	  introduces too much weirdness.

	python: make file.
	+ commit 2cca422ca4b2df831a824393077d0b52d79532aa
	* lang/python/Makefile.am: Attempting to remove the docs/meta
	  directory did a lot worse than I thought it was doing, so better to
	  just be sure the documentation is available than destroy the entire
	  bindings directory.

	python: make file.
	+ commit 582f14d97a900106dce0c8d8666a443c6ec25050
	* lang/python/Makefile.am: Now that gpg2 has been renamed back to gpg
	  and gpg1 is semi-deprecated, we should check what the actual gpg
	  binary is with gpgconf and use that rather than make assumptions per
	  system.
	* Also, it means less worry if gpg3 is ever a thing.  (Trust me, I
	  remember the Python 1 to 2 transition as well as the current 2 to 3
	  transition).  ;)

2018-10-03  Ben McGinnes  <ben@adversary.org>

	docs: more whitespace checks.
	+ commit a174b269432fd37e8546c43e0127580e826432da
	* lang/python/docs/texinfo/short-history.texi:

	dpcs: python howto.
	+ commit 962dfca9b86b53bb00f5b89e453b9eed95454934
	* More updates to the docs themselves and the versions to be available
	  with the next release.
	* .texi and .rst copies of the HOWTO and the short history of (this
	  part) of the project.

	docs: python.
	+ commit 2151b9828af3760867e856ab939b835a6e2f42e7
	* More restructuring.  Also the painstaking task of deciphering some
	  of the more eclectic aspects of Texinfo and make.

	docs: python bindings.
	+ commit a982f9131520bce0b25f84cba19040bbe5f275bb
	* Restructured the docs directory to account for the GNU preferred
	  source doc format (.texi) and the Python preferred source doc
	  format (.rst) and the real source doc format (.org).
	* Both the perceived source formats will need to be generated from the
	  .org files and included at this stage.  Unfortunately there is not
	  yet a native org-to-rst transformation method in the org-mode
	  software in Emacs nor is there a a direct means of going from reST
	  to Org-mode from Docutils.  There's only third party packages like
	  Pandoc and, while very good, there is no guarantee of consistency;
	  so we can't entirely automate this bit (yet).

	docs: pre-python preparation.
	+ commit b2802053192ba0000866b145b715a557d34ed0eb
	* doc/Makefile.am: removed the python howto from this file, restoring
	  it to just the main project and the newer .js files.
	* deleted: doc/gpgme-python-howto.texi
	* renamed the Short_History.org file to short-history.org to keep the
	  naming conventions similar.
	* All the Python files can (and should) live together.

2018-10-02  Ben McGinnes  <ben@adversary.org>

	python bindings: CPython order.
	+ commit 23894ac9a96081428a590791010ca8beebaf6f9f
	* Changed the order of python versions the configure/make process
	  checks for, placing Python 3.7 ahead of 3.6.
	* Updated the HOWTO documentation to reflect this change.

2018-10-02  Werner Koch  <wk@gnupg.org>

	core: add experimental GPGME_EXPORT_MODE_NOUID.
	+ commit 7b861945fdc71fd3c82c91f824172dadd2220fa0
	* src/gpgme.h.in (GPGME_EXPORT_MODE_NOUID): New.
	* src/export.c (export_start): Adjust option check.
	* src/engine-gpg.c (export_common): Implement option.

2018-09-30  Ben McGinnes  <ben@adversary.org>

	docs: python bindings.
	+ commit 76bdfabb057f4ffc56beee15b48d8fa836ba7cce
	* Tightened up the docs a little bit, updated the "what's new"
	  section, dropped the "-draft" version in preparation for GPGME
	  1.12.0's release.
	* Exported another .texi version (and updated the draft copies to this
	  commit (which ought to be 1.11.1-beta313).

	python bindings: fixing decrypt-verify.
	+ commit 837a4760533e80f075cd727f18354904b8a54132
	* lang/python/src/core.py: First restoring the exception to the being
	  just that.
	* The means to manipulate the error output is temporarily in commented
	  out code, but ought to be added to a proper test later.
	* In the mean time the original test, with a very slight change, works
	  again.

	python bindings: ctx.decrypt.
	+ commit 11403a46358f9b6e98776974f3c70f211d9adf85
	* lang/python/src/core.py: Fixed methods of detecting whether verify
	  is a boolean variable or a list.
	* Added methods of catching the missing keys exceptions.
	* Still retained PEP8 compliance (which might have been where one or
	  two problems crept in).
	* Though this is essentially the correct behaviour, it still does not
	  quite fit the otiginal test; so that will also require some adjustment.

2018-09-27  Ben McGinnes  <ben@adversary.org>

	example: local signatures.
	+ commit ce045a1ef9c63042fcffb5487b19646d67addba0
	* lang/python/examples/howto/local-sign-group.py: added the bit where
	  specifying the signing key is actually used for signing rather than
	  just pruning the list of keys to certify.

	example: python bindings.
	+ commit a047e0f68ef471097e514665249063f267257b19
	* lang/python/examples/howto/local-sign-group.py: locally sign every
	  key in a group line except one's own keys.  Intended to address the
	  sort of thing one might see on lists like PGPNET or other closed
	  groups amongst activists, journalists, etc. where everyone encrypts
	  to all recipients, but may not sign everyone's keys publicly..

	docs: python bindings installation.
	+ commit 1d40d360bccb05b4c66313a60a902d04a0d3c9ff
	* lang/python/docs/gpgme-python-howto.org: added a section on
	  installing the bindings to a python virtualenv.

	tests: python bindings.
	+ commit b9aea3b9c2c2762a9ae8d677196f82acc6a1c028
	* Fixed the final assertion to look for what will actually be reported
	  in that case instead of something else (i.e. it looks for an
	  IMPORT_ERROR status code).

	examples: python bindings.
	+ commit 7c9f49a4991c1ccd0cb582875207b373d4fccf50
	* Fixed homedir specifying logic in several cases.

2018-09-25  Ben McGinnes  <ben@adversary.org>

	docs: a typographical two-step.
	+ commit b625258d54782040195cc5ad3b255685af6f6c4e
	* Sometimes you really do need or want punctuation in a heading, but
	  ideally without something else generating whitespace and other
	  annoyances to go with it.
	* Trying a real decimal point instead.

	docs and examples: python bindings.
	+ commit 62e4e2cb5edb09183b9f9d448f992fe65cb6db85
	* Woumd up the "what's new" section.
	* Added an example for sending a key to the keyservers via hkp4py.
	* Updated the export key code to use a more complete check for the
	  $GNUPGHOME location.
	* Expanded on the installation and reinstallation troubleshooting
	  section.

2018-09-24  Ben McGinnes  <ben@adversary.org>

	docs: python bindings howto.
	+ commit e9da4d97107b40a48583775df34783f07be5dfdb
	* Added a What's New section to summarise changes since the last
	  release.  There have been quite a few and some attention does need
	  to be drawn to some of them.
	* Confirming certain issues with some platform builds, especially
	  BSD/OSX vs. Linux issues which will need to update the installation
	  troubleshooting guides.

2018-09-23  Ben McGinnes  <ben@adversary.org>

	docs and examples: python bindings howto.
	+ commit b12b2cc99621fe32a2d698ce7f091f3225f35bd0
	* Added more comprehensive examples using hkp4py and added a couple
	  more example scripts for protonmail.

	examples: python bindings and hkp4py updates.
	+ commit ced4bdbbb239c1fe209665b4f5a7aeb9651889ed
	* Mostly tightening up the details on the hkp4py example script.
	* Also fixed a typo in the LGPL boiler plate text included in all the
	  other example scripts for the HOWTO.

	python bindings: importing from keyservers with hkp4py.
	+ commit 6ed9a77c92c32f77092b36c149185d4359cd6e55
	* added a new example script to search the keyservers and import the
	  results, this time using Marcel Fest's hkp4py module.
	* Updated the key importing section to match this addition.
	* Tested with the current version of hkp4py from github.

2018-09-22  Ben McGinnes  <ben@adversary.org>

	docs: python bindings howto.
	+ commit 3622576105ae1924d9b40ce0d09bf9a7accc0ed1
	* Confirmed that updates to the tests have significant'y improved that
	  output.
	* Updated some of the additional notes for the section on hkp4py.
	** This is in anticipation adding at least import examples using that
	   module as well.  It may also include adding examples of exporting a
	   key and uploading it to the keyservers.

2018-09-20  Werner Koch  <wk@gnupg.org>

	python: Fix a couple of syntax errors.
	+ commit 6878126b6f53cdf7daeeaf68116dda008564c2fa
	* lang/python/tests/t-keylist-from-data.py: Add missing line
	continuation.
	* lang/python/tests/t-keylist.py: Ditto.
	* lang/python/tests/t-quick-key-creation.py: Ditto.
	* lang/python/tests/t-quick-subkey-creation.py: Ditto.

	python: Silence a few warnings.
	+ commit dcdabf5f2ef84e1f304fcc0590ec4bb160354af5
	* src/gpgme.h.in: Obsolete "class" also for Python.
	* lang/python/gpgme.i: Silenece a swig warning.  Silence a gcc
	warning.

	python: Fix regression in the test suite.
	+ commit 9f19b3aaecd23a12b2e6692faeefa936e490d343
	* lang/python/tests/Makefile.am (GNUPGHOME): Remove stray backslash.

	tests: Don't try using keys from a scmartcard.
	+ commit a824f4498ea9bae5dca515c56e2455ec0ce98b50
	* tests/gpg/Makefile.am: Disable scdaemon
	* lang/python/tests/Makefile.am: Ditto.

2018-09-20  Ben McGinnes  <ben@adversary.org>

	docs: python bindings and its special request.
	+ commit 5cb67257f2b3b5fcfd3444e366f26a0f2ae09504
	* Added some material on using the new-ish hkp4py module with GPGME.
	* Example code will be added later once a couple of little issues are
	  addressed.

2018-09-19  Werner Koch  <wk@gnupg.org>

	json: Remove subkey-algo from createkey command.
	+ commit c569adb5e3e3082bd68cdc34a2d349b7c28d3768
	* src/gpgme-json.c (op_createkey): Remove subkey-algo param.
	(GPG_AGENT_ALLOWS_KEYGEN_TRHOUGH_BROWSER): Fix typo.
	* lang/js/src/Keyring.js: Remove subkey-algo support.
	* lang/js/src/permittedOperations.js: Ditto.

2018-09-18  Ben McGinnes  <ben@adversary.org>

	docs: python bindings.
	+ commit 362caaf02f3a25b7e626572aa30b87771c2c8f4d
	* Updated the Cython example code slightly, along with the
	  corresponding explanation.

2018-09-17  Ben McGinnes  <ben@adversary.org>

	docs: python bindings howto.
	+ commit f4d83800d89173e618cceca44b584778217fadb3
	* Tightened up the Cython demonstration.

2018-09-16  Ben McGinnes  <ben@adversary.org>

	docs: cython sanitized.
	+ commit 44c846345e91413b9d6a1f7b26f59db5b1c32433
	* Sanitized the shell command examples of extraneous whitespace.
	* Removed keycount.c as sanitising it is pointless and it will be
	  generated by Cython when the example is followed.
	* Regenerated the .texi version.

	docs: python bindings howto.
	+ commit 61c08f7435570783f5c267e42d288d31bf77e560
	* Added new advanced section with an example of using the Python
	  bindings with CPython code compiled back to C code using Cython.
	* Though it may seem a bit counter-intuitive to use the bindings just
	  to go back to C via a different route, this is not actually stupid.
	* Added examples/howto/advanced/cython/ directory.
	* Added keycount.pyx, setup.py and the keycount.c file which the first
	  two generated with Cython.  Not including the .so and .o files from
	  the build.
	* Exported the .texi version of the howto for the main docs.

	docs: even more edits.
	+ commit fbec29fdac7a4f162e73f24dac2a6b205239ef03
	* doc/gpgme-python-howto.texi: hunting down and killing commas,
	  Oxford or not it can't stay in a heading.

	docs: more edits.
	+ commit 2a1b0b88d96b722817f3ac9edf002a54c65084b8
	* lang/python/docs/gpgme-python-howto.org: more tweaks and edits,
	  along with another build of output formats.
	* doc/gpgme-python-howto.texi: updated texinfo version for parent docs.

	docs: whitespace culled.
	+ commit 91b26b0638d9f92f0e90aab1c3750c14d72db301
	* lang/python/docs/gpgme-python-howto.org: Identified and fixed the
	  headings which kept generating lines with trailing whitespace when
	  exporting to Texinfo format and adjusted them to prevent that.

	docs: renaming and drafts.
	+ commit 766ec0e4a36c120ed4ef5463b5fdf8e7ed3b4563
	* lang/python/docs/gpgme-python-howto.org: Renamed file to better fit
	  the rest of the project's docs.
	* Added a section on the very unofficial drafts I periodically post
	  links to since they're often the easiest way to get a web version in
	  front of someone in a hurry.

2018-09-15  Ben McGinnes  <ben@adversary.org>

	docs: python howto texinfo update.
	+ commit 76f77022848894ee9d8490255cefdd0100248b45
	* doc/gpgme-python-howto.texi:

	docs: Python howto update.
	+ commit 7e9df9b9e33131f5d7c58ad58249f9ae766f1341
	* lang/python/docs/GPGMEpythonHOWTOen.org: Added corresponding GPGME
	  version number to table at the start and cut the shortcut from the
	  groups.py example.
	* doc/gpgme-python-howto.texi: New export of Texinfo file for docs
	  build.

	docs: generated whitespace.
	+ commit 93a2ea0207fac0a18a48b671df11dc8575579c39
	* doc/gpgme-python-howto.texi: culled whitespace included with the
	  org-mode export.

	Docs: including howto with standard docs.
	+ commit 2e5b0603709855eb1d8a1a3fd51d3245f4301ada
	* gpgme.spec.in: Added gpgme-python-howto.info build on the grounds
	  that it now deals with certain possible installation issues and end
	  users encountering them would want the docs to hand.
	* doc/gpgme.texi: updated the copyright year to this year.

	Docs: Python bindings HOWTO.
	+ commit b19faa26e01df4d78286e013313e5ab25f517d49
	* Added doc/gpgme-python-howto.texi: generated from
	  GPGMEpythonHOWTOen.org and then slightly modified so the generated
	  Info file doesn't use camelCase.
	* doc/Makefile.am: Updated makefile to include the Python HOWTO with
	  gpgme_TEXINFOS and to export the generated files to the webserver
	  along with the main GPGME one.

	Python bindings: docs.
	+ commit d04fb0bf1271c91b88686c947a5b14ffc9b505ef
	* lang/python/docs/GPGMEpythonHOWTOen.org: Fixed a few errors in the
	  newer sections.
	* Updated code in the examples using secret key exporting and group
	  lines to reflect the Python 2.7 compatibility fixes added.

	Python bindings: examples.
	+ commit 4e8a92ed14ea3da3d92f07d5f62fd325a2adebde
	* lang/python/examples/howto/export-secret-keys.py and groups.py:
	  Updated the backwards compatibility adjustments to account for
	  unicode differences between python 2 and 3.

	Python examples: backwards compatibility.
	+ commit 864ef9b40f5f9d0c66a458b6033277938d7d1d50
	* lang/python/examples/howto/groups.py: subprocess update
	* lang/python/examples/howto/export-secret-keys.py: subprocess update

	  Both of these try the nice and easy method of getting the subprocess
	  output available in Python 3, but will fall back to the older Popen
	  method if it doesn't work.  Essentially this is to be a little nicer
	  to Python 2.7.15 (even though the examples are filled with warnings
	  that py2 support is not guaranteed with the examples).

2018-09-10  Thomas Oberndรถrfer  <thomas@mailvelope.com>

	js: Fix errorDetails of GPGME_Signature.
	+ commit dd7d37ca21684d4d77db4f513c6212776fc6ea82
	* lang/js/src/Signature.js (GPGME_Signature.errorDetails):
	Access properties from the summary object.

2018-09-08  Ben McGinnes  <ben@adversary.org>

	estreams revised.
	+ commit 2375959180aa8eb0d23cc3f8240c3f5b5262b819
	* Egon Spengler was right, crossing the streams is bad.
	* Restored both src/gpgme.def and src/libgpgme.vers to use the
	  estreams symbols without the leading underscore.
	* The new_from_estream() function added to lang/python/src/core.py and
	  set to alias the new_from_stream() function remains.
	* Opted for the solution favouring Linux onthree main grounds:
	  1. Andre reported major problems with Windows as well, so the number
	     of potentially affected systems would vastly increase.
	  2. All the BSDs and OS X have spent far more time and development
	     work in order to accommodate the eccentricities of both Microsoft
	     and the GNU Project (ref. GCC), so they're more likely to be able
	     to cope with doing so again than the other way around.
	  3. If I really have to I can write a custom installer for OS X to
	     try this and, if it fails, to then patch the two symbol entries and
	     recompile from scratch.  That said, I may not have to since it
	     actually behaved during the most recent tests for this
	     commit; into ten separate CPython installations and all five
	     supported versions (standard source installs and OS X Framework
	     installs for each version).

2018-09-02  Ben McGinnes  <ben@adversary.org>

	estreams symbols for python bindings.
	+ commit 879cc1f84fbf09cb4eeb78bce16f52a1a36032ba
	* It turns out that even though some platforms detect differing
	  symbols for estreams, the two types do not appear to be in
	  conflict.  At least they don't from the BSD/OS X side of things.
	  As a consequence both versions are now included.

2018-08-31  Ben McGinnes  <ben@adversary.org>

	docs: python bindings.
	+ commit 55991aa91667b9184cc9fc86a3ac21b9640511ef
	* minor typographic update.

2018-08-30  Ben McGinnes  <ben@adversary.org>

	python bindings: estreams fix.
	+ commit 1d00fb987b903e245d484bddfe3c0a0aba670ac1
	* lang/python/src/core.py: Adjusted new_from_estream function to alias
	  new_from_stream instead of fd.
	* fixed the _gpgme import errors introduced in commit
	  08cd34afb762975b0273575035dacf69449ef241 by changing the exported
	  functions/types to match the inner module where all the work is
	  done, rather than the outer one(s).

2018-08-29  Ben McGinnes  <ben@adversary.org>

	python bindings: core.
	+ commit 18ea83867168e8db0a2f2c8057d087363083486c
	* lang/python/src/core.py: expanded gpgme_error check lists.

	python bindings: core.
	+ commit dcedddecb6f8f11682aed3b09b88ee1511010faf
	* lang/python/src/core.py: added gpgme_data_set_flag to the errorcheck
	  funtion.

	python bindings: core.
	+ commit 6078b5303362b2e5ce56660967fac313ca3d5ae9
	* lang/python/src/core.py: added new function new_from_estream to wrap
	  new_from_fd just like new_from_stream does and for the same reason.

2018-08-29  Andre Heinecke  <aheinecke@intevation.de>

	json: Fix detached verify.
	+ commit 1420c3bd681648b032d756536311621a3627bedb
	* src/gpgme-json.c (op_verify): Only create output and
	use it for clearsigned and opaque signed.

2018-08-29  Ben McGinnes  <ben@adversary.org>

	docs: python bindings - protonmail examples.
	+ commit f7e5ae7f1618bd355b885c5c32dd028afad35453
	* lang/python/docs/GPGMEpythonHOWTOen.org: Updated links to the
	  ProtonMail keyserver import scripts and added a warning regarding
	  being unable to update third party keys.
	* lang/python/examples/howto/pmkey-import-alt.py: added usage.
	* lang/python/examples/howto/pmkey-import.py: added usage.

2018-08-28  Ben McGinnes  <ben@adversary.org>

	docs: python bindings HOWTO.
	+ commit 02d0b97bfedc732351cc4e89c92fcd9d31209535
	* Finished CFFI vs SWIG bit in known issues.
	* tidied up some of the structure.
	* Fixed some minor errors and links.

	docs: python bindings.
	+ commit a8a983c5bc0f0deeeebda455ad73309fff48b61f
	* Added section on why no CFFI.

	docs: python howto.
	+ commit c2831e2377843c8625df158ef32e01f8c19494eb
	* Added another key import example using ProtonMail's new keyserver.

2018-08-28  Andre Heinecke  <aheinecke@intevation.de>

	json: Delete primary key if subkey gen fails.
	+ commit 3bdf8be6d2c57319399fe14e27e52b323a17750a
	* src/gpgme-json.c (op_delete): Delete primary key on
	subkey gen error.

	json: Allow NULL request in encode and chunk.
	+ commit 7d3c13df263ed88c17005920e75e0486abeae5b9
	* src/gpgme-json.c (encode_and_chunk): Don't error on NULL
	request.

2018-08-27  Ben McGinnes  <ben@adversary.org>

	docs: python bindings.
	+ commit 1c261b9fa3462360b6c3f43b243091cd50534903
	* Added details on installation troubleshooting.

2018-08-27  Werner Koch  <wk@gnupg.org>

	json: Do not put FILE_NAME into the verify result.
	+ commit 53c5b9a265d33f2cc54f489375a929602338aee8
	* src/gpgme-json.c (verify_result_to_json): Remove "file_name".

2018-08-27  Jasper Spaans  <jasper@startmail.com>

	core: Export gpgme_data_new_from_estream function.
	+ commit 08cd34afb762975b0273575035dacf69449ef241


2018-08-23  Andre Heinecke  <aheinecke@intevation.de>

	json: Add sender and file name to encrypt.
	+ commit a5f8dac77d50480a208c99398df323c58ce6dc58
	* src/gpgme-json.c (hlp_encrypt, op_encrypt): Support sender
	and file_name.

2018-08-21  Andre Heinecke  <aheinecke@intevation.de>

	json: Add proper decrypt_result_t handling.
	+ commit 263dadb04aed4f973248b32c52af6ca59bcb7c1f
	* src/gpgme-json.c (recipient_to_json, decrypt_result_to_json):
	New.
	(op_decrypt, hlp_decrypt): Update.

	js: Update extra_dist files.
	+ commit 738a8e6f950af08305c082d59a91d3d5d45800fa
	* lang/js/BrowserTestExtension/Makefile.am,
	lang/js/Makefile.am (EXTRA_DIST): Update.

	Add example manifests for gpgme-json.
	+ commit 9608996d88549b60da490e5eeb41db023f97a038
	* doc/examples/gpgme-chrome.json, doc/examples/gpgme-mozilla.json: New.
	* doc/Makefile.am (EXTRA_DIST): Include them.

	js: Improve README.
	+ commit 605eb8a8bfcb12141d7cc5626e75af812cda6c75
	* lang/js/README: Clarify structure at the beginning.

	Remove js as language from configure.ac.
	+ commit fe3de5b86b4a25f5b23cf1af2fd1809ef6c087a0
	* configure.ac: Remove js language.

2018-08-20  Andre Heinecke  <aheinecke@intevation.de>

	json: Add subkey_algo and defaults to createkey.
	+ commit 8103eeba809b6e7156d861783309574b93909169
	* src/gpgme-json.c (op_createkey, hlp_createkey): Add subkey_algo
	handling.
	(hlp_createkey): Fix documentation of expiry.

2018-08-19  Ben McGinnes  <ben@adversary.org>

	Python bindings examples.
	+ commit 75bc5e6356eca1b7fb76653e7c82c2477f8859b0
	* import-key.py: fixed a minor typo.
	* pmkey-import.py: locates and imports keys from the ProtonMail keyserver.
	* pmkey-import-alt.py: the same as the previous except with setting an
	  alternative $GNUPGHOME directory.

2018-08-18  Ben McGinnes  <ben@adversary.org>

	Python bindings setup file.
	+ commit 03b899dbe14a3c32fd018c20c7d5156366fdcc3d
	* Moved the build import back up where it belongs.
	* Included comments indicating how to build and install for multiple
	  Python versions beyond the first 2 on the same system.

	Python bindings tests: Near PEP8 compliance.
	+ commit 5facba45c83f7daaacc49e66306e13a35aeb74be
	* PEP8 compliance for the vast majoeity of the tests.

	Python bindings examples: PEP8 conpliance.
	+ commit b5fbe90676f46b9615919133753a65b20318fe63
	* Appears to be complete compliance.

	Python bindings setup: Near PEP8 compliance.
	+ commit fc55caccfc87253e1703df66b21917cc399fba62
	* lang/python/version.py.in: Fixed most things, but there's still an
	  issue near the build portion with the existing Python bugs referenced.
	* lang/python/setup.py.in: Now PEP8 compliant.

	Python bindings constants: PEP8 compliance (almost)
	+ commit 8a6a73b9c4f92b159450edb5e4a780fc7389ca82
	* PEP8 compliance for all constants except the globals in
	  src/constants/__init__.py depending on whether the import sequence
	  affects the globals themselves.

	Python bindings src: PEP8 compliance.
	+ commit 7962cde13c5cbdc643bbde795e2c29e638dfc186
	* import namespace clearance for src/*.py.
	* Fixed a handful of is/is not None checks as well.

2018-08-13  Ben McGinnes  <ben@adversary.org>

	Symmetric example.
	+ commit 279cac0ffbb3d865d997dc7fc9c1b53bbb55d3a2
	* lang/python/examples/howto/symcrypt-file.py: *sigh*; passphrase was
	  right the first time, just the error check that wasn't.
	* I really should stop second guessing myself one of these days ...

	Symmetric encryption example.
	+ commit a256d84882616341b3f357340533893a1db8b5c1
	* lang/python/examples/howto/symcrypt-file.py: Fixed the error code
	  and the passphrase key word arg.

	Symmetric encryption example.
	+ commit ed5ef8293cdbfcc3b91268eeae1eb6b4f8d271bb
	* lang/python/examples/howto/symcrypt-file.py: A variation on standard
	  key based encryption.

2018-08-10  Ben McGinnes  <ben@adversary.org>

	PEP8 compliance and other code fixes.
	+ commit 94bf13e78e65e1d1bc2e5d6b2311f9c9657bfe5f
	* Ran all the .py files in src/ and below through Yapf.
	* Included some manual edits of core.py, this time successfully making
	  two notorious sections a bit more pythonic than scheming.
	* Left the module imports as is.
	* This will be committed if it passes the most essential test:
	  compiling, installing and running it.

2018-08-09  Ben McGinnes  <ben@adversary.org>

	Link fixes.
	+ commit b6d2a66b41fee5b7fb484566aefcdbcc4cdad094
	* lang/python/README: Fixed links in both versions of the README.

2018-08-08  Andre Heinecke  <aheinecke@intevation.de>

	json: Wipe memory in cJSON_Delete.
	+ commit 4dd1d0abd34a382d1cd67cabb737950a39cb3fdc
	* src/cJSON.c (cJSON_Delete): Wipe memory on deletion.

	json: Only use calloc instead of malloc.
	+ commit fdc07b3ddc2f68e6fcb33703ea41126d0a841290
	* src/cJSON.c, src/gpgme-json.c (CALLOC_ONLY): New define
	to change xmalloc / xtrymalloc to use calloc.

	json: Add checks when skipping byte.
	+ commit 974a95db04f9cdea02867f0246445b4679517ba0
	* src/cJSON.c (parse_string, cJSON_Minify): Check for
	terminating NULL byte when skipping the byte after a an escaped
	quote.

	json: Don't error out if chunksize is omitted.
	+ commit 6e48bb0f1cbf662026bf0f70549b52bafe00c017
	* src/gpgme-json.c (encode_and_chunk): Don't error out
	if no chunksize is provided.

	cpp: Fix use after free in gencardkeyinteractor.
	+ commit 3b782443600e8091c5f19580cb218100bcbb4ad7
	* lang/cpp/src/gpggencardkeyinteractor.cpp
	(GpgGenCardKeyInteractor::Private::keysize): Change to string.

2018-08-06  Andre Heinecke  <aheinecke@intevation.de>

	Make GNUPGHOME for tests overridable.
	+ commit d09d19fa9fe1e81dd819b32208b4bd09f83e3918
	* lang/python/tests/Makefile.am,
	lang/qt/tests/Makefile.am,
	tests/Makefile.am,
	tests/gpg/Makefile.am,
	tests/gpgsm/Makefile.am,
	tests/opassuan/Makefile.am (GNUPGHOME): Make variable explict.

2018-07-24  Andre Heinecke  <aheinecke@intevation.de>

	cpp: Add safety checks for key update.
	+ commit a6e5c8bf18696007c48c6f362aa355020fe82f21
	* lang/cpp/src/key.cpp (Key::update): Check that the key is
	not NULL.
	* lang/cpp/src/verificationresult.cpp (GpgME::Signature::key):
	Check for fingerprint.

2018-07-22  Ben McGinnes  <ben@adversary.org>

	docs: python bindings howto.
	+ commit 4d1642b11ea64b8009a8720d9b59e89636d691d2
	* Fixed and tested the changes necessary for org-mode to correctly
	  parse pythonic (Python 3) indentation.
	* Updated the source blocks to recommended upper case for BEGIN_SRC
	  and END_SRC.
	* Tested and confirmed XHTML output matches correct examples.
	* Tested against pseudo-control output via exporting from org-mode to
	  org-mode and then exporting that to XHTML.  Remaining differences
	  appear to be discarding the custom tags used to provide X[HT]ML id
	  elements to each section which does not appear to offer any benefit.
	* Exporting directly to XHTML or other HTML output should no longer
	  cause problems, but if there are any then the first step should be
	  exporting from org-to-org and then exporting that to XHTML.

	doc: python bindings howto.
	+ commit d7c5366d58d035d7b7119f955824e842d0b6bbe0
	* Another retrofitting of the HOWTO Python example code, this time
	  following adjustments to python-mode configuration and having
	  trawled through the org-mode mailing lists for clues.

	doc: python bindings howto.
	+ commit b47e1bb98a8ff93cae560449bfa9103c47f4d4f8
	* Added org-mode byline.

2018-07-19  Werner Koch  <wk@gnupg.org>

	core: Clear all flags for a new data property.
	+ commit 5ef492c5635ae1677eed6f439a75a86a99dbbe18
	* src/data.c (PROPERTY_TABLE_ALLOCATION_CHUNK): New.
	(insert_into_property_table): Use it here.  Clear all flags.

	core: Blank out the plaintext after decryption failure.
	+ commit 085cdeddef637cc057362fcbde13b0261b8699ec
	* src/data.h (data_prop_t): New enum.
	(struct gpgme_data): Add field propidx.
	* src/data.c (property_t): New.
	(property_table, property_table_size, property_table_lock): New.
	(insert_into_property_table): New.
	(remove_from_property_table): New.
	(_gpgme_data_get_dserial): New.
	(_gpgme_data_set_prop): New.
	(_gpgme_data_get_prop): New.
	(_gpgme_data_new): Connect new object to property_table.
	(_gpgme_data_release): Remove from property_table.
	(gpgme_data_read): With DATA_PROP_BLANKOUT set don't fill the buffer.
	* src/data-mem.c (gpgme_data_release_and_get_mem): Likewise.
	* src/decrypt.c (struct op_data): Add field plaintext_dserial.
	(_gpgme_op_decrypt_init_result): Add arg plaintext and init new field.
	(_gpgme_decrypt_status_handler): Set DATA_PROP_BLANKOUT on decryption
	failure.
	(_gpgme_decrypt_start): Pass PLAIN to the init function.
	* src/decrypt-verify.c (decrypt_verify_start): Ditto.
	* configure.ac: Check for stdint.h and bail out if uint64_t is not
	available.

2018-07-19  Andre Heinecke  <aheinecke@intevation.de>

	cpp: Print origin and last update for key/uid.
	+ commit 8168dfbeb12042a7f7b1bad918ef60df92bfd1a7
	* lang/cpp/src/key.cpp: Print origin and last update in
	iostream operators.

2018-07-19  Werner Koch  <wk@gnupg.org>

	json: Don't use strdup but the xtrystrdup wrapper.
	+ commit af2c74d6c06a9fb08f7de15d41162d09f871a62e
	* src/gpgme-json.c (create_keylist_patterns): Use CNT as first arg for
	xcalloc.
	(process_request): s/strdup/xtrystrdup/.

	core: New interface gpgme_data_new_from_estream.
	+ commit f42cd70f18d53df47cc2d027bade736377d39b71
	* src/gpgme.h.in (gpgme_data_new_from_estream): New.
	* src/data-estream.c: New.
	* src/data.h (gpgme_data): New union member e_stream.

2018-07-18  Andre Heinecke  <aheinecke@intevation.de>

	json: Fix memleak in native msging repl.
	+ commit 98a75a16ccdfe51799a27894d2eb26dba04b34f2
	* src/gpgme-json.c (native_messaging_repl): Free request and
	response after each loop.

	json: Ensure that native msging request is string.
	+ commit 6d7b4382c3e12ba1dbbd0762dfa850c76750d838
	* src/gpgme-json.c (native_messaging_repl): Ensure that the
	request is NULL terminated.

	json: Fix crash by ensuring response is never NULL.
	+ commit 82e4b900a96c837392259469a9a5821a95e7a707
	* src/gpgme-json.c (encode_and_chunk): Try to always
	return at least an error.
	(process_request): Double check that it does not return NULL.

	json: Fix memory errors in create_keylist_patterns.
	+ commit b78140daf7720132711314a4e5ed878b49da99f4
	* src/gpgme-json.c (create_keylist_patterns): Reserve two
	pointers more then linefeeds.
	(create_keylist_patterns): Fix loop to count linebreaks.
	(create_keylist_patterns): Use calloc for good measure.

	qt: Handle encoding for diagnostics.
	+ commit 16462c54b3503e77bc48c2486234531d7bc31b6d
	* lang/qt/src/threadedjobmixin.cpp (fromEncoding)
	(stringFromGpgOutput): New helpers.
	(markupDiagnostics): Use it.

2018-07-16  Andre Heinecke  <aheinecke@intevation.de>

	json: Fix crash on invalid json.
	+ commit 1686e07e77a1eee3b2708d0231a5a549956021f7
	* src/gpgme-json.c (process_request): Init res. Check for
	json object before encode and chunk.

	json: Fix uninitialized key unref in op_delete.
	+ commit cc21101a7494ea0a17c3012fcb86e77b00b494fa
	* src/gpgme-json.c (op_delete): Init key.

2018-07-16  Werner Koch  <wk@gnupg.org>

	json: Minor cleanups in cJSON.c.
	+ commit 1933f5b8056b2671301379106cca4504c4187795
	* src/cJSON.c: Add comments on the origin of the code.
	(parse_string): Allocate an extra byte for safeness.
	(cJSON_AddItemToArray): Allo ARRAY to be NULL.

	json: Fix buffer overflow in cJSON.c.
	+ commit 013a7f47ab486c380b3c97637d3b15f11de74fe8
	* src/cJSON.c (parse_string): Correctly detect bad hex.

2018-07-13  Ben McGinnes  <ben@adversary.org>

	python bindings: example scripts.
	+ commit 1bb3f8409d4bbec403bea768184a691d9d7ea42d
	* Fixed incorrect mention of output prompt referencing secret keys
	  when the scripts are only for exporting public keys in whole or
	  minimised forms.

2018-07-11  Andre Heinecke  <aheinecke@intevation.de>

	json: Add with-sec-fprs param to export.
	+ commit 6cc842c9aa76d19448141e5117ac59452d7a1ff3
	* src/gpgme-json.c (add_secret_fprs): New helper.
	(op_export, hlp_export): Extend for with-sec fprs.

2018-07-10  Ben McGinnes  <ben@adversary.org>

	example scripts: python work-arounds.
	+ commit 0e760e396fbf13e902d0dc0c048bff0d5410fa16
	* fixed three typos which were guaranteed to break said script.

2018-07-09  Ben McGinnes  <ben@adversary.org>

	docs: python bindings howto.
	+ commit 1eceacaff4ad5d6a4b759a7d00907dbc8278f12c
	* Complete typographic overhaul.
	* Removed all section level indentation since it does not affect
	  output formatting, but might affect source code examples.
	* In text-mode stripped out all tabs which had crept in and replaced
	  them with four spaces.
	* Updated all code examples (again) to conform with Python-mode.
	* Bumped version number in preparation for next release of GPG 2.2.9
	  and corresponding GPGME release.

2018-07-09  Andre Heinecke  <aheinecke@intevation.de>

	json: Add with-secret without secret only.
	+ commit 40471ec12f7b4ba37922813a02ebb2aaaa963b51
	* src/gpgme-json.c (op_keylist, hlp_keylist): Add "with-secret"
	as a flag to do a public keylist with secret information.

	tests: Add --with-secret to run-keylist.c.
	+ commit c287f09ac0f090a65299ac7c15e3c9b4947d4b67
	* run-keylist.c (show_usage, main): Add --with-secret.

	doc: More explicit doc for EXTERN and LOCAL modes.
	+ commit 31bc51e2aff0a28b551410c9def2f578d0d28cea
	* doc/gpgme.texi (GPGME_KEYLIST_MODE_EXTERN),
	(GPGME_KEYLIST_MODE_LOCATE, GPGME_KEYLIST_MODE_LOCAL): Mention
	command line flags for CMS and OpenPGP Protocol.

	Add ctx flag for auto-key-locate.
	+ commit 7bc5d3c7e41c6e42a583a61a4c9504058fbb2976
	* src/context.h (gpgme_context): Add auto_key_locate.
	* src/engine-gpg.c (engine_gpg): Add auto_key_locate.
	(gpg_set_engine_flags, build_argv): Handle auto_key_locate.
	(gpg_release): Free auto_key_locate.
	* src/gpgme.c (gpgme_release): Free auto_key_locate.
	(gpgme_get_ctx_flag, gpgme_set_ctx_flag): Handle auto-key-locate.
	* doc/gpgme.texi: Document auto-key-locate flag.
	* tests/run-keylist.c (show_usage, main): Add --from-wkd option.

2018-07-07  Ben McGinnes  <ben@adversary.org>

	python bindings: howto examples.
	+ commit cacca62d06c6cf4a291f7ab2571cf52d671d140f
	* Made sure all example scripts meet PEP8 compliance.
	* Required fixing approx. a dozen of them in minor ways.

2018-07-05  Andre Heinecke  <aheinecke@intevation.de>

	qt: Handle OpenPGP Diagnostic log.
	+ commit 66c2a99422dd9a52d8342165ed1d033c4f29b9e0
	* lang/qt/src/threadedjobmixin.cpp (_detail::audit_log_as_html):
	Handle OpenPGP audit log differently.

	cpp: Add enum mapping for GPGME_AUDIT_LOG_DIAG.
	+ commit 629afebe5017db97f2a318f6878fe1f9d3e60189
	* src/context.cpp (to_auditlog_flags): Map DIAG value.
	* src/context.h (AuditLogFlags): Add it.

	core: Add gpg auditlog to get diagnostics.
	+ commit a2458806f8bf04b66795e1dde765b42fe1ef6797
	* src/engine-gpg.c (engine_gpg): Add diagnostics member.
	(gpg_release): Release diagnostics data.
	(gpg_new): Set up logger-fd and diagnostics.
	(gpg_getauditlog): New. Copy diagnostics to a user data.
	(engine_ops): Add getauditlog.
	* src/engine-gpgsm.c (gpgsm_getauditlog): Return not implemented
	for GPGME_AUDITLOG_DIAG.
	* src/getauditlog.c (getauditlog_start): Don't reset engine
	for diagnostics.
	* src/gpgme.h.in (GPGME_AUDITLOG_DIAG): New.
	(GPGME_AUDITLOG_DEFAULT): New alias to 0.
	* tests/run-decrypt.c (show_usage, main): Add --diagnostics.
	* doc/gpgme.texi(Additional Logs): Document getauditlog.

2018-07-04  Andre Heinecke  <aheinecke@intevation.de>

	cpp: Fix memory of DecryptionResult::symkeyAlgo.
	+ commit 7d65dc2a5c4f32139a1b9b1f0bd375f7ab1c58f6
	* lang/cpp/src/decryptionresult.cpp (Private, ~Private): strdup
	the symkey algo.

	json: Add keylist mode locate.
	+ commit 76b847091593669c8a7e38918267d6be97dbd4d0
	* src/gpgme-json.c (op_keylist, hlp_keylist): Add locate.

2018-07-01  Ben McGinnes  <ben@adversary.org>

	python bindings: scheming serpents.
	+ commit 5bca49975063f788b2499342d5a565faf54511db
	* Apparently I am wrong and Scheme is the new Python after all.
	* Non-import related PEP8 compliance must wait for another day, though
	  the other PEP8 fixes remain.

	python bindings: gpg.core.
	+ commit 789ea1b019885d5d1db1662e3cd4fda33636e30c
	* Changed id/else statements to a more pythonic form from scheme
	  masquerading as python - sorry Justus, it had to go ;).
	* With the added bonus of enabling PEP8 compliance in those sections.
	* Fixed remaining PEP8 compliance issues with the exception of the
	  imports at the beginning of the file (changing those will break the
	  entire module, so we'll cope with it as it is).

2018-06-29  Ben McGinnes  <ben@adversary.org>

	m4 update: python 3.7.
	+ commit 35e29e139534ed217340879732a7adfdbd57c91d
	* Fixed an error in arcane m4 syntax.

	python bindings: python 3.7.
	+ commit 43a2b5754571292b25402e20cd044ebda9316c77
	* Bindings confirmed to work with the newly released 3.7.0.
	* Updated M4 file to reflect this change and correct the Python binary
	  search order (3.7 is not yet given priority, but will still be found
	  first via the more generic python3 executable).
	* Updated setup.py.in, bindings documentation and README to reflect this.

2018-06-28  Ben McGinnes  <ben@adversary.org>

	whitespace police:
	+ commit 48174b2bcc319e4542aefd0cc3aae02c4083784e
	* There's always one or, in this case, two.

	docs: python bindings howto.
	+ commit 6aec7d6e4a5173f54a079719020704a0098b8f0a
	* Updated official doc (the org-mode file) with the instructions on
	  importing and exporting both public and secret keys.

	python bindings examples.
	+ commit a7ccdc51efd8c199b902eb942e9db7b3549e721f
	* Added a secret key export variant which saves output as both GPG
	  binary and ASCII armoured, plus saves in $GNUPGHOME and uses
	  multiple methods of determining what that location is.

	python bindings examples.
	+ commit 7fc7e80e54235c558051cbf72b51dd60b4ca485e
	* Added a key import variant which accesses the SKS keyservers in a
	  RESTful fashion and then imports or attempts to import the response.

	python bindings examples: three export scripts.
	+ commit 0d163a7d121eacacc5f6da11a3dee3548f98f124
	* Example of default exporting keys.
	* Example of exporting minimised keys.
	* Example of exporting secret keys to a file with correct permissions.

	python bindings: import example.
	+ commit 4251cae34da0d825a29f509ac828f7ecb90c1752
	* Added an example script for importing a key from a file (either
	  ASCII armoured or not).

	python bindings: export secret keys.
	+ commit a5b91b21f561d7b13ddcb62fca3749ed92ea8720
	* The holy grail: a function to export secret keys.
	* GPGME will still invoke pinentry and gpg-agent as usual to authorise
	  the export.
	* Mostly similar to the two previous export functions for public keys
	  except that it will return None if the result had a length of zero
	  bytes.  Meaning that the difference between the specified pattern
	  (if any) not matching available keys and an incorrect passphrase is
	  not able to be determined from this function (or the underlying one
	  for that matter).

	python bindings: export public keys.
	+ commit 7faef33d13fa8efce152ca7aa6e9d39030c1cf08
	* Updated key_export and key_export_minimal to return None where a
	  pattern matched no keys in a manner simnilar to the possible result
	  of key_export_secret.

	python bindings: export public keys.
	+ commit 89c548efdf46bd7d9e6f0ca34a07efbbf420e821
	* Added functions for exporting public keys to gpg.core in both
	  complete form and in minimised form.
	* Rather than letting people need to worry about the export modes we
	  are simply separating the functions as people would be more familiar
	  with from the command line usage anyway.
	* Functions added for Context are: ctx.key_export_minimal and
	  ctx.key_export as the default or full export.

2018-06-20  Andre Heinecke  <aheinecke@intevation.de>

	json: Add file handling for debug output.
	+ commit d8beab30c44482fb7a3e445b92cec482792b2ca0
	* src/gpgme-json.c (main): Add possibilty to set log file.

2018-06-19  Andre Heinecke  <aheinecke@intevation.de>

	Prepare build system for gpgme-js and dist it.
	+ commit d27703ea4f0eed950cddf0157dc78bcb5d8d1c65
	* configure.ac: Add js as language.
	* lang/Makefile.am: Add js as dist language.
	* lang/js/BrowserTestExtension/Makefile.am,
	lang/js/DemoExtension/Makefile.am,
	lang/js/Makefile.am,
	lang/js/src/Makefile.am: Populate EXTRA_DIST variables.

2018-06-17  Ben McGinnes  <ben@adversary.org>

	python bindings: core import statements.
	+ commit 19c5267f868aa41e73752ac1c76ec7ae1efe07b8
	* Fixed the bit I broke while fixing the PEP8 compliance issues.

	python bindings: core โ€” PEP8 compliance.
	+ commit a5b24ae46c81d3abd3bb18bf0390cab6ebb2bd77
	* Fixed most of the PEP8 errors in core.py
	* Those remaining may need more than little edits and are a bit
	  strange (too clearly the result of a programmer who has spent far
	  too much time dealing with Lisp so that for Python it looks
	  ... strange).

	python bindings: core - key import.
	+ commit 5a80e755008bbb3f4c7f91ffccd38f26cd8b3960
	* Wrapped the key import function in the try/exception statements
	  needed to catch at least the most likely unsuccessful import attempt
	  errors.
	* Mostly draws on the file error and no data import statuses for
	  errors, with a couple of exceptions.

	python bindings: core key import.
	+ commit 0e762608ef5a598030b8d0e56261a830e1b7b724
	* The foundation of a pythonic key import function authored by Jacob
	  Adams.
	* A unit testing script for the same function originally authored by
	  Tobias Mueller
	* Added DCO reference for Jacob Adams to the GPGME AUTHORS file.
	* Additional details regarding this patch are available here:
	  https://dev.gnupg.org/T4001

2018-06-10  Ben McGinnes  <ben@adversary.org>

	script: groups.py.
	+ commit 92cd060f5e2f4fdbfbe4812ebe8ef57e82e1609f
	* Added check for if it is run on a Windows system so that the correct
	  binary filename is invoked.

2018-06-08  Andre Heinecke  <aheinecke@intevation.de>

	cpp: Add proper gpgme_op_createkey.
	+ commit 8dff414e170e4df8ea661028c4ac1588311ca26e
	* lang/cpp/src/context.cpp, lang/cpp/src/context.h
	(Context::createKeyEx): New.

	json: Return fingerprint as createkey result.
	+ commit 54146d90dd5518c24c30e6d2ebeb7f47ed4eb29e
	* src/gpgme-json.c (op_createkey): Return fingerprint of new key.

	json: Add op_createkey.
	+ commit 6c74a59e8855d1cac0d8001ad1b7843d2d15be5e
	* src/gpgme-json.c (hlp_createkey, op_createkey): New.
	(process_request, hlp_help): Add it.

	json: Generalize chunking and getmore.
	+ commit af8510fb7f4d5c90cc53f10dcc740f377af73d68
	* src/gpgme-json.c (MIN_REPLY_CHUNK_SIZE): Lower value to
	new real minimum.
	(DEF_REPLY_CHUNK_SIZE): Don't chunk by default.
	(pending_data): Remove type and base64.
	(make_data_object): Remove chunksize handling as this is now
	generic.
	(encode_and_chunk): Setup the pending_data buffer for chunking
	if required.
	(op_getmore): Changed to generically work on a response.
	(hlp_getmore): Update accordingly.
	(hlp_help): Document chunksize as generic parameter for all commands.
	(process_request): Use encode_and_chunk on the response.
	(hlp_encrypt, op_encrypt, hlp_decrypt, op_decrypt),
	(hlp_verify, op_verify, hlp_sign, op_sign),
	(op_keylist, hlp_keylist, hlp_export, op_export): Update accordingly.

2018-06-07  Andre Heinecke  <aheinecke@intevation.de>

	json: Rework verify_result_to_json.
	+ commit e48f4a18f807ee42b31968b84f6ae7811d8d8a45
	* src/gpgme-json.c (sigsum_to_json): Add bool repr.
	(signature_to_json, verify_result_to_json): Extend and follow better
	pattern.
	(hlp_decrypt, hlp_verify): Expand doc.

	json: Add direct way to query a config option.
	+ commit 906ea48df3e178bea3e2c744ddd834b23fe553fb
	* src/gpgme-json.c (op_config_opt, hlp_config_opt): New operation.
	(process_request, hlp_help): Add it.

	json: Add op_config to query gpgconf.
	+ commit 7e18c7a07a1e2c58ef4d5ddeed46bcce098bdf6c
	* src/gpgme-json.c (op_config, hlp_config): New.
	(hlp_help, process_request): Add config.
	(conf_arg_to_json, conf_opt_to_json, conf_comp_to_json): New
	helpers.

2018-06-07  Ben McGinnes  <ben@adversary.org>

	examples: python howto.
	+ commit a3a08584d6e57c4b2a40d74dc52a7d8c5c11b501
	* Uses the groups module to prepare a list of recipients and encrypt
	  to those.
	* The main version (encrypt-to-group.py) tries to check for invalid
	  recipients, but still falls back to always trust for the second
	  encryption attempt.
	* The gullible version doesn't try pruning the recipient list at all,
	  it just tries to encrypt and if it fails, switches straight to
	  always trust.
	* The trustno1 version doesn't use the always trust model at all and
	  only attempts pruning the list of invalid recipients.

2018-06-06  Werner Koch  <wk@gnupg.org>

	core: Return a better error code on certain decryption failures.
	+ commit 2c4c5692472f5870f907c2c3f01870879cb0c34b
	* src/decrypt.c (op_data_t): Add field first_status_error.
	(parse_status_error): Set it.
	(_gpgme_decrypt_status_handler): Prefer an ERROR code over a
	NO_SECKEY.

2018-06-05  Werner Koch  <wk@gnupg.org>

	json: Allow to compile with libgpg-error < 1.28.
	+ commit 998fec8a4fbc46315fe6836980954eed402b38c5
	* src/cJSON.c: Use gpgrt fucntion only if available.

2018-06-02  Ben McGinnes  <ben@adversary.org>

	docs: python bindings howto.
	+ commit 897423422b9d3b856bfb72fbe1995b91d153a54e
	* Another attempt at fixing the org-mode version.
	* A proof reader ascertained there were tabs in it instead of whitespace.
	* Stripped the lot out and replaced with standard 4 spaces, fixed
	  every incorrect example ... and it still breaks upon save and/or export.
	* Added the reference to the mutt-groups.py script to demonstrate the
	  groups.py module/code.

	Authors: DCO.
	+ commit e144a6d70657675e28d43e42b48d879ff9b81d73
	* Added mine to the GPGME AUTHORS file.  Mainly so I'm doing what I
	  say myself when about to request another from someone ...  ;)

2018-06-01  Andre Heinecke  <aheinecke@intevation.de>

	cpp: Add gpgme_(get)set_ctx_flag.
	+ commit 00b027af86f33782933c6200fe1ffe40e85f4346
	* NEWS: Mention API extensions.
	* lang/cpp/src/context.cpp, lang/cpp/src/context.h
	(Context::setFlag, Context::getFlag): New.

	cpp: Add legacy_cipher_nomdc.
	+ commit d46768c96082b4fd076506d7d3f0c03e61c59d51
	* lang/cpp/src/decryptionresult.cpp, lang/cpp/src/decryptionresult.h
	(DecryptionResult::isLegacyCipherNoMDC): New.

2018-06-01  Werner Koch  <wk@gnupg.org>

	core: New context flag "ignore-mdc-error".
	+ commit 662604c5bcb4e03d3c9ecc670d4f320a2418ebb3
	* src/context.h (gpgme_context): Add field ignore_mdc_error.
	* src/gpgme.c (gpgme_set_ctx_flag, gpgme_get_ctx_flag): Set/get it.
	* src/engine-gpg.c (engine_gpg): Add flags.ignore_mdc_error.
	(gpg_set_engine_flags): Set it.
	(build_argv): Pass option to gpg.
	* src/decrypt.c (_gpgme_decrypt_status_handler): Take care of flag.
	(gpgme_op_decrypt_result): Clear flag.
	(gpgme_op_decrypt): Clear flag.
	* src/decrypt-verify.c (gpgme_op_decrypt_verify): Clear flag
	(gpgme_op_decrypt_ext): Clear flag.

	* tests/run-decrypt.c (show_usage): Add option --ignore-mdc-error.

	core: New decryption result flag 'legacy_cipher_nomdc'.
	+ commit dd19cabe81b7bf4177ea2ca741f6eb6cd1cab25e
	* src/gpgme.h.in (_gpgme_op_decrypt_result): Add flag
	legacy_cipher_nomdc.
	* src/decrypt.c (parse_status_error): Set this flag.
	* tests/run-decrypt.c (print_result): print it.
	(main): Print the result even on error.

	core: Remove cruft from the engine-gpg code.
	+ commit e2aa38b56a991a0da052acfe7566cc7a146d3bb6
	* src/engine-gpg.c (read_status): Remove the handling of
	GPGME_STATUS_END_STREAM; this was used only by the former experimental
	--pipemode of gpg but that is not even anymore invoked here.
	(struct engine_gpg): Remove cmd.linked_data and .linked_idx.
	(build_argv): Remove code for linked_data.
	(gpg_new): Ditto.
	(gpg_set_command_handler): Remove arr linked_data.
	* src/engine-backend.h (engine_ops): Remove arg data from
	set_command_handler.
	* src/engine.c (_gpgme_engine_set_command_handler): Remove arg
	linked_data and adjust all callers.

	core: Minor cleanup in engine-gpg and -gpgsm.
	+ commit 2219fc19d58ae1071493de92093b711f3c71454a
	* src/engine-gpg.c: Remove errno.h.
	(build_argv): Use gpg_error_from_syserror instead of ERRNO.
	* src/engine-gpgsm.c: Remove errno.h.
	(status_handler): Remove check for EINTR; gpgme_data_write already
	handles EINTR.

2018-05-29  Andre Heinecke  <aheinecke@intevation.de>

	cpp: Add gpgme_data_rewind to cpp API.
	+ commit 618aa7f08db41911f25632d9fba23bca80908ebe
	* lang/cpp/src/data.h, lang/cpp/src/data.cpp (Data::rewind): New.
	* lang/qt/tests/t-various.cpp (testDataRewind): Test it.

2018-05-28  Werner Koch  <wk@gnupg.org>

	json: Fix compiler warning.
	+ commit 77166851f165b1220dcf0116bb61f81e58e4512f
	* src/gpgme-json.c (op_version): Mark request as unused.

	json: Do not allow to export or delete secret keys.
	+ commit 0de991fee05a9733ac29b2fa35643fe4607e56cb
	* src/gpgme-json.c (op_export, op_delete): Return GPG_ERR_FORBIDDEN if
	"secret" is used.

	json: Fix use of get_context.
	+ commit 368f2d9db30df16328b34787419de99fe3e1e2f1
	* src/gpgme-json.c (create_onetime_context): New.
	(release_onetime_context): New.
	(op_sign): Use the new fucntions to create a separate context.
	(op_encrypt): Use a separate context for key listings.
	(create_keylist_patterns): Remove unneeded cast.

2018-05-25  Andre Heinecke  <aheinecke@intevation.de>

	json: Implement encrypt-sign.
	+ commit 7aa00917c7f13294584daba31a506730f0015ef5
	* src/gpgme-json.c (op_encrypt): Add optional signing_keys param.
	(get_keys, create_keylist_patterns): Add param for json object name.

	json: Implement delete command.
	+ commit 73dc5e933d609989bd9ec428c89ada95d5eaec8a
	* src/gpgme-json.c (op_delete): New.
	(hlp_help, process_request): Add it.

	json: Implement op_export.
	+ commit a1bbe7473a4d0f31d471d6cceb2f7e1382860194
	* src/gpgme-json.c (op_export): New.
	(hlp_getmore, process_request): Add it.

	json: Fix double ctx alloc.
	+ commit 897522527d493307d15809a41496f8b76ec4edfe
	* src/gpgme-json.c (op_keylist): Only get one ctx.

	json: Add guard in create_keylist_patterns.
	+ commit 10683b1a913c39238c9871f5aa607334f32467f7
	* src/gpgme-json.c (create_keylist_patterns): Guard against
	a string ending with a linbreak.

	json: Implement import operation.
	+ commit 1ff16dad595946af140b324fad2bceca7ddbc378
	* src/gpgme-json.c (op_import): New.
	(import_status_to_json, import_result_to_json): New.
	(hlp_help, process_request): Add import.

	json: Improve keylist help.
	+ commit fe06929deec6544e2f267937dc5dafe2555bf485
	* src/gpgme-json.c (hlp_keylist): Clarify doc about keys parameter.

	json: Fix keylist pattern handling.
	+ commit 10724e363d6b5b06f51808287ad63e142e419ae6
	* src/gpgme-json.c (xfree_array): New helper.
	(create_keylist_patterns): Convert keystring to gpgme patterns.
	(op_sign, op_keylist): Use it.

	json: Add additional commands to help.
	+ commit ed20936ce4d5bb066828346b9a06d2dfa8d6afb2
	* src/gpgme-json.c (hlp_help): Add additional commands.

	json: Refactor signature and ei code.
	+ commit aa59f4970ac106ccd17fa9fadfc264d11e4cd347
	* src/gpgme-json.c (add_summary_to_object): Changed to:
	sigsum_to_json.
	(add_signature_to_object): Changed to signature_to_json.
	(add_signatures_to_object): Changed to verify_result_to_json.
	(add_ei_to_object): Changed to engine_info_to_json.
	(op_decrypt, op_verify, op_version): Use new functions.

	json: Implement keylist.
	+ commit 546e3295eaade073c34364c4ea6ab007532824d8
	* src/gpgme-json.c (xjson_AddStringToObject0)
	(xjson_AddItemToObject): New helpers.
	(sig_notation_to_json, key_sig_to_json, tofu_to_json)
	(uid_to_json, subkey_to_json, key_to_json): New
	GPGME to JSON functions.
	(op_keylist): New.
	(process_request): Add op_keylist.

	json: Deduplicate input handling code.
	+ commit a46c27b32111b1737a405c5be48c0f9ddbbbb353
	* gpgme-json.c (get_string_data): New.
	(op_verify, op_sign, op_decrypt, op_encrypt): Use it.

2018-05-24  Ben McGinnes  <ben@adversary.org>

	examples: mutt crypt-hooks generator.
	+ commit 321005c12f716814d86e139eb265437bda01380f
	* Added a script which demonstrates how the groups module works.
	* Script generates Mutt/Neomutt crypt-hooks for every group entry in
	  gpg.conf, including those entries for multiple keys (Mutt handles
	  that differently).

	docs: python bindings howto.
	+ commit 48e946a96d05effd56b34761b98eebb6b2a6fae1
	* Fixed the groups.py script so it really does what is described (the
	  old code had the same result for groups, group_lines and
	  group_lists).
	* Updated the corresponding example in the doc to match.

	doc: python bindings howto.
	+ commit 9038d30017b2e38b183d093f9b5d46e1f24c70a6
	* Fixed org-mode python source indenting.
	** Note: nested indented blocks do not indent correctly when exported
	   to [X]HTML.

2018-05-24  Andre Heinecke  <aheinecke@intevation.de>

	json: Add code to gpg_error based messages.
	+ commit 9fca7c84067c0d4c968c8920dc8ef9449769c5ea
	* src/gpgme-json.c (gpg_error_object): New.
	(error_object_v): Extend to take error.

	json: Implement op_version.
	+ commit 61f4532ba979dea1acd8c7de9b7d56bb8ff552d5
	* src/gpgme-json.c (op_version): New.
	(process_request): Extend for version.
	(protocol_to_string, add_ei_to_object): New helpers.

	json: Implement op_verify.
	+ commit 5fbf81c18b277b30639ba09e8c5d21573b444b00
	* src/gpgme-json.c (op_verify): New.
	(hlp_help): Add verify.
	(process_request): Add verify.

	json: Put signature info before data output.
	+ commit c679ed24778c997fee72d3613babad8680855882
	* src/gpgme-json.c (op_decrypt): Move info before data.

	json: Add sign to help.
	+ commit a6cd3a1197eb4efea0950394959c252f24475f67
	* src/gpgme-json.c (hlp_help): Add sign.

	json: Add op_sign.
	+ commit 1c0a55a60847563fecf92a383457ab3576aec5d8
	* src/gpgme-json.c (op_sign): New.

	json: Fix invalid function call.
	+ commit b344933e4cb17f2f26c4ed355217428bda8b8c40
	* src/gpgme-json.c (add_signatures_to_object): Fix call to
	xjson_CreateArray.

	json: Print signatures for decrypt/verify.
	+ commit 45036c3c4c11f7bd56a00805564108e9377b657e
	* gpgme-json.c (xJSON_CreateArray),
	(add_summary_to_object, validity_to_string): New helpers.
	(add_signature_to_object, add_signatures_to_object)
	(add_signatures_object): New.
	(op_decrypt): Handle verify_result.
	(hlp_help): Mention decrypt.

	json: Minor typo fixes.
	+ commit fd5e14660a6f4eb1a89d69534e3e435f7fb05f8a
	* src/gpgme-json.c: Minor typo fixes.

2018-05-23  Ben McGinnes  <ben@adversary.org>

	docs and examples: python howto.
	+ commit 3a9e6a8e088e233097866bb0560a36cfbbc4470e
	* Updated the decryption example code in the HOWTO and the
	  corresponding decrypt-file.py script to gracefully handle a
	  decryption failure.  This error will always be triggered when GPGME
	  is used to try to decrypt an old, MDC-less encrypted message or
	  file.

2018-05-22  Andre Heinecke  <aheinecke@intevation.de>

	cpp: Expose sessionKey and symkeyAlgo.
	+ commit 28e3778ce21069006153bc156a414de6d9347962
	* lang/cpp/decryptionresult.cpp, lang/cpp/decryptionresult.h
	(DecryptionResult::symkeyAlgo, DecryptionResult::sessionKey): New.

2018-05-17  Andre Heinecke  <aheinecke@intevation.de>

	core, w32: Add w64 handling for regkeys.
	+ commit e04b8142df21a49e6c4a3f8234cc14bfec217222
	* src/w32-util.c (_gpgme_get_gpg_path): Use new defines.
	(GNUPG_REGKEY_2): x64 aware regkey as used by GnuPG in Gpg4win 2.x
	(GNUPG_REGKEY_3): x64 aware regkey as used by GnuPG in Gpg4win 3.x
	(_gpgme_get_gpgconf_path): Use new regkeys. Add another fallback.

2018-05-17  Werner Koch  <wk@gnupg.org>

	core: Always fail if an OpenPG message is not integrity protected.
	+ commit 8a0c8c52510d9c2d934f85159f04b666286b1786
	* src/decrypt.c (struct op_data_t): Add field not_integrity_protected.
	(parse_decryption_info): Set this.  Also rename mode to aead_algo for
	clarity.
	(_gpgme_decrypt_status_handler): Force failure in case of a missing
	MDC.

2018-05-09  Werner Koch  <wk@gnupg.org>

	json: Improve auto-base64 encoding to not split UTF-8 chars.
	+ commit e54b110aec3165a32ff9551d0c5227b88aa3dd4f
	* src/gpgme-json.c (make_data_object): Switch to Base64 also for UTF-8
	characters.

	core: Make the status-fd monitor work for all gpgsm commands.
	+ commit e2a8a87bf9cfae5d4e8a5953c2a5303b44feb398
	* src/engine-gpgsm.c (status_handler): Call the status monitor also
	here.

2018-05-05  Ben McGinnes  <ben@adversary.org>

	python: key expiration datetime stamp tests.
	+ commit 46da79e3de99a7b65748994921d6aab73b9974e7
	* Changed the expiration date for the generated test key to NYE this
	  century, rather than the NYE this millennium as originally suggested
	  in job #3815.
	* This covers the lifetimes of current users (except, maybe, some very
	  healthy millennials) as well as the 32-bit clock end date in 2038;
	  without falling foul of OpenPGP's 2106 expiration.

2018-05-04  Andre Heinecke  <aheinecke@intevation.de>

	qt: Respect --disable-gpg-test for tests.
	+ commit 26820ba62920acfe2775bce8fc2bc8b3f17b1c10
	* lang/qt/Makefile.am: Respect --disable-gpg-test

2018-04-26  Andre Heinecke  <aheinecke@intevation.de>

	qt: Fix filename handling in cryptoconfig.
	+ commit 6b267c56fd6e54fb1c254455c04495534260b547
	* src/qgpgmenewcryptoconfig.cpp (QGpgMENewCryptoConfigEntry::urlValue):
	Build url from local file.
	(QGpgMENewCryptoConfigEntry::setURLValue): Set native seperated
	path.

2018-04-20  Maximilian Krambach  <maximilian.krambach@intevation.de>

	js: encrypt improvement and decrypt method.
	+ commit 6ab25e40d904007755c5d999bf66ae264236e745
	* Compatibility class gpgme_openpgpjs offers an API that should accept
	  openpgpjs syntax, throwing errors if a parameter is unexpected/not
	  implemented
	* tried to be more generic in methods
	* waiting for multiple answers if 'more' is in the answer
	* more consistency checking on sending and receiving
	* updated the example extension

2018-04-20  Andre Heinecke  <aheinecke@intevation.de>

	core: Do not modify args for ignored failures.
	+ commit 7706fa2c922f5e02570b01f145ed474e82341042
	* src/op-support.c (_gpgme_parse_failure): Ignore gpg-exit failures
	before modifying args.

2018-04-20  Werner Koch  <wk@gnupg.org>

	Release 1.11.1.
	+ commit 2e9a14912fb906c17017553ccd0941d172e095ff
	* configure.ac: Bump LT version to C31/A20/R1.  For cpp to C13/A7/R0.
	For qt to: C10/A3/R2.

	core: Remove another debug output leftover.
	+ commit f779362ffbc7b9334d98f9ee50bfe3c2dc177215
	* src/decrypt.c (_gpgme_decrypt_status_handler): Remove log debug.

	build: More release creation automation.
	+ commit d11bec5ef5e576dab52c1dc7d87758e4f9bf3583
	* Makefile.am: Add release and sign-release targets.

2018-04-19  Werner Koch  <wk@gnupg.org>

	json: Remove the -noinstall flag used during development.
	+ commit ab43d85b9a76fb5ba321f4c7280b4d72bfd67f59
	* src/Makefile.am (gpgme-json_LDFLAGS): Remove.

2018-04-19  Andre Heinecke  <aheinecke@intevation.de>

	cpp: Add origin and last_update to UserID.
	+ commit d65d6329319bff8cc555999fc92a20e151762a10
	* NEWS: Mention it.
	* lang/cpp/src/key.cpp, lang/cpp/src/key.h (UserID::lastUpdate),
	(UserID::origin): New.
	(gpgme_origin_to_pp_origin): New helper.

	cpp: Add origin and last_update.
	+ commit 0adaf7bafd352f1c3a1e797493780150e3bb0adc
	* NEWS: mention interface change.
	* lang/cpp/src/key.cpp (Key::origin, Key::lastUpdate): New.
	* lang/cpp/src/key.h (Key::Origin): New enum.

2018-04-19  Werner Koch  <wk@gnupg.org>

	core: Remove leftover debug output.
	+ commit b52a91f5a6818db6b3dd7ce86c01b5d5f6700d0d
	* src/verify.c (_gpgme_verify_status_handler): Remove debug output.

	tests: Fix t-verify test for GnuPG < 2.2.7.
	+ commit 3d8e5c07511938a0b30b4626530822338abd9ec0
	* tests/gpg/t-verify.c (check_result): Tweak for gnupg < 2.2.7.

2018-04-18  Werner Koch  <wk@gnupg.org>

	Release 1.11.0.
	+ commit 3f55c52b9adc3680c7a9fb0e598598e6ed3a2a5d
	* configure.ac: Bump LT version to C31/A20/R0.  For cpp to C12/A6/R0.
	For qt to: C10/A3/R1.

	json: Add stpcpy replacement.
	+ commit 8e34a14fe694a8c765973aaa3a8b2a2d2c3ba8b9
	* src/gpgme-json.c [!HAVE_STPCPY](_my_stpcpy): New.

	core: New convenience constant GPGME_KEYLIST_MODE_LOCATE.
	+ commit 55e9a94680370e584fbe5d21161a2cee3fe95744
	* src/gpgme.h.in (GPGME_KEYLIST_MODE_LOCATE): New.

	json: Add command "decrypt" to gpgme-json.
	+ commit e5273fc4431dfb597a2d9cf4af5172572476a2de
	* src/gpgme-json.c (make_data_object): Enable auto-detection of
	base-64.
	(op_encrypt): Support a 'mime' flag.
	(op_decrypt): New.
	(process_request): Add command "encrypt".

	core: Add 'is_mime' flags to the verify and decrypt results.
	+ commit 65479fe7b871ad6237d5a8959b73afcc7db784da
	* src/op-support.c (_gpgme_parse_plaintext): Add arg r_mime.
	* src/decrypt.c (_gpgme_decrypt_status_handler): Ser mime flag.
	* src/verify.c (_gpgme_verify_status_handler): Ditto.
	* src/gpgme.h.in (gpgme_op_verify_result_t): Append fields 'is_mime'
	and '_unused'.
	(gpgme_op_decrypt_result_t): New field 'is_mime'.  Shrink '_unused'.

	* tests/run-decrypt.c (print_result): Print MIME flag.
	* tests/run-verify.c (print_result): Ditto.

	core: Fix possible compliance mode detection error.
	+ commit 23177e4410d05d590c0f2e1675dc645bbb4ad62c
	* src/verify.c (_gpgme_verify_status_handler): Insert missing break.

	json: Improve help meta command in gpgme-json.
	+ commit 49a617f8bbff116884ca5c7238c2e0ea4e26ce59
	* src/gpgme-json.c (process_meta_commands): Add ",help CMD".

	json: Add command "getmore" to gpgme-json.
	+ commit ed1052842df633bc149b14c4cb17859e3c66afe4
	* src/gpgme-json.c (MIN_REPLY_CHUNK_SIZE): New const.
	(DEF_REPLY_CHUNK_SIZE): New const.
	(MAX_REPLY_CHUNK_SIZE): New const.
	(pending_data): New var.
	(add_base64_to_object): Chnage to take a plain data pointer.
	(get_chunksize): New.
	(make_data_object): New.
	(op_encrypt): Get chunksize and use make_data_object.
	(op_getmore): New.
	(process_request): Release pending data for all commands but "getmore"
	and "help".

	json: Add meta command ,read to gpgme-json.
	+ commit e69b175e8ed5430b56e2e8f3d68c16a45f0fed17
	* src/gpgme-json.c: Include stat.h.
	(get_file): New.
	(process_meta_commands): Implement ",read".

2018-04-17  Werner Koch  <wk@gnupg.org>

	core: Extend decryption result with symkey_algo.
	+ commit 01435da498af9f7538d7ee810392d7eaa407957e
	* src/gpgme.h.in (gpgme_op_decrypt_result_t): Add field 'symkey_algo'.
	* src/decrypt.c (release_op_data): Free SYMKEY_ALGO.
	(gpgme_op_decrypt_result): Make sure SYMKEY_ALGO is not NULL.
	(parse_decryption_info): New.
	(_gpgme_decrypt_status_handler): Parse DECRYPTION_INFO status.
	* src/conversion.c (_gpgme_cipher_algo_name): New.
	(_gpgme_cipher_mode_name): New.

	* tests/run-decrypt.c (print_result): Print SYMKEY_ALGO

	* src/util.h (_gpgme_map_gnupg_error): Remove obsolete prototype.

	core: New keyword --file for OpenPGP recpstring.
	+ commit 3589da0500f1c80717e658d103a0cb2751d27b49
	* src/engine-gpg.c (append_args_from_recipients_string): Add new
	flags.

	core: For OpenPGP let offline mode disable dirmngr.
	+ commit c143ab692c7fc7cf2ec0aebe40b9479ee15eaba9
	* src/engine-gpg.c (struct engine_gpg): New flag.offline.
	(gpg_set_engine_flags): Set it.  Also fix setting of no_symkey_cache.
	(build_argv): Pass --disable-dirmngr in offline mode.

2018-04-17  Tobias Mueller  <muelli@cryptobitch.de>

	python: Fix crash by leaving struct members intact.
	+ commit bbfa7c42337bb619e6af20bf051fe0755ed5a9fd
	* lang/python/setup.py.in: Copy gpgme.h instead of parsing it.

2018-04-17  Werner Koch  <wk@gnupg.org>

	core: Allow for --hidden keyword in OpenPGP recpstrings.
	+ commit 4bba3b8e2c350b8ff0d562ec63cc03a096448d84
	* src/engine-gpg.c (append_args_from_recipients_string): Add special
	keywords.

	core: New encryption flag GPGME_ENCRYPT_WANT_ADDRESS.
	+ commit 86efba2be270d2cdd0bc66c9d3fe190495b7af2f
	* src/gpgme.h.in (GPGME_ENCRYPT_WANT_ADDRESS): New flag.
	* src/engine-gpg.c (add_arg_recipient): New.
	(add_arg_recipient_string): New.
	(append_args_from_recipients): Call new helper function.
	(append_args_from_recipients_string): Ditto.
	* src/gpgme-json.c (op_encrypt): Add flag "want-address".

	core: Add extended versions of the encrypt functions.
	+ commit a1f76b3b54b75a150fe272b804d85ffd40a507a6
	* src/gpgme.h.in (gpgme_op_encrypt_ext_start) New.
	(gpgme_op_encrypt_ext): New.
	(gpgme_op_encrypt_sign_ext_start): New.
	(gpgme_op_encrypt_sign_ext): New.
	* src/libgpgme.vers, tests/run-encrypt.c: Add them.

	* src/encrypt.c (encrypt_start): Add arg recpstring.
	(gpgme_op_encrypt): Factor code out to ...
	(gpgme_op_encrypt_ext): new function with new arg recpstring.
	(gpgme_op_encrypt_start): Factor code out to ...
	(gpgme_op_encrypt_ext_start): new function with new arg recpstring.
	* src/encrypt-sign.c (encrypt_sign_start): Add arg recpstring.
	(gpgme_op_encrypt_sign): Factor code out to ...
	(gpgme_op_encrypt_sign_ext): new function with new arg recpstring.
	(gpgme_op_encrypt_sign_start): Factor code out to ...
	(gpgme_op_encrypt_sign_ext_start): new function with new arg
	recpstring.

	* src/engine-backend.h (struct engine_ops): Change fields encrypt and
	encrypt_sign.
	* src/engine.c (_gpgme_engine_op_encrypt): Add arg recpstring and pass
	to engine.
	(_gpgme_engine_op_encrypt_sign): Ditto.
	* src/engine-gpg.c (append_args_from_recipients_string): New.
	(gpg_encrypt): Add arg recpstring and call new function as needed.
	(gpg_encrypt_sign): Ditto.
	* src/engine-gpgsm.c (set_recipients_from_string): New.
	(gpgsm_encrypt): Add arg recpstring and call new function as needed.
	* src/engine-uiserver.c (set_recipients_from_string): New.
	(uiserver_encrypt): Add arg recpstring and call new function as
	needed.

	* tests/run-encrypt.c (xstrdup): New.
	(main): Add option --keystring.

	* src/gpgme-json.c (get_keys): Simplify.
	(op_encrypt): Modify to make use of the extended encrypt function.

2018-04-12  Werner Koch  <wk@gnupg.org>

	core: Tweak STATUS_FAILURE handling.
	+ commit b99502274ae5efdf6df0d967900ec3d1e64373d7
	* src/op-support.c (_gpgme_parse_failure): Ignore failures with
	location "gpg-exit".
	* tests/gpg/t-verify.c (main): Adjust for the now working checking of
	the second key.

	core: For a failed verification return the sig's fingerprint.
	+ commit 478d1650bbef84958ccce439fac982ef57b16cd0
	* src/verify.c (parse_new_sig): Parse the new ERRSIG fpr.

	tests: Avoid segv in run-verify due to Policy URLs.
	+ commit ee8fad3ea0cbc82f31c86b3483abd8549df62b69
	* tests/run-verify.c (print_result): Take care of Policy URLs.

	tests: Add another check to gpg/t-verify.
	+ commit bdf7cd2e28432cf0fa7e0758acdfee03d7bfd45f
	* tests/gpg/t-verify.c (PGM): New.  Use it instead of __FILE__.
	(test_sig1_plus_unknown_key): New test signature.
	(check_result): Allow checking of several signatures.
	(main): Check a signature with a know and an unknown key.

	core: Add new context flag "no-symkey-cache".
	+ commit f7700a016926f0d8e9cb3c0337837deb7fe01079
	* src/gpgme.c (gpgme_set_ctx_flag): Set flag.
	(gpgme_get_ctx_flag): Get flag.
	* src/context.h (struct gpgme_context): Add field no_symkey_cache.
	* src/engine-gpg.c (struct engine_gpg): Ditto.
	(gpg_set_engine_flags): Set flag.
	(build_argv): Pass option --no-symkey-cache to gpg.

	* tests/run-decrypt.c (print_result): Fix segv for symmetric messages.
	(main): New option --no-symkey-cache.
	* tests/run-encrypt.c (main): New option --no-symkey-cache.

2018-04-04  Andre Heinecke  <aheinecke@intevation.de>

	qt: Add test for resetting config value.
	+ commit 5eb261d6028ab2c0ddd9af8e3e1f82e479c6109c
	* lang/qt/tests/t-config.cpp (CryptoConfigTest::testDefault): New.

2018-03-29  Werner Koch  <wk@gnupg.org>

	json: Build only a dummy if libgpg-error is < 1.28.
	+ commit 60d7a1e8f625ea0db455bff989534dd52f0650c7


2018-03-29  Ben McGinnes  <ben@adversary.org>

	example: revoke UID.
	+ commit 3b91f6af378ccc37dcf8924cbc157894c35b5192
	* Script to revoke a UID on an existing key.

	docs: python bindings howto.
	+ commit d65864989c0560b5f51cb8d05d9ea9f1957b453e
	* Added section on revoking UIDs.

	example: key signing.
	+ commit 56bbfd39acea90eb87a28b11a515b0314cdda54c
	* Added script for signing or certifying keys.

	doc: python bindings howto.
	+ commit 5a553f5a317e5ad5ab0274d58854df1ecf390e0d
	* Fixed a typo.

2018-03-28  Ben McGinnes  <ben@adversary.org>

	docs python bindings howto.
	+ commit 2f507b045909d32bf29d23da04db02b078e5fb9d
	* PEP8 compliance: a collection of minor edits across multiple example
	  code snippets.

	example: add user ID.
	+ commit 5cd419341807d8ae23fec7bd9bb7025a8a2dcb3c
	* Added script to add a UID to an existing key.

2018-03-28  Werner Koch  <wk@gnupg.org>

	json: Remove the "message" object thingy again.
	+ commit 3345a17dda2222e3c1592235e8a1cd9493192777
	* src/gpgme-json.c (process_request): Remove 'nm_mode'.

	json: Make native messaging work.
	+ commit 4b2fa657d195382d14ac99be40b66327e0fc855c
	* src/gpgme-json.c (opt_debug): New.
	(process_request): Add optional arg nm_mode.  In this mode take the
	request from a "message" object.
	(native_messaging_repl): Add debug output and call process_request
	in NM_MODE.
	(main): Add option --debug.  Parse envvar GPGME_JSON_DEBUG as an
	alternative way to enable this.  Use a default log file.

2018-03-27  Andre Heinecke  <aheinecke@intevation.de>

	core: Initialize key return value in gpgme_get_key.
	+ commit 7c220e387d511b0cf66f99370759c36b729cc444
	* src/keylist.c (gpgme_get_key): Set r_key to NULL.

2018-03-27  Ben McGinnes  <ben@adversary.org>

	doc: python bindings howto.
	+ commit a2eedef630891397f8eccb5bb426a0728588bf41
	* Fixed some minor PEP8 compliance issues in the key creation examples.

	example: key creation.
	+ commit f9159b1d75d3209b1c22bbb0ed4472800b60a522
	* Script to generate a new key with encryption subkey taking input
	  from interactive prompts.
	* Will also take a passphrase via pinentry and uses passphrase caching
	  of five minutes when used in conjunction with the temp homedir
	  script.

	script: temp homedir config.
	+ commit 1b5da37a47ceef41545e0b2474738613f36be949
	* added passphrase caching of 5 minutes.

2018-03-25  Ben McGinnes  <ben@adversary.org>

	doc: python bindings howto.
	+ commit 5b32efbaf37920b2e99d4bb87cb383b2809b1688
	* Testing the addition of a HTML header set in org-mode in order to
	  had RSS update links for files.
	* This should work with any [X]HTML export from current versions of
	  Org-Mode, but if it also works on website generated pages then it'll
	  tick off one of the wishlist itmes.

	script: temp homedir.
	+ commit 40a9dea5d56506400b67b0c11f6e55a1629dc6fe
	* Fixed whitespace.

	doc: python bindings howto.
	+ commit 3b724aae423f2de01812165d54df2a7b524c82f6
	* Added a reference to new script which will setup a temporary homedir
	  for a user.

	script: temporary homedir creation.
	+ commit dde1aae312958776fab475d6c0cdfa19cc255863
	* Script to create a temporary gnupg homedir in the user's directory
	  for testing or scripting purposes.
	* Creates a hidden directory on POSIX systems with the correct
	  permissions (700).
	* Creates a gpg.conf in that directory containing the same
	  configuration options as used in the "Danger Mouse" example in the
	  HOWTO with the correct permissions (600).

	doc: python bindings howto.
	+ commit 22247f658ce2f8e527c26746358cfc2643c4832f
	* Fixed the plaintext, result and verify_result references in the
	  decryption section.

2018-03-23  Ben McGinnes  <ben@adversary.org>

	doc: python bindings howto.
	+ commit e6180f2b36cc8a6c6154e5f3d702324af573132a
	* Fixed a minor spelling error and a minor grammatical error.

2018-03-23  Werner Koch  <wk@gnupg.org>

	core: Need to increase an array in the gpg engine.
	+ commit 4763974ef6932c503e35c3d14fe47a66a5323f48
	* src/engine-gpg.c (build_argv): Allcate one slot more for ARGV.

	json: Use a request origin of "browser".
	+ commit e5abf4827aead50437bbdff8cfdd5e9fdc6ed72d
	* src/gpgme-json.c (_create_new_context): Set flag.

	core: New gpgme_set_ctx_flag "request-origin".
	+ commit b9000bc293164ff62efa7e91e5cf6d5fc19d482f
	* src/context.h (gpgme_context): Add 'request_origin'.
	* src/gpgme.c (gpgme_release): Free that field.
	(gpgme_set_ctx_flag, gpgme_get_ctx_flag): Add "request-origin".
	* src/engine-backend.h (engine_ops): Add 'set_engine_ops' func ptr and
	adjust all users.
	* src/engine.c (_gpgme_engine_set_engine_flags): New.
	* src/op-support.c (_gpgme_op_reset): Call that func.
	* src/engine-gpg.c (struct engine_gpg): Add 'request_origin'.
	(gpg_set_engine_flags): New.
	(_gpgme_engine_ops_gpg): Hook it.
	(build_argv): Use command line option --request-origin.
	* src/engine-gpgsm.c (struct engine_gpgsm): Add 'request_origin'.
	(gpgsm_set_engine_flags): New.
	(_gpgme_engine_ops_gpgsm): Hook it.
	(start): Send OPTION "request-origin".
	* src/engine-assuan.c (struct engine_llass): Add 'request_origin'.
	(gpgsm_set_engine_flags): New.
	(_gpgme_engine_ops_assuan): Hook it.
	(start): Send OPTION "pretend-request-origin".

	build: Allow building with released libgpg-error.
	+ commit eee68c1b13fbe21c123f469712817e0c81f16383
	* src/gpgme-json.c (add_base64_to_object): Return an error if building
	with an older libgpg-error.

	json: Finish op:encrypt.
	+ commit d83482a1d768fc5afd3aa4836f2fefe5c549d02e
	* src/gpgme-json.c (add_base64_to_object): New.
	(data_from_base64_string): New.
	(op_encrypt): Employ them.
	(process_request): Print unformated json.

	json: Add a new function to cJSON.
	+ commit 6525d78d0a1d303c449762082942e71d3002b9ca
	* src/cJSON.c (cJSON_CreateStringConvey): New.

2018-03-22  Ben McGinnes  <ben@adversary.org>

	doc: python bindings howto.
	+ commit 65ed4ac82598734551b87fc89deab3cee010bd37
	* Fixed table.

2018-03-21  Ben McGinnes  <ben@adversary.org>

	doc and examples: python bindings HOWTO.
	+ commit 5722148bacab5862b40a027861d64683a0f214ea
	* Added GPGME Python bindings HOWTO in Australian/British English.
	** en-US "translation" still to be done.
	* Added several example scripts comprised of the "Basic Functions"
	  section of the HOWTO (plus the work-around at the end).
	** As these scripts are very basic examples they are released under
	   both the GPLv2+ and the LGPLv2.1+ (just like GPGME itself).

	examples: multi-key selection operations.
	+ commit 05e59933056ee8ef8ba7579351a58ed25dd7f754
	* Temporarily removing multi-key selection based examples.
	* There are a few issues with getting the key selections to play
	  nicely with gpg.Context().keylist object types.
	* Will troubleshoot them separately and restore them when that's
	  worked out, but I don't want these more complicated examples to
	  delay merging the HOWTO with master.

	example: group encryption.
	+ commit 61a988036bd3f0d43f7d55bfa43f5f05bec978c4
	* Troubleshooting.

	examples: encryption.
	+ commit 7ddff71908a85111c8e0da41312197b3b1a77da6
	* Fixed two incorrect Context() objects.

	example: key selection.
	+ commit c6a0395f0a3a57071f0c943f7815f58a02f9d2f3
	* Removed extraneous blank line.

	example: key selection.
	+ commit 0a0d57fd41380cd797d29e11cec8a77c7404e960
	* Similar to group-key-selection.py, but does not use an existing
	  group from gpg.conf; instead takes multiple key IDs, fingerprints or
	  patterns on the command line and adds them to a keylist object.

	example: sign and encrypt to group.
	+ commit 0ccc57c9512246d82d46e7732bfb0f95c18ca9d3
	* Begins to string together some of the simpler examples to do more
	  useful things.
	* Signs and encrypts a file while encrypting to every key in a group
	  specified in the gpg.conf file.

2018-03-21  Werner Koch  <wk@gnupg.org>

	json: Use gpgrt_argparse instead of argsparse.c.
	+ commit e14f1f687ff618716ed17e309a0475df95e1c0aa
	* src/gpgme-json.c: Remove header argparse.h.  Define
	GPGRT_ENABLE_ARGPARSE_MACROS.
	(interactive_repl): Replace strusage by gpgrt_strusage.
	(my_strusage): Add SPDX level.
	(main): Switch to gpgrt_argparse stuff but keep very limited
	functionality when building with an older libgpg-error.

2018-03-21  Ben McGinnes  <ben@adversary.org>

	example: group key selection.
	+ commit 8b401bfc76eac762553f76faab53c2f4cd117a8d
	* Example of preparing a keylist object using an existing group line
	  from the gpg.conf file.

	example groups work around.
	+ commit 6c6af9a7b0ae4e7182d669bec282c6edaaa7eaa1
	* Updated usage so it only references importing the final list of
	  lists produced.  Trying to use some of the mid-points can have
	  unpredictable results (this is part of the problem with work
	  arounds).

	example: groups.
	+ commit a4e3f827652c59d850b4e5506a92c1ecd190c1bb
	* Added a docstring.

	example: verify signatures.
	+ commit ad6cb4f9b8b97a2bc501c17fc542a84b725dedea
	* Added example for verifying detached signatures against the files
	  they're the signatures for.

	example: verify signed file.
	+ commit ae2767eb27b6a76284ee4403e575869afe2e80a8
	* Added example to verify normal and clearsigned files.

	doc: python bindings howto.
	+ commit e57388a69f61d14e3df3c842d227fb450c96c807
	* Fixed minor error in one of the verification examples.

	example: detach sign file.
	+ commit ac6a552c37147a000de74f49d1bff34dad52252e
	* Added example to make detached signatures of a file with key selection.

	example: encrypt-sign-file.py.
	+ commit af6cbba18ba5e2bbecce5f8268c146282cd12367
	* Adjusted the doc string.

	examples: doc strings.
	+ commit 6fa2a344282e369e6aca8155bc77dd2c12a29414
	* Fixed minor errors in two doc strings.

	example: clear signing.
	+ commit 1fdd1f306d45f6aeee91c7f016f7c37286ee3b3b
	* Added example to clear sign a file with signing key selection.

	doc: python bindings howto.
	+ commit 1d2746433c9632fc0c7bc10b59280fca15895545
	* deconstructed and fixed all three signing methods.

	example: sign file.
	+ commit 0390ede18696520be9cc1a42f628e23159b7c2eb
	* Similar to encrypt file except for signing a file in normal mode.
	* Noticed additional changes to be made to the howto to match this,
	  but they will have to wait due to a power outage (currently running
	  on battery and a mobile connection, but that won't last).

2018-03-20  Werner Koch  <wk@gnupg.org>

	json: Implement op:encrypt.
	+ commit 6073789a6d3514263404c93fa795a398bfd93d91


	core: Do not clobber R_KEY in gpgme_get_key on error.
	+ commit 343d3e2232a22d0999e1693f0f95e5e290005829
	* src/keylist.c (gpgme_get_key): Assign a value to the return
	parameter only on success.

	core: Fix ABI regression in recent commit.
	+ commit 9e1e6554834d0e803dd0889deaef4f11047c7e47
	* src/gpgme.h.in (_gpgme_op_import_result): Move new field
	'skipped_v3_keys' to the end.

2018-03-20  Ben McGinnes  <ben@adversary.org>

	doc: python bindings howto.
	+ commit 52e262991f1fdf7da93882c3b22c05537376cf49
	* Fixed typos in examples.

	example: keycount.
	+ commit 96d0395bccbbff91f73c06cb7bd6c131f04b8a9a
	* Fixed missing parenthesis.

	example: decrypt file.
	+ commit 51258975d763c9471859d635e6080c2ec02e8647
	* Decrypts a file taking file names as command line parameters.

	example: groups work-around.
	+ commit 29e918171f352c71a90a16c04d4a3dcafa5db682
	* Added groups selection work around code.
	* Intended for use as a module to be imported by other scripts,
	  usually with "from groups import group_lists" or "from groups import
	  group_lines" or similar.

2018-03-19  Ben McGinnes  <ben@adversary.org>

	example: encrypt file.
	+ commit 7221bb67642eb01a07957d66d0cbcd4ef8aadbf8
	* Nested encryption in try/except statement in case recipient key is
	  untrusted or invalid.

	example: sign and encrypt file.
	+ commit f3fe47e8fd2e7bc748016befcae494421223368c
	* Example to sign and encrypt a file.
	* Similar to encrypt-file.py except all keys are considered trusted
	  and signs with the default key.
	* Also encrypts to the default key.

	example: encrypt file.
	+ commit f0790f224d7af9521efe96e69a8f719fb89a5af2
	* Fixed typo in second encryption call.

	example: encrypt file.
	+ commit 7ab42e79ade89f28507ea42d51148a40b4bfc736
	* Example to encrypt a file to a single key.
	* Takes key ID and/or fpr as a CLI parameter.
	* Takes path and filename as a CLI parameter.
	* Encrypts to specified key only, no signing and writes the output in
	  both ASCII armoured and GPG binary formats with output filenames
	  based on input filename.

	example: python bindings key count.
	+ commit cfbdcb7fb3fa438cafba82e4fb8f327df596f98e
	* Added script wo count the number of keys in both the public and
	  secret key stores.

	doc: python bindings examples.
	+ commit b30ebf89725641018b3b08f77876530f9b983fa2
	* Explicitly stated that all this code is released under the GPLv2+
	  and the LGPLv2.1+.

	doc: python bindings example README.
	+ commit 8f7672ad1b267f122f647bb5f984734d0ff66a5c
	* Added the same license as used with the HOWTO.
	* Since these examples are so basic, they'll be dual licensed the same
	  as GPGME itself (otherwise it would slip too dangerously against the
	  need for permissive licensing of crypto libraries).

	docs: python bindings examples.
	+ commit 6950a63e63d60685ddb6f4cbff7b826b8acb5b13
	* Added reference to location where all the examples included in the
	  HOWTO will be available as executable scripts.
	* Included a short README file in that location.

	example: python bindings encryption.
	+ commit 3e0f68fdff1998dae9cb6f8510a3e945a268d1f6
	* Since we don't want to encourage accessing the low level functions
	  (e.g. op_encrypt), but since this example can still be useful to
	  understand, renaming it and will add new encryption examples to
	  match the instructions in the HOWTO.

	doc: python bindings howto.
	+ commit d5f6dec048d3d4d94f1fcdb3f4249cf6e71c4b92
	* Slight python-gnupg clarification.  See also this thread:
	  https://lists.gnupg.org/pipermail/gnupg-devel/2018-March/033528.html

	doc: python bindings howto.
	+ commit 0fb8a5d45c1c77a5928d6e356271da055aa55994
	* Adjusted the python-gnupg so the comments regarding insecure
	  invocation of commands via subprocess (shell=True) were a major
	  historical issue and not a a current issue.
	* Not including Vinay Sajip's requested change to say it is now secure
	  since no audit of the current code base has been performed and my
	  last major inspection of that code was around the time I first
	  ported PyME to Python 3 in 2015.

	doc: python bindings todo list.
	+ commit bf67cf433fe82924ed40e79785e95403c07cc068
	* Checked off several points of howto coverage as completed.
	* Reorganised to move S/MIME coverage to its own separate group of tasks.
	* Noted only revocation remains for howto completion.

	doc: python bindings howto.
	+ commit 1779d7b9d6769b2e47f1e90260290e25c8c3aa02
	* deconstructing multi-recipient encryption.

	doc: python bindings howto.
	+ commit 64c5886132aceefc9d9600a3a6dbbbf404b95b81
	* Replaced the single encryption methods with one main way (i.e. cut
	  the low level stuff involving SEEK_SET instructions).

2018-03-18  Ben McGinnes  <ben@adversary.org>

	doc: python bindings howto.
	+ commit 4811ff7b6c8ef97c7d4858ce235e9bf8227f4917
	* moved single encrytion examples up to the first ones, pending merge
	  and major cut.
	* This is basically just to make future checks of revisions a little easier.

	doc: python bindings howto.
	+ commit 82c5af225f2bdf3acc6fc652a96ee61c9b057395
	* Stripped decryption example to the bare bones as suggested by Justus.

2018-03-16  Ben McGinnes  <ben@adversary.org>

	doc: python bindings howto.
	+ commit b549f69d0520bb74957b95cec9ea918dba2374f6
	* Made the changes suggested by Jakub Wilk on gnupg-devel.
	* Still need to make the far more comprehensive changes suggested by Justus.

2018-03-16  Werner Koch  <wk@gnupg.org>

	json: Add framework for the gpgme-json tool.
	+ commit d2b31d8c106423bd0eaa5fffaa39b0983c9ae525
	* src/gpgme-json.c: New.
	* src/Makefile.am (bin_PROGRAMS): Add gpgme-json.
	(gpgme_json_SOURCES, gpgme_json_LDADD): New.

	core: Adjust cJSON code for use in GPGME.
	+ commit 81c90d0cd0f959fd5e01baed9b4af0ec35ecb85c
	* src/cJSON.c: Remove util.h.  Use gpgrt alloc functions.
	(cJSON_Delete): Do not clobber ERRNO.
	(cJSON_AddItemToObject): Return OBJECT or NULL.
	(cJSON_AddNullToObject): New.
	(cJSON_AddTrueToObject): New.
	(cJSON_AddFalseToObject): New.
	(cJSON_AddBoolToObject): New.
	(cJSON_AddNumberToObject): New.
	(cJSON_AddStringToObject): New.
	* src/cJSON.h (cJSON__h): Replace macro by cJSON_h for C compliance.
	(cJSON_AddNullToObject): Remove macro.
	(cJSON_AddTrueToObject): Remove macro.
	(cJSON_AddFalseToObject): Remove macro.
	(cJSON_AddBoolToObject): Remove macro.
	(cJSON_AddNumberToObject): Remove macro.
	(cJSON_AddStringToObject): Remove macro.

2018-03-15  Ben McGinnes  <ben@adversary.org>

	doc: python bindings howto.
	+ commit 431897a4c48fe1bc9d37f655097aabaf5b685d11
	* Added clarification on why it's not on PyPI.

2018-03-15  Andre Heinecke  <aheinecke@intevation.de>

	cpp: Expose skipped_v3_keys.
	+ commit ad95288d3b3efc38998841add4fe658c84701f98
	* lang/cpp/src/importresult.cpp,
	 lang/cpp/src/importresult.h (ImportResult::numV3KeysSkipped): New.

	core: Parse skipped_v3_keys.
	+ commit a630a1e3e74c926163864b013cb164b4cd1866fc
	* src/gpgme.h.in (gpgme_import_result_t): Extend with skipped_v3_keys.
	* src/import.c (gpgme_op_import_result): Extend debug with new field.
	(parse_import_res): Parse skipped_v3_keys.
	* tests/gpg/t-support.h, tests/run-support.h (print_import_result):
	Print skipped_v3_keys.

2018-03-15  Ben McGinnes  <ben@adversary.org>

	doc: python bindings howto.
	+ commit 22e2445beee46ed1e527a98e635153c7cf03786f
	* fixed custom_id for decryption so the XHTML validates.

	doc: python bindings howto.
	+ commit 94a95ac12364989db7f4be333107f3c023551857
	* Promoted final encryption example so that it will appear as heading
	  6.1.3 when exported to HTML or PDF.

	doc: python bindings howto.
	+ commit 3d0c7a2202c8e9bd4f284fd00069d34b8d3d3d4c
	* Fixed a minor typographic error.
	* Bumped version number in preparation for merge with master.
	* While there are probably a few more things worthy of being added
	  (mainly how to revoke things), this document is essentially ready
	  for publication now.

	doc: python bindings howto.
	+ commit 961aea212ef48914ecbfa169addf951b0854b0b4
	* Added key signing.

	doc: python bindings howto.
	+ commit 7ac65b10837740caf68cdade791b8c5ce4eb1b03
	* Added a new user ID for Danger Mouse.
	* Removed the empty entry for key preferences since that is handled
	  through gpg.conf and/or editing the key directly.

	doc: python bindings howto.
	+ commit 9e3e4a835c64f5d06de821b1fd648af37827ff26
	* Spell checking and fixing the few errors.

	doc: python bindings howto.
	+ commit b02d9d0a7b96b186eb3063d94bde369339181461
	* Added an encryption subkey to Danger Mouse's primary key.

	doc: python bindings howto.
	+ commit 5432e5f9d1dfc02812d0b181f8d88cdf4a2bfbfb
	* generated a new primary key for Danger Mouse in an alternative homedir.

	doc: python bindings howto.
	+ commit 5d1dd2abe5cf787875d12afe46c78c75385d7b31
	* Added sections for key generation and key editing.

	doc: python bindings howto.
	+ commit 1d05e6aa4ea467c8c5926b827cfcfba357d03312
	* Added c.get_key instructions and examples.

	doc: python bindings howto.
	+ commit b35aaef7a3b793b8f6f5b42596c0a6a51e87f78c
	* Added text for verifying signatures.

2018-03-14  Ben McGinnes  <ben@adversary.org>

	doc: python bindings howto.
	+ commit 6bc12a0eeb20409770cb8b923d08c18c2b730cb8
	* Added 4 signature verification methods and partial text for them.

	doc: python bindings howto.
	+ commit e5c85fba25de1187949697e2dae0e89345b71e89
	* Added description for detached signatures.

	doc: python bindings howto.
	+ commit ada059b07178147821b1598c935aa70ae45e3e6c
	* Fixed multiple sample code examples of writing output to a file.
	* Added the description of detached signatures.

2018-03-14  Werner Koch  <wk@gnupg.org>

	core: Import cJSON code from the payproc project.
	+ commit 8eb08b318913644d918002f3195f7ec0e75ae239
	* src/cJSON.c: New.
	* src/cJSON.h: New.
	* src/cJSON.readme: New.

2018-03-14  Ben McGinnes  <ben@adversary.org>

	doc: python bindings todo.
	+ commit ef27f3781a37e264d0eb7d1745eb2c804ec062c4
	* minor phrasing fix.

	doc: python bindings howto.
	+ commit 423fdcd4653cb01f07f2b0e72cfcf49554930f70
	* Added recommended method of single encryption with description.

2018-03-13  Ben McGinnes  <ben@adversary.org>

	doc: python binding howto.
	+ commit a71205dc3b58970adf591b4e4553824a33f353db
	* Clarified which English dialects this is written in.
	* Translating to American can happen *after* it's done.
	** The Yank version would probably want to change some of the examples
	   anyway.
	* Began the description for normal/default signing.

	doc: python bindings howto.
	+ commit a10dcb4f138eb5a21881cdbc4806c25129d4ae4e
	* Added a section on key selection.
	* Included recommendation for using fingerprint when selecting one
	  specific key.
	* Also included the most ironically amusing example of multiple key
	  selection in a GPG guide.  Hey, it's public data ... (heh).

	doc: python bindings howto.
	+ commit 952b6042f78017c476452088261af8d352cfa729
	* Added explanation of the ascendance of Python 3 over Python 2 in the
	  guide to the intro.
	* Expanded key selection description so people know what not to
	  include regarding key IDs with this key selection method.

	doc: python bindings howto.
	+ commit c92da2c7eb148ce9fb06495a8470dd9caf662f9a
	* Added key selection for specifying signing key or keys.

	doc: python bindings howto.
	+ commit e489ddd08af29fdad8db8aa0aec0c314daa3678c
	* During the course of working out the updated signature methods,
	  determined that key selection (including counting) will beed to be
	  presented before the basic functions.
	* Moved "working with keys" up.

	doc: python bindings howto.
	+ commit f29bda8d7146b4bc0bf73d6e613131545ff86b73
	* Signatures have changed as a result of the recent update from Justus.
	* Sample code updated.
	* Text to follow later.

	doc: python bindings howto.
	+ commit c27a7a3f994dad0eccee890185582f4350fbf233
	* Added text description for the decryption example.

2018-03-12  Ben McGinnes  <ben@adversary.org>

	doc: python bindings howto.
	+ commit f81adeba992a9fd3b5a199e9a2e242a0f53cf639
	* Added a miscellaneous work-arounds section at the end.
	* Included code in said miscellaneous section for accessing the groups
	  specified in a gpg.conf file.
	* It's a bit ugly since it does require subprocess (but not call,
	  Popen or shell access and only accesses one command).

	doc: python bindings howto.
	+ commit 36dfbdffea60c529a6d1e1ff3e507be016b6a0f6
	* Fixed a spelling error in the key counting text.

	doc: python bindings howto.
	+ commit 484e9a6229ac9c80c6be4df638bce711f08a74c6
	* updated multi-encryption final example to be complete.
	* second example shows most likely method of reading plaintext.
	* updated example filenames to stick with running gag
	  (i.e. secret_plans.txt).

	doc: python bindings howto.
	+ commit a8f48b6f577d562c25fd0191c0cc2cc8e96078c1
	* error corrections.
	* multiple typesetting fixes only required due to certain archaic
	  eccentricities of LaTeX.
	* a couple of minor python PEP8 compliance corrections.

	doc: python bindings howto.
	+ commit 83b1336ceebb86e13a55bbf220df2d750f6b3ec6
	* Fixed an error in the encryption try/except statement.

	doc: python bindings howto.
	+ commit 0e1300ce777dd0c87f31ac8bc49846b9df242df9
	* Added a more complicated encryption example with a few variations on
	  the encryption method to account for untrusted recipient keys,
	  signing or not signing, including or excluding default keys and so
	  on.

	doc: python bindings howto.
	+ commit 7ebc5a357057d01b7ef965521ab68b7cb7e20a8f
	* Switched from links to some external docs to using footnotes where
	  necessary.
	* Ideally the howto should be as stand alone as possible.
	* Also it makes it difficult to convert to another format for
	  proof-reading if there are links that the conversion can't find.

2018-03-09  Ben McGinnes  <ben@adversary.org>

	doc: python bindings HOWTO.
	+ commit 172baaf4d3e4ed03a4d3437be9efa3dfe6a847bc
	* Added instructions and code to count the number of public and secret
	  keys available since it was quick and easy.

	doc: python TODO list.
	+ commit f2c1e8d8d54068a7f072efa178fc30460821eff3
	* Slightly tweaked one heading to make it clear it wasn't a duplicate.

	doc: python bindings howto.
	+ commit 01686463948ac6096dd8579a110c478d3a1f9a83
	* Wrote the text description explaining each step in the most basic
	  encryption operation.
	* Will need to include additional examples for encrypting to multiple
	  recipients using Context().encrypt instead of Context().op_encrypt.

	doc: python bindings TODO list.
	+ commit 93252df9dc4c9932467814745655350a8cab900e
	* Updated to reflect the most recent work on the HOWTO for the Python
	  bindings.

	doc: python bindings howto.
	+ commit ab81c2d868bba79fdb8f8d7f576b6bd88c6bdf3c
	* Added example for verifying both detached and "in-line" signatures.

2018-03-08  Ben McGinnes  <ben@adversary.org>

	docs: TODO.
	+ commit e846c3daeeb4e7092169cdb7bf4f55e0b105aac3
	* Removed WS.

	doc: TODO list update.
	+ commit 6849924ffbd48ba3f9d32b4a59a02e1d2083fc19
	* Closed off a few ancient items and added recommendation to others to
	  use the dev.gnupg.org site for real bugs/features updates.
	* See also this statement on the gnupg-devel list regarding this file:
	  https://lists.gnupg.org/pipermail/gnupg-devel/2018-March/033499.html

	docs: python bindings howto update.
	+ commit fa4927146b68dd045903285f1c45fb64deb2e361
	* Added all four signing code examples that are most likely to be
	  used: armoured, clearsigned, detached armoured and detached binary.
	* May remove some examples and just discuss the differences, but it
	  depends on the way the text is filled out.

	doc: python bindings howto update.
	+ commit c767a4a3590bd8a224d0268746df443942cb28c2
	* Added example of decryption.
	* included some quick notes for myself regarding aspects to explain
	  when I flesh out the explanatory text.

	doc: Basic operation of the python bindings.
	+ commit 75463d589522cba427f9e5a3a408192ffad8bb21
	* Added sample code for encrypting some text to a single key.
	* Basically I'm just lifting existing production code and changing the
	  key IDs from mine to "0x12345678DEADBEEF" for these first few
	  examples.
	* I'll fill in the text description after.
	* Note: due to my regional location, I might split some tasks into
	  more commits in order to be sure no work gets lost in case of
	  emergency (or to put it another way: I know Telstra too well to
	  trust them).

	doc-howto: fundamental aspects of GPGME vs Python.
	+ commit a98f2c556fe6e33a9cd38279e64e4b09f05cc675
	* Added a section for those pythonistas who are too used to web
	  programming.  Stressed that it's not simply not RESTful, it's not
	  even REST-like.
	* Letting me move on to drawing a very loose parallel between a
	  session and a context.  The differences should become obvious in the
	  subsequent sections.

	doc: Added multiple TODOs for inclusion in the HOWTO.
	+ commit e8adab68f8c0cd865ff220f06dfaff7fe183e8a1
	* Some instructions to include are fairly obvious; as with encryption,
	  decryption and signature verification.
	* Some are a little less obvious.
	* This includes the requests received to specifically include subkey
	  management (adding and revoking subkeys on a primary key that's
	  being retained.
	* Added the UID equivalents to the list, as well as key selection
	  matters (and may or may not include something for handling group
	  lines since that involves wrapping a CLI binary).
	* Key control documentation and examples requested by Mike Ingle of
	  confidantmail.org.

2018-03-07  Ben McGinnes  <ben@adversary.org>

	GPL compatible license for documentation.
	+ commit 47d401d159852ea08e90af21d91bb4b93be9000d
	* Added the same, slightly modified GPL based license that is used in
	  other parts of GnuPG.

	HOWTO update.
	+ commit 8a76deb11efd7dadfde6e8e7e69fbcd92577982f
	* removed one bit of whitespace.
	* Marked up references to gpgme.h.
	* Fixed one spelling error.
	* Removed py2.6 from python search order since even if it is
	  supported, it shouldn't be encouraged.

	GPGME Python bindings HOWTO.
	+ commit 5215d58ae2521d81c3db0b45dfbdce01a679acab
	* Started work on the GPGME Python bindings HOWTO.
	* 1,050 words to begin with at approx. 7.5KB.
	* Got as far as installation.
	* Includes instruction not to use PyPI for this.

	TODO - HOWTO.
	+ commit 8f2c0f4534ea2a07f071f360a63e877f60dc52f2
	* Added suv-entry for the new HOWTO being started and, since it has
	  been started, checked it off.

	TODO.
	+ commit d4778bb23d0817ee6fbcbe4f0ff0ff0429bf3669
	* Slightly expanded the list.

	copyright fix.
	+ commit 3a746d5d46ffd7d332dc24fd6a4d24efc5fc1230
	* Made the copyright line a new top level org heading in order to
	  prevent it getting folded into other tasks which will eventually get
	  closed (so it doesn't go missing if those items are subsequently
	  archived).

	Nuxed doubles.
	+ commit 13d2164cd9f313b409b2210d9e63465681cccc99
	* Just because there's a lot of documentation which needs to be added,
	  doesn't mean it needs to be listed twice.  Merged the two lists.

	Removed double.
	+ commit 1516c56ee4da28eb720bbacb026892393d10b24a
	* default.profraw didn't need to be listed twice.

2018-03-04  Ben McGinnes  <ben@adversary.org>

	IDENTIFY.
	+ commit f61d4f585f27c13fabf7a23ad295bdc8bea7c838
	* Fixed sp error in docstring.

2018-03-03  Ben McGinnes  <ben@adversary.org>

	Missed a couple.
	+ commit 75f5e6e6672a1bbd16b7680313c0f96796c219bd
	* WS indicated 2 custom-ids were missed, now they're set.

	TODO DONE.
	+ commit b438e5e44c2eaf22549db94141a3ec8731556674
	* Marked off a TODO for this clean-up.

	TODO.
	+ commit 1d910672539686e2e17fd8fa1a894cee92863417
	* WS removal

	TODO updates.
	+ commit 12a87af1df906744a14079ff7ff88e7d60679695
	* Updated TODO with tags to make everything appear properly when
	  exported to HTML or PDF.
	* Added a couple more items, mainly to do with docs or future bindings.
	* Marked some, but not all as actual TODO items.
	* Some items should probably be removed, but haven't been yet.
	* Some have probably been completed already.

2018-02-27  Ben McGinnes  <ben@adversary.org>

	New stuff.
	+ commit 85bdca3b2b095afb672f19abbffccd2bcb8bbd0a
	* Added the idea for alternative Emacs bindings (to extend the
	  existing ones, not replace them outright).
	* Added a reference to the API Squared part of the project.

	TODO the TODO.
	+ commit 8047e1374fe6e69e8c4502e58e6522ea86e4bef4
	* Added an actual TODO to fix the TODOs.
	* Pretty sure I know who will be completing this one ...  ;)

	TODO ... the TODO.
	+ commit 73c51bc9858de2aab25844e7e283a6334038ccc8
	* If we're going to use Org, let's actually use Org.
	* Added the properties tags for each point.
	* Some of thems still need custom ID tags assigned properly.
	* Probably ought to make them actual TODOs at some point, but that can
	  wait until they can be marked as DONE anyway.
	* Will add a TODO for some of this stuff ... oh, the irony.

2018-02-27  NIIBE Yutaka  <gniibe@fsij.org>

	core: Support non-thread-safe getenv.
	+ commit 59fe3f26c1ca0fba16f76738cd05aaf80fb735ef
	* src/get-env.c (_gpgme_getenv): Use gpgrt_lock_lock
	and gpgrt_lock_unlock to protect call of getnev.

2018-02-26  Ben McGinnes  <ben@adversary.org>

	WS removal.
	+ commit c58f61e92226c4a03f216f5d07bdc5479ce8a2d9
	* Whitespace removal.

	LaTeX headers.
	+ commit 6f2e2e0f150d5c6d53de5bc48af137f7864d5fd9
	* Set LaTeX headers to enable ligatures and a 12pt font by default.
	* Paper size left for regional defaults.
	* Using XeLaTeX for easier font control.
	* Using default LaTeX font of Latin Main, but that's easy enough to change.

2018-02-19  Ben McGinnes  <ben@adversary.org>

	Renaming ad infinitum ...
	+ commit 272a8e778a959cb24298f488e77fce9bffd23b7a
	* Dropped the .txt from the end of the file ...

	Text conversion.
	+ commit c82b17c6ce490738efb07186532e752e6f70ea07
	* Exported from Org Mode to UTF-8 text.
	* Removed my name from just under the title.

	Title fix.
	+ commit ea481d4bb9e6197fbc195187d1362b844e2cba2e
	* Fixed title.

	Conflict with Phabricator files.
	+ commit 1ae3ead2cd854258954e784bf51f03822321aefe
	* The developers of Phabricator, the web front-end on dev.gnupg.org
	  have not implemented renderers for Markdown, Org-Mode or any other
	  common markdown like language.
	* They also refuse to do so.
	* Instead they re-invented the wheel and implemented their own version
	  of Markdown-like thing which is incompatible with everything else.
	  It is called Remarkup.
	* The developers of Phabricator and Remarkup have refused to provide
	  conversion tools to move files to/from any format to/from Remarkup.
	* They expect everyone to learn their new favourite pet project.
	* Remarkup may or may not display Org Mode files, but if so then it is
	  likely to only want to do so as plain text.
	* There is an unaffiliated and unofficial project to convert Github
	  Markdown to Remarkup via Pandoc.  This might be adapted for our use,
	  but requires testing.
	* Until then exporting from Org Mode to UTF-8 text is likely the least
	  worst plan.
	* Which means renaming this file to README.org first.

	Schizophrenic file types.
	+ commit fe4f3edd70949329cb992dd963de2de3c86dcd81
	* Removed Markdown style heading underlining.
	* Removed in-line file type declaration (which is not correctly parsed
	  by the web interface on dev.gnupg.org).

2018-02-16  Andre Heinecke  <aheinecke@intevation.de>

	cpp: Add shorthand for key locate.
	+ commit 7f9d5c6cd204bfd84ea477b284df795b1dadb1af
	* lang/cpp/src/key.cpp (Key::locate): New static helper.
	* lang/cpp/src/key.h: Update accordingly.

2018-02-16  Ben McGinnes  <ben@adversary.org>

	History path.
	+ commit fb16eaa685fe488f12f4df9b59d1f3689c813034
	* Fixed a typo in a filepath reference.
	* Moved conjecture regarding the first version of Python used to a
	  footnote.

2018-02-15  Ben McGinnes  <ben@adversary.org>

	LaTeX margins.
	+ commit 6f15d821404742ac2683f54ca4102ee4aaedacf2
	* Added LaTeX header for 1 inch margins in the quite likely event that
	  all PDF output ultimately uses LaTeX.

	TODO Documentation.
	+ commit 235d899a5fc24cdf9c856adbc021a69c43985c99
	* Checked off the decision to stick with Org Mode.

	TODO.
	+ commit 40da5022922172ed898172956a8ccf5622e5638d
	* Beginning to turn the first part of this into something kind of like
	  an actual TODO list as Org Mode uses it (maybe).

2018-02-15  NIIBE Yutaka  <gniibe@fsij.org>

	tests: Fix previous commit.
	+ commit 3224d7f0ea83a3c2baaa9f97846c4a5b392d2c59


	tests: More Makefile portability.
	+ commit ba6e610baa138ba9b43be303df2c5981dd04de5a
	* tests/gpg/Makefile.am: Invoke GPG with TESTS_ENVIRONMENT.

	tests: Makefile portability.
	+ commit b5ec21b9baf017b4cee88c9ef3cc1a638547cd20
	* tests/gpg/Makefile.am: Don't use "export" directive.
	* tests/gpgsm/Makefile.am: Ditto.
	* lang/qt/tests/Makefile.am: Ditto.
	* lang/python/tests/Makefile.am: Ditto.

	build: More Makefile fix.
	+ commit c9a351f5af289c8f6919854c40f235c781b76ec7
	* lang/python/tests/Makefile.am: Avoid target with '/'.

2018-02-14  Ben McGinnes  <ben@adversary.org>

	Short History.
	+ commit 3c3b149996036e7ff4cc4c77ef2d97062d880409
	* Fixed or updated the most fundamental errors.
	* Also included some details on which modules are available on PyPI,
	  as well as what happened to the PyME commit log.

	Subsectioned history.
	+ commit 7c662d22a8f7d2e6ad6532014f2ecc1769de16fb
	* Split the main parts down into subsections.
	* Still need to cull the incorrect stuff towards the end and add more
	  recent changes.

	History.
	+ commit a1bc710c5fb7a7d2253434c1443e33e019020a55
	* Reshaping the history file to fit Org Mode's structuring for docs.
	* Also said history needs to be a bit more clear (it was kind of
	  unfinished).

	TODO.
	+ commit fccd2ea3871f5d63fb038db0733a34f9c5d550c3
	* Updated TODO.
	* The entirety of the old TODO has been replaced with either more
	  relevant tasks or goals for the examples and a more measured
	  approach to the docs and why, in this project, Org Mode trumps reST,
	  even though it's Python through and through.

	TODO.
	+ commit 487ed9337e8e07d1c63e53b785cc39e3bd35ff6e
	* Removed reST version of file.

	TODO.
	+ commit c4fa4216199b16c1f169725c0a1e0a40764b1ebb
	* Converted document from reST to org-mode.

	Short History.
	+ commit 1d48b04cfb3d1de654f3995578e9434a6b7b2fed
	* Removed reST version.

	Short History.
	+ commit d86fd7c54c462ef23c70370624e07fcc1bc15121
	* Converted document from reST to org-mode.

	House keeping.
	+ commit 1b5719cd57d80dcd9577141491a0860912e74cd4
	* Added a bunch of things to .gitignore that might otherwise creep in
	  during Python development.
	* This really should be merged ASAP.  You'll thank me later ...

2018-02-14  NIIBE Yutaka  <gniibe@fsij.org>

	build: Fix Makefiles for portability.
	+ commit f1d8a7975b0a166f55aef06eb25d50230781b96f
	* tests/gpg/Makefile.am: Don't allow target with '/'.
	* tests/gpgsm/Makefile.am: Ditto.

2018-02-13  Andre Heinecke  <aheinecke@intevation.de>

	configure: Fix mingw check for getenv.
	+ commit 5ec890b9c76db0f23cc396108ff6f1fe658855a8
	* configure.ac: have_thread_safe_getenv=yes with have_w32_system.

2018-02-13  NIIBE Yutaka  <gniibe@fsij.org>

	configure: MinGW has thread-safe getenv.
	+ commit 77ca9cc2db2c6da303b9224a931679a325ebda1e
	* configure.ac: have_thread_safe_getenv=yes with have_w64_system.

2018-02-09  Andre Heinecke  <aheinecke@intevation.de>

	cpp: Add SpawnShowWindow flag.
	+ commit 7e27a0ff64626026521dc5877b278794cea72e61
	* lang/cpp/src/context.h (SpawnShowWindow): New.

	core, w32: Enable spawning GUI applications.
	+ commit 201db83a7f1b7759173b6e9f0a844caef4da6cce
	* src/engine-spawn.c (engspawn_start): Translate spawn flag
	to IOSPAWN flag.
	* src/gpgme-w32spawn.c (my_spawn): Handle the new flag.
	* src/gpgme.h.in (GPGME_SPAWN_SHOW_WINDOW): New.
	* src/priv-io.h (IOSPAWN_FLAG_SHOW_WINDOW): New.

	core, w32: Fix flags passing to gpgme-w32-spawn.
	+ commit f10605ffb5cc9d457c3e432918fdfbfaf3d04185
	* src/w32-io.c (_gpgme_io_spawn): Don't hardcode flags value.

	cpp: Add conveniance Data::toString.
	+ commit 5a5b0d4996c17bfbc69b90f89fec23732f92813a
	* lang/cpp/src/data.h, lang/cpp/src/data.cpp: Add Data::toString.

2018-01-30  NIIBE Yutaka  <gniibe@fsij.org>

	Fix for BSD Make.
	+ commit 59fcabbdf537b2745ef0c3cae908b21970a5b39b
	* tests/gpg/Makefile.am, tests/gpgsm/Makefile.am: Remove ./.

2018-01-29  NIIBE Yutaka  <gniibe@fsij.org>

	Fix compile error message.
	+ commit bbb5e70e7e8598978b6c61b13ba77705ff86e469
	* src/get-env.c (_gpgme_getenv): Fix error message.

	tests: Fix for NetBSD.
	+ commit 58130b97f6582455fd355ac58ae3182a28812cfc
	* tests/gpg/pinentry: Use /bin/sh instead of Bash.

	core: Implement _gpgme_getenv for NetBSD.
	+ commit 37d62e9d0f685c257fdb5f303e60ff01f8a36a2f
	* src/get-env.c [HAVE_GETENV_R] (_gpgme_getenv): New.

2017-12-12  Werner Koch  <wk@gnupg.org>

	Release 1.10.0.
	+ commit 6a42eb5f3809d5eb3767667c190b395d028886e7


	Require libgpg-error 1.24 and libassuan 2.4.2.
	+ commit d4d04d6c0432b032f6ea23c8517fd6a5f623bb67
	* src/util.h (GPG_ERR_FALSE): Remove due to newer libgpg-error.

2017-12-11  Andre Heinecke  <aheinecke@intevation.de>

	qt: Don't use QDateTime::toSecsSinceEpoch.
	+ commit b61d0fbb74f04408dfe8637c719b97217e061a3c
	* lang/qt/src/qgpgmequickjob.cpp (addSubkeyWorker)
	(createWorker): Use toMSecsSinceEpoch instead toSecsSinceEpoch.

2017-12-11  Werner Koch  <wk@gnupg.org>

	core,w32: Fix popping up of console windows due to gpgconf.
	+ commit 0a567a94d94cd93c5d88f5db802925c95f0974d0
	* src/gpgme-w32spawn.c (my_spawn): Create w/o DETACHED_PROCESS.

2017-12-07  Andre Heinecke  <aheinecke@intevation.de>

	cpp: Fix handling of lsig promotion.
	+ commit 1458adaea4acdcf7ebbead6668476fce92db5af8
	* src/gpgsignkeyeditinteractor.cpp (SignKeyState): Add second
	CONFIRM state.
	(makeTable): Properly handle local_promote_okay.
	(action): Handle CONFIRM2.

	tests: Print userid signatures in run-keylist.
	+ commit 5ba1cbdf39efd90c7987bfc2bc030b6504e70076
	* tests/run-keylist.c (main): Print UID signatures if there
	are any.

2017-12-04  Werner Koch  <wk@gnupg.org>

	core: Also check for a failed selftest in gpgm_data_new.
	+ commit 0c1244a2b7e30ab0610ae70166e1b5d0219782c3
	* src/data.c (_gpgme_data_new): Check for failed selftest.
	* tests/run-support.h (make_filename): Print a message on mallooc
	failure.
	(init_gpgme_basic): New.
	* tests/run-identify.c (main): Call init_gpgme_basic becuase we do not
	need to setup a protocol.
	* tests/t-data.c: Define PGM and include run-support.h.
	(make_filename): Remove.
	(main): Call init_gpgme_basic.

2017-12-04  Tobias Mueller  <muelli@cryptobitch.de>

	python: Default whence argument for Data() to SEEK_SET.
	+ commit 3cf9aedc92b6c65d2cb34037e52b9a299637d03b
	* lang/python/gpgme.i: copied signature from gpgme.h and defaulted the
	value to SEEK_SET.
	* lang/python/tests/t-data.py: Added a test for no second argument

2017-12-01  Andre Heinecke  <aheinecke@intevation.de>

	qt: Add job for quick commands.
	+ commit 7d1ac5d61de3c55bf7ff14997b4b111a0f90c177
	* lang/qt/src/qgpgmequickjob.cpp,
	lang/qt/src/qgpgmequickjob.h,
	lang/qt/src/quickjob.h: New.
	* lang/qt/src/Makefile.am,
	lang/qt/src/protocol.h,
	lang/qt/src/protocol_p.h,
	lang/qt/src/job.cpp: Update accordingly.

	cpp: Wrap create_key and create_subkey.
	+ commit 8e2d6c28a5e923f829b5a26d19d9d897949aa1fe
	* lang/cpp/src/context.cpp,
	lang/cpp/src/context.h (Context::startCreateKey)
	(Context::createKey, Context::createSubkey)
	(Context::startCreateSubkey): New.

	Fix uid parsing for ldap keyserver.
	+ commit 651b3d8207cc7d85699f89fc4c21cb1243453aa8
	* src/engine-gpg.c (gpg_keylist_preprocess): Check field count
	for uid and add fallback.

2017-11-30  Werner Koch  <wk@gnupg.org>

	tests: Add missing variable to gpgsm tests Makefile.
	+ commit f43016500774ab82f222249202bda6c463aaf63f
	* tests/gpgsm/Makefile.am (GPG_AGENT): Set var.  It is used later.

2017-11-21  NIIBE Yutaka  <gniibe@fsij.org>

	tests: Make portability fix.
	+ commit c441fb73130f4c117094d7da4de9fe56f886e65d
	* lang/python/tests/Makefile.am: Distinguish target and path.
	* tests/gpg/Makefile.am: Ditto.
	* tests/gpgsm/Makefile.am: Ditto.

2017-11-14  Andre Heinecke  <aheinecke@intevation.de>

	qt: Fix IODeviceDataProvider with Process.
	+ commit 56b27b21d5f8dd95b9d6415c5e98b821774f3093
	* lang/qt/src/dataprovider.cpp (blocking_read): Keep
	reading if process is not atEnd.

2017-10-12  Daniel Kahn Gillmor  <dkg@fifthhorseman.net>

	core: use getdents64 syscall on linux instead of getdents.
	+ commit 00daac15530eabed5e61d841b2df939c2242667c
	* src/posix-io.c (get_max_fds): use getdents64 instead of getdents.

2017-10-04  Werner Koch  <wk@gnupg.org>

	core: Allow disabling the use of SYS_getdents for Linux.
	+ commit 4632adf403611b50be2b4e852a4607070935d0e5
	* configure.ac (USE_LINUX_GETDENTS): New ac_define.  Add option
	--disable-linux-getdents.
	* src/posix-io.c: Make use of USE_LINUX_GETDENTS.

2017-10-04  Colin Watson  <cjwatson@debian.org>

	core: Restore get_max_fds optimization on Linux.
	+ commit b5b996b1a142abb90296f5feadf0b5b19c59f738
	* src/posix-io.c (get_max_fds): Restore Linux optimization, this time
	using open/getdents/close rather than opendir/readdir/closedir.

2017-09-04  Andre Heinecke  <aheinecke@intevation.de>

	qt: Add test for version info.
	+ commit bd5d470cef513b2f459316869b81267cde7a9f13
	* lang/qt/tests/t-various.cpp (TestVarious::testVersion): New.

	cpp: Fix version info comparison.
	+ commit 58d7bcead3394fa80c2a05d0d1e0fb4d9a1048b0
	* lang/cpp/src/engineinfo.h (EngineInfo::Version::operator<):
	Fix logic.
	* lang/cpp/src/engineinfo.h (EngineInfo::Version::operator>):
	New.
	* NEWS: Mention added API

2017-08-24  Werner Koch  <wk@gnupg.org>

	core: New context flag "auto-key-retrieve"
	+ commit 47f61df0704485b8165c9cf2a27ad57bcd864239
	* src/gpgme.c (gpgme_set_ctx_flag, gpgme_get_ctx_flag): New flag
	"auto-key-retrieve".
	* src/context.h (gpgme_context): New field auto_key_retrieve.
	* src/engine-backend.h (struct engine_ops): Add arg auto_key_retrieve
	to field 'decrypt'.
	* src/engine-gpg.c (gpg_decrypt): Add arg auto_key_retrieve and pass
	option --auto-key-retrieve to gpg.  Adjust all callers.
	(gpg_verify): Ditto.
	* src/engine-gpgsm.c (gpgsm_decrypt): Add dummy arg auto_key_retrieve.
	* src/engine-uiserver.c (uiserver_decrypt): Ditto.
	* tests/run-verify.c (main): Add option --auto-key-retrieve.

	core: New public enum gpgme_keyorg_t.
	+ commit 9bde9144f0c2d0087799511e9b041dc945a4cfa8
	* src/gpgme.h.in (gpgme_keyorg_t): New.
	* src/keylist.c (parse_keyorg): New.
	(keylist_colon_handler): Set key->ORIGIN.

2017-08-24  Marcus Brinkmann  <marcus.brinkmann@ruhr-uni-bochum.de>

	gpgconf: Add more comments.
	+ commit 91e47d71652bd0f83b51089c343c3c4836bdfa8a
	* src/engine-gpgconf.c (gpgconf_config_dir_cb, gpgconf_conf_dir):
	Add comments.

2017-08-23  Marcus Brinkmann  <marcus.brinkmann@ruhr-uni-bochum.de>

	Fix a couple of bugs pointed out by clang compiler warnings.
	+ commit bfb3a01a0c55aa327dcab061fa808672362cb09d
	* src/engine-gpgconf.c (gpgconf_config_dir_cb): Fix cast.
	* src/key.c (_gpgme_key_add_sig): Fix pointer reference.

2017-08-21  Alon Bar-Lev  <alon.barlev@gmail.com>

	python: Support parallel build in tests.
	+ commit 57c12593082e4ad302041269f1c35f2fe7d2fb1a
	* lang/python/tests/Makefile.am: Depend xcheck with all which was lost
	due to the check hack.

2017-08-21  Justus Winter  <justus@g10code.com>

	python: Improve keylist test.
	+ commit 70c8be9efe8de40bec0f0673589f3c9be7136674
	* lang/python/tests/t-keylist.py: Check a keylist matching no keys.

2017-08-16  Marcus Brinkmann  <marcus.brinkmann@ruhr-uni-bochum.de>

	doc: Add version information.
	+ commit b9b08e46934eea9083afb2eaf4bffa23d6c27801
	* doc/gpgme.texi (since): New macro.  Use it to add version
	information to those APIs that are mentioned in the NEWS file.

	doc: Clarify import keys operation further.
	+ commit 0ee7f4f178284dae153a59be710bc994820369e5
	* doc/gpgme.texi (gpgme_op_import_keys): Further clarifications.

	gpgconf: Fix some warnings.
	+ commit 3244d4daff892d5d3c39e78f4eb0934379beda2c
	* tests/gpg/t-gpgconf.c (main): Fix warnings.
	* src/engine-gpgconf.c (struct gpgconf_config_dir_s): New struct.
	(gpgconf_config_dir_cb, gpgconf_conf_dir) Use it to fix warning.

	gpgconf: Fix symbol export.
	+ commit 97a1abe72e73f85bbf922fa588d002a226db5459
	* gpgme.def: Fix last change.
	(gpgme_op_conf_save): Replace duplicate from c&p ...
	(gpgme_op_conf_dir): ... with this.

2017-08-15  Marcus Brinkmann  <marcus.brinkmann@ruhr-uni-bochum.de>

	NEWS: Add missing entry.
	+ commit fa3918598de35fef0bf626035d59ea36c53832b9


	gpgconf: Add access to --list-dirs for non-default engine.
	+ commit 9f24e6c9010e171fd11c5cdac797cb8ce2e501dd
	* src/engine-assuan.c (_gpgme_engine_ops_assuan): Add conf_dir.
	* src/engine-g13.c (_gpgme_engine_ops_g13): Likewise.
	* src/engine-gpg.c (_gpgme_engine_ops_gpg): Likewise.
	* src/engine-gpgsm.c (_gpgme_engine_ops_gpgsm): Likewise.
	* src/engine-spawn.c (_gpgme_engine_ops_spawn): Likewise.
	* src/engine-uiserver.c (_gpgme_engine_ops_uiserver): Likewise.
	* src/engine-backend.h (struct engine_ops): Likewise.
	* src/engine-gpgconf.c (gpgconf_config_dir_cb, gpgconf_conf_dir):
	New functions.
	(struct engine_ops): Add gpgconf_conf_dir.
	* src/engine.c (_gpgme_engine_op_conf_dir): New function.
	* src/engine.h (_gpgme_engine_op_conf_dir): New prototype.
	* src/gpgconf.c (gpgme_op_conf_dir): New function.
	* src/gpgme.def (gpgme_op_conf_save): New symbol.
	* src/gpgme.h.in (gpgme_op_conf_dir): New prototype.
	* src/libgpgme.vers (gpgme_op_conf_dir): New symbol.
	* tests/gpg/t-gpgconf.c (main): Test gpgme_op_conf_dir.

2017-08-11  Marcus Brinkmann  <marcus.brinkmann@ruhr-uni-bochum.de>

	g10: Add new delete operations that allow more flags.
	+ commit a0cc6e01a8900b34cf231d8b5335ef3f85d01fdf
	* NEWS: Document new interfaces.
	* doc/gpgme.texi: Document new interfaces.
	* src/gpgme.h.in (GPGME_DELETE_ALLOW_SECRET, GPGME_DELETE_FORCE,
	gpgme_op_delete_ext_start, gpgme_op_delete_ext): New.
	* src/delete.c (delete_start): Change allow_secret argument to flags.
	(gpgme_op_delete_ext, gpgme_op_delete_ext_start): New functions.
	* src/engine-backend.h (delete): Change allow_secret argument to flags.
	* src/engine.c (_gpgme_engine_op_delete): Likewise.
	* src/engine.h (_gpgme_engine_op_delete): Likewise (for prototype).
	* src/engine-gpgsm.c (gpgsm_delete): Likewise.
	* src/engine-gpg.c (gpg_delete): Likewise.  Implement GPGME_DELETE_FORCE.
	* src/gpgme.def (gpgme_op_delete_ext, gpgme_op_delete_ext_start): New.
	* src/libgpgme.vers (gpgme_op_delete_ext, gpgme_op_delete_ext_start): New.

2017-08-10  Marcus Brinkmann  <marcus.brinkmann@ruhr-uni-bochum.de>

	doc: Clarify import keys operation.
	+ commit dfb3ca85680534b3885ab04d3fba4752c5a6f998
	* doc/gpgme.texi (gpgme_op_import_start): Fix grammar.
	(gpgme_op_import_keys): Clarify some wording and fix result.
	* src/import.c (gpgme_op_import_keys): Clarify comment.

	doc: Add more tofu documentation.
	+ commit 274609baceda3378b21f84c3ae6a44806dad2dba
	* doc/gpgme.texi (gpgme_tofu_info_t): Document structure.
	(gpgme_sigsum_t): Document GPGME_SIGSUM_TOFU_CONFLICT.

2017-07-27  Andre Heinecke  <aheinecke@intevation.de>

	core: Fix status parsing for decrypt + verify.
	+ commit d3796e4504a2b4f422de17d78f3acfe8dd199c9c
	* src/decrypt.c (parse_status_error): Don't modify args.

2017-07-26  Andre Heinecke  <aheinecke@intevation.de>

	cpp: Fix Key::isDeVs for subkeys.
	+ commit c7be41a5f850addceb2a95444bad2a31cdcd1ce5
	* lang/cpp/src/key.cpp (Key::isDeVs): Check all subkeys.

2017-07-13  Justus Winter  <justus@g10code.com>

	tests: Fix distcheck.
	+ commit 7fde780cc1773c6d3902d4f49a8d4aadbf3223d4
	* tests/start-stop-agent: Remove backup file.

	tests: Make agent spawning more robust.
	+ commit 9cd2b58dfb2c21cce64520cf4c726859b583d14e
	* tests/gpgsm/Makefile.am (gpgsm.conf): Add agent-program directive.
	* tests/start-stop-agent: Update agent-program directive.

2017-07-12  Werner Koch  <wk@gnupg.org>

	tests: Fix printf compiler warning for an error case.
	+ commit 46d2e48105e0929ec38dd4106004dd60d941df9a
	* tests/gpg/t-keylist.c (main): Cast DIM to int.

	core: Return NO_SECKEY error code on decryption.
	+ commit ad0c5ab4cd8d3a1b11b37dc137b75a67aa26da37
	* src/decrypt.c (op_data_t): Add flag any_no_seckey.
	(_gpgme_decrypt_status_handler): Consult that flag.
	(_gpgme_decrypt_status_handler): Set that flag.

	core: Return CANCELED and BAD_PASSPHRASE error code on decryption.
	+ commit d37bc7e025cdc6228da45b2b527e9f3bfef71c71
	* src/decrypt.c (op_data_t): Add field pkdecrypt_failed.
	(_gpgme_decrypt_status_handler): Consult new field.
	(parse_status_error): Handle some error codes.

	core: Simplify parsing of STATUS_ERROR in decrypt.c.
	+ commit 87703dbb86ac8fd8abd23170f8038ea6e3dbde28
	* src/decrypt.c (_gpgme_decrypt_status_handler): Factor some code out
	to ...
	(parse_status_error): new.  Modernize parsing.

2017-07-11  Justus Winter  <justus@g10code.com>

	python: Improve error handling.
	+ commit 1e68f93dc547ae75b921e43db35e3599de92e2cb
	* NEWS: Update.
	* lang/python/src/core.py (Context.__read__): New helper function.
	(Context.encrypt): Attach partial results to exceptions.
	(Context.decrypt): Likewise.
	(Context.sign): Likewise.
	(Context.verify): Likewise.
	* lang/python/src/errors.py (GpgError): Move the core of GPGMEError to
	this class, add a nicer interface for it.  This makes the errors
	thrown by this library more uniform, and allows us to track the
	underlying error in synthesized high-level errors.
	(GPGMEError): Simplify.
	(...): Make sure to call the parent classes' constructor in all other
	classes.

2017-07-10  Andre Heinecke  <aheinecke@intevation.de>

	Add isDeVs to ostream operator.
	+ commit fe79eb8de3dc780eafb38a0a0a016748e764ff04
	* lang/cpp/src/decryptionresult.cpp,
	lang/cpp/src/verificationresult.cpp: Extend ostream operator
	to include isDeVs.

2017-06-12  Andre Heinecke  <aheinecke@intevation.de>

	cpp: Fix CMake config library name for GPGME.
	+ commit 5c53c702605b8d4458a14e6303cdc13f3b106efa
	* lang/cpp/src/GpgmeppConfig.cmake.in.in: The link library
	is of course also dynamic.

2017-06-01  Justus Winter  <justus@g10code.com>

	Add flag 'is_de_vs' to decryption results and signatures.
	+ commit 05fa2a9c7764b28fdac35eb72631439df948ca0e
	* NEWS: Update.
	* lang/cpp/src/decryptionresult.cpp (DecryptionResult::isDeVs): New
	function.
	* lang/cpp/src/decryptionresult.h (DecryptionResult::isDeVs): New
	prototype.
	* lang/cpp/src/verificationresult.cpp (Signature::isDeVs): New
	function.
	* lang/cpp/src/verificationresult.h (Signature::isDeVs): New
	prototype.
	* lang/python/src/results.py (DecryptResult): Turn field 'is_de_vs'
	into a boolean.
	(Signature): Likewise.
	* src/decrypt.c (_gpgme_decrypt_status_handler): Handle the new
	compliance status line.
	* src/verify.c (_gpgme_verify_status_handler): Likewise.
	* src/gpgme.h.in (gpgme_status_code_t): Add new status codes for the
	new status lines.
	* src/keylist.c (parse_pub_field18): Move function to 'util.h'.
	(keylist_colon_handler): Adapt callsites.
	* src/status-table.c (status_table): Add new status lines.
	* src/util.h (PARSE_COMPLIANCE_FLAGS): New macro.  This used to be
	'parse_pub_field18', but turned into a macro to make it polymorphic.

2017-05-18  Justus Winter  <justus@g10code.com>

	python: Fix build in certain cases.
	+ commit 84a203e60b9935bd8536cd2832fbc55d7f011341
	* lang/python/setup.py.in: Prepend the Python build dir to the list of
	include directories so that it takes precedence over any other include
	directory.

2017-05-10  Justus Winter  <justus@g10code.com>

	tests: Remove remnants of 'check-local'.
	+ commit a9b4c0ad0d1085ff76742e44cf0cf926e89d1f4c
	* tests/gpgsm/Makefile.am (check-local): Drop rule and the dependency
	on it.

	python: Fix test environment creation.
	+ commit 6b4dd3b929ac23271bfa96edb9dbb142eca0a30f
	* lang/python/tests/Makefile.am (pubring-stamp): Do not depend on the
	configuration files, this can trigger superfluous rebuilds.

	tests: Make sure to kill all previously running daemons.
	+ commit a226eca84670ef4e171c3a54e7caefb3a89254a4
	* lang/python/tests/Makefile.am: Kill all previously running daemons
	before creating the private key store.
	* lang/qt/tests/Makefile.am: Likewise.
	* tests/gpg/Makefile.am: Likewise.
	* tests/gpgsm/Makefile.am: Likewise.

	tests: Harmonize test suites.
	+ commit 15adff073bb89dc032d8342cfbbdad2850943f52
	* lang/python/tests/Makefile.am: Create test environment as part of
	'make all'.
	* tests/gpg/Makefile.am: Make sure the private keystore is created
	first.
	* tests/gpgsm/Makefile.am: Create test environment as part of
	'make all'.  Make sure the private keystore is created
	first.

	qt: Stop agent on clean.
	+ commit 093b5497b7231590ce91ccf73ba64ebc0757f9e9
	* lang/qt/tests/Makefile.am (clean-local): Stop agent.

2017-05-10  Andre Heinecke  <aheinecke@intevation.de>

	qt: Add a missing include <functional>
	+ commit 5e27bf98b4c48cf6a239bcc94b7b67515ff339e7
	* lang/qt/src/qgpgmenewcryptoconfig.cpp: Include functional.

	qt: Undeprecate API that I find useful.
	+ commit cc2ef3d07c0d261bb9e8e8c0f2706e1a08e4ec53
	* lang/qt/src/decryptjob.h,
	lang/qt/src/decryptverifyjob.h,
	lang/qt/src/signencryptjob.h,
	lang/qt/src/verifydetachedjob.h,
	lang/qt/src/verifyopaquejob.h: Undeprecate ByteArray based API.

	qt, tests: Don't use internal API.
	+ commit b56f398eff4e3e70dea714c3174a5512dd9bcf33
	* lang/qt/tests/t-encrypt.cpp, lang/qt/tests/t-tofuinfo.cpp:
	Only use exported API.

2017-05-03  Andre Heinecke  <aheinecke@intevation.de>

	core: Don't split gpgconf strings on comma.
	+ commit df4eb611e33dcab7bebf07b13734c7db7ccf40da
	* src/engine-gpgconf.c (gpgconf_parse_option): Don't split
	strings on comma.

2017-04-25  Andre Heinecke  <aheinecke@intevation.de>

	qt, cpp: Add additional copyright BSI notes.
	+ commit 28734240e2a2ce67b64df55364f35e1648376311
	* lang/cpp/Makefile.am,
	lang/cpp/src/Makefile.am,
	lang/cpp/src/callbacks.cpp,
	lang/cpp/src/callbacks.h,
	lang/cpp/src/configuration.cpp,
	lang/cpp/src/configuration.h,
	lang/cpp/src/context_glib.cpp,
	lang/cpp/src/context_p.h,
	lang/cpp/src/context_qt.cpp,
	lang/cpp/src/context_vanilla.cpp,
	lang/cpp/src/data_p.h,
	lang/cpp/src/decryptionresult.cpp,
	lang/cpp/src/decryptionresult.h,
	lang/cpp/src/defaultassuantransaction.cpp,
	lang/cpp/src/defaultassuantransaction.h,
	lang/cpp/src/editinteractor.cpp,
	lang/cpp/src/editinteractor.h,
	lang/cpp/src/encryptionresult.cpp,
	lang/cpp/src/encryptionresult.h,
	lang/cpp/src/engineinfo.cpp,
	lang/cpp/src/engineinfo.h,
	lang/cpp/src/error.h,
	lang/cpp/src/eventloopinteractor.cpp,
	lang/cpp/src/eventloopinteractor.h,
	lang/cpp/src/exception.cpp,
	lang/cpp/src/exception.h,
	lang/cpp/src/global.h,
	lang/cpp/src/gpgadduserideditinteractor.cpp,
	lang/cpp/src/gpgadduserideditinteractor.h,
	lang/cpp/src/gpgagentgetinfoassuantransaction.cpp,
	lang/cpp/src/gpgagentgetinfoassuantransaction.h,
	lang/cpp/src/gpgmefw.h,
	lang/cpp/src/gpgsetexpirytimeeditinteractor.cpp,
	lang/cpp/src/gpgsetexpirytimeeditinteractor.h,
	lang/cpp/src/gpgsetownertrusteditinteractor.cpp,
	lang/cpp/src/gpgsetownertrusteditinteractor.h,
	lang/cpp/src/gpgsignkeyeditinteractor.cpp,
	lang/cpp/src/gpgsignkeyeditinteractor.h,
	lang/cpp/src/importresult.cpp,
	lang/cpp/src/importresult.h,
	lang/cpp/src/interfaces/assuantransaction.h,
	lang/cpp/src/interfaces/dataprovider.h,
	lang/cpp/src/interfaces/passphraseprovider.h,
	lang/cpp/src/interfaces/progressprovider.h,
	lang/cpp/src/keygenerationresult.cpp,
	lang/cpp/src/keygenerationresult.h,
	lang/cpp/src/keylistresult.cpp,
	lang/cpp/src/keylistresult.h,
	lang/cpp/src/notation.h,
	lang/cpp/src/result.h,
	lang/cpp/src/result_p.h,
	lang/cpp/src/scdgetinfoassuantransaction.cpp,
	lang/cpp/src/scdgetinfoassuantransaction.h,
	lang/cpp/src/signingresult.cpp,
	lang/cpp/src/signingresult.h,
	lang/cpp/src/trustitem.cpp,
	lang/cpp/src/trustitem.h,
	lang/cpp/src/util.h,
	lang/cpp/src/verificationresult.cpp,
	lang/cpp/src/verificationresult.h,
	lang/cpp/src/vfsmountresult.cpp,
	lang/qt/Makefile.am,
	lang/qt/doc/Makefile.am,
	lang/qt/src/Makefile.am,
	lang/qt/src/defaultkeygenerationjob.h,
	lang/qt/tests/Makefile.am: Add missing copyright.

	Change copyright from Intevation to BSI.
	+ commit 70035834326d0d04a5904ae01bc3757e577facf4
	* lang/cpp/src/gpggencardkeyinteractor.cpp,
	lang/cpp/src/gpggencardkeyinteractor.h,
	lang/cpp/src/gpgmepp_export.h,
	lang/cpp/src/swdbresult.cpp,
	lang/cpp/src/swdbresult.h,
	lang/cpp/src/tofuinfo.cpp,
	lang/cpp/src/tofuinfo.h,
	lang/qt/src/abstractimportjob.h,
	lang/qt/src/adduseridjob.h,
	lang/qt/src/changeexpiryjob.h,
	lang/qt/src/changeownertrustjob.h,
	lang/qt/src/changepasswdjob.h,
	lang/qt/src/cryptoconfig.cpp,
	lang/qt/src/cryptoconfig.h,
	lang/qt/src/dataprovider.cpp,
	lang/qt/src/dataprovider.h,
	lang/qt/src/decryptjob.h,
	lang/qt/src/decryptverifyjob.h,
	lang/qt/src/deletejob.h,
	lang/qt/src/dn.cpp,
	lang/qt/src/dn.h,
	lang/qt/src/downloadjob.h,
	lang/qt/src/encryptjob.h,
	lang/qt/src/exportjob.h,
	lang/qt/src/hierarchicalkeylistjob.h,
	lang/qt/src/importfromkeyserverjob.h,
	lang/qt/src/importjob.h,
	lang/qt/src/job.cpp,
	lang/qt/src/job.h,
	lang/qt/src/keyformailboxjob.h,
	lang/qt/src/keygenerationjob.h,
	lang/qt/src/keylistjob.h,
	lang/qt/src/listallkeysjob.h,
	lang/qt/src/multideletejob.h,
	lang/qt/src/protocol.h,
	lang/qt/src/protocol_p.h,
	lang/qt/src/qgpgme_export.h,
	lang/qt/src/qgpgmeadduseridjob.cpp,
	lang/qt/src/qgpgmeadduseridjob.h,
	lang/qt/src/qgpgmebackend.cpp,
	lang/qt/src/qgpgmebackend.h,
	lang/qt/src/qgpgmechangeexpiryjob.cpp,
	lang/qt/src/qgpgmechangeexpiryjob.h,
	lang/qt/src/qgpgmechangeownertrustjob.cpp,
	lang/qt/src/qgpgmechangeownertrustjob.h,
	lang/qt/src/qgpgmechangepasswdjob.cpp,
	lang/qt/src/qgpgmechangepasswdjob.h,
	lang/qt/src/qgpgmedecryptjob.cpp,
	lang/qt/src/qgpgmedecryptjob.h,
	lang/qt/src/qgpgmedecryptverifyjob.cpp,
	lang/qt/src/qgpgmedecryptverifyjob.h,
	lang/qt/src/qgpgmedeletejob.cpp,
	lang/qt/src/qgpgmedeletejob.h,
	lang/qt/src/qgpgmedownloadjob.cpp,
	lang/qt/src/qgpgmedownloadjob.h,
	lang/qt/src/qgpgmeencryptjob.cpp,
	lang/qt/src/qgpgmeencryptjob.h,
	lang/qt/src/qgpgmeexportjob.cpp,
	lang/qt/src/qgpgmeexportjob.h,
	lang/qt/src/qgpgmeimportfromkeyserverjob.cpp,
	lang/qt/src/qgpgmeimportfromkeyserverjob.h,
	lang/qt/src/qgpgmeimportjob.cpp,
	lang/qt/src/qgpgmeimportjob.h,
	lang/qt/src/qgpgmekeyformailboxjob.cpp,
	lang/qt/src/qgpgmekeyformailboxjob.h,
	lang/qt/src/qgpgmekeygenerationjob.cpp,
	lang/qt/src/qgpgmekeygenerationjob.h,
	lang/qt/src/qgpgmekeylistjob.cpp,
	lang/qt/src/qgpgmekeylistjob.h,
	lang/qt/src/qgpgmelistallkeysjob.cpp,
	lang/qt/src/qgpgmelistallkeysjob.h,
	lang/qt/src/qgpgmenewcryptoconfig.cpp,
	lang/qt/src/qgpgmenewcryptoconfig.h,
	lang/qt/src/qgpgmerefreshkeysjob.cpp,
	lang/qt/src/qgpgmerefreshkeysjob.h,
	lang/qt/src/qgpgmesecretkeyexportjob.cpp,
	lang/qt/src/qgpgmesecretkeyexportjob.h,
	lang/qt/src/qgpgmesignencryptjob.cpp,
	lang/qt/src/qgpgmesignencryptjob.h,
	lang/qt/src/qgpgmesignjob.cpp,
	lang/qt/src/qgpgmesignjob.h,
	lang/qt/src/qgpgmesignkeyjob.cpp,
	lang/qt/src/qgpgmesignkeyjob.h,
	lang/qt/src/qgpgmetofupolicyjob.cpp,
	lang/qt/src/qgpgmetofupolicyjob.h,
	lang/qt/src/qgpgmeverifydetachedjob.cpp,
	lang/qt/src/qgpgmeverifydetachedjob.h,
	lang/qt/src/qgpgmeverifyopaquejob.cpp,
	lang/qt/src/qgpgmeverifyopaquejob.h,
	lang/qt/src/qgpgmewkspublishjob.cpp,
	lang/qt/src/qgpgmewkspublishjob.h,
	lang/qt/src/refreshkeysjob.h,
	lang/qt/src/signencryptjob.h,
	lang/qt/src/signjob.h,
	lang/qt/src/signkeyjob.h,
	lang/qt/src/specialjob.h,
	lang/qt/src/threadedjobmixin.cpp,
	lang/qt/src/threadedjobmixin.h,
	lang/qt/src/tofupolicyjob.h,
	lang/qt/src/verifydetachedjob.h,
	lang/qt/src/verifyopaquejob.h,
	lang/qt/src/wkspublishjob.h,
	lang/qt/tests/run-keyformailboxjob.cpp,
	lang/qt/tests/t-config.cpp,
	lang/qt/tests/t-encrypt.cpp,
	lang/qt/tests/t-keylist.cpp,
	lang/qt/tests/t-keylocate.cpp,
	lang/qt/tests/t-ownertrust.cpp,
	lang/qt/tests/t-support.cpp,
	lang/qt/tests/t-support.h,
	lang/qt/tests/t-tofuinfo.cpp,
	lang/qt/tests/t-various.cpp,
	lang/qt/tests/t-verify.cpp,
	lang/qt/tests/t-wkspublish.cpp,
	tests/gpg/t-encrypt-mixed.c,
	tests/gpg/t-thread-keylist-verify.c,
	tests/gpg/t-thread-keylist.c,
	tests/run-decrypt.c: Change Intevation GmbH copyright to BSI.

2017-04-24  Andre Heinecke  <aheinecke@intevation.de>

	doc: Improve doc on passphrase_cb / pinentry mode.
	+ commit 8d61aba1fe0379ba14494f8ae2011ba531554ef4
	* doc/gpgme.texi (Passphrase Callback): Mention pinentry_mode and
	restrictions.
	(Pinentry Mode): Fix wording and clarify versions that need
	loopback mode for passphrase_cb to work.

2017-04-24  Justus Winter  <justus@g10code.com>

	tests: Update encrypted sample files.
	+ commit ac28e66f46132ae4a854d04b2f17acd4d55e4296
	* tests/gpg/cipher-1.asc: Update file.
	* tests/gpg/cipher-2.asc: Likewise.

2017-04-11  Justus Winter  <justus@g10code.com>

	python: Skip TOFU test if not supported by GnuPG.
	+ commit 979d48e823357af9999a2adb34d75adaade8dec2
	* lang/python/tests/support.py (have_tofu_support): New function.
	* lang/python/tests/t-quick-key-manipulation.py: Skip TOFU test if not
	supported by GnuPG.

2017-04-11  Alon Bar-Lev  <alon.barlev@gmail.com>

	python: use autoconf pre-processor when building via autoconf.
	+ commit a827382cafe7f1425455dcc8bf5ef049172eb493
	* configure.ac: Add AC_PROG_CPP.
	* lang/python/Makefile.am: Set CPP environment for setup.py to use.

	python: fix run-tests missing python_libdir.
	+ commit d785c053a982bddefd7014dc6856d1af345fe9fb
	* lang/python/tests/run-tests.py: Set python_libdir if --python-libdir
	is set.

2017-04-10  Justus Winter  <justus@g10code.com>

	python: Fix distcheck.
	+ commit db476e923415f8e458720aaafde7234b802a33ab
	* lang/python/Makefile.am (uninstall-local): Explicitly request the
	scheme 'posix_prefix'.  On Python2.7 the default scheme is
	'posix_local', breaking distcheck.

2017-04-10  Alon Bar-Lev  <alon.barlev@gmail.com>

	python: Support alternatate libdir for tests.
	+ commit 3cc90b67fa970e716c8672ec5c5f591fa11ab216
	* lang/python/tests/run-tests.py: Add --python-libdir optional
	parameter.

	python: Read gpg-error.h using the pre-processor.
	+ commit 7309ce6f5f7c86570953a141965d4f54cd9ad9a0
	* lang/python/setup.py.in: Read gpg-error.h using the pre-processor.

	python: Remove unneeded stats copy.
	+ commit df8433bffa9e669897243f08edf7845762250e4a
	* lang/python/setup.py.in: errors.i, gpgme.h are generated and always
	newer than the original.

	python: Remove usage of PYTHON_VERSIONS.
	+ commit 25e6444b3f4601c7821beab06bc4520deacb007b
	* configure.ac: Remove PYTHON_VERSIONS subst.
	* lang/python/Makefile.am: Use basename of python as builddir prefix.
	* lang/python/tests/run-tests.py: Likewise.

	tests: Do not use check-local magic as dependency.
	+ commit ebefc6cbf937d14ced65f7ded79c4ba901507d23
	* tests/gpg/Makefile.am: Use BUILT_SOURCES instead of check-local
	and initial.test.
	* lang/qt/tests/Makefile.am: Ditto.

	python: support .pydistutils.cfg mode.
	+ commit 365c649ad073f2697438dc014160943ae31a1447
	* lang/python/setup.py.in: Do not parse arguments.

2017-04-07  Alon Bar-Lev  <alon.barlev@gmail.com>

	python: simplify build, some fixups.
	+ commit 49195c487e6c923f7137f092b982e7d833d98de6
	* lang/python/gpg/version.py.in: Rename to lang/python/version.py.in.
	configure.ac: Generate version.py.in in lang/python.
	* lang/python/MANIFEST.in: Include version.py explicitly.
	* lang/python/gpg: Rename to 'src'.
	* lang/python/Makefile.am: Do not copy source files, do not use absolute
	directories, support lib64 in uninstall, clean also dist directory, use
	symlink for gpg src.
	* lang/python/setup.py.in: Use builddir, copy sources into builddir,
	copy version.py into module.

2017-04-05  Justus Winter  <justus@g10code.com>

	python: Fix vpath builds, fix distcheck.
	+ commit e7d9c0c3d773f826dbd2ed417d04e25c410f3374
	* lang/python/gpgme-h-clean.py: Delete file.
	* lang/python/MANIFEST.in: Adapt accordingly.
	* lang/python/Makefile.am (EXTRA_DIST): Likewise.
	(COPY_FILES_GPG): Bring variable back.
	(copystamp): Copy files.
	(clean-local): Delete copied files.
	(install-exec-local): Do not create and install list of installed
	files.
	(uninstall-local): Instead, create some explicit rules to uninstall
	the extension.
	* lang/python/setup.py.in: Parse arguments.  Locate files either in
	the source directory, or in the build base directory.  Inline the code
	from 'gpgme-h-clean.py'.  Copy 'helpers.c', add source directory as
	include directory.

2017-04-05  Alon Bar-Lev  <alon.barlev@gmail.com>

	python: Generate files into build directory.
	+ commit 801d7d8c5dd530d26ad6c4bcc94d986e6e022da4
	* lang/python/setup.py.in: Generate files within BuildExtFirstHack
	adjust build flags at this point instead of global.
	* lang/python/Makefile.am: Remove logic of separate source directory per
	python version in favor of build directory.
	* lang/python/tests/run-tests.py: Adjust build directory location.

2017-04-03  Pietro Cerutti  <gahr@gahr.ch>

	FreeBSD's closefrom(2) does not return errors.
	+ commit 50565982cdd502c3852fcc6f598932bd32b5cdc3


2017-04-03  Igor Gnatenko  <ignatenkobrain@fedoraproject.org>

	qt: pass fmt to gpgrt_asprintf()
	+ commit 5d4f977dac542340c877fdd4b1304fa8f6e058e6
	* lang/qt/src/dn.cpp (parse_dn_part): Add fmt argument instead of
	using name directly.

	GnuPG-Bug-Id: 3023

2017-03-30  Andre Heinecke  <aheinecke@intevation.de>

	python: Don't treat skipped tests as error.
	+ commit f8a9ecc6290ebd73fa36647cdfca285fe4d94a62
	* lang/python/tests/run-tests.py (failed): Don't count skipped tests
	for the return code.

2017-03-30  Justus Winter  <justus@g10code.com>

	python: Fix skipping tests if running with GnuPG < 2.1.12.
	+ commit 159505a28864399cc5405d9f85f35ab011a3259e
	* final.py: Import 'support.py' for the side-effect of checking the
	GnuPG version.
	* t-data.py: Likewise.
	* t-protocol-assuan.py: Likewise.
	* t-wrapper.py: Likewise.
	* t-callbacks.py: Avoid warning about 'support' being unused.
	* t-edit.py: Likewise.
	* t-encrypt-sym.py: Likewise.
	* t-file-name.py: Likewise.
	* t-idiomatic.py: Likewise.
	* t-sig-notation.py: Likewise.
	* t-trustlist.py: Likewise.
	* t-verify.py: Likewise.
	* t-wait.py: Likewise.
	* t-keylist-from-data.py: Trim unused imports.

2017-03-30  Andre Heinecke  <aheinecke@intevation.de>

	qt: Handle if gpg does not support tofu in test.
	+ commit 2c063a8d60418ee59ae80da221420c6f3fa19abb
	* lang/qt/src/t-tofuinfo.cpp (TestTofuInfo::testSupported): Treat
	it as unsupported if secret keylisting already fails.

2017-03-29  Alon Bar-Lev  <alon.barlev@gmail.com>

	python,build: Reinstate prepare target.
	+ commit 9786e3a96e6772166f3523e74a748b9db20fae7c
	* lang/python/Makefile.am: Fix 'prepare' target.
	* lang/python/setup.py.in: Use 'abs_top_builddir' instead of guessing
	the path.

2017-03-28  Justus Winter  <justus@g10code.com>

	tests: Run the threading tests only on UNIX.
	+ commit 7e9f7752c992f957ccfde3b274865c633096e3bb
	* tests/gpg/Makefile.am (tests_unix): Add 't-thread-keylist' and
	't-thread-keylist-verify'.
	(c_tests): Drop them here.

	tests: Make error message more helpful.
	+ commit a13e4abe9463579ef23d1acea39a093abfc6528d
	* tests/gpg/t-keylist.c (main): Print number of returned and expected
	keys.

2017-03-28  Werner Koch  <wk@gnupg.org>

	Release 1.9.0.
	+ commit aa0390ec3b910bbbc323a15ec3c3351e77785a9a
	* configure.ac <c>: Bump LT version to C29/A18/R0.
	<cpp>: Bump LT version to C10/A4/R0.
	<qt>: Bump LT version to C9/A2/R0.

2017-03-28  Andre Heinecke  <aheinecke@intevation.de>

	Revert "qt: Disable testEncryptDecryptNowrap"
	+ commit a2ccb3172896a90bc27c95964ef94bd7c0924802
	This reverts commit 57d60b20f16dd5f1bccbbcaa0a6ed75a554a6414.

2017-03-28  Werner Koch  <wk@gnupg.org>

	core: Prepare for new key listing data send by gpg.
	+ commit 813ae5fa2d712aa9679b791c67c9c1c43d36ffe4
	* src/gpgme.h.in (gpgme_user_id_t): New fields 'origin' and
	'last_update'.
	(gpgme_key_t): New fields 'origin' and 'last_update'.
	* src/conversion.c (_gpgme_parse_timestamp_ul): New.
	* src/keylist.c (keylist_colon_handler): Parse fields 19 and 20.

	* tests/run-keylist.c (main): Print new fields.

2017-03-27  Andre Heinecke  <aheinecke@intevation.de>

	qt: Disable testEncryptDecryptNowrap.
	+ commit 57d60b20f16dd5f1bccbbcaa0a6ed75a554a6414
	* lang/qt/tests/t-encrypt.cpp (EncryptTest::testEncryptDecryptNowrap):
	Disable test.

2017-03-27  Justus Winter  <justus@g10code.com>

	python: Skip tests if running with GnuPG < 2.1.12.
	+ commit 348da58fe0c3656e6177c98fef6b4c4331326c8e
	* lang/python/tests/support.py (assert_gpg_version): Fix error
	message.  Skip all tests when we use GnuPG older than 2.1.12.

2017-03-24  Andre Heinecke  <aheinecke@intevation.de>

	cpp: Respect decrypt flags in new functions.
	+ commit 18b7906078cf08962c54c1e711cf2d91a24fd4e5
	* lang/cpp/src/context.cpp: Respect directly provided flags
	in the new decrypt functions.

	qt: Add unittest for decrypt unwrap.
	+ commit 5493164f8665fabf795f3b34a7084770a38ae940
	* lang/qt/tests/t-encrypt.cpp
	(EncryptTest::testEncryptDecryptNowrap): New.

	cpp: Use gpgme_op_decrypt_ex and add new flags.
	+ commit 8ad37ecc297f208d0a63783c1ffae33ad4c3c81a
	* lang/cpp/src/context.cpp: New decrypt and decryptVerify functions
	that take flags as arguments. Use new variants in old functions.
	(Context::setDecryptionFlags): New helper.
	(Context::Private::Private): Initialize new member.
	* lang/cpp/src/context_p.h (Context::Private::decryptFlags): New.
	* lang/cpp/src/context.h (Context::DecryptFlags): New enum.
	(Context::EncryptionFlags): Extend for EncryptWrap.

2017-03-24  Werner Koch  <wk@gnupg.org>

	core: New flags GPGME_DECRYPT_UNWRAP and GPGME_ENCRYPT_WRAP.
	+ commit 6ac1f2cdedb085b4ac9372c1e591497e2e618de4
	* src/gpgme.h.in (GPGME_ENCRYPT_WRAP): New const.
	(gpgme_decrypt_flags_t): New enum.
	(GPGME_DECRYPT_VERIFY): New const
	(GPGME_DECRYPT_UNWRAP): New const
	(gpgme_op_decrypt_ext_start): New func.
	(gpgme_op_decrypt_ext): New func.
	* src/decrypt-verify.c (gpgme_op_decrypt_ext_start): New.
	(gpgme_op_decrypt_ext): New.
	(decrypt_verify_start): Add arg FLAGS.  Replace call to
	engine_op_decrypt_verify by the plain decrypt with the flag set.
	(gpgme_op_decrypt_verify_start): Pass the flag.
	(gpgme_op_decrypt_verify): Pass the flag.
	* src/decrypt.c (decrypt_start): Rename to ...
	(_gpgme_decrypt_start): this.  Add arg FLAGS.  Pass FLAGS to
	engine_op_decrypt.
	(gpgme_op_decrypt_start): Adjust for chnage pass 0 for FLAG.
	(gpgme_op_decrypt_start): Ditto.
	* src/engine.c (_gpgme_engine_op_decrypt_verify): Remove.
	(_gpgme_engine_op_decrypt): Add arg FLAGS.
	* src/gpgme.def, src/libgpgme.vers: Add new functions.
	* src/engine-backend.h (struct engine_ops): Remove member
	'decrypt_verify'.  Add FLAGS to 'decrypt'.  Adjust all initialization.
	* src/engine-uiserver.c (uiserver_decrypt): Remove.
	(uiserver_decrypt_verify): Remove.
	(_uiserver_decrypt): Rename to ...
	(uiserver_decrypt): this.  Replace arg VERIFY by new arg FLAGS.
	* src/engine-gpg.c (gpg_decrypt): Support GPGME_DECRYPT_UNWRAP.
	(gpg_encrypt): Support GPGME_ENCRYPT_WRAP.

	* tests/run-decrypt.c (main): New option --unwrap.
	* tests/run-encrypt.c (main): New option --wrap.

2017-03-22  Andre Heinecke  <aheinecke@intevation.de>

	qt: Add test for Data::toKeys.
	+ commit 66c334650bd64fdb72c4bd5975e25b8659d320ec
	* lang/qt/tests/t-various.cpp (TestVarious::testKeyFromFile): New.

	cpp: Wrap keylist_from_data.
	+ commit 8ddb42ada46f00d8393f6c2df7d6b79a4a5878f0
	* lang/cpp/data.h, lang/cpp/data.cpp (GpgME::Data::toKeys): New.

	qt: Initialize library first in tests.
	+ commit 121873b821636052c10d9e0bd885eb9013c52096
	* lang/qt/tests/t-support.cpp (QGpgMETest::initTestCase): Initialize
	library.

2017-03-22  Justus Winter  <justus@g10code.com>

	python: Improve Python detection.
	+ commit 104635eb503ec764146731888a6975b4329660fd
	* m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Prefer the generic
	'pythonX' over 'pythonX.Y'.  This way we select the users preferred
	version for both flavors.  Prefer 'python' over 'python3' but not over
	'python2' so that the algorithm still finds a 'python2' even if
	'python' is a Python3.

2017-03-21  Werner Koch  <wk@gnupg.org>

	core: New API gpgme_op_set_uid_flag.
	+ commit 421ddd1e6706046c5062417fd69a87e10c9fc0a9
	* src/gpgme.h.in (gpgme_op_set_uid_flag_start): New.
	(gpgme_op_set_uid_flag_start): New.
	* src/gpgme.def, src/libgpgme.vers: Add them.
	* src/genkey.c (addrevuid_start): Change arg revoke to a flag.
	(gpgme_op_revuid_start): Pass GENKEY_EXTRAFLAG_REVOKE for the fomer
	revoke parameter.
	(gpgme_op_revuid): Ditto.
	(set_uid_flag): New.
	(gpgme_op_set_uid_flag_start): New.
	(gpgme_op_set_uid_flag): New.
	* src/engine.h (GENKEY_EXTRAFLAG_SETPRIMARY): new.
	* src/engine-gpg.c (gpg_adduid): Implement that flag.

	* tests/run-genkey.c (main): New command --set-primary.

2017-03-21  Justus Winter  <justus@g10code.com>

	python: Wrap 'gpgme_op_keylist_from_data_start'.
	+ commit f3e8d8a4518de2768692e0b392262d0da6d0fd84
	* NEWS: Update.
	* lang/python/gpg/core.py (Context.keylist): New keyword argument
	'source'.  If given, list keys from 'source'.
	* lang/python/gpgme.i: Wrap the argument to
	'gpgme_op_keylist_from_data_start'.
	* lang/python/tests/Makefile.am (py_tests): Add new test.
	* lang/python/tests/support.py (EphemeralContext): Do not throw an
	error if no agent has been started in the context.
	* lang/python/tests/t-keylist-from-data.py: New file.

2017-03-21  Werner Koch  <wk@gnupg.org>

	core: Extend gpgme_get_dirinfo to return the gpg-wks-client name.
	+ commit 55ac5eed9f59081283d34098a9e0ada753d61d59
	* src/dirinfo.c (WANT_GPG_WKS_CLIENT_NAME): New const.
	(struct dirinfo): New field 'gpg_wks_client_name'.
	(get_gpgconf_item): Build it on demand.
	(gpgme_get_dirinfo): New value "gpg-wks-client-name" for WHAT.

	core: New encryption flag GPGME_ENCRYPT_THROW_KEYIDS.
	+ commit fab8b1a166fff7265d8a7a7acbbf5f30d26cc93c
	* src/gpgme.h.in (GPGME_ENCRYPT_THROW_KEYIDS): New flag.
	* src/engine-gpg.c (gpg_encrypt): Implement flag
	(gpg_encrypt_sign): Implement flag.

	* tests/run-encrypt.c (main): New option --throw-keyids.

2017-03-21  Andre Heinecke  <aheinecke@intevation.de>
	    Werner Koch  <wk@gnupg.org>

	core: New public API gpgme_op_keylist_from_data_start.
	+ commit 35023f313622fb1b34108dd934e84831c58b81aa
	* src/gpgme.h.in: New API gpgme_op_keylist_from_data_start.
	* src/libgpgme.vers, src/gpgme.def: Add it.
	* src/keylist.c (gpgme_op_keylist_from_data_start): New.
	* src/engine-backend.h (engine_ops): Add field 'keylist_data'.  Change
	all engines to pass NULL for it.
	* src/engine.c (_gpgme_engine_op_keylist_data): New.
	* src/engine-gpg.c (gpg_keylist_data): New.
	(_gpgme_engine_ops_gpg): Register gpg_keylist_data.

	* tests/run-keylist.c (main): New option --from-file.

2017-03-20  Werner Koch  <wk@gnupg.org>

	core,cpp: New key flag 'is_de_vs'.
	+ commit ea9686ec71a2dd2225ce2b6d6d4038821d36205f
	* src/gpgme.h.in (_gpgme_subkey): New flag is_de_vs.
	* tests/run-keylist.c (main): Print that flag.
	* src/keylist.c (parse_pub_field18): New.
	(keylist_colon_handler): Parse compliance flags.
	* lang/cpp/src/key.cpp (Key::isDeVs): New.
	(Subkey::isDeVs): New.

	* lang/cpp/src/key.h (class Key): New method isDeVs.
	(class Subkey): New method isDeVs.

2017-03-20  Justus Winter  <justus@g10code.com>

	tests: Fix distcheck.
	+ commit 392e51dd1181d035c19918222da65d08fdb2ee6d
	* tests/start-stop-agent: Do not create 'gpg-agent.conf' if it does
	not exist.

	python: Fix version check.
	+ commit 57e64d019d993fdeb4323def5352f8ecc98c6fd9
	* lang/python/tests/support.py (assert_gpg_version): Cope with
	non-released versions.

	tests: Use 'gpg-agent --allow-loopback-pinentry' if applicable.
	+ commit 16b202d9999591b71fb8bb49f6db10ef96d4cbe8
	* lang/python/tests/Makefile.am (gpg-agent.conf): Do not hard-code the
	option.  This breaks gpg-agent from GnuPG 2.0.
	* tests/start-stop-agent: Rather, check if the option is supported and
	add it to the configuration if it is.

	python: Skip tests if GnuPG is too old.
	+ commit e1cf8bab319ba1dea41ba5d711dbb66ffd8e6fd6
	* lang/python/tests/support.py (assert_gpg_version): New function.
	* lang/python/tests/t-callbacks.py: Use the new function to skip the
	test if GnuPG is too old.
	* lang/python/tests/t-edit.py: Likewise.
	* lang/python/tests/t-encrypt-sym.py: Likewise.
	* lang/python/tests/t-quick-key-creation.py: Likewise.
	* lang/python/tests/t-quick-key-manipulation.py: Likewise.
	* lang/python/tests/t-quick-key-signing.py: Likewise.

	python: Remove superfluous initialization.
	+ commit 4572e8d2ac1d3b45e75ce71265c99e591fbf0e28
	* lang/python/tests/support.py (init_gpgme): Remove.  This is an
	remnant from the c tests.  Nowadays, the Python bindings initialize
	GPGME automagically.
	* lang/python/tests/initial.py: Remove call to 'support.init_gpgme'.
	* lang/python/tests/t-callbacks.py: Likewise.
	* lang/python/tests/t-decrypt-verify.py: Likewise.
	* lang/python/tests/t-decrypt.py: Likewise.
	* lang/python/tests/t-edit.py: Likewise.
	* lang/python/tests/t-encrypt-large.py: Likewise.
	* lang/python/tests/t-encrypt-sign.py: Likewise.
	* lang/python/tests/t-encrypt-sym.py: Likewise.
	* lang/python/tests/t-encrypt.py: Likewise.
	* lang/python/tests/t-export.py: Likewise.
	* lang/python/tests/t-file-name.py: Likewise.
	* lang/python/tests/t-idiomatic.py: Likewise.
	* lang/python/tests/t-import.py: Likewise.
	* lang/python/tests/t-keylist.py: Likewise.
	* lang/python/tests/t-sig-notation.py: Likewise.
	* lang/python/tests/t-sign.py: Likewise.
	* lang/python/tests/t-signers.py: Likewise.
	* lang/python/tests/t-trustlist.py: Likewise.
	* lang/python/tests/t-verify.py: Likewise.
	* lang/python/tests/t-wait.py: Likewise.

2017-03-14  Justus Winter  <justus@g10code.com>

	python: Make error message more helpful.
	+ commit 9d6825be092f1590f28b5bab462eeb944d9b800c
	* lang/python/tests/run-tests.py: Make the error message shown when we
	cannot locate the python module in the build tree more helpful.

	python: Make tests more robust.
	+ commit ac4849953860547b06a167ca9612c4de369d02b6
	* lang/python/tests/support.py (TemporaryDirectory): Always use our
	own version even if 'tempfile.TemporaryDirectory' is provided, because
	we need to use 'shutil.rmtree(..., ignore_errors=True)' to avoid it
	tripping over gpg-agent deleting its own sockets.

	python: Improve build system integration.
	+ commit a4201035fdc050f337a6b9f520c8ddbb569e2eb4
	* lang/python/Makefile.am: Use 'set -e' when chaining shell commands
	together in rules.

	build: Improve Python detection.
	+ commit 6a371663886a7ba6073f385a3ab5f5a03de8e008
	* configure.ac: Do not error out too early if we don't find a matching
	Python version.  We handle this case later.

	build: Tune M4 macros for our needs.
	+ commit 5189c08af9468cdeb6f16a6ecd0fee53e1e3aa0e
	* m4/ax_python_devel.m4: Do not emit 'HAVE_PYTHON'.
	* m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add newer Python
	versions, drop older ones.  Also, sort the list with older versions at
	the front, newer and generic versions towards the end.  This makes the
	algorithm pick the lowest version that meets the version requirement.

	build: Add M4 macros for python.
	+ commit 067da472f919e78c95a0a01b68e79a8b7dff173b
	* m4/python.m4: New file.

2017-03-13  Andre Heinecke  <aheinecke@intevation.de>

	qt: Add test for DN parser.
	+ commit 43aa3eed15dcc4f848915ceabeff35c29c1c57e4
	* qt/tests/t-various.cpp (testDN): New.

	qt: Use gpgrt_asprintf instead of qstrdup.
	+ commit 9d5048d47446450a34cae4f27eb81c02ea5d4afc
	* lang/qt/src/dn.cpp (parse_dn_part): Use gpgrt_asprintf instead
	of qstrdup.

2017-03-09  Werner Koch  <wk@gnupg.org>

	core: Fix status error return for gpgsm.
	+ commit d2240a2a1819874929bdab820bcbd3bee7f94407
	* src/engine-gpgsm.c (gpgsm_assuan_simple_command): Make sure CB_ERR
	is returned.
	* src/import.c (parse_import_res): Do not return an error for the last
	field.
	(import_status_handler): Actually return the error from
	parse_import_res.

2017-03-02  Justus Winter  <justus@g10code.com>

	python: Print path of the Python module used during tests.
	+ commit 41398779abbcb1ec2d7491e141469a752fc706ff
	* lang/python/tests/initial.py: Print path of the Python module used
	during tests.  Useful to detect if by any mistake the wrong module is
	picked up.

2017-03-02  Werner Koch  <wk@gnupg.org>

	core: Fix minor code style thing.
	+ commit ef035f079fb067f207e5477d5ed6c5a68fb41f59
	* src/engine-gpg.c (gpg_add_algo_usage_expire): Use double parenthesis
	for bit tests.

2017-03-02  Andre Heinecke  <aheinecke@intevation.de>

	cpp: Add subkey keygrip to API.
	+ commit 8071a6b2ca33c2a46ed1d50ae7283241daaafcd3
	* lang/cpp/src/key.cpp (Subkey::keyGrip): New.
	* lang/cpp/src/key.h: Update accordingly.

2017-03-01  Andre Heinecke  <aheinecke@intevation.de>

	cpp: Add interactor to generate keys on smartcard.
	+ commit d63258066d008de113ed1170f1b0e787a5bdaba1
	* lang/cpp/src/editinteractor.cpp (EditInteractor::needsNoResponse):
	Handle new states.
	* lang/cpp/src/gpggencardkeyinteractor.cpp,
	lang/cpp/src/gpggencardkeyinteractor.h: New.
	* lang/cpp/src/Makefile.am: Update accordingly.

	qt: Allow creation of default keys without name.
	+ commit fbafb5474d8898ba1b267f4b4dfbefe39f04e72f
	* lang/qt/src/defaultkeygenerationjob.cpp
	(DefaultKeyGenerationJob::start): Handle empty name and email.

2017-02-26  Daniel Kahn Gillmor  <dkg@fifthhorseman.net>

	doc: Correct documentation for recp arg of gpgme_op_encrypt_sign_start.
	+ commit 5b49095b89b07591c69827df3973ffabfb3e97b8
	* doc/gpgme.texi (gpgme_op_encrypt_sign_start): recp is an array of
	gpgme_key_t, not a single element.

2017-02-20  Justus Winter  <justus@g10code.com>

	python: Fix test.
	+ commit a7c6353edab57b67180aa127ec77d9353c2366fb
	* lang/python/tests/t-quick-key-manipulation.py: Modify the
	configuration file in the ephemeral home directory, not the one used
	by all the tests.

2017-02-17  Justus Winter  <justus@g10code.com>

	python: Support manipulating the TOFU policy.
	+ commit 15fbac9e72a4d1bff9a3b9e9822f9175b09fbcd5
	* NEWS: Update.
	* doc/gpgme.texi: Fix typos.
	* lang/python/gpg/constants/__init__.py: Import new files.
	* lang/python/gpg/constants/tofu/__init__.py: New file.
	* lang/python/gpg/constants/tofu/policy.py: New file.
	* lang/python/gpg/core.py (Context.key_tofu_policy): New function.
	* lang/python/gpgme.i: Nice reprs for gpgme_tofu_info_t.
	* lang/python/setup.py.in: Install new package.
	* lang/python/tests/t-quick-key-manipulation.py: Extend test.

	python: Support quick key signing.
	+ commit 48634e651fcd02431c0518d42ada1f3b402feb2c
	* NEWS: Update.
	* doc/gpgme.texi (gpgme_op_keysign): Fix the description of the
	'expire' argument.
	* lang/python/gpg/constants/__init__.py: Import new file.
	* lang/python/gpg/constants/keysign.py: New file.
	* lang/python/gpg/core.py (Context.key_sign): New function.
	* lang/python/tests/Makefile.am (py_tests): Add new test.
	* lang/python/tests/t-quick-key-signing.py: New test.

	python: Fix teardown of ephemeral contexts.
	+ commit de8494b16bc50c60a8438f2cae1f8c88e8949f7a
	* lang/python/tests/support.py (EphemeralContext): New function.
	* lang/python/tests/t-quick-key-creation.py: Use the new function to
	manage ephemeral contexts.
	* lang/python/tests/t-quick-key-manipulation.py: Likewise.
	* lang/python/tests/t-quick-subkey-creation.py: Likewise.

	python: Fix using strings as commands in the assuan protocol.
	+ commit 9350168a1eed3f055040d7cc8a9bf4cdf745b23a
	* lang/python/gpg/core.py (Context.assuan_transact): Fix testing
	whether the command is a string on Python2.
	* lang/python/tests/t-protocol-assuan.py: Improve the test to detect
	this problem.

2017-02-16  Justus Winter  <justus@g10code.com>

	python: Support adding and revoking UIDs.
	+ commit 7641b7b5f2c9d5b38c60cd9326bcb4810c37dae5
	* NEWS: Update.
	* lang/python/gpg/core.py (Context.key_add_uid): New function.
	(Context.key_revoke_uid): Likewise.
	* lang/python/tests/Makefile.am (XTESTS): Add new test.
	* lang/python/tests/t-quick-key-manipulation.py: New file.

	python: Support quick subkey creation.
	+ commit 13bace25e3d8422f93fd24919994be36042fd220
	* NEWS: Update.
	* lang/python/gpg/core.py (Context.create_subkey): New function.
	* lang/python/tests/Makefile.am (XTESTS): Add new test.
	* lang/python/tests/t-quick-subkey-creation.py: New file.

	python: Support quick key creation.
	+ commit 476b97822b169c30cc246c1de2ff94cf89084706
	* NEWS: Update.
	* lang/python/gpg/constants/__init__.py: Import new file.
	* lang/python/gpg/constants/create.py: New file.
	* lang/python/gpg/core.py (Context.create_key): New function.
	* lang/python/tests/Makefile.am (XTESTS): Add new test.
	* lang/python/tests/support.py (TemporaryDirectory): New class.
	* lang/python/tests/t-quick-key-creation.py: New file.

	python: Fix passphrase callback wrapping.
	+ commit 3bdce4aa3ddd4a3f55b24678faf978d61daa8909
	* lang/python/helpers.c (pyPassphraseCb): Cope with 'passphrase_info'
	being NULL.

	python: Fix error handling.
	+ commit 048c5f74b61d5e4fa7617ce7c9111c6754bd4409
	* lang/python/gpgme.i (typemap gpgme_key_t[]): Set an error if a
	non-key element is discovered.

2017-02-15  Justus Winter  <justus@g10code.com>

	core: Fix expiration time handling when creating keys.
	+ commit de708e5934cda380dbc3ae51f587c09041de7562
	* NEWS: Update.
	* doc/gpgme.texi (gpgme_op_createkey): Clarify the meaning of the
	'expire' parameter.
	(GPGME_CREATE_NOEXPIRE): Document new flag.
	(gpgme_op_createsubkey): Clarify the meaning of the 'expire'
	parameter.
	* src/engine-gpg.c (gpg_add_algo_usage_expire): Fix handling of the
	expiration time.
	* src/gpgme.h.in (GPGME_CREATE_NOEXPIRE): New macro.

	python: Fix build system integration.
	+ commit 27544d0a74267ab6057dc816ea3311bc9149a200
	* lang/python/Makefile.am (copystamp): Also copy the setup script, and
	link the header files.
	(all-local): Use local setup script.
	(sdist): Fix Python source distribution creation.
	(CLEANFILES): Remove now obsolete files.
	(install-exec-local): Use local setup script.
	* lang/python/setup.py.in: Adjust relative paths to in-tree files.

	python: Update lists of functions returning gpgme_error_t.
	+ commit 25f0435a0022a70af77660d72d33f17bec2d4e51
	* lang/python/gpg/core.py (Context._errorcheck): Add instructions how
	to update the list.  Update list.
	(Data._errorcheck): Likewise.
	(Context.set_engine_info): Simplify.

	core: Fix error types.
	+ commit 6df6e01ed5a581765d245bf7303cda4497d0eb22
	* NEWS: Update.
	* src/data.c (gpgme_data_set_flag): Return a 'gpgme_error_t'.
	* src/error.c (gpgme_strerror_r): Fix type of first argument.
	* src/gpgme.h.in (gpgme_strerror_r): Adapt.
	(gpgme_data_set_flag): Likewise.

2017-02-14  Justus Winter  <justus@g10code.com>

	python: Wrap utility functions.
	+ commit 92adc9bbf640eb5d9177d3ba0189e0f6cee4e995
	* NEWS: Update.
	* lang/python/gpg/core.py (pubkey_algo_string): New function.
	(pubkey_algo_name): Add docstring.
	(hash_algo_name): Likewise.
	(get_protocol_name): Likewise.
	(addrspec_from_uid): New function.
	* lang/python/gpgme.i (gpgme_pubkey_algo_string): Result must be
	freed.
	(gpgme_addrspec_from_uid): Likewise.

	python: Use the correct function to free buffers.
	+ commit 9fc9533c2835ec53c4fd4f822b09e9fec14626d0
	* lang/python/gpgme.i (char *): Free using 'gpgme_free'.

	python: Add keylist mode parameter.
	+ commit fdc4e33dc3f6c84fe9d7bf9795c603ae3cf5f28d
	* NEWS: Update.
	* lang/python/gpg/core.py (Context.keylist): Add 'mode' parameter.

	python: Nicer repr for user ids.
	+ commit e17ab84129045512cf60c221ee43aa877507662f
	* lang/python/gpgme.i (_gpgme_user_id): Provide a nicer repr() for
	user ids.

	python: Add convenience functions for the home directory.
	+ commit 99b7f4f34dd595579181a696ae976a678fe00d49
	* NEWS: Update.
	* lang/python/gpg/core.py (Context.__init__): Add 'home_dir' argument.
	(__repr__): Include 'home_dir'.
	(Context.home_dir): New property.

	qt: Make sure to remove the tofu.db on clean.
	+ commit 30a603580e0f196c721fa4bd44d24077d9bc06c3
	* lang/qt/tests/Makefile.am (CLEANFILES): Add 'tofu.db'.

2017-02-14  Tobias Mueller  <muelli@cryptobitch.de>

	python: Extend SWIG gpgme_{sub,}key with a __repr__ method.
	+ commit 01d5c17587578c729bbbb60f8a65635975e35592
	* lang/python/gpgme.i: Added a genericrepr macro and use it for
	gpgme_key, gpgme_subkey, and gpgme_key_sig.

	python: Remove the -builtin flag for SWIG.
	+ commit aa49be1ab80c200ab6b62d33bf5d0f5aa334fc56
	* lang/python/setup.py.in: Call SWIG without the builtin flag.

	python: Call SWIG_NewPointerObj rather than SWIG_Python_NewPointerObj.
	+ commit d35651917097ae2eee7d52396d53d010bc34df19
	* lang/python/gpgme.i (pygpgme_wrap_gpgme_data_t): Provide a "self"
	variable for SWIG_NewPointerObj and call SWIG_NewPointerObj rather than
	SWIG_Python_NewPointerObj.

	python: Conditionally provide py3 argument to SWIG.
	+ commit d184dbbba8987d9f387feb25791ed891e108dabc
	* lang/python/setup.py.in: Only call with -py3 when we run under python3
	or higher.

2017-02-13  Justus Winter  <justus@g10code.com>

	python: Use one copy of the source tree per Python version.
	+ commit fe65a26ab584bd70fad45c7c4d44330e30a748a4
	* lang/python/Makefile.am (copystamp): Create one copy per Python
	version.
	(all-local): Adapt.
	(clean-local): Likewise.
	(install-exec-local): Likewise.
	* lang/python/tests/run-tests.py: Likewise.

	build: Use macOS' compatibility macros to enable all features.
	+ commit 60273e8b2c11d42215a5707bc55e3e0d8f350e07
	* configure.ac: On macOS, use the compatibility macros to expose every
	feature of the libc.  This is the equivalent of _GNU_SOURCE on GNU
	libc.

	Revert "Disable fd-passing for Apple."
	+ commit f8db658f8b4c3c7941d0029273fb23fbe1ba74ad
	The actual bug has been located, so this can be reverted.

	This reverts commit ef5b4ae37d13142e89a051908dc080cda3d24baa.

2017-02-13  Igor Gnatenko  <ignatenkobrain@fedoraproject.org>

	qt: Add missing #include <functional>
	+ commit 60064c665ec98a2a994fc6c8ad701e60b963ce7e
	* lang/qt/src/qgpgmenewcryptoconfig.cpp,
	lang/qt/src/threadedjobmixin.h: Include functional.

2017-02-07  Andre Heinecke  <aheinecke@intevation.de>

	qt: Don't rely on implicit include in t-verify.
	+ commit 903bf16a416b1bf608b1e647937c9b06864b0141
	* lang/qt/tests/t-various.cpp: Include QTemporaryDir

2017-02-06  Daniel Kahn Gillmor  <dkg@fifthhorseman.net>

	doc: Document that gpgme_op_genkey() parms parameter is not XML.
	+ commit ad22bee5387b1e9a40e8c822a081db3228bb9def
	* doc/gpgme.texi (GnupgKeyParms): document that input format is not
	true XML.

2017-02-03  Werner Koch  <wk@gnupg.org>

	core: Optimize fork/exec for *BSD and Solaris.
	+ commit 51bd69f216a9e2930eeba4b5f6c20e952a381720
	* configure.ac (closefrom): Add to ac_check_funcs.
	* src/posix-io.c (_gpgme_io_spawn): Use closefrom.

	core: Fix possible deadlock due to get_max_fds.
	+ commit 93a59070c699d569d1eac7ba22355fe3f5d10882
	* src/posix-io.c (get_max_fds): Do not use the Linux optimization.

	core: Minor cleanup of commit 195c735.
	+ commit afc308598d1ddaf20d54b4eab30b959066a4e5e6
	* src/verify.c (parse_tofu_user): For cleanness use gpg_error ...
	(_gpgme_verify_status_handler): ... and gpg_err_code.

2017-02-02  Andre Heinecke  <aheinecke@intevation.de>

	qt: Add test for tofu conflict.
	+ commit 43160a39f27f6c3507447620666c85af00b3499c
	* lang/qt/tests/t-tofuinfo.cpp (TofuInfoTest::testTofuConflict): New.

	core: Handle multiple TOFU_USER lines in verify.
	+ commit 195c73589232160f45d00f4901c9bb2b0162f0e5
	* src/verify.c (op_data_t): Add conflict_user_seen.
	(parse_tofu_user): Return ERR_DUP_VALUE for mutltiple TOFU_USERS.
	(_gpgme_verify_status_handler): Handle ERR_DUP_VALUE from
	parse_tofu_user to ignore the next TOFU_STATS.

2017-02-02  Werner Koch  <wk@gnupg.org>

	core: Replace all calls to *sprintf by gpgrt_*sprintf.
	+ commit 15050ce5fce4ed815503db7c029abb38d08970d6
	* configure.ac (vasprintf): Remove check.
	* src/vasprintf.c: Remove file.
	* src/util.h (vasprintf, asprintf): Remove prototypes.  Replace all
	calls to vasprintf and asprintf by gpgrt_vasprintf or gpgrt_asprintf.
	Also take care to use gpgrt_free on the returned value.
	* src/w32-util.c (_gpgme_get_gpgconf_path): Replace a gpgrt_asprintf
	by _gpgme_strconcat.
	(snprintf): New macro to use gpgrt_snprintf instead of the system's
	standard snprintf.

	core: Remove unused check for funopen/fopencookie.
	+ commit 563420a88f8a4f561a2faea4d2b4a1c58b375fd8
	* configure.ac (funopen): Remove check.
	* src/funopen.c: Remove file.

	core: Un-deprecate gpgme_data_rewind.
	+ commit d19bea52afe6efb66a46af6aa4d09928c5d05ee5
	* src/gpgme.h.in (gpgme_data_rewind): Un-deprecate.
	* src/data-compat.c (gpgme_data_rewind): Move to ...
	* src/data.c (gpgme_data_rewind): here.

	core: Move all deprecated stuff to the end of gpgme.h.
	+ commit 9b7d81998b734fabeb4fbc697f08fc7795eaa90a


2017-02-01  Andre Heinecke  <aheinecke@intevation.de>

	core: Cleanup gpgme_key_unref frees.
	+ commit 8ede86795a1d419c01b4910ec2fd1fb18b629452
	* src/key.c (gpgme_key_unref): Nowadays we assume free(NULL) is ok.

	core: Fix leakage of address for mail only uids.
	+ commit b5075030bec9b21bf4e515bc1686df3fa43eced2
	* src/key.c (gpgme_key_unref): Always free address if set.
	(_gpgme_key_append_name): Remove memory optimization for address.

	core: Improve mailbox only uid handling.
	+ commit a28d31fdb623f2ee30e8094d09f1a0d1ae446a9b
	* src/key.c (_gpgme_key_append_name): Set email and remove name
	for uid only keys.

2017-01-31  Justus Winter  <justus@g10code.com>

	qt: Increase timeout when waiting for signals.
	+ commit ba594d85e35e63301755977234d3af88a167a215
	* lang/qt/tests/t-support.h (QSIGNALSPY_TIMEOUT): New macro.
	* lang/qt/tests/t-encrypt.cpp: Use the new macro as timeout when
	waiting for signals.
	* lang/qt/tests/t-keylist.cpp: Likewise.
	* lang/qt/tests/t-keylocate.cpp: Likewise.
	* lang/qt/tests/t-ownertrust.cpp: Likewise.
	* lang/qt/tests/t-wkspublish.cpp: Likewise.

2017-01-31  Werner Koch  <wk@gnupg.org>

	core: Add new context flag "redraw".
	+ commit 752d3597ef02a95efd693373132bf1e246f0edb0
	* 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.

2017-01-30  Andre Heinecke  <aheinecke@intevation.de>

	tests: Reduce iterations / threads.
	+ commit 7bd6ab4a91d43d7cbf5d347c0c12e0e4f9f7e3bf
	* tests/gpg/t-gpgconf.c (main): Reduce iterations to 10.
	* tests/gpg/t-thread-keylist-verify.c,
	tests/gpg/t-thread-keylist.c (THREAD_COUNT): Reduce to 10.

2017-01-26  Andre Heinecke  <aheinecke@intevation.de>

	python: Ensure quick-random is used if gpg is gpg2.
	+ commit f3ca2c9ce9fd4a03e293065f10b92589a7e642d6
	* lang/python/tests/Makefile.am (gpg.conf): Configure
	agent-program accordingly.

2017-01-25  Tobias Mueller  <muelli@cryptobitch.de>

	python: default op_keylist_start parameters.
	+ commit 9291ebaa4151a1f6c8c0601095ec45809b963383
	* lang/python/gpgme.i: Added gpgme_op_keylist_start with defaults
	* lang/python/tests/t-keylist.py: Added tests for default parameters

2017-01-25  Andre Heinecke  <aheinecke@intevation.de>

	tests: Use --debug-quick-random for tests.
	+ commit a98951a30a6ae603ffac4ec8c5168aa6d1019933
	* tests/start-stop-agent: Don't autostart agent on --stop and
	running check. Use --debug-quick-random when starting.

2017-01-23  Justus Winter  <justus@g10code.com>

	w32: Fix closing file descriptors.
	+ commit 6f02133bb07726afa6950e5b4685e75621276e60
	* src/w32-io.c (writer): Only stop once the buffer is drained.
	(destroy_writer): Wait for the writers buffer to be drained.  This
	aligns '_gpgme_io_close's behavior with close(2) and fclose(3).

2017-01-17  Andre Heinecke  <aheinecke@intevation.de>

	tests: Add safeguards against nullptr deref.
	+ commit ca69df8c8d3f044340aee2a118cc20d33cd600a1
	* t-gpgconf.c (main): Test some values before dereferencing them.

2017-01-16  Andre Heinecke  <aheinecke@intevation.de>

	qt: Use QVERIFY instead of Q_ASSERT in conf test.
	+ commit abfd241d1a1ae8e30e18b7c5e0658b8c54d89544
	* lang/qt/tests/t-config.cpp: Use QVERIFY instead of Q_ASSERT.

	qt: Add test for CryptoConfig.
	+ commit 8aba08d1d0871f439fb7193adc4a2f43a81ee216
	* lang/qt/tests/t-config.cpp: New.
	* lang/qt/tests/Makefile.am: Update accordingly.

2017-01-16  Justus Winter  <justus@g10code.com>

	tests: Fix distcheck.
	+ commit 92543da94cbf8e807b1b33070d273f995cdd5c62
	* tests/gpg/Makefile.am (CLEANFILES): Remove gpgconf backups.

	Fix changing options with gpgconf.
	+ commit 0e242278dfaa64ce31a45b72f5fa0806a3dba898
	* src/engine-gpgconf.c (gpgconf_write): Connect a pipe to the child's
	stderr, and wait for it to be closed as an indication that gpgconf has
	exited.  Also improve error handling.

2017-01-12  Justus Winter  <justus@g10code.com>

	tests: Improve the gpgconf test.
	+ commit 186dcd3494eda7383de57a530fd15776410531a5
	* tests/gpg/t-gpgconf.c: Include support functions.
	(fail_if_err): Remove macro.
	(init_gpgme): Remove function.
	(lookup): New function.
	(main): Update some values and verify that the changes are applied.
	* tests/gpg/t-support.h (test): New assert-like macro.

2017-01-12  Andre Heinecke  <aheinecke@intevation.de>

	qt: Add support for stringValueList in CryptoConf.
	+ commit 9640dc58e498966b482dcded6990cf4b47c556ac
	* lang/qt/src/Makefile.am (qgpgme_sources): Add cryptoconfig.cpp
	* lang/qt/src/cryptoconfig.cpp: New.
	* lang/qt/src/cryptoconfig.h (CryptoConfigEntry::stringValueList):
	New.
	* lang/qt/src/qgpgmenewcryptoconfig.cpp
	(QGpgMENewCryptoConfigEntry::stringValueList): New.
	* lang/qt/src/qgpgmenewcryptoconfig.h: Update accordingly.

	qt: Don't use qstrdup in test passphrase cb.
	+ commit a09ed3f26a1fab54079c37c49df5c440cc792f78
	* lang/qt/tests/t-support.h (TestPassphraseProvider::getPassphrase):
	Use gpgrt_asprintf instead of strdup.

2017-01-11  Andre Heinecke  <aheinecke@intevation.de>

	qt: Clean up test dirs on failure.
	+ commit 56926c9b5012e8135541a933af1d69c5a81f02b3
	* t-encrypt.cpp,
	t-keylist.cpp,
	t-keylocate.cpp,
	t-ownertrust.cpp,
	t-tofuinfo.cpp,
	t-various.cpp,
	t-verify.cpp,
	t-wkspublish.cpp: Use QVERIFY instead of Q_ASSERT

	qt: Add test for uid functions.
	+ commit 9e643ab67168dfbd189ccc0bfed8fb59253ee79c
	* lang/qt/tests/t-various.cpp: New.
	* lang/qt/tests/Makefile.am: Update accordingly.

	cpp: Add revuid and adduid support.
	+ commit e416f9961837039f259558edf41fccbc181ad128
	* lang/cpp/src/context.cpp
	(Context::revUid, Context::startRevUid),
	(Context::addUid, Context::startAddUid): New.
	* lang/cpp/src/context.h: Declare new functions.
	* lang/cpp/src/key.cpp (Key::UserID::revoke)
	(Key::addUid): Idomatic helpers.
	lang/cpp/src/key.h: Declare new functions.
	* NEWS: Update accordingly.

	Fix Qgpgme build for macos.
	+ commit efe58fe011f195d98adb4f03b1e1068a26ba287b
	* lang/qt/src/dn.cpp: Include string.h
	(parse_dn_part): Use qstrdup.
	* lang/qt/tests/t-support.h (getPassphrase): Use qstrdup.

	Fix cmake configuration files for MacOS.
	+ commit 2e661b9e1a9b50656a5c9646d7444a98477010c1
	* configure.ac: Set HAVE_MACOS_SYSTEM conditional.
	* lang/qt/src/Makefile.am,
	lang/cpp/src/Makefile.am,
	lang/qt/src/QGpgmeConfig.cmake.in.in,
	lang/cpp/src/GpgmeConfig.cmake.in.in: Use libsuffix again to
	distinguish between macos .dylib

2017-01-03  Justus Winter  <justus@g10code.com>

	python: Improve compatibility with Scheme tests.
	+ commit b14419f68b3aaa90025e0e97151de7c3da7806fb
	* lang/python/tests/run-tests.py: Add stub --parallel option.

	python: Add a switch '--quiet' to the test runner.
	+ commit d0e91d28f63b74e53673902e675be8a54b6b90d3
	* lang/python/tests/run-tests.py: Add and honor a switch '--quiet'.
	This way we can use this script to run Python tests one by one without
	the noise, and the script will setup the necessary environment for us.

2017-01-02  Andre Heinecke  <aheinecke@intevation.de>

	qt: Update config sync doc / comment.
	+ commit ececfd5de81f1851943be7b284b672d5b02aceb4
	* lang/qt/src/cryptoconfig.h (CryptoConfig::sync): Document
	that runtime option is always set.
	* lang/qt/Src/qgpgmenewcryptoconfig.cpp
	(QGpgMENewCryptoConfigComponent::sync): Remove outdated comment
	and warn on error.

	core: Always use runtime for gpgconf changes.
	+ commit 7103315829847163f1c6f52cad25d1ddb33358f0
	* src/engine-gpgconf.c (gpgconf_write): Add --runtime.
	* src/gpgme.h.in (gpgme_conf_opt_change): Document this
	behavior.

2017-01-01  Ben Kibbey  <bjk@luxsci.net>

	Fix gpg_addkey() to work with GPGME_CREATE_NOPASSWD as well.
	+ commit a4b9f1a2b404fd8627d5ac567617510abd55d980
	* src/engine-gpg.c (gpg_addkey): Pass --batch to gpg when
	GPGME_CREATE_NOPASSWD is set to fix pinentry without loopback mode.

2016-12-27  Ben Kibbey  <bjk@luxsci.net>

	Fix GPGME_CREATE_NOPASSWD without pinentry loopback.
	+ commit d83b8f0dc84d6cf7fe2e091bd1b103ceedfa3d6c
	* src/engine-gpg.c(gpg_createkey): Pass --batch to gpg when
	GPGME_CREATE_NOPASSWD is set.

2016-12-19  Raphael Kubo da Costa  <rakuco@FreeBSD.org>

	Qt: Make sure extended grep is used with '|'.
	+ commit 211844f049d714cd4d5aab96347705cb0c209c5d
	* m4/qt.m4: Use grep -E when using the alternation character.

2016-12-16  Andre Heinecke  <aheinecke@intevation.de>

	cpp: Ensure that hasSecret is correct after update.
	+ commit da5343a9d2c8c0ca6431162aac4bd5c73b4ae6dd
	* lang/cpp/src/key.cpp (Key::update): Check for
	a secret key first before listing public keys.

2016-12-15  Andre Heinecke  <aheinecke@intevation.de>

	cpp: Fix addrSpec for keys without email.
	+ commit 85e05537e15346896a271d3f62bead9dd7e3f180
	* lang/cpp/src/key.cpp (UserID::addrSpec): Use uid->address instead
	of normalizing again.
	(&operator<<(std::ostream &, const UserID &): Print it.

	cpp: Fix update of partial key in verifyresult.
	+ commit 5673f3e54af535155893290a685b3afb44c7f58d
	* lang/cpp/src/verificationresult.cpp
	(Signature::key(bool,bool)): Don't update the returned copy
	but the actual key of the signature.

2016-12-07  Andre Heinecke  <aheinecke@intevation.de>

	Clarify what "checking on bit" means.
	+ commit 7880335273382f05cbbe38aa965a566c4127ba6a
	* doc/gpgme.texi (gpgme_sigsum_t summary): Clarify what "you
	can check one bit means"

2016-12-05  Tobias Mueller  <muelli@cryptobitch.de>

	python: Try to be more helpful when given a string to encrypt().
	+ commit 05896c210f7fa9ce7b97784a75e49dc4489e9252
	* lang/python/helpers.c (_gpg_obj2gpgme_data_t): Extended error
	message.
	* lang/python/tests/t-encrypt.py: Test for "encode" in error message.

	python: Define a macro for wrapping fragile result objects.
	+ commit fb7f4cb973abc9f5eb05eb240607be35c1be986c
	* lang/python/gpgme.i (wrapresult): New Macro.

2016-12-01  Tobias Mueller  <muelli@cryptobitch.de>

	python: Check "buffer" when writing to sys.stdout for python2 compat.
	+ commit ae21d2705fc46725e1f9af1651b68d16155d1501
	* lang/python/tests/support.py (print_data): Add check for buffer.

	python: Make Context have a repr method.
	+ commit 154389f2a5e4c13081cf0624222aad29ee480b56
	* lang/python/gpg/core.py (Context.__repr__): New function.

	python: Make Results have a nicer __repr__.
	+ commit db2f6c1ca3d2ef228f4ca6653d594537622c8588
	* lang/python/gpg/results.py (Result.__str__): Renamed to '__repr__'
	...
	* lang/python/gpg/results.py (Result.__repr__): ... and added fields.

2016-11-25  Justus Winter  <justus@g10code.com>

	python: Fix removing the TOFU database.
	+ commit fd4d476214ae06e33f4a6dac534d3deca5cc6cd3
	* lang/python/Makefile.am (CLEANFILES): Move 'tofu.db'...
	* lang/python/tests/Makefile.am (CLEANFILES): ... here.

	tests: Remove tofu.db.
	+ commit 9b22f82afc5518961e4bea1fc516b79800e379a2
	* lang/python/Makefile.am (CLEANFILES): Add 'tofu.db'.
	* tests/gpg/Makefile.am (CLEANFILES): Likewise.

2016-11-17  Heiko Becker  <heirecka@exherbo.org>

	Remove a forgotten instance of @libsuffix@
	+ commit 572c1aac107125ce62230251713349348373db5a
	* lang/cpp/src/GpgmeppConfig.cmake.in.in: Remove a forgotten
	instance of @libsuffix@.

2016-11-16  Werner Koch  <wk@gnupg.org>

	Release 1.8.0.
	+ commit f06220b691e9711afdabaa19886244ae7724eed5
	* configure.ac: Set version to 1.8.0.  Set LT version C28/A17/RO.
	Set CPP LT version to C9/A3/R0.  Set Qt LT version to C8/A1/R0.

	core: Do not leak the override session key to ps(1).
	+ commit 9fc92a15bd0a30437a39d0eb28b6f40edc22e6e8
	* src/engine-gpg.c (struct engine_gpg): New field
	override_session_key.
	(gpg_release): Free that field.
	(gpg_decrypt): With gnupg 2.1.16 use --override-session-key-fd.

	* tests/run-decrypt.c (main): Fix setting over the override key.

2016-11-16  Daniel Kahn Gillmor  <dkg@fifthhorseman.net>

	doc,tests: Require use of ctx_flag before use of session_key.
	+ commit 573064742145aa5f9bf04baa88af918c0c4d5e12
	* doc/gpgme.texi: Document requirements of verifying that it is OK to
	use session_key.
	* tests/run-decrypt.c: Ensure that we fail if we're unable to access
	the session key, so that we do not violate the guidance above.


	Changed the description

	 -@code{gpgme_set_ctx_flag (ctx, "export-session-key")} returns
	 -@code{GPG_ERR_NO_ERROR} or @code{gpgme_get_ctx_flag (ctx,
	 -"export-session-key")} returns @code{"1"}.
	 +@code{gpgme_set_ctx_flag (ctx, "export-session-key")} returns success
	 +or @code{gpgme_get_ctx_flag (ctx, "export-session-key")} returns true
	 +(non-empty string).

	to get gpgme_get_ctx_flag for boolean values in sync with its own
	description.

	Note that I don't agree with the above suggestion but it does not
	really harm to have it in the man page.

2016-11-15  Andre Heinecke  <aheinecke@intevation.de>

	qt, cpp: Add cmake config files for w32.
	+ commit b2c07bd47bd608afa5cc819b60a7b5bb8c9dd96a
	* lang/cpp/src/GpgmeppConfig-w32.cmake.in.in
	lang/qt/src/QGpgmeConfig-w32.cmake.in.in: New.
	* lang/cpp/src/GpgmeppConfig.cmake.in.in,
	lang/qt/src/QGpgmeConfig.cmake.in.in: Remove libsuffix handling.
	* lang/cpp/src/Makefile.am,
	lang/qt/src/Makefile.am: Create / install w32 config files.
	* configure.ac: Configure them.

	qt: Use new style connect in th..mixin.
	+ commit 45abe6d142e314ba7099ad80b6365af171b06fec
	* lang/qt/src/threadedjobmixin.h
	(ThreadedJobMixin::lateInitialization): Use new style connect.

2016-11-15  Werner Koch  <wk@gnupg.org>

	core: Implement context flag "override-session-key".
	+ commit 7659d42468b604db2936b021425683f407eba4a7
	* src/gpgme.c (gpgme_set_ctx_flag): Add flags "export-session-key" and
	"override-session-key".
	(gpgme_get_ctx_flag): Ditto.
	(gpgme_set_export_session_keys): Remove.
	(gpgme_get_export_session_keys): Remove.
	* src/gpgme.def, src/libgpgme.vers: Remove them.
	* src/context.h (struct gpgme_context): Add field
	override_session_key.
	* src/decrypt-verify.c (decrypt_verify_start): Pass
	override_session_key value to the engine.
	* src/decrypt.c (decrypt_start): Ditto.
	* src/engine.c (_gpgme_engine_op_decrypt): Ditto.
	(_gpgme_engine_op_decrypt_verify): Ditto.
	* src/engine-backend.h (struct engine_ops): Extend DECRYPT and
	DECRYPT_VERIFY_START with override_session_key.
	* src/engine-uiserver.c (_uiserver_decrypt): Add stub arg
	override_session_key.
	(uiserver_decrypt): Ditto.
	(uiserver_decrypt_verify): Ditto.
	* src/engine-gpgsm.c (gpgsm_decrypt): Ditto.
	* src/engine-gpg.c (gpg_decrypt): Add arg override_session_key and set
	corresponding gpg option.

	* tests/run-decrypt.c (print_result): Print the session key if
	available.
	(main): Add options --export-session-key and --override-session-key.

	core: Add public function gpgme_get_ctx_flag.
	+ commit 3234b1bf1d6939772677d64f6c1e1820ec98e3cd
	* src/gpgme.h.in (gpgme_get_ctx_flag): New.
	* src/gpgme.c (gpgme_set_ctx_flag): Move down the file and add a trace
	statement.
	(gpgme_get_ctx_flag): New.
	* src/gpgme.def, src/libgpgme.vers: Add new interface.

2016-11-15  Daniel Kahn Gillmor  <dkg@fifthhorseman.net>

	core: Enable extraction of session keys.
	+ commit cad1210fb8a7402cb29e607f8f9680005314120d
	* src/gpgme.c (gpgme_set_export_session_keys): New function.
	(gpgme_get_export_session_keys): New function.
	* src/gpgme.h.in (struct _gpgme_op_decrypt_result): Add session_key
	member.
	(gpgme_{set,get}_export_session_keys): Declare new functions.
	* src/libgpgme.vers, src/gpgme.def: Export new functions in shared
	object.
	* src/engine.h: (_gpgme_engine_op_decrypt) Add export_session_key
	parameter.
	(_gpgme_engine_op_decrypt_verify): Add export_session_key parameter.
	* src/engine-backend.h: (struct engine_ops): Change function
	pointer declarations to match.
	* src/context.h (struct gpgme_context): Add export_session_keys member.
	* src/decrypt.c (release_op_data): Free result.session_key.
	(_gpgme_decrypt_status_handler): Store a copy of the exported session
	key.
	(decrypt_start): Pass export_session_keys from the context.
	* src/decrypt-verify.c (decrypt_verify_start): Pass
	export_session_keys from context.
	* src/engine.c (_gpgme_engine_op_decrypt): Pass through
	export_session_key flag.
	(_gpgme_engine_op_decrypt_verify): Pass through export_session_key
	flag.
	* src/engine-gpg.c (gpg_decrypt): If export_session_key is set, add
	--export-session-key to argument list.
	* src/engine-gpgsm.c (gpgsm_decrypt): Ignore export_session_key for
	now, since gpgsm offers no such mechanism.
	* src/engine-uiserver.c (_uiserver_decrypt): If export_session_key is
	set, add --export-session-key flag to cmd.
	* doc/gpgme.texi: Document new functions and session_key member of
	decrypt_result_t.
	* doc/uiserver.texi: Add --export-session-key flag to DECRYPT command.

2016-11-14  Andre Heinecke  <aheinecke@intevation.de>

	qt: Add API to get the context for a Job.
	+ commit 9451faa2ee333904cff59f92ab62918e13ab4b87
	* lang/qt/src/job.cpp,
	lang/qt/src/job.h (Job::context): New.
	* lang/qt/src/threadedjobmixin.cpp
	(ThreadedJobMixin::~ThreadedJobMixin): New. Unregister context.
	(ThreadedJobMixin::lateInitialization): Register context.
	* NEWS: Update for cpp and qt.

	cpp: Add get / set Sender API.
	+ commit d09a84eaf1e4f8c6c2e462995fa15c1a5690a6ce
	* cpp/src/context.cpp, cpp/src/context.h (Context::setSender),
	(Context::getSender): Add simple wrappers.

	qt, cpp: Enable dll build for windows.
	+ commit f3790ddf56558fb0a08af95fdbae979cd6589aad
	* lang/cpp/src/Makefile.am,
	lang/qt/src/Makefile.am: Add -no-undefined to LDFLAGS.

	w32: Fix build of w32-glib.
	+ commit b91c383386fe9eadd90afdb9bb1f8ec6c528173b
	* src/Makefile.am (main_sources): Remove system_components_not_extra.
	(libgpgme_la_SOURCES): Add system_components_not_extra.
	(libgpgme_glib_la_SOURCES): Remove duplicated ath files.

2016-11-11  Daniel Kahn Gillmor  <dkg@fifthhorseman.net>

	doc: Correct deftypefun for gpgme_op_decrypt_verify_start.
	+ commit 16a30205064914eef578d84d07141b5d51d82838
	* doc/gpgme.texi: Documentationabout gpgme_op_decrypt_verify_start was
	stored under the name gpgme_op_decrypt_verify instead.

	doc: Correct text about gpgme_cancel_async.
	+ commit d50bdb269e86db36a443958e3bfc6816a44d468e
	* doc/gpgme.texi: Documentation about gpgme_cancel_async should refer
	to the correct name.

	core: Non-zero values should set _armor, _textmode, and _online.
	+ commit da035768bd9a880becee5d0d553dfe12299f96eb
	* src/gpgme.c (gpgme_set_armor, gpgme_set_textmode,
	gpgme_set_offline): Ensure that non-zero values actually set the
	appropriate internal bit.

2016-11-11  Alon Bar-Lev  <alon.barlev@gmail.com>

	tests,python: Atomic directory creation.
	+ commit 41d8c7e51a8989be633b9ada124c58a01fae7d54
	* lang/python/tests/Makefile.am:  Use MIDIR_P.
	* tests/gpg/Makefile.am: Ditto.
	* tests/gpgsm/Makefile.am: Ditto.

2016-11-10  Werner Koch  <wk@gnupg.org>

	core: Use better error code when using select with a too high fd.
	+ commit 6e57379c8e37c0863f7d12819a5a7d0781bd76d2
	* src/posix-io.c (_gpgme_io_select): Return EMFILE instead of EBADF.

2016-11-10  Andre Heinecke  <aheinecke@intevation.de>

	tests: Reduce thread count in new thread tests.
	+ commit ddd0a3cf90ac4b0a27ea610ebd7b9b8016ff43c4
	* gpg/t-thread-keylist-verify.c,
	gpg/t-thread-keylist.c: Reduce threads to 100

2016-11-10  Werner Koch  <wk@gnupg.org>

	core: Detect unreadable keyrings.
	+ commit 2a39bd6c30d21c43c86645a7908ce6c57dad5e20
	* src/keylist.c (op_data_t): Add field keydb_search_err.
	(keylist_status_handler): Parse STATUS_ERROR into that var.
	(gpgme_op_keylist_next): Use that err instead of GPG_ERR_EOF.

2016-11-10  Andre Heinecke  <aheinecke@intevation.de>

	tests: Fix additional memleaks in thread tests.
	+ commit d0030efb45ec8436dd84a9623d2f66b80c6b9e10
	* tests/gpg/t-thread-keylist-verify.c (start_verify): Release
	data.
	(start_keylist): Unref keys.
	* tests/gpg/t-thread-keylist.c (start_keylist): Unref keys.

	tests: Improve new thread tests.
	+ commit 4d5174e4a83dcd524f8085f6646145f81b50a02a
	* tests/gpg/t-thread-keylist-verify.c (start_keylist): Mark
	arg as unused. Release context.
	(start_verify): Ditto.
	(main): Mark args as unused.
	* tests/gpg/t-thread-keylist.c (start_keylist):  Mark
	arg as unused. Release context.
	(main): Mark args as unused.

	core: Use gpgrt locking for thread safeness.
	+ commit 09b64554328445e99a8cc78fc34ea49c2ea2e7f9
	* configure.ac: Require libgpg-error 1.17. No longer
	check for pthread.
	* doc/gpgme.texi: Document removed neccessity for thread
	safe gpgme flavours.
	* src/sema.h (DEFINE_GLOBAL_LOCK),
	(DEFINE_STATIC_LOCK, INIT_LOCK, DECLARE_LOCK)
	(DESTROY_LOCK, LOCK, UNLOCK): Change to gpgrt equivalents.
	* src/posix-sema.c, src/w32-sema.c: Removed.
	* src/Makefile.am: Remove libpthread and
	Update accordingly.
	* src/ath.c, src/ath.h (ath_mutex_init)
	(ath_mutex_destroy, ath_mutex_lock, ath_mutex_unlock): Removed.
	* src/ath.h (ATH_MUTEX_INITIALIZER): Removed.
	* src/version.c (do_subsystem_inits): sema_subsystem_init is
	no longer required.
	* tests/gpg/Makefile.am: Add new threading tests.
	(t_thread1_LDADD, t_cancel_LDADD):
	Use just gpgme.
	* tests/gpg/t-thread-keylist-verify.c,
	tests/gpg/t-thread-keylist.c: New.
	* src/gpgme-config.in: Use -lgpgme for thread-model pthread.

2016-11-09  Justus Winter  <justus@g10code.com>

	python: Require at least GPGME 1.7 for out-of-tree builds.
	+ commit f1f341062e24724e26928d893dd5769d3ccf5fa2
	* lang/python/setup.py.in: Bump required version to 1.7.

2016-11-09  Werner Koch  <wk@gnupg.org>

	w32: Better protect the IO-system's fd_table.
	+ commit 10f2e1c30be651e74a03f4563a9f212d7416adb3
	* src/w32-io.c (fd_table_lock): New.
	(new_fd): Lock allocation of a new slot.
	(release_fd): Lock deallocation of a slot.

2016-11-04  Andre Heinecke  <aheinecke@intevation.de>

	cpp: Add API for swdb queries.
	+ commit 3509cf2f9846360848b6c08d36cbca18373c935e
	* lang/cpp/src/swdbresult.cpp,
	 lang/cpp/src/swdbresult.h (SwdbResult): New.
	* lang/cpp/src/Makefile.am: Update accordingly.

	cpp: Add more EngineInfo::Version ctors.
	+ commit 512de91f9a8da8f491e09653eb4b5bdd0a027198
	* lang/cpp/src/engineinfo.h
	(EngineInfo::Version::Version(const char*)),
	(EngineInfo::Version::Version()): New.

	cpp: Don't include gpgme.h in tofuinfo header.
	+ commit 4d3f33d0e9d960df2c34fb4d215987ab4d36111c
	* lang/cpp/src/tofuinfo.h: Don't include gpgme.h

	cpp: Extend gpgmefw for tofuinfo and swdb query.
	+ commit 23979b9be5a6028e3e9cafc3aff632bc720b81f2
	* lang/cpp/src/gpgmefw.h (gpgme_tofu_info_t)
	(gpgme_query_swdb_result_t): New forwards.

2016-11-04  Werner Koch  <wk@gnupg.org>

	w32: Fix locating gpgconf on 64 bit systems.
	+ commit df08a0ca3f029b06b7e3a6bd63330df5cb96585a
	* src/w32-util.c (find_program_at_standard_place): Use access to check
	whether the binary is at CSIDL_PROGRAM_FILES before testing
	CSIDL_PROGRAM_FILESX86.

2016-11-03  Werner Koch  <wk@gnupg.org>

	core: Add gpgme_op_query_swdb and helper.
	+ commit aad94cb7c313d4501bed748f48830cbb93c67e20
	* src/gpgme.h.in (gpgme_query_swdb_result_t): New.
	(gpgme_op_query_swdb): New.
	(gpgme_op_query_swdb_result): New.
	* src/libgpgme.vers, src/gpgme.def: Add the two new functions.
	* src/queryswdb.c: New.
	* src/Makefile.am (main_sources): Add new file.
	* src/context.h (OPDATA_QUERY_SWDB): New.
	* src/engine-backend.h (struct engine_ops): Add field 'query_swdb'.
	Adjust all initializer.
	* src/engine.c (_gpgme_engine_op_query_swdb): New.
	* src/engine-gpgconf.c (parse_swdb_line): New.
	(gpgconf_query_swdb): New.
	(_gpgme_engine_ops_gpgconf): Register that function.

	* src/util.h (GPG_ERR_TOO_OLD): Define for older libgpg-error.
	(GPG_ERR_ENGINE_TOO_OLD): Ditto.

	* tests/run-swdb.c: New.
	* tests/Makefile.am (noinst_PROGRAMS): Add new debug tool.

2016-11-03  Andre Heinecke  <aheinecke@intevation.de>

	qt: Change license of export / version header.
	+ commit 34a4e8017be452e8ead6b9c2da84be1ec7929cae
	* lang/qt/src/qgpgme_export.h,
	lang/qt/src/qgpgme_version.h: Change license to GPLv2+

2016-11-03  Werner Koch  <wk@gnupg.org>

	core: Make use of --homedir in gpgconf.
	+ commit 0c2038c0043c1e79547b55e79c3d3e267dae801c
	* src/engine-gpgconf.c (struct engine_gpgconf): Add field 'version'.
	(have_gpgconf_version): New.
	(gpgconf_release): Free VERSION.
	(gpgconf_new): Set VERSION.
	(gpgconf_read, gpgconf_write): Use --homedir with recent gnupg.

2016-11-02  Andras Mantia  <andras@kdab.com>

	qt: Fix build with g++ 4.8.x.
	+ commit b4658f6a1110bb0b54bd5dfc9df8e8b390e38d61
	* lang/qt/src/defaultkeygenerationjob.cpp
	(DefaultKeyGenerationJob::start): Explicitly connect pointer
	in the QPointer.

2016-11-02  Andre Heinecke  <aheinecke@intevation.de>

	qt, cpp: Fix versioning in cmake config and header.
	+ commit bf9aa0ccf7b0165aa3a1af2bdb18daca7c02ce74
	* configure.ac (VERSION_MAJOR, VERSION_MINOR, VERSION_MICRO): New
	subst variables for the version header.
	* lang/cpp/src/GpgmeppConfigVersion.cmake.in,
	lang/cpp/src/gpgmepp_version.h.in,
	lang/qt/src/QGpgmeConfigVersion.cmake.in,
	lang/qt/src/qgpgme_version.h.in: Use new variables.

	qt: Install cmake config into qgpgme subdir.
	+ commit b5c4d56cfdcafade3467be100fca6f1c89ecab73
	* lang/qt/src/Makefile.am: Install cmake config file in qgpgme subdir.

	qt: Require gpgmepp from cmake config script.
	+ commit 4149194d2e2f2f4d142926ba4d4efbd336b543f2
	* lang/qt/src/QGpgmeConfig.cmake.in.in: Require cpp.

	qt, cpp: Add all generated files to cleanfiles.
	+ commit 8486f213423311174ebff5cba74127cbd9bb3c2a
	* cpp/src/Makefile.am (CLEANFILES),
	qt/src/Makefile.am (CLEANFILES): Add all generated files
	to cleanfiles.

2016-11-01  Andre Heinecke  <aheinecke@intevation.de>

	qt: Add Distinguished Name parser from libkleo.
	+ commit 627c5deed84b4481710b6c0de06b26e886679bbe
	* lang/qt/src/dn.cpp (DN, DN::Attribute): New public API.
	* lang/qt/src/dn.h: New.
	* lang/qt/src/Makefile.am: Update accordingly.

	qt, cpp: Install version headers in subdirs.
	+ commit 567123de21247cab05762d799400739a12eb67ae
	* lang/cpp/src/Makefile.am,
	lang/qt/src/Makefile.am: Install version headers in include
	subdirs.

2016-10-31  Justus Winter  <justus@g10code.com>

	python: Use vanity modules for constants in tests and examples.
	+ commit 4b3264345084a0c9bf9f97fb233df700d7608e66
	* lang/python/gpg/constants/sig/notation.py: New file.
	* lang/python/gpg/constants/sig/__init__.py: Import new module.

	* lang/python/examples/assuan.py: Use more specific module for
	constants, e.g. 'protocol.ASSUAN' instead of 'PROTOCOL_ASSUAN'.
	* lang/python/examples/testCMSgetkey.py: Likewise.
	* lang/python/tests/initial.py: Likewise.
	* lang/python/tests/t-callbacks.py: Likewise.
	* lang/python/tests/t-decrypt-verify.py: Likewise.
	* lang/python/tests/t-decrypt.py: Likewise.
	* lang/python/tests/t-edit.py: Likewise.
	* lang/python/tests/t-encrypt-large.py: Likewise.
	* lang/python/tests/t-encrypt-sign.py: Likewise.
	* lang/python/tests/t-encrypt-sym.py: Likewise.
	* lang/python/tests/t-encrypt.py: Likewise.
	* lang/python/tests/t-export.py: Likewise.
	* lang/python/tests/t-file-name.py: Likewise.
	* lang/python/tests/t-idiomatic.py: Likewise.
	* lang/python/tests/t-import.py: Likewise.
	* lang/python/tests/t-keylist.py: Likewise.
	* lang/python/tests/t-protocol-assuan.py: Likewise.
	* lang/python/tests/t-sig-notation.py: Likewise.
	* lang/python/tests/t-sign.py: Likewise.
	* lang/python/tests/t-signers.py: Likewise.
	* lang/python/tests/t-trustlist.py: Likewise.
	* lang/python/tests/t-verify.py: Likewise.
	* lang/python/tests/t-wait.py: Likewise.

	python: Import the topmost module in tests and examples.
	+ commit 20dc37a0e7e1531b0e568a6ec29b1c2d18de59c3
	* examples/verifydetails.py: Only import the topmost module 'gpg' and
	update the code accordingly.
	* tests/support.py: Likewise.
	* tests/t-callbacks.py: Likewise.
	* tests/t-data.py: Likewise.
	* tests/t-decrypt-verify.py: Likewise.
	* tests/t-decrypt.py: Likewise.
	* tests/t-edit.py: Likewise.
	* tests/t-encrypt-large.py: Likewise.
	* tests/t-encrypt-sign.py: Likewise.
	* tests/t-encrypt-sym.py: Likewise.
	* tests/t-encrypt.py: Likewise.
	* tests/t-export.py: Likewise.
	* tests/t-file-name.py: Likewise.
	* tests/t-import.py: Likewise.
	* tests/t-keylist.py: Likewise.
	* tests/t-sig-notation.py: Likewise.
	* tests/t-sign.py: Likewise.
	* tests/t-signers.py: Likewise.
	* tests/t-trustlist.py: Likewise.
	* tests/t-verify.py: Likewise.
	* tests/t-wait.py: Likewise.
	* tests/t-wrapper.py: Likewise.

	python: Improve constants module.
	+ commit 70b7064e5c4f3eff9c296c00156724bc0cdaa64f
	* lang/python/gpg/constants/__init__.py: Import all modules below
	'constants/'.  Interface hygiene: delete 'util'.
	* lang/python/gpg/constants/data/encoding.py: Delete 'util'.
	* lang/python/gpg/constants/event.py: Likewise.
	* lang/python/gpg/constants/import.py: Likewise.
	* lang/python/gpg/constants/keylist/mode.py: Likewise.
	* lang/python/gpg/constants/md.py: Likewise.
	* lang/python/gpg/constants/pk.py: Likewise.
	* lang/python/gpg/constants/protocol.py: Likewise.
	* lang/python/gpg/constants/sig/mode.py: Likewise.
	* lang/python/gpg/constants/sigsum.py: Likewise.
	* lang/python/gpg/constants/validity.py: Likewise.
	* lang/python/gpg/errors.py: Likewise.

2016-10-31  Daniel Kahn Gillmor  <dkg@fifthhorseman.net>

	python: Rename Python module from PyME to gpg.
	+ commit 2fac017618a76882605125b05ff1f7393fe99860
	This follows weeks of discussion on the gnupg-devel mailing list.
	Hopefully it will make it easier for people using Python to use GnuPG
	in the future.

2016-10-25  Werner Koch  <wk@gnupg.org>

	core: New API functions gpgme_set_sender, gpgme_get_sender.
	+ commit b8159eadb5636cd9d93ee60c41e75d5978927870
	* src/context.h (struct gpgme_context): Add field 'sender'.
	* src/gpgme.c: Include mbox-util.h.
	(gpgme_release): Free SENDER.
	(gpgme_set_sender): New.
	(gpgme_get_sender): New.
	* src/gpgme.def, src/libgpgme.vers: Add new functions.

	* src/engine-gpg.c (append_args_from_sender): New.
	(gpg_encrypt_sign, gpg_sign): Call append_args_from_sender.
	(gpg_verify): Add arg CTX.  Call append_args_from_sender/
	* src/engine-gpgsm.c (gpgsm_verify): Add dummy arg CTX.
	* src/engine-uiserver.c (uiserver_verify): Ditto.
	* src/engine.c (_gpgme_engine_op_verify): Add arg CTX.
	* src/verify.c (verify_start): Pass CTX to engine function.

	* tests/gpg/t-verify.c (main): Add some checks for new functions.
	* tests/run-sign.c (main): Add option --sender.
	* tests/run-verify.c (main): Ditto.

2016-10-19  Andre Heinecke  <aheinecke@intevation.de>

	qt: Improve WKSPublishJob apidoc.
	+ commit 26cbba3c9cb04a68b95f3a6000ac9bd93fe76dd7
	* lang/qt/src/wkspublishjob.h: Improve doc.

2016-10-18  Werner Koch  <wk@gnupg.org>

	Release 1.7.1.
	+ commit 2c490cdb3e50761c498357982445ebb01f18dc1e
	* configure.ac: Set LT version to C27/A16/R0.  Note that the LT
	versions for cpp and Qt have already been updated.

2016-10-14  Werner Koch  <wk@gnupg.org>

	tests: Make t-cancel more portable.
	+ commit 05e8e1260baa5cbc6f1d6e387e642c1f6c188d44
	* tests/gpg/t-cancel.c: Include sys/time.h and protect sys/select.h.

	python: Call ln(1) in a portable way.
	+ commit c6cab5a2bd6e7ed226c6c3f0b78b3f48b47db74c
	* lang/python/Makefile.am: Specify target dir for ln.

2016-10-14  Andre Heinecke  <aheinecke@intevation.de>

	cpp: Fix init of string from null.
	+ commit 1e8c34a9192956bb2fe96a7a6a76ff59de8d1c0c
	* lang/cpp/src/key.cpp (UserID::addrSpecFromString): Check return
	value before creating the string.

2016-10-13  Justus Winter  <justus@g10code.com>

	python: Make 'get_key' more idiomatic.
	+ commit f526d0e22e8b881ccbca66b46a0e1b68bbc4cd6b
	* lang/python/pyme/core.py (Context.get_key): Raise errors.KeyNotFound
	if the key is not found.  This error is both a KeyError for idiomatic
	error handling as well as a GPGMEError so we don't break existing
	code.
	* lang/python/pyme/errors.py (KeyNotFound): New class.
	* lang/python/tests/support.py (no_such_key): New variable.
	* lang/python/tests/t-keylist.py: Test the new behavior.

	python: Return public keys by default.
	+ commit 1e6073ffa98db2c265adbcf0dbbe70c067a910f0
	* lang/python/pyme/core.py (Core.get_key): Return public keys by
	default, improve docstring.
	* lang/python/examples/testCMSgetkey.py: Update example.
	* lang/python/examples/verifydetails.py: Likewise.

	python: Fix example.
	+ commit cabd4c74e52c8983d624b6877cddc7f8912eff04
	* lang/python/examples/inter-edit.py: Fix example.

2016-10-13  Andre Heinecke  <aheinecke@intevation.de>

	cpp: Fix version number.
	+ commit 56302e7bb6a694a7c570f389f9a7883efdfdaf42
	* configure.ac (LIBGPGMEPP_LT_CURRENT): Bump.

	qt, cpp: Fix permissions of Config files.
	+ commit a274c7590aa0e38d682d5177904983632f471cb0
	* lang/cpp/src/Makefile.am,
	lang/qt/src/Makefile.am: Do not install config files as executable.

	qt: Install SpecialJob.
	+ commit 2538c12fa0728f4113f83f69f8c8ec9efb163872
	* lang/qt/src/Makefile.am: Install SpecialJob
	* NEWS: mention it.

	qt, cpp: Fix expected targets in Config files.
	+ commit a3cf30f89418c8a6bc9456533d95ba7fc2a33a4c
	* lang/cpp/src/GpgmeppConfig.cmake.in.in,
	lang/qt/src/QGpgmeConfig.cmake.in.in: Remove KF5 variants.

2016-10-11  Daniel Vrรกtil  <dvratil@kde.org>

	qt: Add missing implementation of MultiDeleteJob.
	+ commit e5a35af5573651b96a90ef4a537b040333595472
	* lang/qt/src/multideletejob.h: Fix include, cryptobackend.h is now
	called protocol.h
	* lang/qt/src/multideletejob.cpp: New file.
	* lang/qt/src/Makefile.am: Add multideletejob.cpp.

	qt: Install abstractimportjob.h.
	+ commit ce7385caabb57e5435695cc912acffe2815770b7
	* lang/cpp/src/Makefile.am: Install abstractimportjob.h since it's
	included from importjob.h

2016-10-11  Andre Heinecke  <aheinecke@intevation.de>

	cpp: Add API for gpgme_addrspec_from_uid.
	+ commit 54f94b14e2bb9b38ffd89f509406bfbd012da632
	* lang/cpp/src/key.cpp (UserID::addrSpecFromString): New static
	function to expose addrspec from uid.
	(UserID::addrSpec): New. Get addrSpec from Userid.
	* NEWS: Update accordingly.

2016-10-10  Andre Heinecke  <aheinecke@intevation.de>

	Add NEWS for cpp and qt, bump cpp version.
	+ commit e7ceb83a5969581f5e1b0b6a69d18a93b594f6d4
	* NEWS: Add entries for cpp and qt changes.
	* configure.ac: Bump cpp version because of added API.

	Add convenience function to get key from sig.
	+ commit b6b820bff14a9aa8fa67755b246c90062ffdba14
	* lang/cpp/src/verificationresult.cpp (Signature::key(bool, bool)):
	New. Can be used to search / update the key associcated with this
	signature.

	cpp: Return null key if the signature had no key.
	+ commit 34e9dfee81958160f6604849b63369ae4de67417
	* lang/cpp/src/verificationresult.cpp (Private): Add null key
	to list when there is no key associated with the signature.

	qt: Add simple verify test.
	+ commit f131a5e72b0881cafcc3b0a91da8f050af2684a6
	* lang/qt/tests/t-verify.cpp: New. Small test if a signature
	returns a key with fingerprint.
	* lang/qt/tests/Makefile.am: Add new test.

	core: Fix w32 crash in find_program_in_dir.
	+ commit 098a2da15b1b46b145add623dec0488abd39bd74
	* src/w32-util.c (find_program_in_dir): Fix call to _gpgme_strconcat.

2016-10-08  Werner Koch  <wk@gnupg.org>

	core: New helper function gpgme_addrspec_from_uid.
	+ commit 0ea2ff67900c243fff9f689658dcb23d1c0961cd
	* src/gpgme.h.in: Add gpgme_addrspec_from_uid.
	* src/gpgme.def, src/libgpgme.vers: Ditto.
	* src/mbox-util.c (gpgme_addrspec_from_uid): New.

2016-10-06  Justus Winter  <justus@g10code.com>

	Add missing includes.
	+ commit 857592041b8355cd58a7068c9f2446cf8dc0968f
	* lang/cpp/src/key.cpp: Include <strings.h> for 'strcasecmp'.
	* tests/gpg/t-cancel.c: Include <sys/select.h> for 'fd_set' and
	friends.

2016-10-05  Andre Heinecke  <aheinecke@intevation.de>

	cpp: Bump Revision.
	+ commit 8033cff441e9ea185531290273ec343f3402703c
	* configure.ac (LIBGPGMEPP_LT_REVISION): Bump revision.

	qt: Fix spelling error in WKSPublishJob.
	+ commit 88c7e84ede4b6017cac3a396e8c87c2bd3a2bf58
	* src/qgpgmewkspublishjob.cpp,
	src/qgpgmewkspublishjob.h,
	src/wkspublishjob.h,
	tests/t-wkspublish.cpp: Fix spelling of received.
	* src/configure.ac (LIBQGPGME_LT_CURRENT): Bump
	accordingly.

	qt: Disable tests that require a password for 2.0.
	+ commit 24779c9e2301bd17fd328d65b0383e1cbc944119
	* lang/qt/tests/t-encrypt.cpp: Disable tests that require
	a password for 2.0.

	Add warning flags for c++ compiler, too.
	+ commit 4984cc93db6b55f2420a9abd844c074a5fb4ed0c
	* configure.ac (CXXFLAGS): Add Wall and Wextra.

	qt: Fix unused variable warnings.
	+ commit 9d1df990386010e0581b542a76a4f5d85d8d11b5
	* qt/src/qgpgmenewcryptoconfig.cpp,
	qt/src/threadedjobmixin.h,
	qt/tests/t-encrypt.cpp,
	qt/tests/t-support.h,
	qt/tests/t-wkspublish.cpp: Mark additional variables as unused.

	cpp: Add support for URL Data encodings.
	+ commit 370ee1aa802ec6a4030a39b2df7d24a0c47e5ac7
	* lang/cpp/src/data.h (Data::Encoding): Extend enum.
	* lang/cpp/src/data.cpp (Data::encoding),
	Data::setEncoding): Support new values.

	cpp: Fix gcc diagnostic push / pop.
	+ commit 39dd7585f5a7d801942efcb375d6dd46d01d2968
	* lang/cpp/src/context.cpp: Fix pragmas.

	qt: Disable t-wkspublish test.
	+ commit 52a91ccc6a25425d4374b77040e30efb6816940f
	* lang/qt/tests/Makefile.am (TESTS): Remove t-wkspublish.

2016-09-30  Alon Bar-Lev  <alon.barlev@gmail.com>

	python: Link 'data.h' and 'config.h' into the builddir.
	+ commit 453ab9d24ca48c9e01d21e1454d6b08de1938b76
	* lang/python/Makefile.am: Link to the files.
	* lang/python/gpgme.i: Update path.
	* lang/python/setup.py.in: Do not add the top builddir to the include
	path.

	python: Add 'prepare' target.
	+ commit 68fb8371a1dd5f4e05e50b1733f9996d139cbf38
	* lang/python/Makefile.am: Add 'prepare' target.

2016-09-29  Andre Heinecke  <aheinecke@intevation.de>

	cpp, qt: Handle modified includedir installation.
	+ commit 7302791c0d308c3284ac24a743035d27a0c0b6ba
	* lang/cpp/src/Makefile.am,
	lang/qt/src/Makefile.am: Replace resolved_includedir.
	* lang/cpp/src/GpgmeppConfig.cmake.in.in,
	lang/qt/src/QGpgmeConfig.cmake.in.in: Use resolved_includedir
	instead of relying on a common installation prefix.

2016-09-27  Daniel Kahn Gillmor  <dkg@fifthhorseman.net>

	Clarify licensing.
	+ commit 145392f07f42ef23ebcb83a917b4d8e2964e7aa8
	* src/b64dec.c, src/mbox-util.c, src/mbox-util.h: These three files
	  are explicitly licensed under LGPL, but their comments suggest that
	  details about the warranty can be found in the GPL.  Adjust comments
	  to refer to the correct license.

2016-09-27  Justus Winter  <justus@g10code.com>

	tests: Fix check for gpg versions not reporting the critical flag.
	+ commit a423603f80d9eb653ce9c171662db2175d7456f5
	* lang/python/tests/t-sig-notation.py: Also blacklist 2.0.x.
	* tests/gpg/t-sig-notation.c: Likewise.

2016-09-26  Justus Winter  <justus@g10code.com>

	python: Correctly translate to size_t.
	+ commit c38fabfea0601ed5f61e27e0bf43f8e74c67ce2a
	* lang/python/gpgme.i: Correctly translate Python number to size_t.

	python: Correctly translate off_t.
	+ commit 1d80e7374aa3150306c86afe7acdc8e8eb05143f
	* lang/python/gpgme.i: Improve int/long translations, correctly handle
	off_t with large file support.

	python: Include 'config.h'.
	+ commit 3703a4723899d7563937b4b99f5bbe4dd8d3dfed
	* lang/python/Makefile.am: Pass 'top_builddir' to 'setup.py'.
	* lang/python/gpgme.i: Include 'config.h'.
	* lang/python/helpers.c: Likewise.
	* lang/python/helpers.h: Likewise.
	* lang/python/setup.py.in: Make sure that 'config.h' can be found.

2016-09-23  Daniel Kahn Gillmor  <dkg@fifthhorseman.net>

	Fix spelling.
	+ commit 95f38652f696476b38a040644eac40b4511d2b32
	 * lang/cpp/src/context.h, lang/qt/src/protocol.h,
	   lang/qt/src/wkspublishjob.h, src/data-identify.c, src/engine-gpg.c:
	   minor spelling cleanup.

	move some file encodings to UTF-8.
	+ commit a11450eb048df79a3f2b00ebef6d7cab07ad5054
	* THANKS, doc/ChangeLog-2011, tests/ChangeLog-2011,
	  tests/gpg/geheim.txt: convert from iso 8859-1 to utf-8.
	* lang/qt/src/dataprovider.cpp, lang/qt/src/qgpgmerefreshkeysjob.cpp,
	  lang/qt/src/qgpgmesecretkeyexportjob.cpp: replace U+FFFD REPLACEMENT
	  CHARACTER with proper U+00E4 LATIN SMALL LETTER A WITH DIAERESIS.

2016-09-23  Andre Heinecke  <aheinecke@intevation.de>

	tests: Check data after decryption.
	+ commit 9b38817968b90caf73f123255fe427691e82fec4
	* tests/gpgsm/t-decrypt.c (main): Check data matches expected.
	Only print result if it does not.

	cpp, qt: Include config.h.
	+ commit a142f187b7ddb2728ec3e1743da4a0c4538ab40a
	lang/cpp/src/callbacks.cpp,
	lang/cpp/src/configuration.cpp,
	lang/cpp/src/context.cpp,
	lang/cpp/src/context_glib.cpp,
	lang/cpp/src/context_qt.cpp,
	lang/cpp/src/context_vanilla.cpp,
	lang/cpp/src/data.cpp,
	lang/cpp/src/decryptionresult.cpp,
	lang/cpp/src/defaultassuantransaction.cpp,
	lang/cpp/src/editinteractor.cpp,
	lang/cpp/src/encryptionresult.cpp,
	lang/cpp/src/engineinfo.cpp,
	lang/cpp/src/eventloopinteractor.cpp,
	lang/cpp/src/exception.cpp,
	lang/cpp/src/gpgadduserideditinteractor.cpp,
	lang/cpp/src/gpgagentgetinfoassuantransaction.cpp,
	lang/cpp/src/gpgsetexpirytimeeditinteractor.cpp,
	lang/cpp/src/gpgsetownertrusteditinteractor.cpp,
	lang/cpp/src/gpgsignkeyeditinteractor.cpp,
	lang/cpp/src/importresult.cpp,
	lang/cpp/src/key.cpp,
	lang/cpp/src/keygenerationresult.cpp,
	lang/cpp/src/keylistresult.cpp,
	lang/cpp/src/scdgetinfoassuantransaction.cpp,
	lang/cpp/src/signingresult.cpp,
	lang/cpp/src/tofuinfo.cpp,
	lang/cpp/src/trustitem.cpp,
	lang/cpp/src/verificationresult.cpp,
	lang/cpp/src/vfsmountresult.cpp,
	lang/qt/src/dataprovider.cpp,
	lang/qt/src/defaultkeygenerationjob.cpp,
	lang/qt/src/gpgme_backend_debug.cpp,
	lang/qt/src/job.cpp,
	lang/qt/src/qgpgmeadduseridjob.cpp,
	lang/qt/src/qgpgmebackend.cpp,
	lang/qt/src/qgpgmechangeexpiryjob.cpp,
	lang/qt/src/qgpgmechangeownertrustjob.cpp,
	lang/qt/src/qgpgmechangepasswdjob.cpp,
	lang/qt/src/qgpgmedecryptjob.cpp,
	lang/qt/src/qgpgmedecryptverifyjob.cpp,
	lang/qt/src/qgpgmedeletejob.cpp,
	lang/qt/src/qgpgmedownloadjob.cpp,
	lang/qt/src/qgpgmeencryptjob.cpp,
	lang/qt/src/qgpgmeexportjob.cpp,
	lang/qt/src/qgpgmeimportfromkeyserverjob.cpp,
	lang/qt/src/qgpgmeimportjob.cpp,
	lang/qt/src/qgpgmekeyformailboxjob.cpp,
	lang/qt/src/qgpgmekeygenerationjob.cpp,
	lang/qt/src/qgpgmekeylistjob.cpp,
	lang/qt/src/qgpgmelistallkeysjob.cpp,
	lang/qt/src/qgpgmenewcryptoconfig.cpp,
	lang/qt/src/qgpgmerefreshkeysjob.cpp,
	lang/qt/src/qgpgmesecretkeyexportjob.cpp,
	lang/qt/src/qgpgmesignencryptjob.cpp,
	lang/qt/src/qgpgmesignjob.cpp,
	lang/qt/src/qgpgmesignkeyjob.cpp,
	lang/qt/src/qgpgmetofupolicyjob.cpp,
	lang/qt/src/qgpgmeverifydetachedjob.cpp,
	lang/qt/src/qgpgmeverifyopaquejob.cpp,
	lang/qt/src/qgpgmewkspublishjob.cpp,
	lang/qt/src/threadedjobmixin.cpp,
	lang/qt/tests/run-keyformailboxjob.cpp,
	lang/qt/tests/t-encrypt.cpp,
	lang/qt/tests/t-keylist.cpp,
	lang/qt/tests/t-keylocate.cpp,
	lang/qt/tests/t-ownertrust.cpp,
	lang/qt/tests/t-support.cpp,
	lang/qt/tests/t-tofuinfo.cpp,
	lang/qt/tests/t-wkspublish.cpp: Include config.h

2016-09-22  Werner Koch  <wk@gnupg.org>

	w32: Silence some warnings about unused parameters.
	+ commit 583aafdd6870a7fb12a34d90993fd0f46928592c
	* src/assuan-support.c (my_recvmsg, my_sendmsg, my_waitpid)
	(my_socketpair) [W32]: Mark unused parameters.

	core: Fix error checking in _gpgme_mkstemp.
	+ commit c447b64d5989845a2ae2cf8fb30a92d2a0bd05af
	* src/w32-util.c (_gpgme_mkstemp): Fix error checking.
	(dlopen): Mark FLAGS as unused.

	core: New helper function _gpgme_strconcat.
	+ commit dc39552d01094eff2bef5f9fcd1c16928909d20e
	* src/conversion.c: Include stdarg.h.
	(do_strconcat): New.
	(_gpgme_strconcat): New.
	* src/util.h: Provide fallback for GPGRT_ATTR_SENTINEL.
	(_gpgme_strconcat): New with sentinel.

	* src/w32-util.c (find_program_in_dir): Replace malloc and stpcpy by
	_gpgme_strconcat.
	(find_program_at_standard_place): Ditto.
	(_gpgme_set_default_gpg_name): Ditto.
	(_gpgme_set_default_gpgconf_name): Ditto.
	(_gpgme_mkstemp): Ditto.
	(_gpgme_set_override_inst_dir): Repalce malloc and strcpy by strdup.

2016-09-22  Daiki Ueno  <ueno@gnu.org>

	tests: Add test for cancellation.
	+ commit 7a6543c2dfeef874a34086c8f3eeb1dbdf1ce822
	* tests/gpg/t-cancel.c: New file.
	* tests/gpg/Makefile.am (tests_skipped): New variable, default to
	t-genkey and t-cancel.
	(noinst_PROGRAMS): Add $(tests_skipped).
	* tests/gpg/.gitignore: Add t-cancel.

	gpg: Add option --exit-on-status-write-error.
	+ commit dee56820cabde60c43c9bf8281b8d411cb2ad644
	* src/engine-gpg.c (gpg_new): Add --exit-on-status-write-error if the
	engine version is latest enough to expect progress output from gpg.

	tests: Fix select usage in t-eventloop.
	+ commit d0cf6b15121c9b42dbcef243e5ce30c9996a449c
	* tests/gpg/t-eventloop.c (do_select): Supply timeout value to select.

	doc: Fix minor errors in I/O callback example.
	+ commit 0aaf1dedd629446ab991fff76581b4b58e4872a0
	* gpgme.texi (I/O Callback Example): Fix typos, add timeout to select,
	and initialize mutex as recursive.

2016-09-21  Andreas Stieger  <astieger@suse.com>

	cpp: Avoid missing returns in non-void functions.
	+ commit ae324b51ffa338b891387bff2657d60c1fd3ae40
	* lang/cpp/src/context.cpp
	  (Context::signaturePolicyURL): return nullptr on default
	  (to_tofu_policy_t): add default case for unknown
	* lang/cpp/src/key.cpp
	  (Key::primaryFingerprint): return nullptr on default
	* lang/cpp/src/tofuinfo.cpp
	  (GpgME::TofuInfo::policy): add default case for unknown

2016-09-21  Werner Koch  <wk@gnupg.org>

	Release 1.7.0.
	+ commit e7ab75379feadcc2894d9d4cde0f16ad0044780d
	* configure.ac: Bump LT vesion to C26/A15/R0.

	python: Create install dir.
	+ commit 936928632b02d7cc2ac645543bb03e4c94285f05
	* lang/python/Makefile.am (install-exec-local): Create dir.

2016-09-20  Werner Koch  <wk@gnupg.org>

	tests: Make "make -j distcheck" work in Python.
	+ commit 0763357e39d140b068ee9838a5da08be75426d9f
	* lang/python/Makefile.am (SUBDIRS): Make current dir fist.
	* lang/python/tests/Makefile.am (xcheck): Depend on pubring-stamp.
	(CLEANFILES): Remove private-keys-v1.d/gpg-sample.stamp.
	(check-local): Remove.
	(initial.py): Remove dependency.
	(./pubring-stamp): Depend on conf files and the
	private-keys-v1.d/gpg-sample.stamp file.  Also replace use of
	basename.

	tests: Use --batch for gpg import.
	+ commit bfb6890ded99f040fe8ecf910f927a136e4acfda
	* lang/python/tests/Makefile.am (./pubring-stamp): Use --batch with
	GPG to avoid Pinentries during import when using GnuPG >= 2.1.
	Replace touch by echo.
	* tests/gpg/Makefile.am (./pubring-stamp): Ditto.

	tests: Improve portability.
	+ commit 29207bcd3bf4de7264197db6758130375b16d9bb
	* lang/qt/tests/Makefile.am (clean-local): Avoid non-portable "--"
	* lang/python/Makefile.am (copystamp): Use well defined cp -R instead
	of cp -r.

	build: Create swdb file.
	+ commit df7e92b4d585b7dce919c5a3aab9524f6e183cbe
	* Makefile.am (distcheck-hook): New.
	(dist-hook): s/VERSION/PACKAGE_VERSION/ for future compatibility.

2016-09-20  Justus Winter  <justus@g10code.com>

	python: Fix detection of Python available versions.
	+ commit ef99b74eb12463db7da5806a316e3b55f8097c5c
	* configure.ac: Test for 'PYTHON_VERSION' as 'AX_PYTHON_DEVEL' sets
	'PYTHON' but clears the former.

2016-09-19  Andre Heinecke  <aheinecke@intevation.de>

	core: Remove moc artifact.
	+ commit e3c35147d6adb754d4eb0781a54af2a8f0803663
	* src/moc_kdpipeiodevice.cpp: Removed.
	* src/Makefile.am (EXTRA_DIST): Remove moc_kdpipeiodevice.cpp.

	qt: Improve README.
	+ commit 3f92253e0e476d77aa11463bc51ade367985855f
	* lang/qt/README: Add more content. Clearly note license difference.

	cpp: Improve README.
	+ commit 66febf9942c321d30b8770f6aa6cd6ce2315d34f
	* lang/cpp/README: Add more content, move license to bottom.

	qt: Add debug output for testTofuPolicy.
	+ commit d438cb59a068b6f076e6bd70d3a2c46bc05ccb5c
	* lang/qt/tests/t-tofuinfo.cpp (testTofuPolicy): Add
	debug output.

2016-09-19  Ben Kibbey  <bjk@luxsci.net>

	core: Check for GPG_TTY as well as DISPLAY.
	+ commit 9d62bacac7826cb73bb18fac7268f3d2df662d7b
	* src/engine-assuan.c (llass_new): Update --ttyname from GPG_TTY.
	* src/engine-g13.c (g13_new): Ditto.
	* src/engine-gpg.c (gpg_new): Ditto.
	* src/engine-uiserver.c (uiserver_new): Ditto.
	* src/engine-gpgsm.c (gpgsm_new): Ditto.

2016-09-16  Andre Heinecke  <aheinecke@intevation.de>

	qt: Add test for setting tofu policy.
	+ commit a8ff34fc3025af4079cede7f8f9fdf40189b8638
	* lang/qt/tests/t-tofuinfo.cpp (testTofuPolicy): New.

	qt: Add job for tofupolicy.
	+ commit 77aecfb5c97cea1a99f1ff627748cf71767bac5c
	* lang/qt/src/job.cpp, lang/qt/src/protocol.h,
	lang/qt/src/protocol_p.h: Register job.
	* lang/qt/src/qgpgmetofupolicyjob.cpp,
	lang/qt/src/qgpgmetofupolicyjob.h,
	lang/qt/src/tofupolicyjob.h: New.
	* lang/qt/src/Makefile.am: Update accordingly.

	cpp: Add support for gpgme_op_tofu_policy.
	+ commit 4d384d7bfef044094695271576ca233625bb520a
	* src/context.cpp, src/context.h (setTofuPolicy, setTofuPolicyStart):
	New.

	cpp: Declare sizes of tofu-info enums.
	+ commit 32baac8cdec6fee51bdfc3c55cb2ee141e086df4
	* lang/cpp/src/tofuinfo.h (Policy, Validity): Declare sizes.

2016-09-16  Werner Koch  <wk@gnupg.org>

	cpp: Silence use of deprecated function warning.
	+ commit bd24db313d860ae46d37776dcf1067455d1b9880
	* lang/cpp/src/context.cpp (GpgME): Use pragma to silence wardning.

	core: Document the version a function has been deprecated.
	+ commit b615316168f4d33311909d4056b236d13c69488f
	* src/gpgme.h.in (_GPGME_DEPRECATED): Change to take versio numbers
	for documentation.  Change all places.
	(_GPGME_DEPRECATED_OUTSIDE_GPGME): Ditto.
	* lang/python/gpgme-h-clean.py: Adjust RE.

	core: Map GPGME_STATUS_EOF to the empty string.
	+ commit 3d6340e8c59ee11a95e03fb213ad9b228be47833
	* src/status-table.c (_gpgme_status_to_string): Return "" for EOF.
	* src/engine-gpg.c (read_status): Ditto.  The old code accidently used
	GPGME_STATUS_EOF which is the integer 0 and neiteyr NULL nor a string.

2016-09-16  Justus Winter  <justus@g10code.com>
	    Kai Michaelis  <kai@gnupg.org>

	python: Release the GIL during calls into GPGME.
	+ commit 6af7bee076bacbc0cdfe7de342bce43ca5671b3b
	* lang/python/helpers.c (pyme_raise_callback_exception): Re-acquire
	the Global Interpreter Lock.
	(pyPassphraseCb, pyme_set_passphrase_cb, pyProgressCb,
	pyme_set_progress_cb, pyStatusCb, pyme_set_status_cb,
	_pyme_interact_cb, pyDataReadCb, pyDataWriteCb, pyDataSeekCb,
	pyDataReleaseCb, pyme_data_new_from_cbs, _pyme_assuan_data_cb,
	_pyme_assuan_inquire_cb, _pyme_assuan_status_cb): Likewise.
	* lang/python/setup.py.in: Make 'gpgme-config' emit the correct
	cflags, and SWIG generate code to release the GIL before calling us.

2016-09-16  Justus Winter  <justus@g10code.com>

	python: Adapt to 'gpgme_op_interact'.
	+ commit a458e7fe2006d92bd5a838e2747fb66bbac4b1b8
	* lang/python/examples/inter-edit.py: Update example.
	* lang/python/gpgme.i (gpgme_edit_cb_t): Turn into
	'gpgme_interact_cb_t'.
	* lang/python/helpers.c (_pyme_edit_cb): Turn into
	'_pyme_interact_cb_t'.
	* lang/python/private.h (_pyme_edit_cb): Likewise.
	* lang/python/pyme/constants/__init__.py: Replace numeric status codes
	with the keywords.
	* lang/python/pyme/constants/status.py: Likewise.
	* lang/python/pyme/core.py (Context.interact): New method.
	(Context.op_edit): Deprecate, update docstring, implement using
	Context.interact.
	* lang/python/tests/t-edit.py: Test both interfaces.

2016-09-16  Werner Koch  <wk@gnupg.org>

	core: Remove stub to try implementing gpg < 2.1 support for createkey.
	+ commit 268e251b802cc7c19831722d7e3a52777a0f412f
	* src/engine-gpg.c (gpg_createkey_legacy): Remove.
	(gpg_genkey): Remove call.

	core: Fix setting og the verification result.
	+ commit 1f9641dd0fb08e4a3df3b507b974a3f78887920f
	* src/verify.c (parse_new_sig): Proberly handle the RC in an ERRSIG
	status.

2016-09-15  Werner Koch  <wk@gnupg.org>

	core: New function gpgme_op_interact, deprecate gpgme_op_edit.
	+ commit ed1f2700a73060e2615697491ea9e49ded4293e6
	* src/gpgme.h.in (gpgme_interact_cb_t): New.
	(GPGME_INTERACT_CARD): New.
	(gpgme_op_interact_start, gpgme_op_interact): New.
	* src/libgpgme.vers, src/gpgme.def: Add new functions.
	* src/edit.c (op_data_t): Rename fnc to fnc_old and change users.  Add
	fnc.
	(edit_status_handler): Call old or new callback.
	(command_handler): Ditto.
	(interact_start): New.
	(gpgme_op_interact_start, gpgme_op_interact_start): New.
	* src/status-table.c (_gpgme_status_to_string): New.

	* tests/gpg/t-edit.c (edit_fnc): Rename to interact_fnc and change
	type of STATUS.  Use gpgme_io_writen.
	(main): s/gpgme_op_edit/gpgme_op_interact/.

	core: Minor change of the gpgme_op_edit semantics.
	+ commit d2b72d3cc19fe2a7d548dac38d55e069e0c9a904
	* src/edit.c (command_handler): Handle special error code.
	* src/engine-gpg.c (read_status): Ditto.
	* src/engine-gpgsm.c (status_handler): Ditto.
	* src/engine-uiserver.c (status_handler): Ditto.
	* src/util.h (GPG_ERR_FALSE): Define for older libgpg-error versions.

2016-09-14  Werner Koch  <wk@gnupg.org>

	core: New function gpgme_op_tofu_policy.
	+ commit 7c37719d79345a665ec2f4570e3f257033b58c62
	* src/gpgme.h.in (gpgme_op_tofu_policy_start): New function.
	(gpgme_op_tofu_policy): New function.
	* src/libgpgme.vers, src/gpgme.def: Add new functions.
	* src/tofupolicy.c: New.
	* src/Makefile.am (main_sources): Add that file.
	* src/context.h (ctx_op_data_id_t): Add OPDATA_TOFU_POLICY.
	* src/engine.c (_gpgme_engine_op_tofu_policy): New.
	* src/engine-backend.h (engine_ops): Add funcptr 'tofu_policy'.
	Adjust all engine initializations.
	* src/engine-gpg.c (gpg_tofu_policy): New.
	(_gpgme_engine_ops_gpg): Register this function.

	* tests/run-tofu.c: New.
	* tests/Makefile.am (noinst_PROGRAMS): Add it.

	core: Defer implementation of gpgme_op_createkey with gpg < 2.1.
	+ commit d79dcb78d867aaf55b85aea117c4ae6035a1531a
	* src/engine-gpg.c (gpg_createkey_legacy): Mark unused variables.

	core: New function gpgme_op_keysign.
	+ commit bfd2bd0ccc9fed8284ef932ac788d4ca0dba0336
	* src/gpgme.h.in (gpgme_op_keysign_start, gpgme_op_keysign): New.
	(GPGME_KEYSIGN_LOCAL): New.
	(GPGME_KEYSIGN_LFSEP): New.
	(GPGME_KEYSIGN_NOEXPIRE): New.
	* src/context.h (ctx_op_data_id_t): Add OPDATA_KEYSIGN.
	* src/keysign.c: New.
	* src/Makefile.am (main_sources): Add keysig.
	* src/libgpgme.vers, src/gpgme.def: Add gpgme_op_keysign_start.
	* src/engine.c (_gpgme_engine_op_keysign): New.
	* src/engine-backend.h (engine_ops): Add 'keysign' and adjust all
	engine initializers.
	* src/engine-gpg.c (_add_arg): Add args PREFIX and ARGLEN and change
	callers to set them.
	(add_arg_pfx): New.
	(add_arg_len): New.
	(gpg_keysign): New.
	(_gpgme_engine_ops_gpg): Set keysign to gpg_keysign.
	* tests/run-keysign.c: New.
	* tests/Makefile.am (noinst_PROGRAMS): Add run-keysign.

2016-09-14  Justus Winter  <justus@g10code.com>

	python: Clarify that we support Python 2.7 too.
	+ commit 594c3b8b052e60b6be77ed532fe46549133a9726
	* lang/python/README: Use 'Python' instead of 'Python 3'.
	* lang/python/pyme/version.py.in: Likewise.
	* lang/python/setup.py.in: Add classifier for 2.7, drop 3 only.

	python: Trim imports.
	+ commit 4011b2b2a1050f0837e989da3db9b5459e71ccd6
	* lang/python/examples/encrypt-to-all.py: Drop unused import of 'os'.
	* lang/python/examples/signverify.py: Likewise.
	* lang/python/examples/simple.py: Likewise.
	* lang/python/examples/verifydetails.py: Likewise.

	python: Improve error handling.
	+ commit 44d18200d5ffe8691e18d93ce6c534660702b982
	* lang/python/gpgme.i (gpgme_engine_info_t): Improve error handling.

	python: Adapt to TOFU changes.
	+ commit f6cd560ca74248dd719a37cfb34386148727a92d
	* lang/python/pyme/results.py (TofuInfo): Drop.
	(Signature): The TOFU information moved to the key.

	python: Improve build system integration.
	+ commit 99db351288d5bb075f124ef10e540e25bc36b70a
	* configure.ac: Try to compile a Python module for each version.
	* m4/m4_ax_swig_python.m4: Drop unused file.

2016-09-14  Werner Koch  <wk@gnupg.org>

	core: New function gpgme_op_revuid.
	+ commit c943380b7a2cc9b32f81c22224fc6f92e8ea8469
	* src/engine.h (GENKEY_EXTRAFLAG_REVOKE): New.
	* src/genkey.c (adduid_start): Rename to addrevuid_start.  Add arg
	REVOKE and pass it as extraflags.  Remove useless ARMOR extraflag.
	Adjust callers.
	(gpgme_op_revuid_start, gpgme_op_revuid): New.
	* src/gpgme.def, src/libgpgme.vers: Add them.

	* tests/run-genkey.c: Add option --revuid.

	core: Change a parameter for the engine's genkey function.
	+ commit c22f5884c50557f54704f4becc5a8c1ee0749547
	* src/engine.h (GENKEY_EXTRAFLAG_ARMOR): New.
	* src/engine-backend.h (engine_ops): Rename USE_ARMOR in genkey to
	EXTRAFLAGS.
	* src/engine.c (_gpgme_engine_op_genkey): Ditto.
	* src/engine-gpg.c (gpg_createkey_from_param): Ditto and test the
	flags.
	(gpg_createkey_legacy): Ditto.
	(gpg_createkey): Ditto.
	(gpg_addkey): Ditto.
	(gpg_genkey): Ditto.

2016-09-14  Justus Winter  <justus@g10code.com>

	python: Build for both Python2 and Python3.
	+ commit 24b4162d908b48a92660020be0b776c2874fb05a
	* NEWS: Update.
	* configure.ac: Check for multiple Python versions.
	* lang/python/Makefile.am: Build and install for both Python versions.
	* lang/python/tests/Makefile.am: Test both versions.
	* lang/python/tests/run-tests.py: New test runner.

2016-09-14  Werner Koch  <wk@gnupg.org>

	core: New function gpgme_op_adduid.
	+ commit 3210f3e4725afc5ee2810b9a1361918ec9c42ca4
	* src/genkey.c: Replace most error codes GPG_ERR_INV_VALUE by
	GPG_ERR_INV_ARG.
	(struct op_data_t): Add field UIDMODE.
	(genkey_status_handler): Use UIDMODE.
	(adduid_start): New.
	(gpgme_op_adduid_start, gpgme_op_adduid): New.
	* src/gpgme.def, src/libgpgme.vers: Add them.
	* tests/run-genkey.c: Add option --adduid.

	core: New function gpgme_op_createsubkey.
	+ commit cc353701b0fde4c811ddc1e9a91b852dfe9f4e06
	* src/genkey.c (createsubkey_start): New.
	(gpgme_op_createsubkey_start, gpgme_op_createsubkey): New.
	* src/gpgme.def, src/libgpgme.vers: Add them.
	* src/engine-gpg.c (gpg_createkey): Factor some code out to ...
	(gpg_add_algo_usage_expire): new.
	(gpg_addkey): Implement.
	* tests/run-genkey.c: Add option --addkey.

2016-09-13  Werner Koch  <wk@gnupg.org>

	core: Use const char * where appropriate.
	+ commit 51f9acbca935c5287d9a28205037b0923e9a65f5


	core: Cast away the common const problem with spawn and argv.
	+ commit 686a065f639ef006e33c164e282d787bcd169754
	* src/dirinfo.c (read_gpgconf_dirs): Use a cast to assignd to ARGV.

	core: Fix condition-always-true warning in trace macro.
	+ commit 3009e6162eaa39adaaf45f06fc4f88c7153360ee
	* src/data-compat.c (old_user_read): Cast AMT.

	core: Mark unused function args.
	+ commit 4a200146b602349eebb4eac2e102357748d7ba5b


	tests: Mark lots of unused vars and fix const mismatches.
	+ commit 9064eebdc05e7149c2c8cc899fbd7874622fb769


	tests: Use gpgme_io_write in passhrase callbacks.
	+ commit 4491ef0a9a15d3b307d1ade37ff620ef9fcb2478
	* tests/gpg/t-support.h (passphrase_cb): Use gpgme_io_write.
	* tests/gpgsm/t-support.h (passphrase_cb): Ditto.
	* tests/run-support.h (passphrase_cb): Ditto.

	core: Do not pass const char* to functions taking a char*.
	+ commit 3972f476e00f27d41a0aeabcb66600905b6737bd


	build: Use more compiler warnings.
	+ commit 0510591c36591816a6ff3f87a04451001b7ed46f
	* configure.ac: Add useful compiler warnings.

	core: New function gpgme_op_create_key.
	+ commit 00c501d296da287bec2fd6a0e3912abfbde90a98
	* src/engine-backend.h (engine_ops): Change prototype of genkey.
	* src/engine-gpgsm.c (gpgsm_genkey): Change accordingly.
	* src/engine-gpg.c (gpg_genkey): Change it to a dispatcher.
	(gpg_createkey_from_param): New for the old functionality.
	(gpg_createkey_legacy): New.  Stub for now.
	(gpg_createkey): New.
	(gpg_addkey): New.  Stub for now.
	(gpg_adduid): New.  Stub for now.
	* src/engine.c (_gpgme_engine_op_genkey): Add new args.
	* src/genkey.c (op_data_t): Add field ERROR_CODE.
	(parse_error): New.
	(genkey_status_handler): Parse ERROR status line.
	(genkey_start): Use NULL/0 for the new args.
	(createkey_start): New.
	(gpgme_op_createkey_start, gpgme_op_createkey): New.
	* src/gpgme.def, src/libgpgme.vers: Add gpgme_op_createkey_start and
	gpgme_op_createkey.
	* src/gpgme.h.in (_gpgme_op_genkey_result): Add fields PUBKEY and
	SECKEY.
	(GPGME_CREATE_SIGN): New.
	(GPGME_CREATE_ENCR): New.
	(GPGME_CREATE_CERT): New.
	(GPGME_CREATE_AUTH): New.
	(GPGME_CREATE_NOPASSWD): New.
	(GPGME_CREATE_SELFSIGNED): New.
	(GPGME_CREATE_NOSTORE): New.
	(GPGME_CREATE_WANTPUB): New.
	(GPGME_CREATE_WANTSEC): New.
	(GPGME_CREATE_FORCE): New.

	* tests/run-genkey.c: New.
	* tests/Makefile.am (noinst_PROGRAMS): Add it.

2016-09-13  Justus Winter  <justus@g10code.com>

	python: Handle slight differences between Python 2 and 3.
	+ commit 70a3be27a509a1b5ea7372bee93d83c5019427ff
	* lang/python/helpers.c (pyDataWriteCb): Handle Python integers being
	returned on Python 2.
	(pyDataSeekCb): Likewise.
	* lang/python/pyme/core.py (Data.__init__): Fix testing for string
	argument.
	(Data.new_from_filepart): Likewise.
	* lang/python/pyme/util.py (is_a_string): New function.
	* lang/python/tests/t-encrypt-large.py (read_cb): Force evaluation of
	generator.
	* lang/python/tests/t-idiomatic.py: Partly skip test on Python 2.
	* lang/python/tests/t-verify.py (check_result): Here, the difference
	between 2 and 3 really matters.  We cannot change the char *
	conversion in Python 2 without breaking all existing applications, and
	using bytestrings in Python 3 would be very inconvenient.

	python: Fix types and error handling.
	+ commit 4abff7d750a1abf5b388a4c87ec321fc3e4aed10
	* lang/python/helpers.c (_pyme_edit_cb): Drop the const.
	(_pyme_assuan_{data,inquire,status}_cb): Fix error handling.

2016-09-12  Justus Winter  <justus@g10code.com>

	python: Avoid Python3-only form of super().
	+ commit c0c50318bd8ef6c8119ad9fdc53ad9087ded4c32
	* lang/python/pyme/core.py (GpgmeWrapper.__repr__): Use more
	compatible form of super.
	(GpgmeWrapper.__setattr__): Likewise.
	(Context.__init__): Likewise.
	(Data.__init__): Likewise.

	python: Make type translation compatible with Python 2.7.
	+ commit 1d5bbbf1185a0d1f82750f10b69dad3999f7ef4c
	* lang/python/gpgme.i: Avoid functions not available in Python 2.7.
	* lang/python/helpers.c: Likewise.

	python: Avoid hardcoding the interpreter.
	+ commit 70999d81618b3d3ae6b61a43be2ce703ad284275
	* lang/python/setup.py.in: Avoid hardcoding the interpreter.

	python: Do not rely on subprocess.DEVNULL.
	+ commit b48b852a846129914d6c63ec7b47388cdcf6acca
	* lang/python/setup.py.in: Do not rely on subprocess.DEVNULL.

	tests: Fix version comparison.
	+ commit dfd99ab50c3bc1d6745b6f682791e4885e8d8a9a
	* tests/gpg/t-sig-notation.c: Fix version comparison.

	tests: Make signature notation test compatible with older GnuPGs.
	+ commit a0263ad282d350b548cbbc27e96f196d9217d040
	* lang/python/tests/t-sig-notation.py: Only check the critical flag
	when GnuPG >= 2.1.13 is used.
	* tests/gpg/t-sig-notation.c: Likewise.

2016-09-12  Andre Heinecke  <aheinecke@intevation.de>

	qt: Fix some includes.
	+ commit d480f6b701894f78f3f4016d69c0e3b87939930b
	* lang/qt/src/qgpgmekeyformailboxjob.cpp: Explicitly include
	QStringList.
	* lang/qt/tests/t-support.h, lang/qt/tests/t-support.cpp: Move
	includes into impl. Explicitly include QDir.

2016-09-12  Justus Winter  <justus@g10code.com>

	qt: Fix tofu test.
	+ commit 7b9e6ea376d04fb4694ed22369abaae92ce3ec86
	* lang/qt/tests/t-tofuinfo.cpp: Adjust member names.

2016-09-07  Werner Koch  <wk@gnupg.org>

	core,cpp: Extend the TOFU information.
	+ commit 120b14783c0312d782dc08ce4949a6209d5ccc7b
	* src/gpgme.h.in (struct _gpeme_tofu_info): Rename FIRSTSEEN to
	SIGNFIRST and LASTSEEN to SIGNLAST.  Add ENCRFIST and ENCRLAST.
	* src/keylist.c (parse_tfs_record): Parse to ENCRFIRST and ENCRLAST.
	* src/verify.c (parse_tofu_stats): Ditto.
	* tests/run-keylist.c (main): Adjust and print encrypt stats.
	* tests/run-verify.c (print_result): Ditto.

	* lang/cpp/src/tofuinfo.h (TofuInfo): Rename firstSeen to signFirst
	and lastSeen to signLast.  Add encrCount, encrFirst and encrLast.
	* lang/cpp/src/tofuinfo.cpp (encrCount, encrFirst, encrLast): New.

2016-09-06  Andre Heinecke  <aheinecke@intevation.de>

	tests: Set passphrase cb in t-encrypt-mixed.
	+ commit 151da95470f174dc770b2111890ad650a1697276
	* tests/gpg/t-encrypt-mixed.c (main): Set passphrase cb.

	core: Check for gpg version for loopback mode.
	+ commit e8cb143c8337b122a6790f769ddb0a97c4baccd3
	* src/engine-gpg.c (build_argv): Check for version 2.1.0
	before adding pinentry-mode.

	core: Fix passphrase cb for mixed sym encrypt.
	+ commit efe7e11dfa2ff911b477ce748292e53e7a50347e
	* src/encrypt.c (encrypt_start): Handle SYMMETRIC flag.
	* src/encrypt-sign.c (encrypt_sign_start): Ditto.

2016-09-05  Andre Heinecke  <aheinecke@intevation.de>

	qt: Clarify comment and strings in tofuinfo test.
	+ commit ab3fbdbd05cfd1b039bb5b1eb3941fbb4bcf6307
	* lang/qt/tests/t-tofuinfo.cpp (testTofuSignCount)
	(testTofuKeyList): Ensure distinct messages. Clarify comment.

	qt: Enable signcount checks in tofuinfo test.
	+ commit 965b842fad6ec6fbd8902f3a32119abcd0728fe4
	* lang/qt/tests/t-tofuinfo.cpp: Enable checks for signcount.

	cpp: Add convenience update function to a key.
	+ commit 79439e76cc5b302222874a1f9e93665cb12801ac
	* lang/cpp/src/key.cpp (Key::update): New.
	* lang/cpp/src/key.h: Update accordingly.

	cpp: Add ostream operators for key and uid.
	+ commit 444d85ace0dddff5c511961927052d9946035b00
	* lang/cpp/src/key.cpp (Key, UserID): Add ostream operator.
	* lang/cpp/src/key.h: Update accordingly.

	qt: Add missing header redirection.
	+ commit 8a39a595eb802b80a6ad756b0ee8939e9733e86f
	* lang/qt/src/keyformailboxjob.h,
	lang/qt/src/qgpgmekeyformailboxjob.h: Fix includes.

	qt: Include cpp before core directory.
	+ commit e3a4697894cc5a93c295e84bb10c743bc7fdc87e
	* lang/qt/src/Makefile.am (AM_CPPFLAGS): Include cpp before core.

2016-08-25  Andre Heinecke  <aheinecke@intevation.de>

	qt: Fix 2.1 t-support copy.
	+ commit 05570bd3d05fb3d7934c1122f0d5ef5fdbaa7974
	* lang/qt/src/t-support.cpp (copyKeyring): Fix seckey copy.

	qt: Fix and extend TofuInfo test.
	+ commit 9fc72e928bf2cf239bd3b0facdf33ceb1acc975b
	* lang/qt/tests/t-tofuinfo.cpp: Delete executed jobs.
	(testTofuKeyList): New.
	(testSupported): Activate for 2.1.16
	(signAndVerify): Disable sigcount tests.

	qt: Fix keyring copy in tests.
	+ commit c875f07e559a7c53fc173b4c3f9f5715f3fbb8f8
	* lang/qt/test/t-encrypt.cpp,
	lang/qt/test/t-tofuinfo.cpp: Assert on copy failure.
	* lang/qt/test/t-support.cpp (copyKeyrings): Fix path.

	qt: Add generic flag support for keylistjobs.
	+ commit 4e37d0bb1255558ce20e1a5ac83a2d06a37f8b0b
	* lang/qt/src/keylistjob.h (addMode): New.
	* lang/qt/src/qgpgmekeylistjob.h (addMode): New.
	* lang/qt/src/qgpgmekeylistjob.cpp (addMode: New.

	qt: Ensure that current src dir is included first.
	+ commit 5a92cc96da183ebb19867a2a910f53ba41e76ae9
	* lang/qt/src/Makefile.am: Reorder include directives.

	cpp: Add WithTofu Keylist Mode.
	+ commit f311b92ceaedb12c9e00a722b6b47bbe6b50871e
	* lang/cpp/src/context.cpp: Handle WithTofu.
	* lang/cpp/src/global.h (KeyListMode): Add WithTofu.
	* lang/cpp/src/util.h (add_to_gpgme_keylist_mode_t): Handle WithTofu.

	qt: Fix tofuinfo test when gpg is gpg2.
	+ commit 053e6e0a7b8ea38ad9d4160c84814867bbb9fcf6
	* lang/qt/tests/t-support.cpp (QGpgMETest::copyKeyrings): New helper.
	* lang/qt/tests/t-support.h: Declare.
	* lang/qt/tests/t-encrypt.cpp: use it
	* lang/qt/tests/t-tofuinbo.cpp: ditto.

	qt: Remove unused variable in test.
	+ commit f08904b810d77d87c66d9c7875c4e7f2bde5dd92
	* t-wkspublish.cpp (testWKSPublishCreate): Remove context.

	qt: Add test for wkspublishjob.
	+ commit df04b232b8897f030534f8c3fbc87064edf8ae7d
	* lang/qt/tests/t-wkspublish.cpp: New.
	* lang/qt/tests/Makefile.am: Update accordingly.

	qt: Add WKSPublishJob.
	+ commit 94420b05775122b25885c66ac67f77c59d01644d
	* lang/qt/src/Makefile.am: Add new files.
	* lang/qt/src/job.cpp: Include moc / subclass stub.
	* lang/qt/src/protocol.h: Add virtual for new job.
	* lang/qt/src/protocol_p.h: Add job.
	* lang/qt/src/wkspublishjob.h: Interface for WKSPublishJob.
	* lang/qt/src/qgpgmewkspublishjob.cpp,
	lang/qt/src/qgpgmewkspublishjob.h: New.

	Cpp: Change firstSeen / lastSeen return values.
	+ commit de7b67f9b2e6bd43a036fa0bcc6a8ca4f5b10986
	* lang/cpp/src/tofuinfo.cpp,
	lang/cpp/src/tofuinfo.h (TofuInfo::firstSeen, TofuInfo::lastSeen):
	Change return values to unsigned long and update doc.

	Cpp: Add wrapper for gpgme_get_dirinfo.
	+ commit abcd9a283ee8f81870622c8e1dbdc7aad38c0358
	* lang/cpp/src/context.cpp (dirInfo): New.
	* lang/cpp/src/global.h (dirInfo): New.

	Cpp: Add support for spawn engine.
	+ commit ece8b02a839d6fc566fea7b6e59fabff164f6cf5
	* lang/cpp/src/context.cpp (Context::spawn, Context::spawnAsync): New.
	* lang/cpp/src/context.h: Add prototypes.
	(SpawnFlags): New.
	* lang/cpp/src/global.h (SpawnEngine): Added.

2016-08-25  Werner Koch  <wk@gnupg.org>

	core: Add GPGME_KEYLIST_MODE_WITH_TOFU.
	+ commit 9ee103957e4136337b92d238283f8ef30fd4a7c5
	* src/gpgme.h.in (GPGME_KEYLIST_MODE_WITH_TOFU): New.
	* src/engine-gpg.c (gpg_keylist_build_options): Use that.
	* src/keylist.c: Include limits.h.
	(parse_tfs_record): New.
	(keylist_colon_handler): Support TFS record.
	* tests/run-keylist.c: Include time.h.
	(isotimestr): New.
	(main): Add option --tofu.  Print TOFU info.
	* tests/run-verify.c: Include time.h.
	(isotimestr): New.
	(print_result): Use isotimestr for TOFU dates.

2016-08-24  Werner Koch  <wk@gnupg.org>

	core: Adjust for TOFU_STATS change in gnupg 2.1.16.
	+ commit 38798fee5b539d6153a8a7856152959412ee59b5
	* src/gpgme.h.in (_gpgme_tofu_info): Change 'firstseen' and 'lastseen'
	to a timestamp value.
	* src/verify.c (parse_tofu_stats): Do not cap these values at UINT_MAX.

	core: Set the 'encrcount' field in gpgme_tofu_info_t.
	+ commit 1eefc2d43c0adb2ce516f8e3509ace2fb562e401
	* src/verify.c (parse_tofu_stats): Set ENCRCOUNT field.

	cpp: Get rid of AssuanResult due to its deprecation.
	+ commit e20b0f0201543834f15c5d50cd3b2ece69a35d70
	* lang/cpp/src/assuanresult.cpp: Remove.
	* lang/cpp/src/assuanresult.h: Remove.
	* lang/cpp/src/Makefile.am: Remove these files.
	* lang/cpp/src/context.cpp: Remove header assuanresult.h
	(assuanTransact): Change return type to Error.  Use
	gpgme_op_assuan_transact_ext.
	(startAssuanTransaction): Change return type to Error.
	(assuanResult): Remove
	* lang/cpp/src/context.h (assuanResult): Adjust for changes.

2016-08-24  Andre Heinecke  <aheinecke@intevation.de>

	Qt: Adapt (disabled) tofuinfo test to new API.
	+ commit d2e40fb7adf667f3e2d2457ee4c646ea4d4d88b3
	* lang/qt/tests/t-tofuinfo.cpp: Switch to UID based API.

	Cpp: Add Key to signature.
	+ commit 7c5a4974b71c30e824cbfcb3a0a70064e5ed5adb
	* lang/cpp/src/verificationresult.cpp,
	lang/cpp/src/verificationresult.h (Signature::key): New.

	Cpp: Use fpr field for primaryFingerprint.
	+ commit 40ea1c85773cbe324557c34b3a4282f609fcdaf6
	* lang/cpp/src/key.cpp (Key::primaryFingerprint): Return
	fpr value if available.

2016-08-23  Andre Heinecke  <aheinecke@intevation.de>

	Cpp: Move tofuinfo from signature to userid.
	+ commit 799b168243e6499ac01bf59e0656547f353a2589
	* lang/cpp/src/key.cpp (UserID::tofuInfo): New.
	* lang/cpp/src/key.h: Update accordingly.
	* lang/cpp/src/tofuinfo.cpp: Remove dropped fields.
	* lang/cpp/src/tofuinfo.h: Update accordingly.
	* lang/cpp/src/verificationresult.cpp,
	lang/cpp/src/verificationresult.h: Remove tofu info.
	* lang/qt/tests/t-tofuinfo.cpp: Disable for now.

2016-08-23  Werner Koch  <wk@gnupg.org>

	core: Put the protocol into a TOFU created key object.
	+ commit 2972c44bd7e97b2169dea9c4a49d9754afdae3f0
	* src/verify.c (parse_tofu_user): Add arg 'protocol' and store it in
	the KEY.
	(_gpgme_verify_status_handler): Pass protocol.

	core: Change the way TOFU information are represented.
	+ commit be4ff75d7d5ac6ed15feb245ef3cec59b4bad561
	* src/gpgme.h.in (struct _gpgme_signature): Remove field 'tofu'.  Add
	field 'key'.
	(struct _gpgme_key): Add field 'fpr'.
	(struct _gpgme_user_id): Add field 'tofu'.
	(struct _gpgme_tofu_info): Remove fields 'address' and 'fpr'.
	* src/key.c (gpgme_key_unref): Release TOFU and FPR.
	* src/keylist.c (keylist_colon_handler): Store the fingerprint of the
	first subkey also in KEY.
	* src/verify.c (release_tofu_info): Remove.
	(release_op_data): Release KEY.
	(parse_tofu_user): Rewrite for new data structure.
	(parse_tofu_stats): Ditto.
	(parse_tofu_stats_long): Ditto.
	* tests/run-verify.c (print_result): Ditto.
	* tests/run-keylist.c (main): Print more fields.

	core: Extend gpgme_user_id_t with 'address'.
	+ commit 3955dce06e9d056599e5ec7d40301e66b9305195
	* src/mbox-util.c, src/mbox-util.h: Adjust for use in gpgme.
	* src/Makefile.am (main_sources): Add mbox-util.
	* src/key.c (_gpgme_key_append_name): Set 'address' field of uid.
	(gpgme_key_unref): Free it.

2016-08-22  Werner Koch  <wk@gnupg.org>

	core: New code for parsing mail addresses.
	+ commit 26c5ba528ce1411d96655952ec48359105695c0f
	* src/mbox-util.c: New.
	* src/mbox-util.h: New.

	core: Add new items for gpgme_get_dirinfo.
	+ commit 24e61984c9532924135c57b8ff98489a2d3bd4a3
	* src/dirinfo.c (WANT_SYSCONFDIR, WANT_LIBEXECDIR, WANT_LIBDIR): New.
	(WANT_DATADIR, WANT_LCOALEDIR, WANT_AGENT_SSH_SOCKET): New
	(WANT_DIRMNGR_SOCKET): New.
	(dirinfo): Add fields 'sysconfdir', 'bindir', 'libexecdir', 'libdir',
	'datadir', 'localedir', 'agent_ssh_socket', and 'dirmngr_socket'.
	(parse_output): Set these fields.
	(get_gpgconf_item): Return them.
	(gpgme_get_dirinfo): Likewise.

	core: Base gpgme_get_dirinfo(uiserver-socket) on the socket dir.
	+ commit c9e7dcb100d807583d8e312da459561138231376
	* src/dirinfo.c (dirname_len): New.
	(parse_output): Change computation of UISRV_SOCKET.

2016-08-21  Werner Koch  <wk@gnupg.org>

	core: New commands --lang and --have-lang for gpgme-config.
	+ commit 3e60788810f93cfcd7f08e5882aff32ed7b6f831
	* configure.ac (GPGME_CONFIG_AVAIL_LANG): New ac_subst.
	* src/gpgme-config.in (avail_lang): Add commands --lang and
	--have-lang.

2016-08-18  Andre Heinecke  <aheinecke@intevation.de>

	core: Remove (now) useless diagnostic.
	+ commit 30f156280f18500ee522db58aecd40711c8af685
	* src/w32-io.c(_gpgme_io_spawn): Remove spawnhelper not found
	diagnostic.

	core: Fail loudly in case w32 spawner not found.
	+ commit 9cf983b0199950c8f8cccee2cb8e45aafcba9fd1
	* src/w32-io.c (_gpgme_io_spawn): Show a message box in
	case gpgme-w32spawn.exe not found.

2016-08-17  Andre Heinecke  <aheinecke@intevation.de>

	Cpp: Fix some pedantic warnings.
	+ commit 64194b0f8df1afe6135cd119fd3216fc8db68033
	* lang/cpp/src/context.cpp,
	lang/cpp/src/context.h (Context::getKeysFromRecipients): Remove
	ignored / invalid const qualifier.
	* lang/cpp/src/result.h: Don't shadow error function in ctor.

2016-08-16  Werner Koch  <wk@gnupg.org>

	core: New global flag "require-gnupg".
	+ commit 8c09dd9989bcd434a8cb5997770cb8414b96bd5c
	* src/gpgme.c (gpgme_set_global_flag): Add flag.
	* src/engine.c (engine_minimal_version): New variable.
	(_gpgme_set_engine_minimal_version): New function.
	(gpgme_get_engine_info): Check that flag.

	* tests/run-keylist.c (main): New option --require-gnupg.

	core: Simplify setting of dummy versions.
	+ commit b7b0e7b5bfefd51c8092ea54f262b18aebf78128
	* src/engine.c (_gpgme_engine_info_release): Do not assert but free
	FILE_NAME.
	(gpgme_get_engine_info): Provide default for VERSION and REQ_VERSION.
	Use calloc instead of malloc.
	(_gpgme_set_engine_info): Ditto.
	* src/engine-assuan.c (llass_get_version): Return NULL.
	(llass_get_req_version): Ditto.
	* src/engine-spawn.c (engspawn_get_version): Ditto.
	(engspawn_get_req_version): Ditto.
	* src/engine-uiserver.c (uiserver_get_version): Ditto.
	(uiserver_get_req_version): Ditto.

2016-08-12  Andre Heinecke  <aheinecke@intevation.de>

	Qt: Add test for progress signal of encryptjob.
	+ commit 391e55411cda11446ca9de4dd0dc2b54d3e6fff5
	* lang/qt/tests/t-encrypt.cpp (testProgress): New.

	Cpp: Provide size-hint for seekable and mem data.
	+ commit df7bbf5a66576a5a320b54c8f6ad52bc84f0e833
	* lang/cpp/src/data.cpp (GpgME::Data::Data): Set size-hint for
	mem and DataProvider based Data.

2016-08-12  Werner Koch  <wk@gnupg.org>

	core: Make use of the "size-hint" in engine-gpg.
	+ commit fe1e8e71aa18b4ac6471292b2894b8859f42f7c8
	* src/engine-gpg.c: Include data.h.
	(add_input_size_hint): New.
	(gpg_decrypt, gpg_encrypt, gpg_encrypt_sign, gpg_sign)
	(gpg_verify): Call new function,

	* tests/run-encrypt.c (status_cb): Print to stderr.
	(progress_cb): New.o
	(main): Add option --progress.  Print full-status lines.  Provide a
	size for the input data.

	core: Add gpgme_data_set_flag to add more meta data to data objects.
	+ commit 293d1736911fd5e77b8cec305168b35b2420c612
	* src/gpgme.h.in (gpgme_data_set_flag): New public function.
	* src/data.c (gpgme_data_set_flag): New.
	(_gpgme_data_get_size_hint): New.
	* src/data.h (strucy gpgme_data): Add field 'size_hint'.
	* src/gpgme.def, src/libgpgme.vers: Add new function.
	* src/conversion.c (_gpgme_string_to_off): New.

2016-08-12  Andre Heinecke  <aheinecke@intevation.de>

	Qt: Fix defaultkeygenerationjob build.
	+ commit 75c974c4e0a31981325f7d151bd13f2523f5df20
	* lang/qt/src/defaultkeygenerationjob.cpp: Include moc.

2016-08-11  Andre Heinecke  <aheinecke@intevation.de>

	Qt: Add DefaultKeyGenerationJob.
	+ commit 105f5446e69db00291164397cf0d8e68374cf420
	* lang/qt/src/defaultkeygenerationjob.cpp,
	lang/qt/src/defaultkeygenerationjob.h: New.
	* lang/qt/src/Makefile.am: Update accordingly.

	Qt: Ensure all public classes are exported.
	+ commit 59e2251a083b0ed61b3ab6d47015cef7cc6ceb05
	* src/abstractimportjob.h,
	src/cryptoconfig.h,
	src/deletejob.h,
	src/exportjob.h,
	src/importfromkeyserverjob.h,
	src/importjob.h,
	src/keygenerationjob.h,
	src/keylistjob.h,
	src/listallkeysjob.h,
	src/refreshkeysjob.h,
	src/signencryptjob.h,
	src/specialjob.h,
	src/verifydetachedjob.h: Export classes.

	Qt: Add KeyForMailboxJob.
	+ commit 8c5abc8d932affab4bc79a85e3f98f6f6b982ae8
	* lang/qt/src/job.cpp: Include moc and make subclass.
	* lang/qt/src/keyformailboxjob.h,
	lang/qt/src/qgpgmekeyformailboxjob.cpp,
	lang/qt/src/qgpgmekeyformailboxjob.h: New.
	* lang/qt/tests/run-keyformailboxjob.cpp: New manual test.
	* lang/qt/tests/Makefile.am: Add run-keyformailboxjob.
	* lang/qt/src/Makefile.am: Update accordingly.
	* lang/qt/src/protocol.h, lang/qt/src/protocol_p.h: Add
	keyformailboxjob.

2016-08-10  Werner Koch  <wk@gnupg.org>

	doc: Get rid of version.texi.
	+ commit b7d99e02188b7907b09fec3032fc1fd82fc2668a
	* configure.ac (CC_FOR_BUILD): New.
	* doc/mkdefsinc.c: New.  Taken from GnuPG and modified for gpgme.
	* doc/Makefile.am (EXTRA_DIST): Add defsincdate and mkdefsinc.c
	(BUILT_SOURCES): new.
	(gpgme.texi): New dependency.
	(mkdefsinc, defsincdate, defs.inc): New rules.
	(dist-hook): New.
	* doc/gpgme.texi: Include defs.inc.  Remove version.texi.

	build: Declare all languages for make dist.
	+ commit 48691db97b759d67aa7b49c36bb704b5806ade2e
	* lang/Makefile.am (DIST_SUBDIRS): New.

	core: Do not identify PNG files as PGP signatures.
	+ commit a9168185ba97aa1d827315cd8017899bf904aded
	* src/data-identify.c (next_openpgp_packet): Blacklist PNG files.

2016-08-10  Andre Heinecke  <aheinecke@intevation.de>

	Cpp: Handle empty recipients consistently.
	+ commit 09667a6006986a782af98ca1de4d6521e1b8f353
	* lang/cpp/src/context.cpp (Context::getKeysFromRecipients):
	New helper.
	(Context::encrypt, Context::startEncryption, Context::signAndEncrypt)
	(Context::startCombinedSigningAndEncryption): Use new helper.
	* lang/cpp/src/context.h (Context::getKeysFromRecipients): Add
	as private helper.

	core: Handle ENCRYPT_SYMMETRIC also for sig & enc.
	+ commit b602d8bc7bd726afb52dc60cc07e4609e88d4511
	* src/engine-gpg.c (gpg_encrypt_sign): Handle ENCRYPT_SYMMETRIC
	flag.

	Qt: Remove unused variable.
	+ commit d467018ce36f5be36751267c3b6079e8c1ee5d8a
	* lang/qt/src/qgpgmerefreshkeysjob.cpp (slotStatus): Remove
	unused variable typ.

	Qt: Create TestPassphraseProvider on stack.
	+ commit a27d7755d071aad42efc2aa4ea3899ba7b17f8bf
	* lang/qt/tests/t-encrypt.cpp, lang/qt/tests/t-tofuinfo.cpp: Create
	TestPassphraseProvider on stack.

	Cpp: Clarify ownership of provider classes.
	+ commit 21d5e71d486da8e37cf53f2b968646b39a6daa72
	* lang/cpp/src/context.h: Note that the context does not take
	ownership of providers.

2016-08-10  Justus Winter  <justus@g10code.com>

	tests: Fix memory leak.
	+ commit 04f994d5db6db0575dc73c2356c7d51424e2d9fe
	* tests/gpg/t-encrypt-mixed.c (main): Free 'text2'.

2016-08-10  Andre Heinecke  <aheinecke@intevation.de>

	core: Ensure err is initalized in gpg_encrypt.
	+ commit 270887309f4b673b13e58c29ea3989c56989590e
	* src/engine-gpg.c (gpg_encrypt): Initialize err.

	Qt: Fix t-keylist moc include.
	+ commit 0c222e1b3cabe1a8b84a2877420cdd5df56171b5
	* lang/qt/tests/t-keylist.cpp: Don't include t-support.moc

2016-08-09  Andre Heinecke  <aheinecke@intevation.de>

	Qt: Clean up debug output in tests.
	+ commit 969f223d8de21d7c8b0f7646bbf8dbb5864e8d03
	* lang/qt/tests/t-support.cpp: Remove accidentally commited
	debug output.

	Qt: Add encryption test and refactor testsuite.
	+ commit f209ec8f581ae597b37f2e3a5e452e4b53b2d4c7
	* lang/qt/tests/Makefile.am: Add t-encrypt and t-support.
	* lang/qt/tests/t-support.cpp, lang/qt/tests/t-support.c (QGpgMETest):
	New. Class to handle common cleanup / init.
	* lang/qt/tests/t-keylist.cpp,
	lang/qt/tests/t-keylocate.cpp,
	lang/qt/tests/t-ownertrust.cpp,
	lang/qt/tests/t-tofuinfo.cpp: Inherit QGpgMETest.
	* lang/qt/tests/t-encrypt.cpp: New. Test Symetric and Asymectric
	encryption. Mixed encryption test is disabled.

	Qt: Add support for EncryptJobs with generic flags.
	+ commit 34b456c3fb9e59788b07a75441da482bb28bda87
	* lang/qt/src/encryptjob.h, lang/qt/src/signencryptjob.h,
	lang/qt/src/qgpgmeencryptjob.h, lang/qt/src/qgpgmeencryptjob.cpp,
	lang/qt/src/qgpgmesignencryptjob.cpp,
	lang/qt/src/qgpgmeencryptjob.cpp: Add start and exec overloads
	that accept generic EncryptFlags.

	Cpp: Add support for all EncryptionFlags.
	+ commit 17372393798ea5e2d6838f3dd1e001dd4a66c941
	* lang/cpp/src/context.h (EncryptionFlags): Extend.
	* lang/cpp/src/context.cpp (encryptflags2encryptflags): Ditto.

	Cpp: Fix simple symmetric encryption.
	+ commit bf776ce94cf454f1b3f1645b1cde09cd1c54324b
	* lang/cpp/src/context.cpp (Context::encrypt): If no recipients
	are provided encrypt with NULL and not an empty array.

	core: Add support for mixed symmetric and asym enc.
	+ commit 3d2f027d0f40e7ec4ab48cee89ff0ee10b423566
	* src/gpgme.h.in (gpgme_encrypt_flags_t): New flag
	GPGME_ENCRYPT_SYMMETRIC.
	* src/engine-gpg.c (gpg_encrypt): Also add --symmetric if the flag
	is given.
	* NEWS: Mention new flag.
	* tests/run-encrypt.c (show_usage): Extend for --symmetric.
	(main): Handle --symmetric.
	(main): Set passphrase_cb in loopback mode.
	(main): Fix encrypt call if no recipients are given.
	* tests/gpg/t-encrypt-mixed.c: New.
	* tests/gpg/Makefile.am (c_tests): Add new test.
	* doc/gpgme.texi: Document new flag.

2016-08-08  Werner Koch  <wk@gnupg.org>

	core: Let GPGME_PROTOCOL_ASSUAN pass Assuan comments through.
	+ commit b5e16b036f0045524a583d8a366d8a3366fc0005
	* src/engine-assuan.c (llass_new): Set ASSUAN_CONVEY_COMMENTS,

2016-08-08  Andre Heinecke  <aheinecke@intevation.de>

	Prepend LD_LIBRARY_PATH for python tests.
	+ commit ab6f66d676581cb497e581e4af40e2fe5bff507b
	* lang/python/tests/Makefile.am (TESTS_ENVIRONMENT): Prepend path
	instead of setting the value.

2016-08-05  Justus Winter  <justus@g10code.com>

	python: Clean up and modernize examples.
	+ commit 2a613e87156b23c4aa6aa5ce38505cb285de6a18
	* lang/python/examples/Examples.rst: Delete file.
	* lang/python/examples/t-edit.py: Likewise.  This is actually a test
	case and has been moved to 'tests'.
	* lang/python/examples/assuan.py: New file.
	* lang/python/examples/decryption-filter.py: Likewise.
	* lang/python/examples/delkey.py: Modernize.
	* lang/python/examples/encrypt-to-all.py: Likewise.
	* lang/python/examples/exportimport.py: Likewise.
	* lang/python/examples/genkey.py: Likewise.
	* lang/python/examples/inter-edit.py: Likewise.
	* lang/python/examples/sign.py: Likewise.
	* lang/python/examples/signverify.py: Likewise.
	* lang/python/examples/simple.py: Likewise.
	* lang/python/examples/testCMSgetkey.py: Likewise.
	* lang/python/examples/verifydetails.py: Likewise.

2016-08-04  Werner Koch  <wk@gnupg.org>

	core: Extend gpgme_subkey_t to carry the keygrip.
	+ commit 6f3dc66634e30d86aa6250c4ac22f9b8f7ec1be9
	* src/gpgme.h.in (struct _gpgme_subkey): Add file 'keygrip'.
	* src/key.c (gpgme_key_unref): Free KEYGRIP.
	* src/keylist.c (keylist_colon_handler): Parse GRP records.
	* src/engine-gpg.c (gpg_keylist_build_options): Do not use
	--with-fingerprint options for gpg versions >= 2.1.15.

	* tests/run-keylist.c (main): Print subkeys and keygrips.

2016-08-03  Justus Winter  <justus@g10code.com>

	python: Add a nicer interface to list keys.
	+ commit 56e26b54da9f16961209275d7a61883d3ea898ca
	* lang/python/pyme/core.py (Context.keylist): New method.
	* lang/python/tests/t-keylist.py: Test new method.

2016-08-02  Justus Winter  <justus@g10code.com>

	python: Add a flag identifying in-tree builds.
	+ commit 4c8265d32ddff5960a464b8d4e8d7d2258495b2e
	* lang/python/helpers.c (pyme_in_tree_build): New variable.
	* lang/python/helpers.h (pyme_in_tree_build): New declaration.
	* lang/python/pyme/version.py.in (in_tree_build): New variable.
	* lang/python/setup.py.in: Rework macro handling, set 'IN_TREE_BUILD'
	as appropriate.

	python: Fix build system integration.
	+ commit 0bd7d8c1977183abc414e11aafa26a4f834ca2a5
	* lang/python/Makefile.am: Be more careful when cleaning the build
	directory, we must not delete the generated file 'pyme/version.py'.

	doc: Document the Assuan protocol.
	+ commit 135185b7ef2225aa5e8c54a6cf1265d3e6cbbe48
	* doc/gpgme.texi: Document the Assuan protocol.

2016-07-28  Justus Winter  <justus@g10code.com>

	python: Fix out-of-tree build.
	+ commit 4e728de8421e2ade2061786aaebcdae3f60da3b8
	* lang/python/MANIFEST.in: Add 'private.h'.

	python: Improve error handling.
	+ commit 5a7c7a86f7e8eaf10e37138617a2d838f9d4466f
	* lang/python/pyme/core.py (Context.protocol): Check that the engine
	is usable before setting the protocol.
	(Context._errorcheck): Add missing functions.

	src: Fix dummy engine versions.
	+ commit b9e6eacd06ffeb36854c208aa4325cff3e3dfbbe
	Previously, 'gpgme_engine_check_version' failed for these protocols
	because the version parser failed to parse the dummy versions.

	* src/engine-assuan.c (llass_get_version): Use a version triple that
	the parser can understand.
	(llass_get_req_version): Likewise.
	* src/engine-spawn.c (engspawn_get_version): Likewise.
	(engspawn_get_req_version): Likewise.
	* src/engine-uiserver.c (uiserver_get_version): Likewise.
	(uiserver_get_req_version): Likewise.

	python: Drop superfluous imports and trim public interface.
	+ commit 2ff58fcbd5c060dac3a7feec478819d2c5a164ec
	* lang/python/pyme/__init__.py: Avoid leaking low-level 'gpgme', make
	sure the main module looks nice and tidy, appease pyflakes.
	* lang/python/pyme/errors.py: Appease pyflakes.
	* lang/python/pyme/util.py: Avoid leaking low-level 'gpgme' into the
	module namespace.
	* lang/python/pyme/version.py.in: Likewise.
	* lang/python/tests/t-keylist.py: Drop superfluous imports.
	* lang/python/tests/t-sig-notation.py: Likewise.
	* lang/python/tests/t-sign.py: Likewise.
	* lang/python/tests/t-signers.py: Likewise.

	python: Rename compiled SWIG module.
	+ commit 2f754440f28e8f81babdf7efa6186edbc8ad99fd
	Avoid the name pygpgme, as this is the name of another popular Python
	binding for GPGME.

	This commit renames the compiled Python module produced by SWIG.

	* lang/python/Makefile.am: Rename the compiled Python module.
	* lang/python/gpgme.i: Likewise.
	* lang/python/pyme/core.py: Likewise.
	* lang/python/pyme/errors.py: Likewise.
	* lang/python/pyme/util.py: Likewise.
	* lang/python/pyme/version.py.in: Likewise.
	* lang/python/setup.py.in: Likewise.

	python: Rename exported functions.
	+ commit b5aa05c3b261c3846ebbcf76e7505cff5459f918
	Avoid the name pygpgme, as this is the name of another popular Python
	binding for GPGME.

	This commit renames all functions that are exported to the Python
	world.

	* lang/python/helpers.c: Rename all exported functions.
	* lang/python/helpers.h: Likewise.
	* lang/python/pyme/core.py: Likewise.

	python: Rename private functions.
	+ commit 1d2f22aae668ce136cacd254875e118dc1faa6a2
	Avoid the name pygpgme, as this is the name of another popular Python
	binding for GPGME.

	This commit renames all functions that are not exported to the Python
	world.

	* lang/python/gpgme.i: Rename all private functions.
	* lang/python/helpers.c: Likewise.
	* lang/python/helpers.h: Likewise.
	* lang/python/private.h: Likewise.  Also move the SWIG runtime helper
	prototypes here.

	python: Support the Assuan engine.
	+ commit de69fa496c09386d5e99747670d6887cf52dd09e
	* lang/python/gpgme.i: Add typemaps for the Assuan protocol callbacks.
	* lang/python/helpers.c (_pyme_assuan_{data,inquire,status}_cb): New
	functions.
	* lang/python/private.h (_pyme_assuan_{data,inquire,status}_cb): New
	prototypes.
	* lang/python/pyme/core.py (Context.assuan_transact): New method.
	* lang/python/pyme/util.py (percent_escape): New function.
	* lang/python/tests/Makefile.am (py_tests): Add new test.
	* lang/python/tests/t-protocol-assuan.py: New file.

	python: Improve engine information handling.
	+ commit 355d7072863ac1f0f725e77141a59f3ed8a5e4af
	* lang/python/gpgme.i (gpgme_engine_info_t): Wrap engine infos.
	* lang/python/pyme/core.py (Context.engine_info): New property.
	(Context.{g,s}et_engine_info): Improve docstrings.
	* lang/python/pyme/results.py (EngineInfo): New class.

	python: Add accessors for the protocol.
	+ commit 78f7bf4dcf75206faae5776c2ee4166628313532
	* lang/python/pyme/core.py (Context.__init__): Add 'protocol'
	parameter.
	(Context.protocol): New accessors.

	python: Expose less functions to the Python world.
	+ commit 3d4dc3f0218234a27103bdb6f93b17c0703b71a2
	* lang/python/Makefile.am (EXTRA_DIST, COPY_FILES): Add new file.
	* lang/python/gpgme.i: Include new file and add comments.
	* lang/python/helpers.c: Include new file.
	* lang/python/helpers.h: Move functions we do not need to expose...
	* lang/python/private.h: ... here.

2016-07-19  Ben Kibbey  <bjk@luxsci.net>

	Fix including nil bytes in keylist output.
	+ commit 6a7ee33abd5059f5ae2f70a7dd9f610c16552f8e
	* src/gpgme-tool.c (cmd_keylist,gt_result): use strlen().

2016-07-15  Justus Winter  <justus@g10code.com>

	python: Make GPGME's version easily accessible.
	+ commit e545ca3f682b615ce447c186a2c73489a32b0592
	* lang/python/pyme/version.py.in (gpgme_versionstr): New variable.

	python: Add an idiomatic interface.
	+ commit 1f318b7aaaa77672fab117d54fe75221780df83c
	* configure.ac: Bump required Python version.
	* lang/python/pyme/__init__.py: Update docstring.  Import Context and
	Data.
	* lang/python/pyme/core.py (Context.encrypt): New function.
	(Context.decrypt): Likewise.
	(Context.sign): Likewise.
	(Context.verify): Likewise.
	* lang/python/pyme/errors.py: Add new errors.
	* lang/python/pyme/util.py (process_constants): Rework and return the
	inserted keys.
	* lang/python/tests/Makefile.am (EXTRA_DIST): Add new keys.
	* lang/python/tests/encrypt-only.asc: New file.
	* lang/python/tests/sign-only.asc: Likewise.
	* lang/python/tests/initial.py: Mark key 'Alpha' as trusted, import
	new keys.
	* lang/python/tests/support.py: Add fingerprints of known keys.
	(in_srcdir): New function.
	(print_data): Handle bytes too.
	(mark_key_trusted): New function.
	* lang/python/tests/t-decrypt-verify.py: Adjust test.  Test idiomatic
	interface.
	* lang/python/tests/t-decrypt.py: Test idiomatic interface.
	* lang/python/tests/t-encrypt-sign.py: Likewise.
	* lang/python/tests/t-encrypt-sym.py: Likewise.
	* lang/python/tests/t-encrypt.py: Likewise.
	* lang/python/tests/t-idiomatic.py: Simplify.
	* lang/python/tests/t-keylist.py: Adjust to newly trusted key.
	* lang/python/tests/t-sign.py: Likewise.  Test idiomatic interface.
	* lang/python/tests/t-signers.py: Likewise.
	* lang/python/tests/t-verify.py: Likewise.

2016-07-14  Andre Heinecke  <aheinecke@intevation.de>

	Qt: Disable keylocate test for gnupg < 2.0.10.
	+ commit d2f2cbd297c4d2f2c3264ecc3ffb7a2b3a70bd55
	* lang/qt/tests/t-keylocate.cpp: Disable test for gnupg < 2.0.10

	Cpp: Add EngineInfo::Version class.
	+ commit 41de1ab904eaddffb2de17b1de8ef41e462daabe
	* lang/cpp/src/engineinfo.cpp (EngineInfo::engineVersion): New.
	* lang/cpp/src/engineinfo.h (EngineInfo::engineVersion): Declare.
	(EngineInfo::Version): Small helper to work with versions.

	Qt: Fix usage of ignore-invalid-option in tests.
	+ commit e7f4c364732660c6cda25720b7dbc5b1c917e368
	* Makefile.am (pubring-stamp): Fix config.

	Qt: Fix tests if gpg2 is gpg.
	+ commit e4c0645c1eea9380d80a20895eb83c9dd7228776
	* lang/qt/tests/Makefile.am (pubring-stamp): Loopback and provide
	passphrase on command line when importing.

2016-07-14  Justus Winter  <justus@g10code.com>

	python: Fix test.
	+ commit fddcc62abd57cb04e84861abd3991c7d529c2464
	* lang/python/tests/t-keylist.py: Do not assume key alpha is trusted
	yet.

2016-07-13  Werner Koch  <wk@gnupg.org>

	build: Update config.{guess,sub} to {2016-05-15,2016-06-20}.
	+ commit a9670d152a4598aef1ae0960a79fb6f5d8db55ad
	* build-aux/config.guess: Update.
	* build-aux/config.sub: Update.

	core: New GPGME_DATA_ENCODING_MIME.
	+ commit d8d5f5a16712244fe6eff860b6ac5f007b1bf870
	* src/gpgme.h.in (GPGME_DATA_ENCODING_MIME): New.
	* src/data.c (gpgme_data_set_encoding): Adjust check.
	* src/engine-gpg.c (have_gpg_version): New.
	(gpg_encrypt, gpg_encrypt_sign): Pass flag '--mimemode'.
	(gpg_sign): Ditto.

	* lang/cpp/src/data.h (GpgME): Add MimeEncoding.
	* lang/cpp/src/data.cpp (encoding, setEncoding): Support MimeEncoding.

	* src/gpgme-tool.c (server_data_encoding): Add flag --mime.

	core: Pass the engine's version string to the engine's new function.
	+ commit 2095b1573a8196ba3efdf817324d1b3ee05cbb93
	* src/engine-backend.h (engine_ops): Add arg 'version' to NEW.
	* src/engine-assuan.c (llass_new): Add dummy arg 'version'.
	* src/engine-g13.c (g13_new): Ditto.
	* src/engine-gpgconf.c (gpgconf_new): Ditto.
	* src/engine-gpgsm.c (gpgsm_new): Ditto.
	* src/engine-spawn.c (engspawn_new): Ditto.
	* src/engine-uiserver.c (uiserver_new): Ditto.
	* src/engine.c (_gpgme_engine_new): Pass version string to the new
	function.
	* src/engine-gpg.c (struct engine_gpg): Add field 'version'.
	(gpg_new): Add arg 'version'.
	(gpg_release): Free VERSION.

2016-07-13  Andre Heinecke  <aheinecke@intevation.de>

	Cpp: Add feature enum for new identify.
	+ commit 537cb871fd59f3a20c697a046715e6339ff6633b
	* lang/cpp/src/context.cpp (supported_features2): Add
	BinaryAndFineGrainedIdentify
	* lang/cpp/src/global.h (Feature2): ditto.

2016-07-12  Justus Winter  <justus@g10code.com>

	python: Port more tests.
	+ commit 1bff47ee58bcf9d0016fb7ac7e37cbf075abd059
	* lang/python/pyme/core.py (Context.op_keylist_all): Add missing
	'op_keylist_end'.
	(Context.op_trustlist_all): Fix function. Add missing
	'op_trustlist_end'.
	* lang/python/tests/Makefile.am (pytests): Add new files.
	* lang/python/tests/t-import.py: New file.
	* lang/python/tests/t-keylist.py: Likewise.
	* lang/python/tests/t-trustlist.py: Check alternate interface.

	python: Improve python packaging.
	+ commit 57b51685528153f5a50ab0999feec25c83190501
	* lang/python/Makefile.am: Sign source releases, and upload them.
	* lang/python/setup.py.in: Add categories.

2016-07-12  Andre Heinecke  <aheinecke@intevation.de>

	m4: Don't set fpic for qt on windows.
	+ commit 938f7e9c8b466594d05c0347fe627b225263a6a6
	* m4/qt.m4 (FIND_QT): Do not set fpic for windows.

	m4: Use LIBS instead of LDFLAGS for Qt libs.
	+ commit 744978cce8f9dfb2363b9d274ee99f25cfcf0e40
	* m4/qt.m4: Modify LIBS instead of LDFLAGS for link test.

	Bump version to 1.7.0.
	+ commit bf742fb88545689addfca18192baf2f56a1895e1
	* configure.ac(mym4_version_minor),
	(mym4_version_micro): Next release will be 1.7.0

	Qt: Install CamelCase forward includes.
	+ commit fd87c4679c4bfe19390fa2047dff23bb213a4b18
	* lang/qt/src/Makefile.am (camelcase_headers): New. Create and install
	CamelCase headers.

	Qt: Export VerifyDetachedJob.
	+ commit 86ab2ee2d603111d24500b8d64a9a1dd82f8bdc0
	* lang/qt/src/verifydetachedjob.h (VerifyDetachedJob): Export it.

	Qt/Cpp: Add version headers.
	+ commit b03c48cfb06faae7d7033a0532f319cbcf13f18a
	* lang/cpp/src/gpgmepp_version.h.in,
	lang/qt/src/qgpgme_version.h.in: New. Version information.
	* lang/qt/src/Makefile.am, lang/cpp/src/Makefile.am: Add them.
	* configure.ac: Configure them.

	Qt/Cpp: Add license blurb to export headers.
	+ commit 362b8cdf4e0d5cd54ec2b325508dcdefac686f2c
	* lang/cpp/src/gpgmepp_export.h,
	lang/qt/src/qgpgme_export.h: Add license blurb.

2016-07-11  Justus Winter  <justus@g10code.com>

	python: Fix distcheck.
	+ commit ce662891373eba6cce1cf8df516cb2370970737e
	* lang/python/Makefile.am (EXTRA_DIST): Add missing files.

2016-07-11  Andre Heinecke  <aheinecke@intevation.de>

	m4: Add compile / link check for qt.
	+ commit ed070313155a1c79a57ba69f4299f2aefc65fad7
	* m4/qt.m4 (FIND_QT): Check if a qt application can be compiled and
	linked.

2016-07-11  Justus Winter  <justus@g10code.com>

	python: Enable out-of-tree build of pyme bindings.
	+ commit 007382ce94a6318557370c440f7d609a030a119e
	* lang/python/MANIFEST.in: Update manifest template.
	* lang/python/Makefile.am: Copy more files, move generation of files
	to Python build script, add 'sdist' target to build a Python source
	distribution.
	* lang/python/gpgme-h-clean.py: Add code to build 'errors.i'.
	* lang/python/setup.py.in: Generate files, enable out-of-tree builds.

	python: Do not depend on access to internal data structures.
	+ commit 98cba522c906115efcba1f8cc0bec7e5edb51ecd
	* lang/python/gpgme.i (gpgme_data_t): Rework so that it works without
	access to the definition of 'struct gpgme_data'.
	* lang/python/helpers.c (object_to_gpgme_data_t): Add assertion.

	python: Make result wrapping backwards compatible.
	+ commit c53f87c5f9ca63119152f41dcebfb175d4df2cef
	* lang/python/pyme/results.py (Result.__init__): Skip missing fields.

2016-07-11  Andre Heinecke  <aheinecke@intevation.de>

	Qt: Fix memleaks in tests.
	+ commit bfa8ac7e02c16790ee5bd3b42c26699f4821d72e
	* lang/qt/tests/t-keylist.cpp(cleanupTestCase): Ensure that
	posted events are handled for autodeletion.
	(testSingleKeylistSync): delete job.
	* lang/qt/tests/t-ownertrust.cpp(cleanupTestCase): Ditto
	* lang/qt/tests/t-ownertrust.cpp(testChangeOwnerTrust): Delete
	keylistjobs.
	* lang/qt/tests/t-keylocate.cpp(cleanupTestCase): Ditto

	Qt: Add some general Protocol documentation.
	+ commit b1f42e8f25ada220ec8e4762cfebc3a49b1f7d56
	* lang/qt/src/protocol.h (Protocol): Add doc.

	Qt: Disable t-tofuinfo tests.
	+ commit 02babb29612d554c37b63a49f78acc45653b557e
	* lang/qt/tests/t-tofuinfo.cpp: Disable tests.

2016-07-08  Justus Winter  <justus@g10code.com>

	src: Fix error handling.
	+ commit de74fe59feef9adc858ac04004880bfd44315d0d
	* src/encrypt.c (encrypt_status_handler): Fix error handling, ||
	conflates errors.

	python: Fix raising stashed exceptions.
	+ commit 8a93f345b701332270c9829a4d0a93537f98a8d8
	Fixes an issue with newer versions of Python.

	* lang/python/helpers.c (pygpgme_raise_callback_exception): Be more
	careful when restoring the exception.

2016-07-07  Justus Winter  <justus@g10code.com>

	python: Fix distcheck.
	+ commit 52efcf1ee9fc8ba4c6bd23d8fe4f5f7993ba9fb1
	* lang/python/INSTALL: Drop obsolete file.
	* lang/python/Makefile.am (EXTRA_DIST): Add missing files.
	(CLEANFILES): Remove generated files.
	(clean-local): Fix permissions of copied files.
	* lang/python/tests/Makefile.am (TESTS): Use our own setup and
	teardown scripts.
	(EXTRA_DIST): Add missing files.
	* lang/python/tests/final.py: New file.
	* lang/python/tests/initial.py: Likewise.

	qt: Fix distcheck.
	+ commit 38c408560c6ebc3ea5eeeade01d38750bf5799e5
	* lang/qt/src/Makefile.am (qgpgme_headers): Add missing file.
	(CLEANFILES): Add generated file.
	* lang/qt/tests/Makefile.am (clean-local): Remove private keys.

	cpp: Fix distcheck.
	+ commit 49286ac1c82c480e2c718f828c57da9778ccd0b9
	* lang/cpp/src/Makefile.am (CLEANFILES): Remove generated file.

2016-07-06  Andre Heinecke  <aheinecke@intevation.de>

	Qt: Add test for publicKeyAlgorithmAsString.
	+ commit fc0267233239b42e9fb74a8acd7511503e287a9e
	* lang/qt/tests/t-keylist.cpp (testPubkeyAlgoAsString): New.

	Cpp: Expose gpgme_pubkey_algo_name.
	+ commit e41ae4db9e70d9aebf80ebbd4ce03977435c2ccf
	* lang/cpp/src/key.cpp (Subkey::publicKeyAlgorithmAsString): New
	static variant.
	* lang/cpp/src/key.h: Declare function. Clarify comment about name
	mismatch.

	Qt: Add check for pubkeyAlgo in t-keylist.
	+ commit 9f93346d21271b916f15d80420669f5d659a40de
	* lang/qt/tests/t-keylist.cpp (testSingleKeyListSync): Check
	pubkeyAlgo.

	Cpp: Add PubkeyAlgo enum.
	+ commit c28007d0407bcc3621b8266d6d77eb0d069aec35
	* lang/cpp/src/key.h (Subkey::PubkeyAlgo): New enum.
	(Subkey::publicKeyAlgorithm): Change return type.
	* lang/cpp/src/key.cpp (Subkey::publicKeyAlgorithm): Use enum.

	Qt: Fix include order when buildin test.
	+ commit 4934893e27a50f5715dcd4d2907ecbe629921b32
	* lang/qt/tests/Makefile.am (AM_CPPFLAGS): Include cpp before
	gpgme src directory.

	Revert "Qt: More robust lookup of Cpp's context.h"
	+ commit 7a8c04f66d382dc49d962ad18c46d7ad332ccc0f
	* lang/qt/src/threadedjobmixin.h: Revert using full path
	for context.h

2016-07-05  Andre Heinecke  <aheinecke@intevation.de>

	Qt: Fix test build with Qt < 5.4.0.
	+ commit 49a6ee50587c9d4b6f07e60ce1a939c863e7f15c
	* lang/qt/tests/t-keylist.cpp,
	lang/qt/tests/t-keylocate.cpp,
	lang/qt/tests/t-ownertrust.cpp: Use old style SIGNAl syntax for
	QSignalSpy

	Qt: More robust lookup of Cpp's context.h.
	+ commit 47bfbc9026b49b9918359af5fcc1621aab0d1065
	* lang/qt/src/threadedjobmixin.h: When building qgpgme look for
	context.h in the full cpp subdirectory.

	w32: Fallback to 2.1 reg key for gpgconf search.
	+ commit 72b83ffc4d7581f4efef3bd7c261d7d7424bcf0e
	* src/w32-util.c (_gpgme_get_gpgconf_path): Fallback to 2.1 installer
	 registry key.

2016-07-04  Andre Heinecke  <aheinecke@intevation.de>

	Doc: Document pinentry mode.
	+ commit 329ab93f7ed862d7f4c0501fca5355936a74ac52
	* doc/gpgme.texi (Passphrase Callback): Document as context
	attribute.
	(gpgme_set_passphrase_cb): Note that this requires LOOPBACK mode
	with GnuPG 2.1.

	Qt: Add testTofuSignCount.
	+ commit 8fa9b5696ca9f8386971e6f36646536f9579ceaa
	* src/lang/qt/tests/t-tofuinfo.cpp(testTofuSignCount): New.
	(initTestCase): Set gpg-agent loopback pinentry config.
	(signAndVerify): Helper for tofuTestSignCount.

	Qt: Add test passphrase provider.
	+ commit efb5059b9b6e81db7b0c016aa9fb70abe98308ea
	* lang/qt/tests/t-support.h (TestPassphraseProvider): New.
	* lang/qt/tests/Makefile.am (t_tofuinfo_SOURCES): Add t-support.h

	Cpp: Add support for TOFU_CONFLICT sigsum.
	+ commit 80498ab662238a31325e78c0037ea6752f680a37
	* lang/cpp/src/verificationresult.cpp (GpgME::Signature::Summary):
	Handle TOFU_CONFLICT.
	* lang/cpp/src/verificationresult.h (Summary): Add TofuConflict.

	Cpp: Add support for pinentry_mode.
	+ commit d75c118aae18e20f08dbbb69c7998e1f3694ccd0
	* lang/cpp/src/context.cpp (Context::pinentryMode): Return mode.
	(Context::setPinentryMode): Set mode.
	* lang/cpp/src/context.h (PinentryMode): Add enum.

2016-07-01  Andre Heinecke  <aheinecke@intevation.de>

	Qt: Add test for TofuInfo.
	+ commit fbd6ac4655ebf56d91ebd9a4ff499c8319fcd087
	* lang/qt/tests/t-tofuinfo.cpp: New.
	* lang/qt/tests/Makefile.am: Update accordingly.

	Cpp: Add TofuInfo to signatures.
	+ commit 93c5d420fcfe275aeff2b3d5ce99629edbe6625d
	* lang/cpp/src/tofuinfo.cpp, lang/cpp/src/tofuinfo.h: New class.
	* lang/cpp/src/verificationresult.cpp (Signature::tofuInfo): New.
	(VerificationResult::Private): Handle tofu info.
	(GpgME::operator<<(std::ostream &os, const Signature &sig)): Include
	TofuInfo in dump.
	* lang/cpp/src/verificationresult.h (Signature::tofuInfo): New.
	* lang/cpp/src/Makefile.am (main_sources, gpgmepp_headers): Add
	new files.
	* configure.ac (LIBGPGMEPP_LT_REVISION): Bump for new API.

	core: Clarify documentation of tofu_stats address.
	+ commit 948ce7d1edf12ecb5080a4816ca15f495d6393f5
	* src/gpgme.h.in: Mention that Address is not always in addr-spec.

	core: Fix identify for armored detached sigs.
	+ commit 570bf2a648f14b34c4c45d3890b7300529a82d37
	* src/data-identify.c (basic_detection): Return signature for
	signature.

2016-06-27  Andre Heinecke  <aheinecke@intevation.de>

	Cpp: Expose new data_identify values.
	+ commit 15fc5c34c88ecbb61272705af60f7054b41c57f7
	* lang/cpp/src/data.cpp (GpgME::Data::type): Handle PGP Encrypted
	 and Signature.
	* lang/cpp/src/data.h: Add values accordingly.

	Cpp: Do not treat KEYEXPIRED as error.
	+ commit 82d484c852d07958ac93efb3d2d7b7726fbb5231
	* lang/cpp/src/editinteractor.cpp (status_to_error): No error
	for KEYEXPIRED.

2016-06-24  Andre Heinecke  <aheinecke@intevation.de>

	tests: Add new test tool run-decrypt.
	+ commit 3364549c19682f56d4d9c52ab7f76862c5a456cf
	* tests/run-decrypt.c: New.
	* tests/Makefile.am (noinst_PROGRAMS): Add run-decrypt.

2016-06-23  Werner Koch  <wk@gnupg.org>

	core: Add closer inspection of "PGP MESSAGE".
	+ commit cf37a57d28c43ec36277e84ca44458b7287b940b
	* src/data-identify.c (inspect_pgp_message): New.
	(basic_detection): Un-const arg DATA. Call inspect_pgp_message.

	core: Add a base 64 decoder.
	+ commit f8b8027ae63c957557ed6bdc7e5a30ef1bdd8e77
	* src/b64dec.c: New. Taken from gnupg.  Prefix function names with
	_gpgme_ and change to use standard C malloc functions.
	* src/util.h.h (struct b64state): New.
	* src/Makefile.am (main_sources): Add file.

2016-06-22  Werner Koch  <wk@gnupg.org>

	core: Detect compressed signed OpenPGP data.
	+ commit bb8cf6236582fc9eb6564046599989af52779a26
	* src/data-identify.c (next_openpgp_packet): Allow partial encoding.
	(pgp_binary_detection): Handle compressed packets.

2016-06-21  Werner Koch  <wk@gnupg.org>

	tests: Add new test tool run-identify.
	+ commit 5905e8bbd809c1408edad4fa4eb0527fa51cbea3
	* src/gpgme-tool.c (gt_identify): Add new strings.
	* tests/run-identify.c: New.
	* tests/Makefile.am (noinst_PROGRAMS): Add run-identify.

	core: Enhance gpgme_data_identify to detect binary PGP messages.
	+ commit 32d4bbf5e3e5f88e4a6852d72a35ee30df9d5279
	* src/gpgme.h.in (GPGME_DATA_TYPE_PGP_ENCRYPTED): New.
	(GPGME_DATA_TYPE_PGP_SIGNATURE): New.
	* src/data-identify.c: Add enum for OpenPGP packet types.
	(buf32_to_ulong): New.
	(next_openpgp_packet): New.  Based on the gnupg/kbx/keybox-openpgp.c
	implementation and relicensed to LGPL by g10 Code.
	(pgp_binary_detection): New.
	(basic_detection): Call pgp_binary_detection instead of returning
	unknown.

2016-06-16  Justus Winter  <justus@g10code.com>

	python: Improve autmatically generated docstrings.
	+ commit 8997d88bf97d1784706becbf8e9dc74e4656e311
	* lang/python/gpgme.i: Add comment.
	* lang/python/pyme/core.py (__getattr__): Rewrite automatically
	generated doctrings for the wrapper methods.

	python: Make result objects more robust.
	+ commit a324d0cffe93cab955698c2c065b2f2227e379e4
	Results returned by the GPGME are fragile, i.e. they are only valid
	until the next operation is performed in the context.

	We cannot arbitrarily constrain the lifetime of Python objects, we
	therefore create deep copies of the results.

	* lang/python/gpgme.i (gpgme_tofu_info_t): Turn these into a list.
	(gpgme_*_result_t): Create deep copies of these objects.
	* lang/python/helpers.c (pygpgme_wrap_fragile_result): New function.
	* lang/python/helpers.h (pygpgme_wrap_fragile_result): New prototype.
	* lang/python/pyme/results.py: New file.

	python: Avoid creating SWIG proxy classes.
	+ commit 856bcfe2934237011984fab0bc69800a7c25c34b
	* lang/python/Makefile.am (gpgme_wrap.c): Use '-builtin' to make SWIG
	generate builtin types for c types.
	* lang/python/gpgme.i (pygpgme_wrap_gpgme_data_t): Adapt slightly.

	python: Simplify wrapping glue.
	+ commit 6641c7814b30e3e8f18105b2636545cc1bd07552
	* lang/python/pyme/core.py: Rename '_getctype' to '_ctype' and turn it
	  into a string.  Likewise rename '_getnameprepend' to '_cprefix'.
	* lang/python/helpers.c: Adapt accordingly.

	python: Rework callbacks.
	+ commit f3618bc615e3eff1f52fb5849cbf0f0b95515a61
	Simplify how the lifetime of callback arguments is managed.

	* lang/python/gpgme.i (gpgme_edit_cb_t): Check arguments.
	(PyObject_p_p, void_p_p): Drop rather dangerous interface.
	(pygpgme_unwrap_gpgme_ctx_t): New function.
	* lang/python/helpers.c (pygpgme_clear_generic_cb): Drop dangerous
	function.
	(pyPassphraseCb): Assert contract.
	(pygpgme_set_passphrase_cb): Use Python's calling convention so that
	we can raise exceptions.  Hand in 'self', get the wrapped object, and
	simply store the hook data as attribute of the wrapper object.
	(pyProgressCb, pygpgme_set_progress_cb): Likewise.
	(pygpgme_set_status_cb): Likewise.
	(pygpgme_data_new_from_cbs): Likewise.
	* lang/python/helpers.h (pygpgme_clear_generic_cb): Drop prototype.
	(pygpgme_set_passphrase_cb): Update prototype.
	(pygpgme_set_progress_cb): Likewise.
	(pygpgme_set_status_cb): Likewise.
	(pygpgme_data_new_from_cbs): Likewise.
	(pygpgme_unwrap_gpgme_ctx_t): New prottotype.
	* lang/python/pyme/core.py (Context, Data): Update callsites.

	python: Wrap objects implementing the buffer protocol.
	+ commit 616929b6edf00b4a774b727385d39b785a112b90
	* lang/python/Makefile.am: Add the toplevel source directory to CFLAGS
	when compiling the bindings so that we can use private header files.
	* lang/python/gpgme.i (gpgme_data_t): Rework the object wrapping.  Do
	not create a Python wrapper object, merely a gpgme_data_t object, and
	keep references to buffer objects, if any.  If necessary, update the
	buffer after the function call.
	(pygpgme_wrap_gpgme_data_t): New function.
	* lang/python/helpers.c (object_to_gpgme_data_t): Rework object
	wrapping.  Also wrap objects implementing the buffer protocol.
	* lang/python/helpers.h (object_to_gpgme_data_t): Update prototype.
	(pygpgme_wrap_gpgme_data_t): New prototype.
	* lang/python/tests/t-idiomatic.py: Demonstrate this.

	python: Add properties to wrapped object.
	+ commit 5464060baef2da8f5ea377118758e451c55e3787
	* lang/python/pyme/core.py (GpgmeWrapper.__repr__): Saner
	representation.
	(GpgmeWrapper.__str__): Construct a nicer human readable string.
	(GpgmeWrapper._boolean_properties): New field.
	(GpgmeWrapper.__wrap_boolean_property): New function.
	(GpgmeWrapper.__getattr__): Wrap functions using properties.
	(GpgmeWrapper.__setattr__): New method.  Likewise wrap functions.
	(Context.signers): New property.
	(Context.pinentry_mode): Likewise.
	(Context._boolean_properties): List boolean properties.
	(Context.__init__): Add keyword arguments for properties and apply
	them.

	python: Improve the documentation.
	+ commit 5492853d7b84b4e1d0b11b234e32252ba8d1608d
	* lang/python/Makefile.am: Copy the README file.
	* lang/python/README: Rename, convert to org, and update.
	* lang/python/pyme/__init__.py: Move license out of the docstring,
	update docstring.
	* lang/python/pyme/core.py: Add and update docstrings.

	python: Get version information from the build system.
	+ commit 7eef399d89d4c3877cb795ed5ba45ecb241e67be
	* configure.ac: Generate 'setup.py' and 'version.py'.
	* lang/python/Makefile.am: Use generated setup script.
	* lang/python/pyme/version.py: Turn it into a template, and get
	version information from the build system.  Also drop some variables.
	* lang/python/setup.py: Likewise.  This way we can avoid importing the
	version module, which is frowned upon and actually caused a problem.

	python: Fix exception leak.
	+ commit a852f99a0ac9dc7f7493b403f811f5f7518fae40
	* lang/python/helpers.c (pygpgme_stash_callback_exception): Fix leak.

	python: Fix license.
	+ commit 3bacce03e60dc45cc2da99a2f5c504612202e802
	Other parts of the build system are also LGPLed.

	* lang/python/Makefile.am: Fix license.

2016-06-14  Werner Koch  <wk@gnupg.org>

	core: Make sure FD_SET is not used with an out of range fd.
	+ commit 8173c4f1f8a145c4b1d454f6f05e26950e23d675
	* src/posix-io.c (_gpgme_io_select): Check for FD out of range.

2016-06-08  Justus Winter  <justus@g10code.com>

	python: Improve error handling.
	+ commit 77d149e8614c381458e07808a7930ce3fb92cdc3
	* lang/python/helpers.c (pyPassphraseCb): Handle write errors.
	(pyEditCb): Likewise.

	python: Add function to raise exceptions from c.
	+ commit 5ebc205439cac266685d2532466df8b3457dea23
	* lang/python/helpers.c (pygpgme_raise_exception): New function.

	python: Fix stripping deprecated functionality.
	+ commit 8426304b67a0b0a5630db500abf740b0e0b9e43c
	* lang/python/Makefile.am (gpgme.h): Add script as input.
	* lang/python/gpgme-h-clean.py (deprec_func): Also match struct
	members.
	(line_break): Fix matching on struct members.

	python: Fix type.
	+ commit 990492ea4f7dafbb75de15ea91c30cbf090034b5
	* lang/python/gpgme.i: Use correct Python type for size.

	python: Implement the context manager protocol.
	+ commit e3c5913a33edcbd7329b8d154c669f95ce782038
	* lang/python/pyme/core.py (Context.__del__): Make function
	idemptotent.
	(Context.{__enter__,__exit__}): Implement the context manager
	protocol.
	(Data.__del__): Make function idemptotent, drop debug print.
	(Data.{__enter__,__exit__}): Implement the context manager
	protocol.
	* lang/python/tests/t-idiomatic.py: Demonstrate this.

2016-06-07  Justus Winter  <justus@g10code.com>

	python: Fix error handling.
	+ commit f8f9bf06bc3190968ba6613032d60a3bf2c8a6d9
	* lang/python/gpgme.i: Fix freeing an uninitialized pointer in the
	error handling of generated wrapper functions by explicitly storing
	the pointer in a local variable which can be initialized.

2016-06-06  Justus Winter  <justus@g10code.com>

	python: Wrap file-like objects on demand.
	+ commit 8196edf9ca5c8f2f02553e7f22d9c79dbd229882
	* lang/python/gpgme.i (gpgme_data_t): Use new function to create
	wrapper objects if necessary, and deallocate them after the function
	call.
	* lang/python/helpers.c (object_to_gpgme_data_t): New function.
	* lang/python/helpers.h (object_to_gpgme_data_t): New prototype.
	* lang/python/tests/Makefile.am (pytests): Add new test.
	* lang/python/tests/t-idiomatic.py: New file.

	python: Move helper function.
	+ commit 26c3accc95ab77ddbe60db822e2938ad5f480d41
	* lang/python/gpgme.i (object_to_gpgme_t): Move...
	* lang/python/helpers.c: ... here.
	* lang/python/helpers.h (object_to_gpgme_t): New prototype.

	python: Fix error handling.
	+ commit 89eb0cd4d65bc033ed6342810b26232797482d64
	* lang/python/gpgme.i (object_to_gpgme_t): Properly propagate
	exceptions.

	python: Initialize GPGME for the user.
	+ commit ae06f7c2fe0e49baeab5a827dc38ba8c57a6404c
	* lang/python/pyme/core.py: Call 'check_version' and explain why.
	* lang/python/tests/support.py (init_gpgme): Drop call here.

2016-06-01  Justus Winter  <justus@g10code.com>

	python: Fix test suite with GnuPG prior to 2.1.12.
	+ commit bbf19124bbec9eb6298cef2914baae7ac74382fe
	* lang/python/tests/Makefile.am (gpg-agent.conf): Use
	'allow-loopback-pinentry'.

	python: Make Python detection more robust.
	+ commit 1607aa7fe5dd686ba3bfb6de4a2b602d6a458c86
	Previously, missing Python development packages made configure fail
	instead of merely disabling the bindings.

	* configure.ac: Check for 'PYTHON_VERSION'.
	* m4/ax_python_devel.m4: Make test non-fatal.

	python: Improve build system integration, fix warnings.
	+ commit 73c47535b631a55687ecc5eff1d1d9a9fd71021e
	* lang/python/Makefile.am: Pass CFLAGS to python build system.
	* lang/python/helpers.c (pyPassphraseCb): Use correct type for length.
	(pygpgme_data_new_from_cbs): Drop unused variable.

2016-06-01  Andre Heinecke  <aheinecke@intevation.de>

	Cpp: Use whitelist for status messages.
	+ commit 54314a9c7d7ad52981c836ca742644a1fa69b518
	* lang/cpp/src/editinteractor.cpp (EditInteractor::needsNoResponse):
	Use whitelist instead of blacklist.

	Qt: Fix debug output in t-ownertrust.
	+ commit 9d6f85bd25e51445f1776b498875e77b529311b1
	* lang/qt/tests/t-ownertrust.cpp (testChangeOwnerTrust): Remove
	general debug of trust level. Add debug output for error.

2016-06-01  Justus Winter  <justus@gnupg.org>

	tests: Fix notation tests.
	+ commit c88c9ef384b6f7bda9a61b58f26c2f89ae25f684
	* lang/python/tests/t-sig-notation.py (check_result): Check critical
	flag.
	* tests/gpg/t-sig-notation.c (check_result): Likewise.

2016-06-01  Werner Koch  <wk@gnupg.org>

	core: Set notation flags for verify.
	+ commit 1cacd7d00a7b3de4a5e11ccce5ee6c50e0a5516d
	* src/gpgme.h.in (GPGME_STATUS_NOTATION_FLAGS): New.
	* src/status-table.c (status_table): Add new status.
	* src/verify.c (parse_notation): Handle flags.  Also fix NOTATION_DATA
	in case gpg would not percent-escape spaces.
	(_gpgme_verify_status_handler): Handle flags.
	* tests/run-verify.c (print_result): Print notaion data.

2016-05-31  Tobias Mueller  <muelli@cryptobitch.de>

	python: use GPG_ERROR_CONFIG variable.
	+ commit 8ad17f402f6420880dcf06a13a54feadb52c0208
	instead of calling gpg-error-config.
	This is useful when configuring with --with-gpgerror-prefix
	because then GPG_ERROR_CONFIG contains the correct
	/path/to/bin/gpg-error-config whereas calling gpg-error-config
	directly would look in the user's PATH (and not in the prefix
	where gpg-error-config was installed).

2016-05-31  Justus Winter  <justus@gnupg.org>

	python: Port more tests.
	+ commit afa0dd56e1cce64fe08bff3c64b12aecce54fd2d
	* lang/python/gpgme.i: Hide length fields of notations.
	* lang/python/tests/Makefile.am (pytests): Add new tests.
	* lang/python/tests/t-decrypt-verify.py: New file.
	* lang/python/tests/t-sig-notation.py: Likewise.
	* lang/python/tests/t-verify.py: Likewise.

2016-05-27  Werner Koch  <wk@gnupg.org>

	Speedup closing of fds before exec.
	+ commit 89d22f9229f2ecd559ac6ea91dae60eeff940fa5
	* src/posix-io.c [__linux__]: Include dirent.h.
	(get_max_fds) [__linux__]: Try to figure out the highest used fd.

2016-05-27  Justus Winter  <justus@gnupg.org>

	python: Port more tests.
	+ commit 3915842657f0849a038752fd7445f96081a89dd9
	* lang/python/pyme/core.py (Data._error_check): Add
	'gpgme_data_get_file_name' to the list of functions not returning an
	error code.
	* lang/python/tests/Makefile.am (pytests): Add new tests.
	* lang/python/tests/support.py (verbose): New variable.
	* lang/python/tests/t-data.py: Test setting and getting the filename.
	* lang/python/tests/t-encrypt-large.py: New file.
	* lang/python/tests/t-file-name.py: Likewise.
	* lang/python/tests/t-trustlist.py: Likewise.

	python: Implement data callbacks.
	+ commit 2ae847c02731994d99e69d3d025ff01f41406452
	* lang/python/gpgme.i (object_to_gpgme_t): Set exception on error.
	* lang/python/helpers.c (pyDataReadCb): New function.
	(pyDataWriteCb): Likewise.
	(pyDataSeekCb): Likewise.
	(pyDataReleaseCb): Likewise.
	(pygpgme_data_new_from_cbs): Likewise.
	* lang/python/helpers.h (pygpgme_data_new_from_cbs): New prototype.
	* lang/python/pyme/core.py (Data.__init__): Fix docstring, fix read
	callbacks.
	(Data.__del__): Fix read callbacks.
	(Data._free_readcb): Drop function.
	(Data._free_datacbs): New function.
	(Data.new_from_cbs): Fix setting the callbacks.
	(Data.write): Raise stashed exceptions.
	(Data.read): Likewise.
	* lang/python/tests/t-callbacks.py: Test new functionality.
	* lang/python/tests/t-data.py: Likewise.

	python: Fix object deallocation.
	+ commit ebfe2300c33a3bad311e9ac1530e6c92636a08a4
	Handing a reference to the wrapper object created a non-trivial
	circular reference that Pythons garbage collector is unable to break.
	Explicitly break it by using a weak reference.

	* lang/python/helpers.c (pygpgme_stash_callback_exception): Retrieve
	object from weak reference.
	* lang/python/pyme/core.py (Context.__del__): Free status callback.
	(Context.set_passphrase_cb): Use a weak reference.
	(Context.set_progress_cb): Likewise.
	(Context.set_status_cb): Likewise.
	(Context.op_edit): Likewise.

	Improve comments.
	+ commit e74cd9fb80f12b764d5e4561e73d55644147e9e7
	* src/gpgme.h.in (gpgme_data_seek_cb_t, gpgme_data_seek): Clarify that
	these functions return the new offset.
	(gpgme_data_release_cb_t): Fix name of parameter.

	python: Fix reading data from existing files.
	+ commit bf188e280b8b4fc775f33c47e2e1e275ed044004
	* lang/python/pyme/core.py (Data.__init__): Add 'copy' kwargument, and
	pass it to functions supporting it.  PEP8 fix.
	(Data.new_from_fd): PEP8 fix.
	(Data.new_from_file): Give a more helpful error message if copy is
	False.  PEP8 fix.
	(Data.new_from_fd): Hand the file descriptor to
	'gpgme_data_new_from_fd', not a stream.  Fix docstring.
	* lang/python/tests/t-data.py: Add tests for this.

2016-05-25  Justus Winter  <justus@gnupg.org>

	src: Fix trace string.
	+ commit ce73ae9d0cbf782cd3a1949fc4f568f0d1da60d9
	* src/data-compat.c (gpgme_data_new_from_file): Fix trace string.

2016-05-24  Justus Winter  <justus@gnupg.org>

	python: Improve and test Context.wait.
	+ commit 00ff6d07330028da370c869e3ec442eb76f8cbb8
	* lang/python/pyme/core.py (Context.wait): Improve docstring.  As the
	context passed to 'gpgme_wait' is never NULL, it is pointless to look
	at the returned context.  Always raise exceptions.
	* lang/python/tests/Makefile.am (pytests): Add new test.
	* lang/python/tests/t-wait.py: New file.

	python: Make all GnuPG errors available.
	+ commit 7bc9cc717e428f48d4b27016f44c9f3900b1fba6
	* lang/python/Makefile.am (errors.i): Generate file.
	* lang/python/gpgme.i: Include generated file.
	* lang/python/pyme/errors.py: Pull in all errors and error sources.

	python: Move the base wrapper class.
	+ commit 0ebd6a1b43a96bffa78da89dc8629edac0a74d35
	* python/lang/pyme/util.py (GpgmeWrapper): Move...
	* python/lang/pyme/core.py: ... here.

	python: Support status callbacks.
	+ commit 8b57f06e0c04f5c9b87a3c76618230d757412076
	* lang/python/helpers.c (pyStatusCb): New function.
	(pygpgme_set_status_cb): Likewise.
	* lang/python/helpers.h (pygpgme_set_status_cb): New prototype.
	* lang/python/pyme/core.py (Context.__init__): Initialize
	'last_statuscb'.
	(Context._free_statuscb): New function.
	(Context.set_status_cb): Likewise.
	* lang/python/tests/t-callbacks.py: Test status callbacks.

	python: Improve docstring.
	+ commit 72afb68f8c2f0cb326f20b289215402fd849339d
	* lang/python/pyme/core.py (Context.set_progress_cb): Improve
	docstring.

2016-05-24  Andre Heinecke  <aheinecke@intevation.de>

	Qt: Fix test build with clang.
	+ commit 00e93b2cae0585ff10425421d9097a846943b21c
	* lang/qt/tests/Makefile.am (LDADD): Explicitly add -lstdc++

	Cpp: Set -std=c++11 also if CXXCPP is already set.
	+ commit b107fc8a92bd16bc0d868c771b6334d6594e6395
	* m4/ax_cxx_compile_stdxx.m4 (AX_CXX_COMPILE_STDCXX): Set CXXCPP if
	neccessary.

2016-05-24  Justus Winter  <justus@gnupg.org>

	python: Improve support for edit callbacks.
	+ commit 09803c4a81b9431fd4c8f30abb1c60c4c735f0cb
	* lang/python/helpers.c (pyEditCb): Stash exceptions.
	* lang/python/pyme/core.py (Context.op_edit): Hand in 'self'.
	* lang/python/tests/Makefile.am (py_tests): Add new test.
	* lang/python/tests/t-callbacks.py: Test edit callbacks.
	* lang/python/tests/t-edit.py: New file.

2016-05-23  Justus Winter  <justus@gnupg.org>

	python: Fix hook.
	+ commit 283f0bdc3d32624dac93d02ba3df516e69d8d4ba
	* lang/python/helpers.c (pyProgressCb): Fix getting hook data.
	* lang/python/tests/t-callbacks.py: Show that this works.

	python: Move edit callback function.
	+ commit 5476ca6813fc9d8833d5224f19d4bb7515380ab5
	* lang/python/gpgme.i (pyEditCb): Move...
	* lang/python/helpers.c: ... here.
	* lang/python/helpers.h (pyEditCb): New prototype.

	python: Port more tests.
	+ commit a42d814a65fdc29a3be6efa97433997495696a88
	* lang/python/tests/Makefile.am (TESTS_ENVIRONMENT): Set
	LD_LIBRARY_PATH.
	(pytests): Add new tests.
	* lang/python/tests/t-callbacks.py: Trim imports.
	* lang/python/tests/t-encrypt-sign.py: New file.
	* lang/python/tests/t-export.py: Likewise.
	* lang/python/tests/t-signers.py: Likewise.

	python: Translate list of strings.
	+ commit c9cc0412e940c78c3e9bacb6ff1459b5bb5bb9ad
	* lang/python/gpgme.i: Add typemap translating list of strings.

2016-05-21  Werner Koch  <wk@gnupg.org>

	api: Return Tofu info for signatures.
	+ commit 10df06ee8f9192309bf124872438f7c32457e1c6
	* src/gpgme.h.in (gpgme_tofu_policy_t): New.
	(gpgme_status_code_t): Add status codes for TOFU.
	(struct _gpgme_tofu_info, gpgme_tofu_info_t): New.
	(struct _gpgme_signature): Add field 'tofu'.
	* src/status-table.c (status_table): Add new codes.
	* src/verify.c: Include limits.h.
	(release_tofu_info): New.
	(release_op_data): Call that.
	(parse_tofu_user): New.
	(parse_tofu_stats): New.
	(parse_tofu_stats_long): New.
	(_gpgme_verify_status_handler): Handle TOFU status lines.

	* tests/run-verify.c (print_description): New.
	(print_result): print tofu info.

	api: Add new context flag "raw-description".
	+ commit dac2c5441d418536632f014c8b0e1359580279d1
	* src/context.h (struct gpgme_context): Add field raw_description.
	* src/gpgme.c (gpgme_set_ctx_flag): New flag.

	core: New functions to help parsing of status lines.
	+ commit a92946a8cacc44f655249d84b316deae59e62671
	* src/conversion.c (_gpgme_split_fields): New.
	(_gpgme_strtoul_field): New.

2016-05-20  Andre Heinecke  <aheinecke@intevation.de>

	Qt: Add test for changeownertrust.
	+ commit eaf2d018e63c15cd9a81e5c1fd2fedbf8829f7b9
	* lang/qt/tests/t-ownertrust.cpp: New test.
	* lang/qt/tests/Makefile.am: Add test.

	Cpp: Ignore STATUS_KEY_CONSIDERED when editing.
	+ commit 5df858cbf196b2a53d600b7f45655f7b35c1fe93
	* lang/cpp/src/editinteractor.cpp (EditInteractor::needsNoResponse):
	Handle GPGME_STATUS_KEY_CONSIDERED.

2016-05-19  Werner Koch  <wk@gnupg.org>

	api: Add new function gpgme_set_ctx_flag.
	+ commit 88f2c1c0d16eee6bb36a901623ea65ac69499f03
	* src/gpgme.h.in (gpgme_set_ctx_flag): New prototype.
	* src/gpgme.c (gpgme_set_ctx_flag): New.
	* src/gpgme.def, src/libgpgme.vers: Add new function.
	* src/context.h (struct gpgme_context): Add FULL_STATUS.
	* src/decrypt.c (_gpgme_decrypt_status_handler): Do not call the
	  status callback if FULL_STATUS is set.
	* src/genkey.c (genkey_status_handler): Ditto.
	* src/passphrase.c (_gpgme_passphrase_status_handler): Ditto.
	* src/sign.c (_gpgme_sign_status_handler): Ditto.

	* src/engine-backend.h (struct engine_ops): Add SET_STATUS_CB and add
	adjust all definitions of that variable.
	* src/engine.c (_gpgme_engine_set_status_cb): New.
	* src/op-support.c (_gpgme_op_reset): Call this function.

	* src/engine-gpg.c (struct engine_gpg): Add fields MON_CB and
	MON_CB_VALUE.
	(gpg_set_status_cb): New.
	(_gpgme_engine_ops_gpg): Register that function.
	(read_status): Call the monitor callback.

	* src/engine-gpgsm.c (struct engine_gpgsm): Add fields MON_CB and
	MON_CB_VALUE.
	(_gpgme_engine_ops_gpgsm): Register that function.
	(gpgsm_assuan_simple_command): Change first arg to be an engine
	context and adjust call callers.  Call the monitor callback.

	* src/engine-uiserver.c (struct engine_uiserver): Add fields MON_CB
	and MON_CB_VALUE.
	(_gpgme_engine_ops_uiserver): Register that function.
	(uiserver_assuan_simple_command): Change first arg to be an engine
	context and adjust call callers.  Call the monitor callback.

	* tests/run-verify.c (status_cb): New.
	(print_result): Print algo names.
	(main): Add option --status.

	api: Remove arbitrary restriction from gpgme_op_verify.
	+ commit 5aa8e588e166abeef2e3d677ab6830f2d7af1b5d
	* src/verify.c (verify_start): Do not return GPG_ERR_INV_VALUES when
	when SIGNED_TEXT is not given.

2016-05-19  Justus Winter  <justus@gnupg.org>

	python: Improve progress callbacks.
	+ commit 0d4e95621e05d50cd454049a424bb9ee098a5db6
	* lang/python/helpers.c (pyProgressCb): Stash python errors, convert
	'what' to Unicode object.
	* lang/python/pyme/core.py (Context.set_progress_cb): Hand in 'self'.
	* lang/python/tests/t-callbacks.py: Test progress callbacks.

	python: Robust exception handling in callbacks.
	+ commit d90857a08c4fe5b73b6d6d46fd6200efdd72db44
	* lang/python/helpers.c (pygpgme_stash_callback_exception): New
	function.
	(pygpgme_raise_callback_exception): Likewise.
	(pyPassphraseCb): Stash python errors.
	* lang/python/helpers.h (pygpgme_raise_callback_exception): New
	prototype.
	* lang/python/pyme/core.py ({Context,Data}.__init__): Move common
	initialization to superclass.
	(Context.set_progress_cb): Hand in 'self'.
	* lang/python/pyme/util.py (GpgmeWrapper.__init__): New function.
	(GpgmeWrapper.__getattr__): Raise stashed exceptions.
	* lang/python/tests/Makefile.am (py_tests): Add new test.
	* lang/python/tests/t-callbacks.py: New file.

2016-05-19  Andre Heinecke  <aheinecke@intevation.de>

	Qt: Check for graphviz and set HAVE_DOT correctly.
	+ commit 2f748b5a2d162be4f23b18782219771ead54cb51
	* configure.ac: Check for graphviz and define HAVE_DOT.
	* lang/qt/doc/Doxyfile.in (HAVE_DOT): Use variable.

2016-05-19  Justus Winter  <justus@gnupg.org>

	python: Add more tests.
	+ commit 464d404c8816fc93baf945816c93e86bdeb0ea39
	* lang/python/tests/Makefile.am (py_tests): Add new tests.
	* lang/python/tests/support.py (print_data): New function.
	* lang/python/tests/t-decrypt.py: Use new function.
	* lang/python/tests/t-encrypt.py: Likewise.
	* lang/python/tests/t-sign.py: New file.
	* lang/python/tests/t-encrypt-sym.py: Likewise.

	python: More type conversion fixes.
	+ commit c1c893e3384a07ff864507902fbac4a7fee4d6f1
	* lang/python/helpers.c (pyPassphraseCb): Cope with 'uid_hint' being
	NULL, convert it to an Unicode object, and cope with the callback
	returning both Unicode and bytes objects.

	python: Fix import.
	+ commit 07f71cd17706093ca6b1507c41609356d479ae9f
	* lang/python/helpers.c (pygpgme_exception_init): Make module import
	relative.

2016-05-19  Andre Heinecke  <aheinecke@intevation.de>

	Qt: Fix compilation of unit tests.
	+ commit 375523ead3a749d77d286c56f10d403c07f2b014
	* lang/qt/tests/Makefile.am (AM_CPPFLAGS): Add -DBUILDING_QGPGME.

2016-05-18  Justus Winter  <justus@gnupg.org>

	python: Various fixes.
	+ commit 2c3a5d93e78cfca22785e51c5a65184a47da4bff
	* configure.ac: Fix SWIG detection, bump required Python version.
	* lang/python/Makefile.am: Portability fix.

2016-05-18  Andre Heinecke  <aheinecke@intevation.de>

	Fix typo in compatibility declaration.
	+ commit f0dca0ab92ed18d80e30d7d39db1596b4112794f
	* src/op-support.c (GPG_ERR_SUBKEYS_EXP_REV): Change to
	GPG_ERR_SUBKEYS_EXP_OR_REV.

2016-05-17  Werner Koch  <wk@gnupg.org>

	tests: New maintenance helper run-encrypt.
	+ commit 30b447fcfe0e4f362c2575e1b9388e8144b5b2fd
	* tests/run-encrypt.c: New.

	Return dedicated error code for all subkeys expired or revoked.
	+ commit 315fb73d4a774e2c699ac1804f5377559b4d0027
	* src/gpgme.h.in (GPGME_STATUS_KEY_CONSIDERED): New.
	(GPGME_SIGSUM_TOFU_CONFLICT): New.
	* src/status-table.c (KEY_CONSIDERED): New.
	* src/op-support.c (_gpgme_parse_inv_recp): Add argc KC_FPR and
	KC_FLAGS.  Use calloc.  Detect all expired or revoked subkeys.
	(_gpgme_parse_key_considered): New.
	* src/sign.c (op_data_t): Add fields KC_FPR and KC_FLAGS.
	(release_op_data): Free KC_FPR.
	(_gpgme_sign_status_handler): Handle STATUS_KEY_CONSIDERED.
	* src/encrypt.c (op_data_t): Add fields KC_FPR and KC_FLAGS.
	(release_op_data): Free KC_FPR.
	(_gpgme_encrypt_status_handler): Handle STATUS_KEY_CONSIDERED.

2016-05-17  Andre Heinecke  <aheinecke@intevation.de>

	Qt / Cpp: Port auto_ptr to unique_ptr.
	+ commit 9b36ebf37a3b889c955ba68038bd5b3d9c5cde4e
	* lang/cpp/src/context.cpp,
	lang/cpp/src/context.h,
	lang/cpp/src/context_p.h (Context::createForEngine),
	(Context::edit, Context::startEditing),
	(Context::takeLastEditInteractor, Context::cardEdit),
	(Context::startCardEditing, Context::takeLastCardEditInteractor),
	(Context::assuanTransact, Context::startAssuanTransaction),
	(Context::takeLastAssuanTransaction): Port to unique_ptr.
	* lang/qt/src/qgpgmeadduseridjob.cpp,
	lang/qt/src/qgpgmechangeexpiryjob.cpp,
	lang/qt/src/qgpgmechangeownertrustjob.cpp,
	lang/qt/src/qgpgmechangepasswdjob.cpp,
	lang/qt/src/qgpgmesignkeyjob.cpp: Update accordingly.

2016-05-17  Justus Winter  <justus@gnupg.org>

	build: Add python autoconf macro.
	+ commit 4711a1e181153a2395e5f523047595abd47965db
	* m4/ax_python_devel.m4: New file.

	python: Clean up examples.
	+ commit 10328324c8fc9725cd0c885eaebfc80dc32c1ff6
	* lang/python/examples/delkey.py: Clean up example.
	* lang/python/examples/encrypt-to-all.py: Likewise.
	* lang/python/examples/genkey.py: Likewise.
	* lang/python/examples/inter-edit.py: Likewise.
	* lang/python/examples/sign.py: Likewise.
	* lang/python/examples/signverify.py: Likewise.
	* lang/python/examples/simple.py: Likewise.
	* lang/python/examples/t-edit.py: Likewise.
	* lang/python/examples/verifydetails.py: Likewise.
	* lang/python/pyme/__init__.py: Likewise.

	python: Import GPGMEError.
	+ commit 64e5fe767f45e9ccb0fb3fe919171c222132a54c
	* pyme/core.py: Import GPGMEError.

	Fixes c5d118b2.

	python: Port more tests.
	+ commit 9ceaec25918c6c5f2dfafe4e20181b83ce78f6ce
	* lang/python/Makefile.am: Add bits from the c test suite.
	* lang/python/support.py: New file.
	* lang/python/t-decrypt.py: Likewise.
	* lang/python/t-encrypt.py: Likewise.

2016-05-13  Andre Heinecke  <aheinecke@intevation.de>

	Qt: Add keyLocateJob and test for it.
	+ commit 52f2295d528029a36a3e0a89c777297762b3fc9b
	* configure.ac (LIBQGPGME_LT_REVISION): Bump.
	* lang/qt/src/protocol.h (locateKeysJob): Add Job.
	* lang/qt/src/protocol_p.h (locateKeysJob): Implement.
	* lang/qt/tests/Makefile.am: Add t-keylocate.
	* lang/qt/tests/t-keylocate.cpp: New.

	Qt: Add missing copyright header in test.
	+ commit 66ded1a5ce7236254f8541addecd4c3bc7b2878e
	* lang/qt/tests/t-keylist.cpp: Add copyright header.

2016-05-12  Justus Winter  <justus@gnupg.org>

	python: Share generated methods between objects.
	+ commit 11314f0db6e57597e3f56351a86fdb36a7a17dd7
	* lang/python/pyme/util.py (GpgmeWrapper.__getattr__): Monkey-patch
	the class.
	* lang/python/tests/t-wrapper.py: Demonstrate the sharing.

	python: Raise exceptions on write errors.
	+ commit c5d118b2a76e9528df780d11da9566ff7c22e4f5
	* lang/python/pyme/core.py (Data.write): Handle errors.
	* lang/python/pyme/errors.py (GPGMEError.fromSyserror): New function.

	python: Fix writing to data buffers.
	+ commit f7094d8358e933f3ce074eade7a40b2a7d291180
	* lang/python/gpgme.i: Add typemap for buffers.
	* lang/python/pyme/core.py (Data.write): Fix function.
	* lang/python/tests/Makefile.am: Add new test.
	* lang/python/tests/t-data.py: New file.

	python: Add a test suite.
	+ commit e64bffe0307d14204b00a177a472cd4f99c07561
	* configure.ac: Add new Makefile.
	* lang/python/Makefile.am: Add subdirectory.
	* lang/python/tests/Makefile.am: New file.
	* lang/python/tests/t-wrapper.py: Likewise.

	python: Cache generated wrapper functions.
	+ commit ed0ce84fbd2904bf59ac66ae7422716db3624efa
	* lang/python/util.py (GpgmeWrap.__getattr__): Cache generated wrapper
	functions.

	python: Fix function invocation.
	+ commit e3d3d366bd1a1aea8a38ae5dcbf71ea3c784e920
	* lang/python/pyme/core.py (Data.new_from_fd): Fix function
	invocation.

	python: Fix name of exception, make slot methods explicit.
	+ commit af9371eb63664c92fb67e8e7e03cc984e7d38a7f
	* lang/python/pyme/util.py (GpgmeWrapper._getctype): Fix exception,
	add docstring.
	(GpgmeWrapper._getnameprepend): New function.
	(GpgmeWrapper._errorcheck): Likewise.

	python: Handle interpreter shutdown.
	+ commit ce5121ad53b0e17fbf9150b354c80da73f7fe190
	* lang/python/pyme/core.py: Avoid races at interpreter shutdown.  This
	silences the most annoying occurrences, however this problem also
	affects the SWIG generated code, which might indicate that the real
	problem is somewhere else.  If so, this change can be easily reverted.

	python: Make test case more robust.
	+ commit c89d3a71ad20ff02755539a44f254b1e59054c4a
	* lang/python/examples/t-edit.py: Check if key is found.

	python: Fix type translation.
	+ commit d60deb8a127fb35c01acc729f33b014840af0e7b
	* lang/python/gpgme.i: Adjust to Python3's string type being
	'Unicode', not 'bytes'.  Fix type checking.
	* lang/python/core.py (Data.write): Add docstring mentioning the
	expected type of parameter 'buffer'.
	(Data.read): Adjust read loop.  Also, use a saner chunk size, and join
	all chunks at the end instead of adding them.
	* lang/python/examples/simple.py: Adjust example.

2016-05-11  Andre Heinecke  <aheinecke@intevation.de>

	Cpp: Ensure gpgme.h is taken from current build.
	+ commit b8de79160b2e05ac84d8feb61ff7ed1f7015a623
	* lang/cpp/src/Makefile.am (AM_CPPFLAGS): Add gpgme.h location.

2016-05-11  Justus Winter  <justus@gnupg.org>

	python: Fix simple example.
	+ commit bbeee5e1a060f2d1e37a08220eb552cf4673a058
	* lang/python/examples/simple.py: Flush stdout, encode name as
	UTF-8 before passing it to GPGME.

	python: Integrate into the build system.
	+ commit a29babd07cf9f9625d2b5aa2eb6b7bc9d1828359
	* configure.ac: Make Python bindings configurable, add new Makefile.
	* lang/python/Makefile.am: New file.
	* lang/python/setup.py: Integrate into the build system.
	* m4/ax_pkg_swig.m4: New file from the autoconf archive.
	* m4/m4_ax_swig_python.m4: Likewise.

2016-05-10  Andre Heinecke  <aheinecke@intevation.de>

	Qt / Cpp: Fix make dist.
	+ commit c303292aca26c43b6efe98719edb3ff7b2d6665d
	* lang/cpp/src/Makefile.am (EXTRA_DIST): Fix typo.
	(private_gpgmepp_headers): New. Private headers.
	(libgpgmepp_la_SOURCES): Add private headers.
	* lang/qt/src/Makefile.am (t_keylist_SOURCES): Remove non existent
	header.

2016-05-10  Justus Winter  <justus@gnupg.org>

	python: PEP8 fixes.
	+ commit 11392a80d9a85bcd8718b105e6d58038e61beaac
	Cherry picked from 0267c151.

2016-05-10  Andre Heinecke  <aheinecke@intevation.de>

	Qt: Make Protocol class public API.
	+ commit 56c4d9ea9520c95612e525b2fa1359db6fa88f4a
	* lang/qt/src/Makefile.am (qgpgme_headers): Add protocol.h
	(private_qgpgme_headers): Add protocol_p.h
	* lang/qt/src/protocol.h: New. From QGpgMEBackend.
	* lang/qt/src/protocol_p.h: New. From QGpgMEBackend.
	* lang/qt/src/qgpgmebackend.h,
	lang/qt/src/qgpgmebackend.cpp (Protocol): Removed.

	Qt: Make doxygen quieter.
	+ commit 97225bb01cd2ffa1d84c7fedbc577275de4a4893
	* lang/qt/doc/Doxyfile.in: Quiet and no undocumented warnings.

	Qt: Only install public headers.
	+ commit 740f92a7b83389ee9bde98b7bd25556793500b8b
	* lang/qt/src/Makefile.am: Do not install all headers.

	Qt: Add test for async keylisting.
	+ commit 0e3195948ddaba3af07d2415bb496491076edc17
	* src/lang/qt/tests/t-keylist.cpp(KeyListTest::testKeyListAsync): New.

2016-05-10  Werner Koch  <wk@gnupg.org>

	Allow cc to detect missing cases in a switch.
	+ commit fc38c15136c87ce971a8381fa87399088dd5a3cc
	* src/delete.c (delete_status_handler): Remove default case from a
	switch so that cc can check the use of all enum values.

2016-05-06  Andre Heinecke  <aheinecke@intevation.de>

	Use common error message style for qt lang checks.
	+ commit a579be82c84f0b9732ee3d52ff2142a3decf95d7
	* configure.ac: Use common error highliting for qt lang options.

	Qt: Fix license mentioned in README.
	+ commit 11ff8d5964bf66f905818514f6a51fc881ea1a56
	* lang/qt/README: License is GPLv2+ and not LGPL.

	Add maybe mode for langs and default to it.
	+ commit cd267791e9bd73505a2a1ea90c85df988e153c19
	* configure.ac (languages): Warn and disable langs for which
	requirements are not met.

	Cpp: Handle PINENTRY_LAUNCHED status line.
	+ commit 3fad1216770f446a89801d842aa8667356a5ec95
	* lang/cpp/src/editinteractor.cpp (EditInteractor::needsNoResponse):
	Add GPGME_STATUS_PINENTRY_LAUNCHED.

2016-04-12  Andre Heinecke  <aheinecke@intevation.de>

	Cpp: Add support for pubkey_algo_name.
	+ commit 5489532ad6ccf3a9b59405686b8a17352f1ecf06
	* lang/cpp/src/key.cpp (Subkey::algoName): New.
	* lang/cpp/src/key.h: Declare.

	Cpp: Add support for gpgme_data_identify.
	+ commit d949d711dc1d944a9d627d39a89af74943a5a8c1
	* lang/cpp/src/data.cpp (Data::type): New.
	* lang/cpp/src/data.h (Data::Type): New enum mapping.

	Fix configuration without Qt language.
	+ commit 6dba47c3a2c32d7c1e1d91a96030f99f606433ea
	* configure.ac: Define HAVE_DOXYGEN also if qt should not be built.

2016-04-11  Andre Heinecke  <aheinecke@intevation.de>

	Qt/Cpp: Bump so version to 6.
	+ commit 8e7074dbb8093cc342e330bcd6b172b4f769a0c6
	* configure.ac (LIBGPGMEPP_LT_CURRENT, LIBQGPGME_LT_CURRENT): Bump.

	Qt / Cpp: Mention coding style in READMES.
	+ commit d2b55101195efe9702e855a48fc6e21839fb98cc
	* src/lang/cpp/README, src/lang/qt/README: Add hacking note.

	Qt: Add doc generation with doxygen.
	+ commit a1e95f36ce1895cd9894f6d3ca76640c42c2f9fc
	* configure.ac: Look for doxygen if qt is built.
	 Configure new files.
	* lang/qt/doc/Doxyfile.in: New.
	* lang/qt/doc/Makefile.am: New.
	* lang/qt/README: Update.

	Qt: Fix unit test by adding initial.test dep.
	+ commit d9f7a18ed88127e7f05d770d55118d1e928f3b3f
	* lang/qt/tests/t-keylist.cpp: Verify that GNUPGHOME is set.
	* lang/qt/tests/initial.test: New dummy test.
	* lang/qt/tests/Makefile.am: Add dependency to initial.test

	Qt: Remove remaining boost usage.
	+ commit afd8fad6e275e2f74b2ad045dce05d826986e2ec
	* lang/qt/src/dataprovider.h,
	 lang/qt/src/decryptjob.h,
	 lang/qt/src/decryptverifyjob.h,
	 lang/qt/src/encryptjob.h,
	 lang/qt/src/qgpgmeadduseridjob.cpp,
	 lang/qt/src/qgpgmechangeexpiryjob.cpp,
	 lang/qt/src/qgpgmechangeownertrustjob.cpp,
	 lang/qt/src/qgpgmechangepasswdjob.cpp,
	 lang/qt/src/qgpgmedecryptjob.cpp,
	 lang/qt/src/qgpgmedecryptverifyjob.cpp,
	 lang/qt/src/qgpgmedeletejob.cpp,
	 lang/qt/src/qgpgmedownloadjob.cpp,
	 lang/qt/src/qgpgmeencryptjob.cpp,
	 lang/qt/src/qgpgmeexportjob.cpp,
	 lang/qt/src/qgpgmeimportfromkeyserverjob.cpp,
	 lang/qt/src/qgpgmeimportjob.cpp,
	 lang/qt/src/qgpgmekeygenerationjob.cpp,
	 lang/qt/src/qgpgmekeylistjob.cpp,
	 lang/qt/src/qgpgmenewcryptoconfig.cpp,
	 lang/qt/src/qgpgmenewcryptoconfig.h,
	 lang/qt/src/qgpgmesignencryptjob.cpp,
	 lang/qt/src/qgpgmesignjob.cpp,
	 lang/qt/src/qgpgmesignkeyjob.cpp,
	 lang/qt/src/qgpgmeverifydetachedjob.cpp,
	 lang/qt/src/qgpgmeverifyopaquejob.cpp,
	 lang/qt/src/signencryptjob.h,
	 lang/qt/src/signjob.h,
	 lang/qt/src/threadedjobmixin.cpp,
	 lang/qt/src/threadedjobmixin.h,
	 lang/qt/src/verifydetachedjob.h,
	 lang/qt/src/verifyopaquejob.h: Remove boost usage.

	Qt: Remove predicates.h and stl_util.h.
	+ commit e18256fc5f613da9406da60c3ef2f84f2be04ef0
	* src/lang/qt/predicates.h, src/lang/qt/stl_util.h: Removed.

	Qt: Remove usage of stl_util.h and predicates.h.
	+ commit d293bd32293929eeb3f6ec35f916a4678fb51729
	* src/lang/qt/qgpgmelistallkeysjob.cpp: Use comperators from
	  gpgmepp instead of detail. Remove boost usage.

	Cpp: Add string comparators for keys.
	+ commit 1bb162a54ba480413c4da07f2578efe6860494c0
	* lang/cpp/src/global.h (GPGMEPP_MAKE_STRCMP): New.
	  (_gpgmepp_strcmp): NULL save wrapper around std::strcmp.
	* lang/cpp/src/key.h: Add comparators for various attributes.

	Cpp: Remove last usages of boost.
	+ commit 691950e18cf08a3f9bbc2004501834cd47bea579
	* lang/cpp/src/configuration.cpp: Use std::remove_pointer.
	  (Configuration::operator<<): std::for_each.
	* lang/cpp/src/context.cpp: Delete manually instead of scoped ptr.
	* lang/cpp/src/scdgetinfoassuantransaction.cpp: Use static_assert.
	  (to_reader_list): Tokenize with getline.

2016-04-04  Andre Heinecke  <aheinecke@intevation.de>

	Add pthread in gpgmepp config.
	+ commit cc68ff5f7210ac879fbdf719fcd5944f9ae5602b
	* lang/cpp/src/GpgmeppConfig.cmake.in.in: Add pthread.

2016-04-03  Andre Heinecke  <aheinecke@intevation.de>

	Cpp / Qt: Reduce boost usage (memory and tuple)
	+ commit f98898ab1a6952e0c3a5d235963a27eba2e19e46
	* cpp/src/assuanresult.h,
	 cpp/src/configuration.cpp,
	 cpp/src/configuration.h,
	 cpp/src/data.h,
	 cpp/src/decryptionresult.h,
	 cpp/src/defaultassuantransaction.cpp,
	 cpp/src/encryptionresult.cpp,
	 cpp/src/encryptionresult.h,
	 cpp/src/engineinfo.h,
	 cpp/src/gpgagentgetinfoassuantransaction.cpp,
	 cpp/src/gpgsignkeyeditinteractor.cpp,
	 cpp/src/importresult.cpp,
	 cpp/src/importresult.h,
	 cpp/src/key.h,
	 cpp/src/keygenerationresult.h,
	 cpp/src/keylistresult.h,
	 cpp/src/notation.h,
	 cpp/src/signingresult.cpp,
	 cpp/src/signingresult.h,
	 cpp/src/verificationresult.cpp,
	 cpp/src/verificationresult.h,
	 cpp/src/vfsmountresult.h,
	 qt/src/dataprovider.cpp,
	 qt/src/dataprovider.h,
	 qt/src/decryptjob.h,
	 qt/src/decryptverifyjob.h,
	 qt/src/downloadjob.h,
	 qt/src/encryptjob.h,
	 qt/src/qgpgmeadduseridjob.cpp,
	 qt/src/qgpgmechangeexpiryjob.cpp,
	 qt/src/qgpgmechangeownertrustjob.cpp,
	 qt/src/qgpgmechangepasswdjob.cpp,
	 qt/src/qgpgmedecryptjob.cpp,
	 qt/src/qgpgmedecryptjob.h,
	 qt/src/qgpgmedecryptverifyjob.cpp,
	 qt/src/qgpgmedecryptverifyjob.h,
	 qt/src/qgpgmedeletejob.cpp,
	 qt/src/qgpgmedownloadjob.cpp,
	 qt/src/qgpgmedownloadjob.h,
	 qt/src/qgpgmeencryptjob.cpp,
	 qt/src/qgpgmeencryptjob.h,
	 qt/src/qgpgmeexportjob.cpp,
	 qt/src/qgpgmeexportjob.h,
	 qt/src/qgpgmeimportfromkeyserverjob.cpp,
	 qt/src/qgpgmeimportfromkeyserverjob.h,
	 qt/src/qgpgmeimportjob.cpp,
	 qt/src/qgpgmeimportjob.h,
	 qt/src/qgpgmekeygenerationjob.cpp,
	 qt/src/qgpgmekeygenerationjob.h,
	 qt/src/qgpgmekeylistjob.cpp,
	 qt/src/qgpgmekeylistjob.h,
	 qt/src/qgpgmelistallkeysjob.cpp,
	 qt/src/qgpgmelistallkeysjob.h,
	 qt/src/qgpgmenewcryptoconfig.cpp,
	 qt/src/qgpgmenewcryptoconfig.h,
	 qt/src/qgpgmesignencryptjob.cpp,
	 qt/src/qgpgmesignencryptjob.h,
	 qt/src/qgpgmesignjob.cpp,
	 qt/src/qgpgmesignjob.h,
	 qt/src/qgpgmesignkeyjob.cpp,
	 qt/src/qgpgmeverifydetachedjob.cpp,
	 qt/src/qgpgmeverifydetachedjob.h,
	 qt/src/qgpgmeverifyopaquejob.cpp,
	 qt/src/qgpgmeverifyopaquejob.h,
	 qt/src/signencryptjob.h,
	 qt/src/signjob.h,
	 qt/src/threadedjobmixin.h,
	 qt/src/verifydetachedjob.h,
	 qt/src/verifyopaquejob.h: Reduce boost usage.

	Cpp: Require c++ 11 if cpp binding requested.
	+ commit c07aaef6eb8a9b5e623479f27d562fd1570bf4bb
	* configure.ac: Call ax_cxx_compile_stdcxx
	* m4/ax_cxx_compile_stdcxx.m4

	Qt: Add static factor methods for protocol.
	+ commit 0991485170ca4ef90fd566540522027d0fc59a72
	* lang/qt/src/qgpgmebackend.cpp (QGpgME::openpgp, QGpgME::smime): New.
	* lang/qt/src/qgpgmebackend.h: Declare.
	* lang/qt/tests/t-keylist.cpp (KeyListTest::testSingleKeyListSync):
	  Use new functions.

	Qt: Add a unit test for qgpgme.
	+ commit faf987dd62893955251378a2a715edd2892a540c
	* configure.ac: Configure test Makefile.
	* m4/qt.m4: Look up Qt5Test flags.
	* lang/qt/tests/t-keylist.cpp: New. Simple keylist check.
	* lang/qt/tests/Makefile.am: New. General test framework.

	Qt: Add missing MOC includes.
	+ commit b7b9e38399a572cb61a297db552026eac5b2a5e1
	* qgpgmeadduseridjob.cpp,
	 qgpgmechangeexpiryjob.cpp,
	 qgpgmechangeownertrustjob.cpp,
	 qgpgmechangepasswdjob.cpp,
	 qgpgmedecryptjob.cpp,
	 qgpgmedecryptverifyjob.cpp,
	 qgpgmedeletejob.cpp,
	 qgpgmedownloadjob.cpp,
	 qgpgmeencryptjob.cpp,
	 qgpgmeexportjob.cpp,
	 qgpgmeimportfromkeyserverjob.cpp,
	 qgpgmeimportjob.cpp,
	 qgpgmekeygenerationjob.cpp,
	 qgpgmekeylistjob.cpp,
	 qgpgmelistallkeysjob.cpp,
	 qgpgmerefreshkeysjob.cpp,
	 qgpgmesecretkeyexportjob.cpp,
	 qgpgmesignencryptjob.cpp,
	 qgpgmesignjob.cpp,
	 qgpgmesignkeyjob.cpp,
	 qgpgmeverifydetachedjob.cpp,
	 qgpgmeverifyopaquejob.cpp: Add missing MOC includes.

	Qt: Declare pure virtuals as such.
	+ commit 0cc9006dbc59d87c6bcda88b36d59dcb69ac35cb
	* lang/qt/src/qgpgmebackend.h (Protocol): Make all functions
	 pure virtual.

	Qt: Don't declare showErrorDialog anymore.
	+ commit 3e38cc6fc67c420dec3e9e8afd072b4c8a157c85
	* cpp/qt/src/job.h: Remove showErrorDialog.

	Qt: Only use GpgME based config class.
	+ commit 7071b2a9c00b85d434d01b6166269ebf48b01b81
	* lang/qt/src/qgpgmecryptoconfig.cpp,
	 lang/qt/src/qgpgmecryptoconfig.h: Removed.
	* lang/qt/src/qgpgmebackend.cpp: Return newcryptoconfig.

2016-04-02  Andre Heinecke  <aheinecke@intevation.de>

	Add additional include path in config files.
	+ commit 63c115b067400e1b02c7d849c99f54dc9f394d68
	* lang/cpp/src/GpgmeppConfig.cmake.in.in
	 lang/qt/src/QGpgmeConfig.cmake.in.in: Include directory above headers.

	Qt: Fix library name in nodist variable.
	+ commit 576be46f34b42e896a5e3be65560a4b518a758be
	* lang/qt/Makefile.am (nodist_qgpgme_SOURCES): Change to real name.

	Add missing files to QGpgME.
	+ commit a440050fc2c11e4867da9d4707616fa23ac52141
	* lang/qt/src/gpgme_backend_debug.cpp,
	 lang/qt/src/gpgme_backend_debug.h,
	 lang/qt/src/predicates.h,
	 lang/qt/src/stl_util.h: New.

	Add QGpgME code from libkleo.
	+ commit 226e51052ae73efa8d9f30729b28de68d35231af
	* lang/qt/src/Makefile.am,
	lang/qt/src/abstractimportjob.h,
	lang/qt/src/adduseridjob.h,
	lang/qt/src/changeexpiryjob.h,
	lang/qt/src/changeownertrustjob.h,
	lang/qt/src/changepasswdjob.h,
	lang/qt/src/cryptoconfig.h,
	lang/qt/src/decryptjob.h,
	lang/qt/src/decryptverifyjob.h,
	lang/qt/src/deletejob.h,
	lang/qt/src/downloadjob.h,
	lang/qt/src/encryptjob.h,
	lang/qt/src/exportjob.h,
	lang/qt/src/hierarchicalkeylistjob.h,
	lang/qt/src/importfromkeyserverjob.h,
	lang/qt/src/importjob.h,
	lang/qt/src/job.cpp,
	lang/qt/src/job.h,
	lang/qt/src/keygenerationjob.h,
	lang/qt/src/keylistjob.h,
	lang/qt/src/listallkeysjob.h,
	lang/qt/src/multideletejob.h,
	lang/qt/src/qgpgmeadduseridjob.cpp,
	lang/qt/src/qgpgmeadduseridjob.h,
	lang/qt/src/qgpgmebackend.cpp,
	lang/qt/src/qgpgmebackend.h,
	lang/qt/src/qgpgmechangeexpiryjob.cpp,
	lang/qt/src/qgpgmechangeexpiryjob.h,
	lang/qt/src/qgpgmechangeownertrustjob.cpp,
	lang/qt/src/qgpgmechangeownertrustjob.h,
	lang/qt/src/qgpgmechangepasswdjob.cpp,
	lang/qt/src/qgpgmechangepasswdjob.h,
	lang/qt/src/qgpgmecryptoconfig.cpp,
	lang/qt/src/qgpgmecryptoconfig.h,
	lang/qt/src/qgpgmedecryptjob.cpp,
	lang/qt/src/qgpgmedecryptjob.h,
	lang/qt/src/qgpgmedecryptverifyjob.cpp,
	lang/qt/src/qgpgmedecryptverifyjob.h,
	lang/qt/src/qgpgmedeletejob.cpp,
	lang/qt/src/qgpgmedeletejob.h,
	lang/qt/src/qgpgmedownloadjob.cpp,
	lang/qt/src/qgpgmedownloadjob.h,
	lang/qt/src/qgpgmeencryptjob.cpp,
	lang/qt/src/qgpgmeencryptjob.h,
	lang/qt/src/qgpgmeexportjob.cpp,
	lang/qt/src/qgpgmeexportjob.h,
	lang/qt/src/qgpgmeimportfromkeyserverjob.cpp,
	lang/qt/src/qgpgmeimportfromkeyserverjob.h,
	lang/qt/src/qgpgmeimportjob.cpp,
	lang/qt/src/qgpgmeimportjob.h,
	lang/qt/src/qgpgmekeygenerationjob.cpp,
	lang/qt/src/qgpgmekeygenerationjob.h,
	lang/qt/src/qgpgmekeylistjob.cpp,
	lang/qt/src/qgpgmekeylistjob.h,
	lang/qt/src/qgpgmelistallkeysjob.cpp,
	lang/qt/src/qgpgmelistallkeysjob.h,
	lang/qt/src/qgpgmenewcryptoconfig.cpp,
	lang/qt/src/qgpgmenewcryptoconfig.h,
	lang/qt/src/qgpgmerefreshkeysjob.cpp,
	lang/qt/src/qgpgmerefreshkeysjob.h,
	lang/qt/src/qgpgmesecretkeyexportjob.cpp,
	lang/qt/src/qgpgmesecretkeyexportjob.h,
	lang/qt/src/qgpgmesignencryptjob.cpp,
	lang/qt/src/qgpgmesignencryptjob.h,
	lang/qt/src/qgpgmesignjob.cpp,
	lang/qt/src/qgpgmesignjob.h,
	lang/qt/src/qgpgmesignkeyjob.cpp,
	lang/qt/src/qgpgmesignkeyjob.h,
	lang/qt/src/qgpgmeverifydetachedjob.cpp,
	lang/qt/src/qgpgmeverifydetachedjob.h,
	lang/qt/src/qgpgmeverifyopaquejob.cpp,
	lang/qt/src/qgpgmeverifyopaquejob.h,
	lang/qt/src/refreshkeysjob.h,
	lang/qt/src/signencryptjob.h,
	lang/qt/src/signjob.h,
	lang/qt/src/signkeyjob.h,
	lang/qt/src/specialjob.h,
	lang/qt/src/threadedjobmixin.cpp,
	lang/qt/src/threadedjobmixin.h,
	lang/qt/src/verifydetachedjob.h,
	lang/qt/src/verifyopaquejob.h: New.
	* lang/qt/src/Makefile.am:

2016-03-08  Andre Heinecke  <aheinecke@intevation.de>

	Add qgpgme as qt language binding.
	+ commit 8347f3d5fc3e476aa767fbbaf09a1310a6154280
	* configure.ac: Add version defines. Check for qt if neccessary.
	* lang/README: Mention qt
	* lang/cpp/src/GpgmeppConfig.cmake.in.in: Remove comment. Find qgpgme.
	* lang/qt/src/Makefile.am: New. Build qgpgme.
	* lang/qt/README,
	 lang/qt/src/Makefile.am,
	 lang/qt/src/QGpgmeConfig.cmake.in.in,
	 lang/qt/src/QGpgmeConfigVersion.cmake.in,
	 lang/qt/src/dataprovider.cpp,
	 lang/qt/src/dataprovider.h,
	 lang/qt/src/qgpgme_export.h,
	 m4/qt.m4: New.
	* lang/cpp/src/GpgmeppConfig.cmake.in.in,
	 lang/cpp/src/Makefile.am: Fix generated config file.

	Remove obsolete w32-qt code.
	+ commit 58ed9c17f00f420035ecc6973a6c6ed948757a9a
	* configure.ac (w32-qt): Remove option and Qt checks.
	* src/Makefile.am: Remove BUILD_W32_QT handling.
	* src/kdpipeiodevice.cpp,
	 src/kdpipeiodevice.h,
	 src/kdpipeiodevice.moc,
	 src/w32-qt-io.cpp: Removed.

2016-03-02  Andre Heinecke  <aheinecke@intevation.de>

	Add version info for gpgmepp.
	+ commit a06603d75e80aba58df58f9a41770c56b6a1f0b8
	* lang/cpp/src/Makefile.am (libgpgmepp_la_LDFLAGS): Add version info.

	Add cmake configuration files.
	+ commit 77c3fb450c7adf36804a55d76ff49a06a71d22a0
	* configure.ac: Add libgpgmepp version. Configure cmake files.
	* lang/cpp/src/Makefile.am: Add targets for cmake files.
	 (EXTRA_DIST): Add cmake files.

	Fix export header and windows export macros.
	+ commit 98e5b672422ca1e38ca38ff0357cee6cc936aee0
	* lang/cpp/src/gpgme_export.h: Fix variable name. Add Windows ifdefs.

	Add header installation.
	+ commit c5291a88913ace8f2115021b69c7aeb59b4f79d4
	* lang/cpp/src/Makefile.am: Add headers as deps and install them.
	 (AM_CPPFLAGS): Add BUILDING_GPGMEPP to be used in export macros.

	Add enable-languages build option.
	+ commit a313b3e28cc42785365822519b25d6a87dfdf0c9
	* acinclude.m4 (LIST_MEMBER): New macro.
	* configure.ac (enable-languages): New option. Add info output.
	* lang/Makefile.am: Only add enabled language subdirs.

2016-02-22  Andre Heinecke  <aheinecke@intevation.de>

	Add README for gpgmepp.
	+ commit 7286fc7f3d51d475f82c7c9821d031290f5b0066
	* lang/README: Note down cpp.
	* cpp/README: Add README based on original repo version.

	Add buildsystem for Gpgmepp.
	+ commit f5fd787b5b45cb14d539b5c26f44066eb9ac0f75
	* configure.ac: Configure Makefiles.
	* lang/Makefile.am: Add cpp subdir
	* lang/cpp/Makefile.am: New. Add src subdir.
	* lang/cpp/src/Makefile.am: New. Basic buildsystem.

	Remove feature check ifdefs.
	+ commit 433bb8e84b2d1e50b5c5b9f7f2006b60cd7d7785
	* lang/cpp/src/assuanresult.cpp,
	 lang/cpp/src/callbacks.cpp,
	 lang/cpp/src/configuration.cpp,
	 lang/cpp/src/context.cpp,
	 lang/cpp/src/context_glib.cpp,
	 lang/cpp/src/context_qt.cpp,
	 lang/cpp/src/context_vanilla.cpp,
	 lang/cpp/src/data.cpp,
	 lang/cpp/src/decryptionresult.cpp,
	 lang/cpp/src/defaultassuantransaction.cpp,
	 lang/cpp/src/editinteractor.cpp,
	 lang/cpp/src/encryptionresult.cpp,
	 lang/cpp/src/engineinfo.cpp,
	 lang/cpp/src/eventloopinteractor.cpp,
	 lang/cpp/src/global.h,
	 lang/cpp/src/gpgagentgetinfoassuantransaction.cpp,
	 lang/cpp/src/importresult.cpp,
	 lang/cpp/src/interfaces/assuantransaction.h,
	 lang/cpp/src/key.cpp,
	 lang/cpp/src/keygenerationresult.cpp,
	 lang/cpp/src/keylistresult.cpp,
	 lang/cpp/src/scdgetinfoassuantransaction.cpp,
	 lang/cpp/src/signingresult.cpp,
	 lang/cpp/src/trustitem.cpp,
	 lang/cpp/src/util.h,
	 lang/cpp/src/verificationresult.cpp,
	 lang/cpp/src/vfsmountresult.cpp: Remove feature checks.

	Initial checkin of gpgmepp sources.
	+ commit 0855a1296a1908016f011eb5e6552854ac53e63a
	Based on git.kde.org/pim/gpgmepp rev. 0e3ebc02

	* lang/cpp/src/assuanresult.cpp,
	 lang/cpp/src/assuanresult.h,
	 lang/cpp/src/callbacks.cpp,
	 lang/cpp/src/callbacks.h,
	 lang/cpp/src/configuration.cpp,
	 lang/cpp/src/configuration.h,
	 lang/cpp/src/context.cpp,
	 lang/cpp/src/context.h,
	 lang/cpp/src/context_glib.cpp,
	 lang/cpp/src/context_p.h,
	 lang/cpp/src/context_qt.cpp,
	 lang/cpp/src/context_vanilla.cpp,
	 lang/cpp/src/data.cpp,
	 lang/cpp/src/data.h,
	 lang/cpp/src/data_p.h,
	 lang/cpp/src/decryptionresult.cpp,
	 lang/cpp/src/decryptionresult.h,
	 lang/cpp/src/defaultassuantransaction.cpp,
	 lang/cpp/src/defaultassuantransaction.h,
	 lang/cpp/src/editinteractor.cpp,
	 lang/cpp/src/editinteractor.h,
	 lang/cpp/src/encryptionresult.cpp,
	 lang/cpp/src/encryptionresult.h,
	 lang/cpp/src/engineinfo.cpp,
	 lang/cpp/src/engineinfo.h,
	 lang/cpp/src/error.h,
	 lang/cpp/src/eventloopinteractor.cpp,
	 lang/cpp/src/eventloopinteractor.h,
	 lang/cpp/src/exception.cpp,
	 lang/cpp/src/exception.h,
	 lang/cpp/src/global.h,
	 lang/cpp/src/gpgadduserideditinteractor.cpp,
	 lang/cpp/src/gpgadduserideditinteractor.h,
	 lang/cpp/src/gpgagentgetinfoassuantransaction.cpp,
	 lang/cpp/src/gpgagentgetinfoassuantransaction.h,
	 lang/cpp/src/gpgmefw.h,
	 lang/cpp/src/gpgmepp_export.h,
	 lang/cpp/src/gpgsetexpirytimeeditinteractor.cpp,
	 lang/cpp/src/gpgsetexpirytimeeditinteractor.h,
	 lang/cpp/src/gpgsetownertrusteditinteractor.cpp,
	 lang/cpp/src/gpgsetownertrusteditinteractor.h,
	 lang/cpp/src/gpgsignkeyeditinteractor.cpp,
	 lang/cpp/src/gpgsignkeyeditinteractor.h,
	 lang/cpp/src/importresult.cpp,
	 lang/cpp/src/importresult.h,
	 lang/cpp/src/key.cpp,
	 lang/cpp/src/key.h,
	 lang/cpp/src/keygenerationresult.cpp,
	 lang/cpp/src/keygenerationresult.h,
	 lang/cpp/src/keylistresult.cpp,
	 lang/cpp/src/keylistresult.h,
	 lang/cpp/src/notation.h,
	 lang/cpp/src/result.h,
	 lang/cpp/src/result_p.h,
	 lang/cpp/src/scdgetinfoassuantransaction.cpp,
	 lang/cpp/src/scdgetinfoassuantransaction.h,
	 lang/cpp/src/signingresult.cpp,
	 lang/cpp/src/signingresult.h,
	 lang/cpp/src/trustitem.cpp,
	 lang/cpp/src/trustitem.h,
	 lang/cpp/src/util.h,
	 lang/cpp/src/verificationresult.cpp,
	 lang/cpp/src/verificationresult.h,
	 lang/cpp/src/vfsmountresult.cpp,
	 lang/cpp/src/vfsmountresult.h,
	 lang/cpp/src/interfaces/assuantransaction.h,
	 lang/cpp/src/interfaces/dataprovider.h,
	 lang/cpp/src/interfaces/passphraseprovider.h,
	 lang/cpp/src/interfaces/progressprovider.h: New.

2016-01-15  Werner Koch  <wk@gnupg.org>

	Fix possible _SC_OPEN_MAX max problem on AIX.
	+ commit e79199468ac54ce4fe919603ff7bada97267174f
	* src/posix-io.c [HAVE_STDINT_H]: Include stdint.h.
	(get_max_fds): Limit returned value for too high values.

2015-12-09  Werner Koch  <wk@gnupg.org>

	w32: Avoid conflict with Mingw-w64 version 4.0.4-1.
	+ commit 83415dffaea53611dbce77b50d8ddfb2a50aed2e
	* src/w32-util.c (mkstemp): Rename to my_mkstemp.  Change caller.

2015-12-04  Daiki Ueno  <ueno@gnu.org>

	Return on user cancellation of delete operation.
	+ commit 67d7f7a9383763b01daf877c846bf3e32f647fa5
	* src/delete.c (delete_status_handler): Return on ERROR status, if the
	error location is set to "delete_key.secret" and the code is either
	CANCELED or FULLY_CANCELED, which indicates a situation that the user
	selected "No" on the confirmation dialog.

	doc: Fix minor errors.
	+ commit 3b6e9a3d0afcdd3c2f1de19f15924c3404c7140a
	* doc/gpgme.texi: Fix errors and typos in the cancellation and
	gpgme_import_result_t documentation.

2015-10-29  Ben Kibbey  <bjk@luxsci.net>

	Make use of user passphrase handler during passwd.
	+ commit dfa79f9300b837b0f7f2ea44afa589bfcda1dbd9
	* src/passwd.c (passwd_start): set engine passphrase command handler.

2015-10-28  Werner Koch  <wk@gnupg.org>

	w32: Add extra diagnostic about possible missing gpgme-w32spawn.exe.
	+ commit bb2d11c1eebd4bcfb0f2cfce728026a7420dca47
	* src/w32-io.c (_gpgme_io_spawn): Add a new diagnostic.

	w32: Improve locating gpgconf on 64 bit systems.
	+ commit a82e9b182f62966207cad0972be6fa284329a5a1
	* src/w32-util.c (find_program_at_standard_place): Fallback to
	CSIDL_PROGRAM_FILESX86.

	w32: Add new global flag "w32-inst-dir".
	+ commit bb600aa8fd2f9575ee7afc64c978e3e7523b1173
	* src/gpgme.c (gpgme_set_global_flag): Add flag "w32-inst-dir";
	* src/posix-util.c (_gpgme_set_override_inst_dir): New stub.
	* src/w32-util.c (override_inst_dir): New var.
	(_gpgme_get_inst_dir): Return this var is set.
	(_gpgme_set_override_inst_dir): New.

2015-10-16  NIIBE Yutaka  <gniibe@fsij.org>

	cleanup: Fix type mismatch around gpgme_error_t.
	+ commit 0d9d0a6b5b0c6f474a079bbaef11078c5df5f3b5
	* src/data-compat.c (gpgme_error_to_errno): Use gpg_err_code
	to get error code from gpgme_error_t.
	* src/gpgme.c (gpgme_new): Don't use gpgme_error.

2015-08-31  Werner Koch  <wk@gnupg.org>

	gpgme-tool: Switch to argparse.c for option parsing.
	+ commit f0ccce855bd99fca7cfbbcafe3544e3113fedc67
	* src/argparse.c, src/argparse.h: New. Taken from current gnupg.
	* src/Makefile.am (gpgme_tool_SOURCES): New.
	* src/gpgme-tool.c: Remove all argp.h stuff.
	(my_strusage): New.
	(main): Change to use argparse.

2015-08-30  Werner Koch  <wk@gnupg.org>

	Add gpgme_pubkey_algo_string.
	+ commit c4b6b35bfa98e478f1d13f4ce3e664771f2604c2
	* src/gpgme.h.in (GPGME_PK_EDDSA): New.
	(gpgme_pubkey_algo_string): New.
	* src/conversion.c (_gpgme_map_pk_algo): Add new algo.
	* src/gpgme.c (gpgme_pubkey_algo_string): New.
	(gpgme_pubkey_algo_name): Reformat.

2015-08-26  Werner Koch  <wk@gnupg.org>

	Release 1.6.0.
	+ commit 107bff70edb611309f627058dd4777a5da084b1a
	* configure.ac: Set LT version to C25/A14/R0.

	Make use of GPGRT macros is available.
	+ commit c4f4b5c0a6fc172f7ceedc1a0021169e7f31b941
	* src/gpgme.h.in (_GPGME_INLINE): Define using GPGRT_INLINE if
	possible.  Fix problem with -Wundef by adding an extra "defined()".
	(_GPGME_GCC_VERSION): Define using GPGRT_ macro if possible.

2015-08-25  Werner Koch  <wk@gnupg.org>

	Avoid -Wundef warnings if gpgme.h is used by g++.
	+ commit 3f53d3d5d9e73a053b1e89073ef8f7cf01bfc8e6
	* src/gpgme.h.in (_GPGME_INLINE): Move definition into the
	extern-C-scope.

	Add configure option --enable-build-timestamp.
	+ commit ff91e699f7c14ea6cbc27b487cb40e9f6bd58901
	* configure.ac (BUILD_TIMESTAMP): Set to "<none>" by default.

2015-08-25  Daiki Ueno  <ueno@gnu.org>

	Relax ttyname_r error checks.
	+ commit 028a0ef3336c5180797fb247448683195376c007
	* src/engine-assuan.c (llass_new): Don't treat ttyname_r error as
	fatal.
	* src/engine-g13.c (g13_new): Likewise.
	* src/engine-gpg.c (gpg_new): Likewise.
	* src/engine-gpgsm.c (gpgsm_new): Likewise.
	* src/engine-uiserver.c (uiserver_new): Likewise.

2015-08-25  Werner Koch  <wk@gnupg.org>

	Cleanup layout of gpgme.h.
	+ commit 97f1f3e883808743da5ee144abab25de062f34ac
	* src/gpgme.h.in: Reorder prototypes.  Chnage some comments.

	Improve error return by checking the FAILURE status.
	+ commit 8ddc5801ade02297924447df5745c8877a96e5e3
	* src/gpgme.h.in (GPGME_STATUS_FAILURE): New.
	* src/status-table.c (FAILURE): New.
	* src/op-support.c (_gpgme_parse_failure): New.
	* src/passphrase.c (_gpgme_passphrase_status_handler): Forward FAILURE
	status line to the status callback.

	* src/decrypt.c (op_data_t): Add field failure_code.
	(_gpgme_decrypt_status_handler): Parse that code and act upon it on EOF.
	* src/encrypt.c (op_data_t): Add field failure_code.
	(_gpgme_encrypt_status_handler): Parse that code and act upon it on EOF.
	* src/genkey.c (op_data_t): Add field failure_code.
	(genkey_status_handler): Parse that code and act upon it on EOF.
	* src/passwd.c (op_data_t): Add field failure_code.
	(passwd_status_handler): Parse that code and act upon it on EOF.
	* src/sign.c (op_data_t): Add field failure_code.
	(_gpgme_sign_status_handler): Parse that code and act upon it on EOF.
	* src/verify.c (op_data_t): Add field failure_code.
	(_gpgme_verify_status_handler): Parse that code and act upon it on EOF.

	tests: Allow using run-sign to test loopback pinentry problems.
	+ commit 491fcd91b84564232d5d061942baa50b99e166c0
	* tests/run-sign.c: Add options --status and --loopback.

2015-08-24  Werner Koch  <wk@gnupg.org>

	Call status_cb for an ERROR status seen in the passphrase handler.
	+ commit ad46f4f655e653580343c15f1b0b365b7d307d1b
	* src/passphrase.c (_gpgme_passphrase_status_handler): Call status_cb.

	w32: Look for gpgconf in the new GnuPG 2.1 install dir.
	+ commit a7dbab23ea4976d106d649aa515ffb2968a085ed
	* src/w32-util.c (_gpgme_get_gpgconf_path): Try another location of
	gpgconf.exe.

	w32: Expect gpgme-w32spawn.exe only in the gpgme installation dir.
	+ commit 06d6fd8ca01354c8f7cfc847c4ac1b868268cbaa
	* src/w32-util.c (find_program_at_standard_place): Remove.
	(_gpgme_get_gpg_path): Make the search order more explicit.
	(_gpgme_get_gpgconf_path): Ditto.
	(_gpgme_get_w32spawn_path): Search only in the inst_dir.

	w32: Print the installation directory in debug mode.
	+ commit df098d6a437109c57516db75addf3764a6dfda81
	* src/debug.c (debug_init) [W32]: Show libgpgme installation dir.

	Add an export secret key feature.
	+ commit 2b632bbb78eee2b94c122f66d171a7c80e9c4fb0
	* src/gpgme.h.in (GPGME_EXPORT_MODE_SECRET): New.
	(GPGME_EXPORT_MODE_RAW): New.
	(GPGME_EXPORT_MODE_PKCS12): New.
	* src/export.c (export_start, export_ext_start): Allow new flags.
	* src/engine-gpg.c (export_common): Support secret key export.
	* src/engine-gpgsm.c (gpgsm_export, gpgsm_export_ext): Ditto.

	* src/gpgme-tool.c (cmd_export): Add options --secret, --raw,
	and --pkcs12.
	* tests/run-export.c (main): Likewise.

2015-08-16  Ben Kibbey  <bjk@luxsci.net>

	Parse INQUIRE_MAXLEN in the passphrase callback.
	+ commit ccbaccbf2e0ba582d181b9ee4d8543d7c1248b2c
	* src/passphrase.c (_gpgme_passphrase_status_handler): Parse
	GPGME_STATUS_INQUIRE_MAXLEN.
	* src/passphrase.c (_gpgme_passphrase_command_handler): Send the
	INQUIRE_MAXLEN status message.

	Fix gpgme_{get,set}_status_cb to match documentation.
	+ commit 70b3e5964ea0592bd09d1877d720b2c63f501970
	* doc/gpgme.texi: Minor fixes.
	* src/gpgme.c (gpgme_get_status_cb): Set return variables to NULL and
	check for a valid ctx pointer.

	Parse the INQUIRE_MAXLEN status message.
	+ commit 6dd24c3c6133ec54f75abd056191a8027fe01de0
	* src/gpgme.h.in: (gpgme_status_code_t): Add INQUIRE_MAXLEN.
	* src/status-table.c (status_table_s): Ditto.
	* src/genkey.c (genkey_status_handler): Parse INQUIRE_MAXLEN.
	* src/decrypt.c (_gpgme_decrypt_status_handler): Ditto.
	* src/sign.c (_gpgme_sign_status_handler): Ditto.

	This status message informs the client of the maximum length of an
	inquired line. It is sent from gpg and forwarded to the client via
	gpgme_status_cb_t.

	Add gpgme_set/get_status_cb().
	+ commit 4fadcf06ec8b0ebfb05c7622dbc3b73fd3c1bad9
	* src/gpgme.h.in (gpgme_set_status_cb): New.
	(gpgme_get_status_cb): New.
	(gpgme_status_cb_t): New.
	* src/gpgme.c (gpgme_set_status_cb): New.
	(gpgme_get_status_cb): New.
	* src/context.h (status_cb): New.
	(status_cb_value): New.
	* src/gpgme.def: Export new symbols.
	* src/libgpgme.vers: Ditto.
	* doc/gpgme.texi: Document these new functions.

	Make use of user passphrase handler during genkey.
	+ commit 2b6ae3dadf4432f7a72fd119144b835f7b1adcc4
	* src/genkey.c (genkey_start): set engine passphrase command handler.

2015-08-12  Ben Kibbey  <bjk@luxsci.net>

	Also check the return code in gpg_sign().
	+ commit e07d38f5f9f3b94e403f1265ff7fd3d7009dd557
	* src/engine-gpg.c (gpg_sign): Check return value from start().

2015-08-11  Ben Kibbey  <bjk@luxsci.net>

	Check the return value when starting gpg.
	+ commit 8f28e3caf95d7bc99e9271bfc2b44080166af31f
	* src/engine-gpg.c (gpg_decrypt, gpg_delete, gpg_passwd): Check return
	value of start().

2015-08-02  Ben McGinnes  <ben@adversary.org>

	More GTK2 removal.
	+ commit a7fbd5293ed0ba2c179837a4a2b859376d30e35e
	* Missed a couple of files, these 2 go for the same reason as the
	  previous 3.

	Removed GUI examples.
	+ commit 1cd0aef0afb196094d90673002d4c210a04911c9
	* GUI examples written with pygtk, which has not been ported to Python
	  3 and won't be as it is for GTK2 and GNOME is moving to GTK3.
	* New GUI examples may be required in future using any of several GUI
	  frameworks (e.g. wxPython, PyQt, PySide, PyGObject, etc.).

2015-07-31  Andre Heinecke  <aheinecke@intevation.de>

	Add offline mode support for CMS keylisting.
	+ commit 08086dd6901740e155e4361212b4e9cff8a47296
	* doc/gpgme.texi: Document offline mode.
	* src/context.h (gpgme_context): Add offline.
	* src/engine-backend.h (keylist, keylist_ext): Add engine_flags.
	* src/engine.c, src/engine.h (_gpgme_engine_op_keylist): Ditto.
	  (_gpgme_engine_op_keylist_ext): Ditto.
	* src/engine.h (GPGME_ENGINE_FLAG_OFFLINE): New.
	* src/engine-gpg.c (gpg_keylist, gpg_keylist_ext): Ditto.
	* src/engine-gpgsm.c (gpgsm_keylist): Handle engine_flags.
	  (gpgsm_keylist_ext): Ditto.
	* src/gpgme.c (gpgme_set_offline, gpgme_get_offline): New.
	* src/gpgme.def (gpgme_set_offline, gpgme_get_offline): New.
	* src/gpgme.h.in (gpgme_set_offline, gpgme_get_offline): New.
	* src/libgpgme.vers (gpgme_set_offline, gpgme_get_offline): New.
	* src/keylist.c (gpgme_op_keylist_start): Set offline flag.
	  (gpgme_op_keylist_ext_start): Ditto.
	* tests/run-keylist.c (show_usage, main): Add offline argument.

2015-07-23  Peter Wu  <peter@lekensteyn.nl>

	build: ignore scissor line for the commit-msg hook.
	+ commit 157c8be183153ff588f98874a3205aa483d0fd23
	* build-aux/git-hooks/commit-msg: Stop processing more lines when the
	  scissor line is encountered.

2015-07-23  Werner Koch  <wk@gnupg.org>

	Add option --lib-version to gpgme-tool.
	+ commit c23f8897105ce2bb6e62d9c44ca0779fcc08a919
	* src/gpgme-tool.c (options, parse_options):  Add --lib-version
	(CMD_LIBVERSION): New.
	(main): Implement.

2015-06-08  Werner Koch  <wk@gnupg.org>

	Release 1.5.5.
	+ commit 052a9e3c5671d1ab69551f7b0abd0bbf859d4aba


	Fix regression with gpgsm 2.0 due to "OPTION with-secret".
	+ commit ddbd54ef881bd2c3481d62b89bef7241667b64ee
	* src/engine-gpgsm.c (gpgsm_assuan_simple_command): Do not terminate
	on a status lines.

	tests: Add option --secret to run-keylist.
	+ commit 7addffc0826e7f36afcc7f66268e9ee2a37e2042


	Fix compiler warnings about unused value in TRACE macros.
	+ commit 8b9f84828cd04a7dab37e219123edc1905da8e6b
	* src/debug.h: Change macros to not have a literal 0 as last
	expression of the comma operator.
	* src/debug.c (_gpgme_debug_frame_end): Return 0.
	(_gpgme_debug): Return 0.

	Fix test suite for GnuPG 2.1 which uses pubring.kbx.
	+ commit a5b040cc57c65b3d105666b90c7eb59ee6ff3882
	* tests/gpgsm/final.test: New.
	* tests/gpgsm/initial.test: New.
	* tests/gpg/start-stop-agent: Move to ../.
	* tests/gpgsm/Makefile.am (TESTS_ENVIRONMENT): Export top_srcdir.
	(TESTS): Add intial.test and final.test.
	(AM_LDFLAGS): Add -no-install.
	(clean-local): Use start-stop-agent
	(initial.test): Add dependency.
	* tests/gpg/Makefile.am (top_srcdir): Export top_srcdir.
	(AM_LDFLAGS): Add -no-install.
	(check-local): Depend on pubring-stamp instead of pubring.gpg.
	(initial.test): Depend on check-local.
	(./pubring-gpg): Replace by rule for ./pubring-stamp.

2015-06-05  Matthew Barnes  <mbarnes@redhat.com>

	Set GPGME_SIGSUM_KEY_REVOKED also for gpg.
	+ commit 87d713ff41454bd08a345c63605f6fc7ac854dd4
	* src/verify.c (calc_sig_summary): Handle GPG_ERR_CERT_REVOKED.

2015-06-05  Werner Koch  <wk@gnupg.org>

	Fix segv for userids with a backslash.
	+ commit 0d28a696163677d6b34a802b6beddecd805d0fc7
	* src/engine-gpg.c (gpg_keylist_preprocess): Increment SRC for a
	backslash.

2015-05-16  Ben McGinnes  <ben@adversary.org>

	Python 3 port of PyME.
	+ commit 90405ac84b78ba7e5458ea09986749594a01195a
	* Port of PyME 0.9.0 for Python 2 to Python 3 along with most of the
	  example scripts.
	* Intended to be developed in parallel with the original Python 2
	  version until such time as a rewrite of GPGME leads to developing an
	  IO API in Python 3 from scratch.
	* Python 3 PyME and API maintainer has entered, stage left with current
	  GPG key ID 0x321E4E2373590E5D, primary fingerprint is "DB47 24E6 FA42
	  86C9 2B4E  55C4 321E 4E23 7359 0E5D" and signing subkey fingerprint is
	  "B7F0 FE75 9387 430D D0C5  8BDB 7FF2 D371 35C7 553C" for future
	  reference with git commit signatures.

	Explaining why not all scripts work.
	+ commit 29887c9b28c0db14bf75e227a8082d23a2c151d2
	* Some of them cannot be properly tested on OS X, especially with GTK in
	  the mix (it works on OS X, but is unlikely to be as easily accessible
	  as Cocoa or Qt).
	* Most major functions are showcased and do work, albeit sometimes with
	  false positives of error messages, at least on OS X.

	Byte encoding.
	+ commit c39cea7a07cec9ab34cd2026f47b6fba80fea3c8
	* More string updates.
	* verifydetails.py still fails, but as Bernhard is still contactable, it
	  might be worth him checking on it instead.

	No change, note added to explain why.
	+ commit 0e6e6689ef1aea36c1cb3cb47e94f1f2ebbd97cb


	Strings vs. Bytes.
	+ commit 40290507bcdc63ab9023393d071167d455d70737
	* CLI input must be byte encoded.

	More byte changes and passphrase changes.
	+ commit 325b0ca341ae3ac8c3232f557ea2c381b4843969
	* exportimport works, but will still segfault for an as yet unknown
	  reason.
	* genkey produces a traceback error, but does create the key as
	  intended.
	* matched passphrase in signverify.

	More bytes good.
	+ commit ba3c9f2617955dc828309a4800e4f5b3f1c3a949
	* Another string to byte change.

	Updated encrypt-to-all.
	+ commit 1c87ecb86ae364b18f69bca726021271fefaa1c1
	* Changed plaintext string to byte literal.
	* Nested key selection in a try/except statement in case of
	  UnicodeEncodeError instances.
	* Tested successfully on over 9,000 keys.

	Passphrase update.
	+ commit 24c738f5bb5c253a17962c62867d6c847250b41e
	* Changed example passphrase to something that meets the current minimum
	  requirements.

	example email.
	+ commit 8345bf6f43c4f671124eaa1b713a7f5ac5780cbd
	* changed joe@foo.bar to joe@example.org as it is only a matter of time
	  before ICANN actually creates bar as a gTLD, if they haven't already.

	Updated string and key data.
	+ commit 4fc123981514c7087114e08ee8ca63de1a1db59f
	* Text changed to byte literals.
	* Changed key type to RSA/RSA.
	* Changed expiry to the future (2020).

2015-05-08  Ben McGinnes  <ben@adversary.org>

	String type.
	+ commit 90079786c5cde4dd8ceb2e0fcda7605b08ccd021
	* the plain text string must be bytes and not unicode.
	* Expect most of the example code to have similar issues at present.

2015-05-05  Ben McGinnes  <ben@adversary.org>

	Python 3 port of PyME.
	+ commit ebd8734ad705afa4edc409787a00d4968d25e018
	* The entirety of the Python 3 port of PyME up to commit
	  2145348ec54c6027f2ea20f695de0277e2871405
	* The old commit log has been saved as
	  lang/py3-pyme/docs/old-commits.log
	* Can be viewed as a normal (separate) git repository at
	  https://github.com/adversary-org/pyme3
	* Utilising the submodule feature of git was deliberately skipped on
	  humanitarian grounds (in order to prevent pain and suffering on the
	  part of anyone having to manage this repository).

2015-04-13  Werner Koch  <wk@gnupg.org>

	Release 1.5.4.
	+ commit d2712d9f6f086911184453219a096c61f6829d3b


	w32: Use -static-libgcc to avoid linking to libgcc_s_sjlj-1.dll.
	+ commit 524dacfbb6bb131f05a4ecab3d7bcd91c1b43d33
	* src/Makefile.am (extra_ltoptions): New.
	(libgpgme_la_LDFLAGS): Use it.
	(libgpgme_pthread_la_LDFLAGS): Ditto.
	(libgpgme_glib_la_LDFLAGS): Ditto.

2015-03-16  Werner Koch  <wk@gnupg.org>

	Fix potential crash in trace macro.
	+ commit 8cfcdfe5564f87362e5ec1bfdca5c14aed9c45f0
	* src/signers.c (gpgme_signers_add): Avoid deref of a NULL KEY in the
	trace macro.
	* src/engine-spawn.c (engspawn_release): Remove always true condition.
	* src/engine-gpg.c (gpg_release): Ditto.

	Fix one byte too short malloc.
	+ commit 119f27032b822ace8c012b96f9e41bcf23251a54
	* src/engine-spawn.c (add_data): Fix malloc

2015-01-30  Werner Koch  <wk@gnupg.org>

	Switch to automake 1.14 and update  build-aux files.
	+ commit 428ea7696585bc24d127b903840554ca659069b6


2014-12-11  Werner Koch  <wk@gnupg.org>

	Release 1.5.3.
	+ commit 37d927a9706fff6d8ef8d45073984ea2f92afb31
	* configure.ac: Set LT version to C24/A13/R2.

2014-12-08  Werner Koch  <wk@gnupg.org>

	Return an error for some export key operations.
	+ commit 05258d427513a933f01d4df13aca834d797f91e7
	* src/context.h (OPDATA_EXPORT): New.
	* src/export.c (op_data_t): New.
	(release_op_data): New.
	(parse_error): New.
	(export_status_handler): New.
	(export_start, export_ext_start): Prepare op_data.
	(gpgme_op_export_ext, gpgme_op_export_keys): Return an error from the
	status handler.

2014-11-21  Werner Koch  <wk@gnupg.org>

	Release 1.5.2.
	+ commit c62ce32b9c01ee9ceb1d69e7344fb79a9162d232
	* configure.ac: Set LT version to C24/A13/R1.

	Update the previous commit.
	+ commit 81ce87111f5a3f966188629abb07a4d0702e6db0
	* src/sign.c (gpgme_op_sign_result): Reformat and take care of failed
	malloc.

2014-11-21  Ben Kibbey  <bjk@luxsci.net>

	Fix returning new signatures when there are none.
	+ commit 5942b0c7e0593b82b4c4a142c214d7a2649de104
	* src/sign.c (gpgme_op_sign_result): Test that invalid and valid
	signatures add up to gpgme_signers_count().

2014-11-06  Werner Koch  <wk@gnupg.org>

	Improve the debug output a bit.
	+ commit 8031341283f4fcb1f226aa6f66bc5a6042586815
	* src/debug.h (TRACE_ERR): Include the line number in the output.

2014-10-02  Werner Koch  <wk@gnupg.org>

	build: Implement SYSROOT feature.
	+ commit 4027a0a89724df3aeef8a964c529548d724b6a5a
	* configure.ac: Document SYSROOT.
	* m4/gpg-error.m4: Update from libgpg-error master.
	* src/gpgme.m4: Implement SYSROOT stuff.

2014-09-24  Werner Koch  <wk@gnupg.org>

	tests: Delay some test file extraction until "make check".
	+ commit 2e8ecc24cf74f918c303c315da3bb18636a5e288
	* tests/gpg/Makefile.am (all-local): Change to check-local.
	* tests/gpgsm/Makefile.am (all-local): Ditto.

2014-09-24  Daniel Kahn Gillmor  <dkg@fifthhorseman.net>

	Clean up gpgme's tests/gpg when gpg2.1 is available.
	+ commit 36997e0f746ce2d38de997055141542583cc0f52
	* tests/gpg/Makefile.am: Clean up .gpg-v21-migrated

2014-08-12  Werner Koch  <wk@gnupg.org>

	gpgme-tool: Print fingerprint and keyid with keyservers.
	+ commit 4160ef90a1b1b778c735f31f98a6966ba3b3ea90
	* src/gpgme-tool.c (cmd_keylist): Print keyid.  Print FPR only if
	available.

	Handle modern keyserver output which may emit the fingerprint.
	+ commit 3450bff52baef2c14118958cf79ead46940d58f0
	* src/engine-gpg.c (read_colon_line): Split preprocessed lines.
	(gpg_keylist_preprocess): Limit keyid field and print fingerprint.

	gpgme-tool: Install gpgme-tool.
	+ commit 488e44cdb531035fa8813b95b212f9728abc7e62
	* src/Makefile.am (bin_PROGRAMS): New.  Add gpgme-tools.
	(noinst_PROGRAMS): Remove.

	gpgme-tool: Fix segv for external key listing.
	+ commit e5ab11607281b9838da2728268a8f9f0daa2b04d
	* src/gpgme-tool.c (result_xml_escape): Allow for DATA being NULL.

2014-07-30  Werner Koch  <wk@gnupg.org>

	Release 1.5.1.
	+ commit 16835c3b5d1cea18512b2c93e884d8ca513a2ee7
	* configure.ac: Change LT version to C24/A13/R0.

	Fix possible realloc overflow for gpgsm and uiserver engines.
	+ commit 2cbd76f7911fc215845e89b50d6af5ff4a83dd77
	* src/engine-gpgsm.c (status_handler):
	* src/engine-uiserver.c (status_handler):

2014-06-26  Werner Koch  <wk@gnupg.org>

	w32: Get IOSPAWN flag back in sync with spawn helper.
	+ commit 68116fa5f67238a60bb8be375cc959262fa021d3
	* src/gpgme-w32spawn.c: Include priv-io.h.

2014-06-10  Werner Koch  <wk@gnupg.org>

	Add new reason codes to the INV_RECP status code.
	+ commit 86260b47c9e306e325103d1af767842357647e60
	* src/op-support.c (_gpgme_parse_inv_recp): Add codes 13 and 14.

2014-06-04  Werner Koch  <wk@gnupg.org>

	Add new keylist mode GPGME_KEYLIST_MODE_WITH_SECRET.
	+ commit 4dc9af24156b4fd52c7b76e7522b9b7a64e5386a
	* src/gpgme.h.in (GPGME_KEYLIST_MODE_WITH_SECRET): New.
	* src/engine-gpg.c (gpg_keylist_build_options): Handle new mode.
	* src/engine-gpgsm.c (gpgsm_keylist, gpgsm_keylist_ext): Ditto.
	* src/keylist.c (parse_sec_field15): Add arg key and take care of
	--with-secret output.

	* src/gpgme-tool.c (gt_get_keylist_mode, cmd_keylist_mode): Add
	"with_secret".  Print card info and and secret flag for subkeys.

2014-05-21  Werner Koch  <wk@gnupg.org>

	Release 1.5.0.
	+ commit 0eca21113c1d1ab2aea58e1ea21075f472f99c23
	* configure.ac: Change LT version to C22/A11/R0.

2014-05-13  Werner Koch  <wk@gnupg.org>

	Add 6 new GPGME_STATUS_ codes.
	+ commit de6caeed6d6432101c673c35717f152d5facf823
	* src/status-table.c: Also add missing DECRYPTION_INFO entry.

2014-05-08  Werner Koch  <wk@gnupg.org>

	Add field CURVE to the key info.
	+ commit 88f15336ec0eadde68ff2618349efb9006b8e801
	* src/gpgme.h.in (struct _gpgme_subkey): Add field CURVE.
	* src/key.c (gpgme_key_unref): Free CURVE.
	* src/keylist.c (keylist_colon_handler): Set CURVE.

	* src/gpgme.c (gpgme_release): For failsafe reasons reset engine and
	engine info after freeing.

	Fix a memory access and a double slash bug.
	+ commit de4a1ea684e1591975feb801e7651309e1ee2c49
	* src/engine-spawn.c (engspawn_start): Allocate space for list
	terminator.
	* src/posix-util.c (walk_path): Fix trailing slash detection.

	Map public key algos returned by gpg to gpgme values.
	+ commit d5fb92cdaed21eea2f1a921e4f11df72635a8462
	* src/conversion.c (_gpgme_map_pk_algo): New.
	* src/decrypt.c (parse_enc_to): Add arg PROTOCOL and map pubkey algo.
	(_gpgme_decrypt_status_handler): Map pubkey algo.
	* src/keylist.c (keylist_colon_handler): Map pubkey algo.
	* src/sign.c (parse_sig_created): Add arg PROTOCOL and map pubkey
	algo.
	* src/verify.c (parse_new_sig): Ditto.
	(parse_valid_sig): Ditto.

	* src/gpgme.h.in (GPGME_PK_ECC): New.
	(GPGME_MD_SHA224): New.
	* src/gpgme.c (gpgme_pubkey_algo_name): Add GPGME_PK_ECC case.
	(gpgme_hash_algo_name): Add GPGME_MD_SHA224.

	Add GPGME_ENCRYPT_NO_COMPRESS flag.
	+ commit 991cde9e79fec70aad093ded383c5574d30f9388
	* src/gpgme.h.in (GPGME_ENCRYPT_NO_COMPRESS): New.
	* src/engine-gpg.c (gpg_encrypt, gpg_encrypt_sign): Implement it.
	* src/gpgme-tool.c (_cmd_sign_encrypt): Add option --no-compress.

2014-04-16  Werner Koch  <wk@gnupg.org>

	w32: Fix another memleak on error.
	+ commit 62711e5614e44e65a7c7bb7d21493d09d3081271
	* src/w32-io.c (create_reader): free CTX.

2014-04-15  Werner Koch  <wk@gnupg.org>

	w32: Fix memleak in an error code paths.
	+ commit 85a07ca7e3dffdefc8ae74beebb59e47a6e6bd1b
	* src/w32-io.c (create_writer): Free CTX in cased of bad FD.
	* src/w32-util.c (_gpgme_mkstemp): Free TMPNAME in case of a failed
	mkstemp.

	Fix possible zombie processes.
	+ commit 2bb26185e3b9a048033c559517d6ba7d2eb47066
	* src/posix-io.c (_gpgme_io_waitpid): Protect waitpid agains EINTR.
	(_gpgme_io_dup): Likewise.
	(_gpgme_io_connect): Likewise.

2014-04-10  Werner Koch  <wk@gnupg.org>

	Actually implement flags for gpgme_op_spawn.
	+ commit d3bd8fff863f62b6d0e228aea754efbbde861e9a
	* src/spawn.c (gpgme_op_spawn_start, gpgme_op_spawn): Pass FLAGS dow
	to spawn_start and add FLAGS args along the call path.
	* src/engine-spawn.c (engspawn_start): Hack to automagically provide
	argv[0].

	Add GPGME_PROTOCOL_SPAWN and gpgme_op_spawn.
	+ commit 4f2d652e60700e03809307a10015ff9003ac3579
	* src/gpgme.h.in (GPGME_PROTOCOL_SPAWN): New.
	(GPGME_SPAWN_DETACHED, GPGME_SPAWN_ALLOW_SET_FG): New.
	* src/gpgme.c (gpgme_set_protocol): Add new protocol.
	(gpgme_get_protocol_name): Ditto.
	* src/spawn.c: New.
	* src/libgpgme.vers, src/gpgme.def: Add new public functions.
	* src/engine-spawn.c: New.
	* src/Makefile.am: Add new files.
	* src/engine-backend.h (struct engine_ops): Add OPSPAWN.
	* src/engine.c (engine_ops): Add _gpgme_engine_ops_spawn.
	(gpgme_get_engine_info): Add Spawn to the list of protocols.
	(_gpgme_engine_op_spawn): New.

	* src/gpgme-tool.c (gt_protocol_from_name): Add new protocol.
	(gt_spawn, cmd_spawn): New.

	Add gpgme_get_dirinfo.
	+ commit 77931a9a1468b0cfbaafd4153867d90764a6d258
	* src/dirinfo.c (gpgme_get_dirinfo): New.
	* tests/t-engine-info.c (main): Print results from that function.

	Make use of internal iospawn flags more flexible.
	+ commit 443f6b76a964b77e2e61c03592a83ffa0a6da4b1
	* src/priv-io.h (IOSPAWN_FLAG_DETACHED): New. Renumber the others.
	* src/w32-io.c (_gpgme_io_spawn): Use DETACHED_PROCESS process only if
	IOSPAWN_FLAG_DETACHED is given.
	* src/w32-qt-io.cpp (_gpgme_io_spawn): Ditto.
	* src/w32-glib-io.c (_gpgme_io_spawn): Ditto.
	* src/assuan-support.c (my_spawn): Pass IOSPAWN_FLAG_DETACHED flags.
	* src/dirinfo.c (read_gpgconf_dirs): Ditto.
	* src/engine-gpg.c (start): Ditto.
	* src/engine-gpgconf.c (gpgconf_read, gpgconf_write): Ditto.
	* src/version.c (_gpgme_get_program_version): Ditto.

	Make sure a spawned process has all standard fds connected.
	+ commit 617d3be629229cbebfdc2d26a4e854bc4fe38a68
	* src/posix-io.c (_gpgme_io_spawn): dup /dev/null also to unsued
	stdout.

2014-03-13  Werner Koch  <wk@gnupg.org>

	Add configure option --enable-fixed-path.
	+ commit 766355b5d4f63261c428531fdbdafb8b67de9369
	* configure.ac: Add option --enable-fixed-path.
	(FIXED_SEARCH_PATH): New ac_define.
	* src/posix-util.c (walk_path): Make use of the option.  Remove
	current directory from fallback PATH.

2014-03-11  Werner Koch  <wk@gnupg.org>

	Avoid pointer arithmetic on void pointer.
	+ commit dd9c8c56719db093b8daa23aa40b2be71bbd1526
	* src/gpgme.c (gpgme_io_writen): Use new var buffer.

	Change implementation return type to match the definition.
	+ commit 75a6255935f450d56f3637cbb2b6c8161ace57ab
	* src/gpgme.c (gpgme_get_sub_protocol): Change return type to
	gpgme_protocol_t.

2014-03-05  Daiki Ueno  <ueno@gnu.org>

	doc: Fix documentation of struct data types.
	+ commit 40938feb3f3393b0cdc6ec61ca2e77ff0b82c69a
	* gpgme.texi (Key Management): Document is_cardkey and card_number
	members of gpgme_subkey_t.
	(Decrypt): Remove description of the non-existent wrong_key_usage
	member of gpgme_recipient_t.
	(Verify): Document pka_address member of gpgme_signature_t.
	(Creating a Signature): Add missing member names in
	gpgme_new_signature_t.
	(Registering I/O Callbacks): Fix reference of gpgme_io_cbs struct.

2014-02-21  Werner Koch  <wk@gnupg.org>

	Always pass correct name to argv[0].  Ignore GPG_AGENT_INFO for gpg2.
	+ commit 651d9e1c6bc1cab248024c3850ef64698247588f
	* src/dirinfo.c (WANT_GPG_ONE_MODE): New.
	(struct dirinfo): Add field "gpg_one_mode".
	(get_gpgconf_item): Set that field and return it if requested.
	(_gpgme_in_gpg_one_mode): New.
	* src/engine-gpg.c (build_argv): Check GPG_AGENT_INFO only in gpg-1
	mode.

	* src/dirinfo.c (_gpgme_get_basename): New.
	* src/engine-g13.c (g13_new): Take argv[0] from the pgmname.
	* src/engine-gpgsm.c (gpgsm_new): Ditto.
	* src/engine-gpg.c (build_argv): Ditto. Add arg PGMNAME.
	(start): Pass PGMNAME to buildargv.

2014-02-12  Werner Koch  <wk@gnupg.org>

	Fix type inconsistency between gpgme.h and gpgme.c.
	+ commit f916ab753b7d17210cd455666870038949f72851
	* src/gpgme.c (gpgme_set_pinentry_mode): Fix type of MODE.

2014-01-10  Werner Koch  <wk@gnupg.org>

	Use the generic autogen.sh script.
	+ commit 1a504aab384947c1a6e949affd14bc696297fc8d
	* autogen.rc: New.
	* Makefile.am (EXTRA_DIST): Add it.
	* autogen.sh: Update from GnuPG.

	* configure.ac (AM_SILENT_RULES): New.

2014-01-07  Werner Koch  <wk@gnupg.org>

	Make gpgconf engine work again - fixes 02ba35c1.
	+ commit ab6e718327451e418782990c5a0a4e72588e3f0b
	* src/gpgconf.c: Remove ENABLE_GPGCONF and move prototypes to ...
	* src/engine-backend.h: ... here.

	Make gpgme_new return a proper error if no engines are installed.
	+ commit 121efcc5618374a1b4450b1d6a18bb3c35edb1fd
	* src/engine.c (gpgme_get_engine_info): Improve error handling.
	(_gpgme_engine_info_copy): Ditto.
	* src/gpgme.c (gpgme_new): Return error GPG_ERR_NO_ENGINE.

	Print the full PATH in the log if gpg was not found.
	+ commit d63058b852b83515e7715103c04a684ecf59838a
	* src/posix-util.c (walk_path): Keep a copy of PATH.

2014-01-06  Werner Koch  <wk@gnupg.org>

	Add global flags disable-gpgconf, gpgconf-name, and gpg-name.
	+ commit 6564e5e78e8c6e5a120675a5699b5b75248cfbc7
	* src/gpgme.c (gpgme_set_global_flag): Add names "disable-gpgconf",
	"gpgconf-name", and "gpg-name".
	* src/dirinfo.c (_gpgme_dirinfo_disable_gpgconf): New.
	(get_gpgconf_item): Minor debug info change.
	* src/posix-util.c (default_gpg_name, default_gpgconf_name): Add vars.
	(_gpgme_set_default_gpg_name): New.
	(_gpgme_set_default_gpgconf_name): New.
	(_gpgme_get_gpg_path, _gpgme_get_gpgconf_path): Use new vars.
	(walk_path): Add debug output on failure.
	* src/w32-util.c (default_gpg_name, default_gpgconf_name): Add vars.
	(replace_slashes): New.
	(get_basename): New.
	(_gpgme_set_default_gpg_name): New.
	(_gpgme_set_default_gpgconf_name): New.
	(_gpgme_get_gpg_path, _gpgme_get_gpgconf_path): Use new vars.

	* tests/t-engine-info.c (main): Add --verbose and --set-global-flag
	options.

2013-12-27  Werner Koch  <wk@gnupg.org>

	Locate engine names only at runtime and prefer GnuPG-2.
	+ commit 02ba35c1b6a2cbb3361b2f2ad507c53564b2be0b
	* configure.ac (NEED_GPG_VERSION, NEED_GPGSM_VERSION)
	(NEED_G13_VERSION, NEED_GPGCONF_VERSION): Remove vars and all related
	checks.  Do not check for any engine version.
	(HAVE_ASSUAN): Remove AM conditional.
	* src/Makefile.am: Remove separate component vars and always build all
	engines but uiserver.
	* src/dirinfo.c (WANT_GPGCONF_NAME): New.
	(struct dirinfo): Add field gpgconf_name.
	(_gpgme_get_default_gpgconf_name): Use WANT_GPGCONF_NAME.
	(get_gpgconf_item): Set gpgconf name and adjust for _gpgme_get_*_path
	now returning a malloced string.
	* src/engine.c (engine_ops): Always init all engines except for
	uiserver.
	* src/posix-util.c (_gpgme_get_gpgsm_path, _gpgme_get_g13_path):
	Remove unused functions.
	(walk_path): New.
	(_gpgme_get_gpg_path, _gpgme_get_gpgconf_path ): Re-implement using
	walk_path.
	* src/w32-util.c (_gpgme_get_gpgsm_path, _gpgme_get_g13_path): Remove
	unused functions.
	(_gpgme_get_gpg_path, _gpgme_get_gpgconf_path): Return a malloced
	string.
	* src/engine-g13.c (g13_get_req_version): Use a hardwired string with
	the required version.  This info belongs into this file.
	* src/engine-gpg.c (gpg_get_req_version): Ditto.
	* src/engine-gpgconf.c (gpgconf_get_req_version): Ditto.
	* src/engine-gpgsm.c (gpgsm_get_req_version): Ditto.
	* tests/t-engine-info.c: Replace now useless test by an info output.
	* tests/gpg/Makefile.am (GPG, GPG_AGENT): Hardwire gpg and gpg-agent.
	* tests/gpgsm/Makefile.am (GPGSM): Hardwire gpgsm.

2013-08-19  Werner Koch  <wk@gnupg.org>

	Document API change for GPGME_EVENT_DONE from 2009.
	+ commit b0aaa3f9aef36634b5c391812362f016114f02ba
	* doc/gpgme.texi (I/O Callback Interface): Fix description for the
	event arg.

	Fix possible segv in the gpgme_op_card_edit.
	+ commit 372bd439834c69d502668007c8c683233d676bd5
	* src/edit.c (gpgme_op_edit_start, gpgme_op_card_edit_start): Do not
	deref a NULL KEY in TRACE_BEG.

	tests: Fix NULL ptr deref in gpgsm/t-verify.
	+ commit eae9c32bd9c80ca4a4ecf794808211808f2ebbdd
	* tests/gpgsm/t-verify.c (check_result): Do not dereference a sig or
	sig->fpr if NULL.

2013-08-12  Werner Koch  <wk@gnupg.org>

	Release 1.4.3.
	+ commit d788c35e19df9eade8eb0b880ca1dc47ae7928ad
	* configure.ac: Change LT version to C22/A11/R0.

	Make test suite workable with GnuPG 2.1.
	+ commit 3ca7e96e384d5872c71ceb3b2e2a05b0c1b7e1a0
	* tests/gpg/start-stop-agent: New.
	* tests/gpg/initial.test: New.
	* tests/gpg/final.test: New.
	* tests/gpg/Makefile.am (c_tests): New.
	(TESTS): Move all to c_tests.  Add initial.test, final.test, and
	c_tests.
	(TESTS_ENVIRONMENT): Add C_ALL=C
	(private_keys): New.
	(EXTRA_DIST): Add new files.
	(./private-keys-v1.d/gpg-sample.stamp): Copy private keys.
	(all-local): Depend on gpg-sample.stamp.
	* tests/gpg/13CBE3758AFE42B5E5E2AE4CED27AFA455E3F87F: New.
	* tests/gpg/13CD0F3BDF24BE53FE192D62F18737256FF6E4FD: New.
	* tests/gpg/76F7E2B35832976B50A27A282D9B87E44577EB66: New.
	* tests/gpg/7A030357C0F253A5BBCD282FFC4E521B37558F5C: New.
	* tests/gpg/A0747D5F9425E6664F4FFBEED20FBCA79FDED2BD: New.

	Improve detection of default gpg by configure.
	+ commit 069ac580373923f5635b7172ecff79eb189f6944
	* configure.ac: Move test for gpgconf before test for gpg.
	(GPG, GPGSM, G13): Use gpgconf instead of AC_PATH_PROG if possible.

2013-08-09  Werner Koch  <wk@gnupg.org>

	Add function gpgme_data_identify.
	+ commit 8579091c4f6a36e6bb06fcfbd147a776166fd3ea
	* src/gpgme.h.in (gpgme_data_type_t): New.
	(gpgme_data_identify): New prototype.
	* src/data-identify.c: New.
	* src/parsetlv.c, src/parsetlv.h: New.  Take from gpa.
	* src/libgpgme.vers, src/gpgme.def: Add gpgme_data_identify.
	* src/gpgme-tool.c (status): Add STATUS_IDENTIFY_RESULT.
	(gt_identify): New.
	(cmd_identify): New.

	(hlp_passwd): Move close to cmd_passwd.

2013-08-02  Werner Koch  <wk@gnupg.org>

	Prefer GnuPG-2 engines over GnuPG-1.
	+ commit a4c80126ae4754c8478c69a8a24a6ffd975485fc
	* src/util.h: Move some prototypes to ...
	* src/sys-util.h: New.
	* src/Makefile.am (main_sources): Add sys-util.h.
	* configure.ac (AH_VERBATIM): Add DIRSEP_C and DIRSEP_S.
	* src/dirinfo.c: Include sys-util.h.
	(WANT_GPG_NAME, WANT_GPGSM_NAME, WANT_G13_NAME)
	(WANT_UISRV_SOCKET): New.
	(dirinfo): Add corresponding fields.
	(parse_output): Add arg COMPONENTS and set new fields.
	(read_gpgconf_dirs): Add arg components and act upon it.
	(get_gpgconf_item): Call read_gpgconf_dirs two times.  Add debug
	output.
	(_gpgme_get_default_gpg_name): New.
	(_gpgme_get_default_gpgsm_name): New.
	(_gpgme_get_default_g13_name): New.
	(_gpgme_get_default_gpgconf_name): New.
	(_gpgme_get_default_uisrv_socket): New.
	* src/engine-gpg.c, src/engine-g13.c, src/engine-gpgconf.c
	* src/engine-gpgsm.c, src/engine-uiserver.c: Change to use
	_gpgme_get_default_ instead of those from sys-util.h.
	* src/posix-util.c (_gpgme_get_gpg_path): Include sys-util.h.
	(_gpgme_get_uiserver_socket_path): Remove.
	* src/w32-util.c (_gpgme_get_gpg_path): Include sys-util.h.
	(_gpgme_get_uiserver_socket_path): Remove.

	w32: Try to locate gpg in the gpgme installation dir.
	+ commit 3881ea4e83d1533ef497b7332398fc1850e29205
	* src/w32-util.c (my_hmodule): New.
	(wchar_to_utf8): New.
	(DllMain): New.
	(_gpgme_get_inst_dir): New.
	(find_program_in_dir): New.
	(find_program_in_inst_dir): Add arg INST_DIR.
	(_gpgme_get_gpg_path): Get inst_dir before acquiring the lock.
	(_gpgme_get_gpgconf_path): Ditto.
	(_gpgme_get_g13_path): Ditto.
	(_gpgme_get_w32spawn_path): Ditto.

2013-07-31  Werner Koch  <wk@gnupg.org>

	doc: Add --binary option for the OUTPUT command of an uiserver.
	+ commit 393a9471f2f3ac0a5b14f3534a5bfc7ffe948567


2013-06-18  Werner Koch  <wk@gnupg.org>

	Add function gpgme_signers_count.
	+ commit f2eeccbdfaf855a81abb92abe5ab4c702712bac7
	* src/signers.c (gpgme_signers_count): New.
	* src/libgpgme.vers, src/gpgme.def: Add as external symbol.
	* src/gpgme.h.in: Add prototype.

2013-05-28  Werner Koch  <wk@gnupg.org>

	Release 1.4.2.
	+ commit 009e26a989f8a251563303f155c51fe012af52a4
	* configure.ac: Set LT version to C21/A10/R0.

	Add convenience macro GPGME_PROTOCOL_OPENPGP.
	+ commit 2e8feb6016dede400053f76fc3a418e1dd567bef
	* src/gpgme.h.in (GPGME_PROTOCOL_OPENPGP): New.

2013-05-23  Werner Koch  <wk@gnupg.org>

	w32: Fix installing of .def file.
	+ commit c29dad2315406bed75b9547103650bef642e6aa7
	* src/Makefile.am (install-def-file): Create libdir first.

	Fix libtool 2.4.2 to correctly detect .def files.
	+ commit d739d4d8cf9c873b0f3bb7836aaf3d0ba31a7b7f
	* build-aux/ltmain.sh (sed_uncomment_deffile): New.
	(orig_export_symbols): Uncomment def file before testing for EXPORTS.
	* m4/libtool.m4: Do the same for the generated code.

2013-05-22  Werner Koch  <wk@gnupg.org>

	Support --no-encrypt-to also with gpgme_op_encrypt_sign.
	+ commit d4371ed30da2e8b3d9f440613af299a952bde2b1
	* src/engine-gpg.c (gpg_encrypt_sign): Support the
	GPGME_ENCRYPT_NO_ENCRYPT_TO flag.

2013-05-22  Werner Koch  <wk@gnupg.org>
	    Kyle L. Huff  <g10bts@curetheitch.com>

	Allow symmetric encryption with gpgme_op_encrypt_sign.
	+ commit 567e6481d767af60390d649897b897a8b0e7e9a5
	* src/encrypt-sign.c (encrypt_sym_status_handler): New.
	(encrypt_sign_start): Handle recp == NULL case.
	* src/engine-gpg.c (gpg_encrypt_sign): Implement symmetric encryption.
	* tests/gpg/t-encrypt-sign.c (main): Add a test case for this.

2013-05-22  Werner Koch  <wk@gnupg.org>

	gpgme-tool: Allow for symmetric encryption.
	+ commit 0c1de7abd57b677998792e6cd5df5ddfb6e451b7
	* src/gpgme-tool.c (gt_sign_encrypt): Pass NULL for recp if no
	recipients are given.

	tests: Print auditlog in plain text format.
	+ commit 18254f88f82da7542a986dca60917fb48d5bccd3
	* tests/gpgsm/t-verify.c (show_auditlog): Use plain text format.

2013-05-18  Werner Koch  <wk@gnupg.org>

	Improve C++ compatibility of previous patch.
	+ commit e99356306d7bda61802530ebeb07d9ba73c4dec0
	* src/gpgme.h.in: Move gpgme_sssize_t and gpgme_off_t typedefs into
	the extern "C" scope.

2013-05-16  Werner Koch  <wk@gnupg.org>

	Make definition of off_t robust against misbehaving w32 toolchains.
	+ commit 6d0d8e7ba0bb989c251545fa8af35b97d1a703ba
	* configure.ac (NEED__FILE_OFFSET_BITS): Change to define gpgme_off_t
	and gpgme_ssize_t.
	(API__OFF_T, API__SSIZE_T): New ac_subst.
	* src/gpgme.h.in: Replace all ssize_t and off_t by ac_subst macros.
	* src/assuan-support.c, src/ath-pthread.c, src/ath.c, src/ath.h
	* src/data-compat.c, src/data-fd.c, src/data-mem.c, src/data-stream.c
	* src/data-user.c, src/data.c, src/data.h, src/engine-gpgsm.c
	* src/engine-uiserver.c, src/gpgme-tool.c, src/gpgme.c: Replace off_t
	by gpgme_off_t and sszie_t by gpgme_ssize_t.
	* src/ath-pthread.c, src/ath.h: Include gpgme.h.

2013-05-11  Werner Koch  <wk@gnupg.org>

	w32: Change the way the I/O threads are cleaned up.
	+ commit 9e7df9aa6d81f0abbabb03a2346d80eb5d375f81
	* src/w32-io.c (reader_context_s, create_reader)
	(writer_context_s, create_writer): Rename STOPPED to CLOSE_EV.
	(reader, writer): Remove setting of STOPPED.  Wait for CLOSE_EV and
	then release the context.
	(destroy_reader, destroy_writer): Do not wait but set the CLOSE_EV.
	(kill_reader, kill_writer): Remove.
	(_gpgme_io_close): Add code from kill_reader and kill_writer.

2013-05-08  Werner Koch  <wk@gnupg.org>

	Fix hang in socket closing.
	+ commit 9f330be8210d2498fe93d4166b6f6c02fca76475
	* src/w32-io.c (destroy_reader): Call shutdown.
	(reader): Do not print an error in the shutdown case.

	Improve debug output of the I/O reader and writer.
	+ commit 2118f497010a9a41c29d062a7605ff2e136f8f4e
	* src/w32-io.c (reader, writer): Also print file_sock.

2013-05-06  Werner Koch  <wk@gnupg.org>

	Simplify a debug code function.
	+ commit a7e5f1096f02af7bfb678b0bea8da6ccfc28cc79
	* src/debug.c (_gpgme_debug): Remove static space string.

2013-05-01  Werner Koch  <wk@gnupg.org>

	Release 1.4.1.
	+ commit 5075c0da7c464af2a45cd36db134ed7e88f155af
	* configure.ac: Bump LT version to C20/A9/R1.

	Disable fd-passing for Apple.
	+ commit ef5b4ae37d13142e89a051908dc080cda3d24baa
	* configure.ac: Disable fd-passing by default for Apple.

2013-04-30  Werner Koch  <wk@gnupg.org>

	Allow reading of long gpgconf output lines.
	+ commit f623a6b94c527795d0b6f7e66a3966e5d9e1c454
	* src/engine-gpgconf.c (gpgconf_read): Rewrite to allow for line
	lengths up to 64k.

2013-04-29  Werner Koch  <wk@gnupg.org>

	Fix for i686-w64-mingw32.
	+ commit 867b950b9306904a0ff522d0ef4a43789393cfc4
	* configure.ac (NEED__FILE_OFFSET_BITS): Do not define under Windows.

2013-02-26  Werner Koch  <wk@gnupg.org>

	Release 1.4.0.
	+ commit ef5cd38123dfbef7843f374ee697b0b5e8730c46
	* configure.ac: Bump LT version to C20/A9/R0.

	Enable FD passing and thus building of the UI-server.
	+ commit 5090f6f246bfad2eb80f3cc222963f73996d8028
	* configure.ac: Make --enable-fd-passing the default.
	* src/engine-uiserver.c (_gpgme_engine_ops_uiserver): Syntax fix.

	w32: Hacks for building with 32 bit mingw64.
	+ commit cdae524b282ef0ea67c3880b3e0f852c84c351ce
	* configure.ac (INSERT__TYPEDEFS_FOR_GPGME_H): Add hacks for 32 bit
	mingw64.
	* src/util.h [W32]: Include winsock2.h before windows to make mingw64
	happy.
	* src/w32-util.c (_WIN32_IE): Need to use 5.1 for mingw64.

	Improve missing libgpg-error reporting in configure.
	+ commit 787b5f14b933e5cee2624f79a23a60947f8134c8
	* configure.ac (NEED_GPG_ERROR_VERSION): New.  Improve reporting for
	missing libgpg-error.

	Change the various version numbers to the new scheme.
	+ commit d8b46c919f45666af0d541e00dcedf57e6c4b66f
	* configure.ac: Rename my_foo variables to mym4_foo variables to make
	clear that they are processed by m4.
	(VERSION_NUMBER): New ac_subst.
	(AH_BOTTOM): Add CRIGHTBLURB macro.
	(BUILD_REVISION, BUILD_FILEVERSION, BUILD_TIMESTAMP): Change them to
	work similar to libgpg-error et al.
	* src/versioninfo.rc.in: Remove use of BUILD_NUMBER and get it in line
	with gpg-error et al.
	* src/version.c (cright_blurb): New.
	(gpgme_check_version_internal): Add magic to display the above
	information.
	* tests/t-version.c (main): Add option --verbose.

	Update GnuPG related m4 files.
	+ commit 863c0f2a3eaf2a5d46c5518e5ac3486cc1a49bd3
	* m4/gpg-error.m4: Update from libgpg-error.
	* m4/libassuan.m4: Update from libassuan.

	Update helper scripts.
	+ commit fdcd5736e610cd64e47da73dcafe8bc4a6a67666
	* configure.ac: Use AC_CONFIG_AUX_DIR.  Remove args from
	AM_INIT_AUTOMAKE.  Replace AM_CONFIG_HEADER by AC_CONFIG_HEADER.
	* compile, config.guess, config.sub, depcomp, install-sh, ltmain.sh
	* mkinstalldirs, texinfo.texi: Move to build-aux/ and update from
	gnulib (c042abf).
	* build-aux/mdate-sh, build-aux/missing: Install via automake -a -c.
	Update autogen.sh for changed config dir.
	* autogen.sh: Adjust for scripts dir change.  Update W32 toolprefix
	list.

2013-02-25  Werner Koch  <wk@gnupg.org>

	Remove included gitlog-to-changelog.
	+ commit 967e043ac42330ee692f23d05ce3a0dd457f2119
	* build-aux/gitlog-to-changelog: Remove.
	* configure.ac (GITLOG_TO_CHANGELOG): Default to just
	gitlog-to-changelog.

2013-02-12  Werner Koch  <wk@gnupg.org>

	Add macro GPGME_VERSION_NUMBER.
	+ commit f48f75b1e812d33b76e439412efffa8277ab9abe
	* src/gpgme.h.in (GPGME_VERSION_NUMBER): New.
	* configure.ac (my_version_major, my_version_minor)
	(my_version_micro): New m4 macros.
	(my_version): Build from new m4 macros.
	(VERSION_NUMBER): New ac_subst.

	Add public function gpgme_get_pinentry_mode.
	+ commit 4f381554411ef019d79492f1751543f145604bcf
	* src/gpgme.c (gpgme_get_pinentry_mode): New.

2013-02-07  Werner Koch  <wk@gnupg.org>

	gpgme_tool: Support GPG's new pinentry-mode.
	+ commit 02a2cf0ccb4d01700adf6d18316d7705d519a048
	* src/gpgme-tool.c (log_error): Do not always print the error source.
	(gt_set_pinentry_mode): New.
	(server_passphrase_cb): New.
	(cmd_pinentry_mode): New.
	(register_commands): Add cmd_pinentry_mode.
	(options): Add option --gpg-binary.
	(struct args): Add field gpg-binary.
	(parse_options, main): Implement that option.

	Add public function gpgme_set_pinentry_mode.
	+ commit 61a0d92b679f248505f1bf16386bc41a5bf2ba1d
	* src/gpgme.c (gpgme_set_pinentry_mode): New.
	* src/gpgme.h.in (gpgme_pinentry_t): New.
	(gpgme_set_pinentry_mode): New.
	* src/context.h (struct gpgme_context): Add field pinentry_mode.
	* src/engine-backend.h (struct engine_ops): Add field
	set_pinentry_mode.
	* src/engine-gpg.c (struct engine_gpg): Add field pinentry_mode.
	(build_argv): Implement pinentry_mode.
	(gpg_set_pinentry_mode): New.
	(_gpgme_engine_ops_gpg): Register gpg_set_pinentry_mode.

	Add public function gpgme_io_writen.
	+ commit 29eced50687dd8a39dafe704102ae09ea8e8533a
	* src/gpgme.c (gpgme_io_read): New.

2012-11-16  Werner Koch  <wk@gnupg.org>

	Improve parsing of the GIT revision number.
	+ commit 322552a88db47896881e55c00ca301137cd160c6
	* configure.ac (git_revision): Use git rev-parse.

	Fix non-portable use of chmod in autogen.sh.
	+ commit cd6de92f42cb6e5b85bc376d5544496cb4d6a88a
	* autogen.sh: Remove option -c from chmod.

2012-11-15  Werner Koch  <wk@gnupg.org>

	Make _gpgme_encode_percent_string work for memory buffers.
	+ commit 1a17acd8e9b7c0ef924f98bfb1502fe12e83c363
	* src/conversion.c (D_gpgme_encode_percent_string): Remove stray
	semicolon.  Reported by Xi Wang.

2012-10-24  Werner Koch  <wk@gnupg.org>

	Make local variables configure hack more robust.
	+ commit c97d067f27899d890a99036fcbed9263f4f68875
	* configure.ac (emacs_local_vars_begin): Use extra m4 quoting so that
	newer Emscasen won't take it up as Local Variables for this file.

	Fix ttyname problem on Android.
	+ commit 12a0c93433a0b1d7e8019fc35a63476db39327fa
	* configure.ac: Define macro and conditional HAVE_ANDROID_SYSTEM.
	* m4/gnupg-ttyname.m4: Force use of replacement on Android.
	* src/ttyname_r.c: Ditto.

	tests: Adhere to the docs and call gpgme_check_version.
	+ commit cc59b75b21516198b39a56950afbcec140d8ba48
	* tests/t-engine-info.c: Call gpgme_check_version.

2012-10-19  Werner Koch  <wk@gnupg.org>

	Trace the use of GPG_ERR_INV_ENGINE.
	+ commit bd24feaa86f8154e550107990392ac9ac05e60d4
	* src/debug.h: Include "gpgme.h"
	(_gpgme_trace_gpgme_error): New.
	(trace_gpg_error): New macro.  Use it in all files where we return
	GPG_ERR_INV_ENGINE; also "include debug.h" as needed.

	Avoid warning about initialized but not used variable.
	+ commit 14a8fd4eec126cad282a85c5aa336a6b55229b52
	* src/engine-gpgsm.c (gpgsm_set_fd): Do not set DIR if not needed.

2012-10-11  Werner Koch  <wk@gnupg.org>

	gpgme-tool: Use membuf functions to build up strings.
	+ commit e11e7fc5586613525035c3358e15ae24accb96ea
	* src/gpgme-tool.c (clear_membuf, init_membuf, put_membuf)
	(put_membuf_str, get_membuf, peek_membuf): Add membuf functions.
	Take from GnuPG master's common/membuf.[ch] and patch for our use.
	(result_xml_escape): Rewrite using new functions.

	gpgme-tool: Change license from LPGLv2+ to GPLv3+
	+ commit aa30b47aa010bf46876f2335e288f8bd8718e396
	* src/gpgme-tool.c: Change license notice.

2012-10-11  W. Trevor King  <wking@tremily.us>

	gpgme-tool: escape special characters in output XML data (<, >, and &).
	+ commit 3f1329e1c9b99b1632cc4c4eec2e4399676fd93d

	src/gpgme-tool.c (result_xml_escape_replacement, result_xml_escape):
	New.
	(result_xml_tag_data): Use result_xml_escape() to escape data.
	(result_add_error): Use unescaped < and >.

	gpgme-tool: Fix chain_id -> chain-id in KEYLIST XML.
	+ commit c28ebca9f2e21344d68e9fdcec60553f225c2e54

	src/gpgme-tool.c (cmd_keylist): Use <chain-id> instead of <chain_id>.

2012-09-28  W. Trevor King  <wking@tremily.us>

	gpgme-tool: Return more detailed XML from KEYLIST.
	+ commit 3d69b51f7f083193db28f364da4590c33b5e44e6
	src/gpgme-tool.c (cmd_keylist): Convert output from a list of
	to more detailed XML.
	(xml_preamble1, xml_preamble2, xml_end): Make global.
	(result_add_protocol, result_add_validity): New functions for
	generating XML from GPGME types.
	(result_add_string): Treat NULL strings as "".
	(result_xml_tag_data): Make 'data' a 'const char' so we can use the
	value returned by gpgme_get_protocol_name directly.

	gpgme-tool: Initialize input_fd and output_fd.
	+ commit dda3702a9024a08da7bb949e15b63a47d23d59f5
	* src/gpgme-tool.c (gpgme_server): Initialize input_fd and output_fd.

2012-09-26  Werner Koch  <wk@gnupg.org>

	gpgme-tool: Fix handling of file descriptors.
	+ commit 193eb62538b9413e0dfbd04c075f871d5aa9130b
	* src/gpgme-tool.c (server_reset_fds): Use close/CloseHandle instead
	of the assuan close functions.
	(_cmd_decrypt_verify, _cmd_sign_encrypt, cmd_verify, cmd_import)
	(cmd_export, cmd_genkey, cmd_getauditlog): Use SERVER object instead
	of assuan_get_*_fd functions.

2012-09-25  Werner Koch  <wk@gnupg.org>

	Document contribution rules.
	+ commit db33945ab3b8c173a3fc2dd1a0d22d7fc15d8730
	* doc/HACKING (License policy): New.
	* doc/DCO: New.
	* AUTHORS: Change maintainer address.

	Add gpgme_set_global_flag to help debugging.
	+ commit c62b79a1d6e576d94e08cb81c2f5dbcb42ecf8cf
	* src/gpgme.c (gpgme_set_global_flag): New.
	* src/gpgme.h.in (gpgme_set_global_flag): New.
	* src/gpgme.def, src/libgpgme.vers: Add new public function.
	* src/debug.c (envvar_override): New.:
	(_gpgme_debug_set_debug_envvar): New.
	(debug_init): Take ENVVAR_OVERRIDE in account.

2012-07-28  Marcus Brinkmann  <marcus.brinkmann@ruhr-uni-bochum.de>

	Add two recent contributors.
	+ commit 83e74202cd7c4c975d149c49e2507fdb0e60ef32


	Fix sign error in position calculation for mem_seek.
	+ commit 8384ccbd1a51447dccbd608fc5df3c24cb8999b1
	* data-mem.c (mem_seek): Fix sign error in position calculation.

	Allow null context on gpgme_set_locale.
	+ commit 434735f71e6969248651ac01c6bd6f6789a6305d
	* gpgme.c (gpgme_set_locale): Allow CTX to be a null pointer.

2012-07-13  Werner Koch  <wk@gnupg.org>

	Do not include the removed file status-table.h.
	+ commit e7aeaebb01395b170c91f290bf3ff5021023420f
	* src/engine-uiserver.c: Remove status-table.h which is not anymore
	built.  Fixes bug#1412.

	Make handling of new conf values more robust (bug#1413).
	+ commit 9f081da7356288a96e8ea4d81a74ff706c00b0cd
	* src/engine-gpgconf.c (arg_to_data): Allow for NULL as value.string.

2012-05-02  Werner Koch  <wk@gnupg.org>

	Release 1.3.2.
	+ commit 9c8608f702ec0f44ae55cd7f33bd8df0a2d48508
	* configure.ac: Bump LT version to C19/A8/R1.

	* configure.ac (GITLOG_TO_CHANGELOG): Define.
	* Makefile.am (gen-ChangeLog): Use it.

	Remove unused pth stuff from gpgme-config.
	+ commit 295dd3f238fa656493d34e8a718958d62226b56c
	* src/gpgme-config.in: Remove unused pth stuff.

	Update signature summary for the case of missing X.509 keys.
	+ commit d6402b888fd00b883bbfc00c91a2aa9706e4377e
	* src/verify.c (gpgme_op_verify_result): Update summary field.

2012-04-30  Werner Koch  <wk@gnupg.org>

	Fix timestamp parsing for y2038 hack.
	+ commit 1a21574b48ee91eedbf95251ee600648b377d1e7
	* src/conversion.c (_gpgme_parse_timestamp): Set ENDP before year 2038
	check.

2012-04-20  W. Trevor King  <wking@drexel.edu>

	.gitignore: flesh out rules and add subdirectory-.gitignores.
	+ commit 4cb408d33efe80e7d102049dea244d22907d8395


2012-04-13  W. Trevor King  <wking@drexel.edu>

	status-table.c: include string.h for strcmp.
	+ commit 62bbe58280737d73badbe518f140e40480205176
	* status-table.c: include string.h to avoid `warning: implicit
	declaration of function 'strcmp'`.

2012-04-03  W. Trevor King  <wking@drexel.edu>

	gpgme-tool: add help messages for a number of commands.
	+ commit c318e69d8fa5f9e92d4aac3dd44fae5adcaade72
	* src/gpgme-tool.c (hlp_engine, hlp_sub_protocol, hlp_armor, hlp_textmode,
	hlp_include_certs, hlp_keylist_mode, hlp_input, hlp_output, hlp_message,
	hlp_recipient, hlp_signer, hlp_signers_clear, hlp_decrypt, hlp_decrypt_verify,
	hlp_encrypt, hlp_sign_encrypt, hlp_sign, hlp_verify, hlp_import): New strings.
	(hlp_protocol): Fix typo.
	(register_commands): Add documentation strings.
	(doc): Mention Assuan.

	uiserver.texi: fix decryption -> encryption typo in PREP_ENCRYPT discussion.
	+ commit bb62104adf78e8416b3c56b8b2621edd723b56cd
	* doc/uiserver.texi (PREP_ENCRYPT): Fix documentation.

	Update Werner Koch's distribution signing key in the README.
	+ commit 6ec9e21dd1ea2f8509700bce018aef6ad7e9a927
	* README: Update signing key.

2012-03-12  Marcus Brinkmann  <marcus.brinkmann@ruhr-uni-bochum.de>

	Do not rely on glibc name of syscall.
	+ commit ff0a640a18e7b7457e6c2edfdc8307bf44628b60
	* src/ath.c (ath_self): Use __NR_gettid, not SYS_gettid.

	Update config.guess and config.sub to latest version.
	+ commit ced1ad01aed32d1e4c5000f3b901db018ef7bf1e
	* config.guess, config.sub: Update to latest version.

2012-02-14  Marcus Brinkmann  <marcus.brinkmann@ruhr-uni-bochum.de>

	Rework status table to be less dynamically generated.
	+ commit 885243e05467e79e2375b3febe7904053ab45dfc
	* src/Makefile.am (EXTRA_DIST): Remove mkstatus.
	(BUILT_SOURCE, MOSTLYCLEANFILES): Remove.
	(main_sources): Remove status-table.h, extra-stati.h.
	Add status-table.c.
	(status-table.h): Remove rules for built source.
	* src/decrypt.c: Don't include extra-stati.h.
	* src/engine-gpg.c: Don't include status-table.h.
	(status_cmp): Remove function.
	(read_status): Use _gpgme_parse_status.
	* src/engine-gpgsm.c: Don't include status-table.h.
	(status_cmp, parse_status): Remove function.
	(gpgsm_assuan_simple_command, status_handler): Use _gpgme_parse_status.
	* src/engine-uiserver.c: Don't include status-table.h.
	(status_cmp, parse_status): Remove function.
	(uiserver_assuan_simple_command, status_handler): Use
	_gpgme_parse_status.
	* src/gpgme.h.in (gpgme_status_code_t): Add
	GPGME_STATUS_DECRYPTION_INFO.
	* src/util.h (_gpgme_status_init,_gpgme_parse_status): New declaration.
	* src/status-table.c: New file.
	* src/extra-stati.h, src/mkstatus: Files removed.
	* version.c (do_subsystem_inits): Call _gpgme_status_init.

2012-02-08  Marcus Brinkmann  <mb@g10code.com>

	Use gpgme interface for error handling to avoid linking with gpg-error.
	+ commit dae3073aaa8b7feb1c844fdaf711f79141b9cc65
	* tests/t-data.c, tests/run-export.c, tests/run-keylist.c,
	tests/run-support.h, tests/run-verify.c, tests/gpg/t-decrypt-verify.c,
	tests/gpg/t-edit.c, tests/gpg/t-eventloop.c, tests/gpg/t-keylist-sig.c,
	tests/gpg/t-keylist.c, tests/gpg/t-support.h, tests/gpg/t-trustlist.c,
	tests/gpg/t-verify.c, tests/gpg/t-wait.c, tests/gpgsm/cms-decrypt.c,
	tests/gpgsm/cms-keylist.c, tests/gpgsm/t-keylist.c,
	tests/gpgsm/t-support.h, tests/gpgsm/t-verify.c,
	tests/opassuan/t-command.c: Use gpgme interface for gpg-error functions.

	Link the thread test to pthread.
	+ commit 0052a72f89c6830818e354358fdd84702d3494c8
	* tests/gpg/Makefile.am (t_thread1_LDADD): Add -lpthread.

	Link gpgme-tool directly to libassuan, as it uses its interface.
	+ commit 3f03897cbd223d4a75eb62c3b7bdfeb800661641
	* src/Makefile.am (gpgme_tool_LDADD): Add @LIBASSUAN_LIBS@.

2012-01-19  Werner Koch  <wk@gnupg.org>

	Support the mingw-w64 toolchain.
	+ commit 24a10a4af948ebb1c767b69a92fa5bbe933a417c
	* autogen.sh (build-w32): Add i686-w64-mingw32 to the toolprefix.

	Fix Solaris problems with ttyname_r.
	+ commit 2f304957f5122a5d9da643dc9951ee67ece06eaf
	* m4/gnupg-ttyname.m4: New.  Based on ttyname_r from gnulib.
	* src/ttyname_r.c (_gpgme_ttyname_r): Rename from ttyname_r.
	Implement hacks required for Solaris and possible other non-fully
	Posix systems.
	* src/util.h: Include unistd.h.  Redefine ttyname_r depending on
	REPLACE_TTYNAME_R and put it into the gpgme name space.

	Try to make configure.ac a bit smaller.
	+ commit c96778297f5477448a676fcf0c61044bdbccc86d
	* configure.ac: Move header checks.

	For W32 use a build number instead of abbreviated commit id.
	+ commit 574b087e84f5652cf9d8eba8aa16b8d6bb988035
	We would need to use a shortened commit id so that it fits into an 16
	bit Windows variable.  Further it is a random number and not something
	increasing.  Thus a build number made up from the day of the year and
	the hour is much more useful to describe a build number for a specific
	revision.
	* configure.ac [W32]: Replace BUILD_REVISION by BUILD_NUMBER.
	* src/versioninfo.rc.in: Ditto.

	Adjust configure.ac for modern autoconf.
	+ commit a0149630ce6d3e17a7475e20e8b2e31ed5ba57fd
	* configure.ac: Minor cleanups.

	Update to libtool 2.4.2.
	+ commit 4cfddadcd0a569f0b204dccea3c975ce0bdfb232
	* ltmain.sh, m4/libtool.m4, m4/ltoptions.m4, m4/ltversion.m4,
	* m4/lt~obsolete.m4: Update.

	Add ttyname_r check macro from gnulib.
	+ commit 3ef528b63679df912551d5d21fc36e465cf50c40
	* m4/gnupg-ttyname.m4: New. Taken from current gnulib.

2011-12-02  Werner Koch  <wk@gnupg.org>

	Generate the ChangeLog from commit logs.
	+ commit a4c4ee1aaea4359432bdf60dd572f549ef8dee83
	* build-aux/gitlog-to-changelog: New script.  Taken from gnulib.
	* build-aux/git-log-fix: New file.
	* build-aux/git-log-footer: New file.
	* build-aux/git-hook/commit-msg: New script.
	* doc/HACKING: New file.
	* ChangeLog: New file.
	* Makefile.am (EXTRA_DIST): Add new files.
	(gen-ChangeLog): New.
	(dist-hook): Run gen-ChangeLog.
	* autogen.sh: Install commit-msg hook for git.

	Rename all ChangeLog files to ChangeLog-2011.

2011-12-02  Werner Koch  <wk@gnupg.org>

	NB: Changes done before December 1st, 2011 are described in
	per directory files named ChangeLog-2011.  See doc/HACKING for
	details.

        -----
        Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
                      2010, 2011, 2012, 2013 g10 Code GmbH

	Copying and distribution of this file and/or the original GIT
	commit log messages, with or without modification, are
	permitted provided the copyright notice and this notice are
	preserved.