summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* LaTeX headersben/python-docs-01Ben McGinnes2018-02-262-0/+8
| | | | | | | * 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.
* Renaming ad infinitum ...Ben McGinnes2018-02-201-0/+0
| | | | * Dropped the .txt from the end of the file ...
* Text conversionBen McGinnes2018-02-201-0/+77
| | | | | * Exported from Org Mode to UTF-8 text. * Removed my name from just under the title.
* Title fixBen McGinnes2018-02-201-1/+1
| | | | * Fixed title.
* Conflict with Phabricator filesBen McGinnes2018-02-201-0/+0
| | | | | | | | | | | | | | | | | | | | | * 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 typesBen McGinnes2018-02-201-2/+2
| | | | | | * Removed Markdown style heading underlining. * Removed in-line file type declaration (which is not correctly parsed by the web interface on dev.gnupg.org).
* History pathBen McGinnes2018-02-161-7/+10
| | | | | | * Fixed a typo in a filepath reference. * Moved conjecture regarding the first version of Python used to a footnote.
* Merge branch 'master' of /Users/ben/dev/hgit/mine/gnupg/gpgme/master into ↵Ben McGinnes2018-02-164-33/+20
|\ | | | | | | ben/python-docs-01
| * tests: Fix previous commitNIIBE Yutaka2018-02-151-1/+1
| | | | | | | | Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
| * tests: More Makefile portability.NIIBE Yutaka2018-02-151-2/+2
| | | | | | | | | | | | * tests/gpg/Makefile.am: Invoke GPG with TESTS_ENVIRONMENT. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
| * tests: Makefile portability.NIIBE Yutaka2018-02-154-25/+13
| | | | | | | | | | | | | | | | | | | | | | | | * 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. -- GnuPG-bug-id: 3056 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
| * build: More Makefile fix.NIIBE Yutaka2018-02-151-6/+5
| | | | | | | | | | | | * lang/python/tests/Makefile.am: Avoid target with '/'. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* | LaTeX marginsBen McGinnes2018-02-162-0/+67
| | | | | | | | | | * Added LaTeX header for 1 inch margins in the quite likely event that all PDF output ultimately uses LaTeX.
* | TODO DocumentationBen McGinnes2018-02-151-1/+2
| | | | | | | | * Checked off the decision to stick with Org Mode.
* | TODOBen McGinnes2018-02-151-7/+34
| | | | | | | | | | * Beginning to turn the first part of this into something kind of like an actual TODO list as Org Mode uses it (maybe).
* | Short HistoryBen McGinnes2018-02-151-20/+96
| | | | | | | | | | | | * 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 historyBen McGinnes2018-02-151-0/+15
| | | | | | | | | | | | * Split the main parts down into subsections. * Still need to cull the incorrect stuff towards the end and add more recent changes.
* | HistoryBen McGinnes2018-02-141-52/+68
| | | | | | | | | | | | * 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).
* | TODOBen McGinnes2018-02-141-20/+45
| | | | | | | | | | | | | | | | * 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.
* | TODOBen McGinnes2018-02-141-23/+0
| | | | | | | | * Removed reST version of file.
* | TODOBen McGinnes2018-02-141-0/+22
| | | | | | | | * Converted document from reST to org-mode.
* | Short HistoryBen McGinnes2018-02-141-57/+0
| | | | | | | | * Removed reST version.
* | Short HistoryBen McGinnes2018-02-141-0/+56
|/ | | | * Converted document from reST to org-mode.
* build: Fix Makefiles for portability.NIIBE Yutaka2018-02-142-10/+10
| | | | | | | | | | | | | * tests/gpg/Makefile.am: Don't allow target with '/'. * tests/gpgsm/Makefile.am: Ditto. -- BSD Make doesn't allow a target with '/'. We still have such a target in lang/python/Makefile.am, but it's for maintainer only, so, assumption to GNU Make is OK there. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* configure: Fix mingw check for getenv.Andre Heinecke2018-02-131-1/+1
| | | | | | | | | | * configure.ac: have_thread_safe_getenv=yes with have_w32_system. -- We want to define this for both 32 and 64 bit targets if we use mingw. have_w32_system is defined for both targets. Signed-off-by: Andre Heinecke <aheinecke@intevation.de>
* configure: MinGW has thread-safe getenv.NIIBE Yutaka2018-02-131-1/+1
| | | | | | * configure.ac: have_thread_safe_getenv=yes with have_w64_system. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* cpp: Add SpawnShowWindow flagAndre Heinecke2018-02-091-1/+2
| | | | * lang/cpp/src/context.h (SpawnShowWindow): New.
* core, w32: Enable spawning GUI applicationsAndre Heinecke2018-02-094-4/+6
| | | | | | | | | | | * 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. -- Used by GpgOL
* core, w32: Fix flags passing to gpgme-w32-spawnAndre Heinecke2018-02-091-2/+2
| | | | | | | | | * src/w32-io.c (_gpgme_io_spawn): Don't hardcode flags value. -- IOSPAWN_FLAG_ALLOW_SET_FG is 2 and was translated to 1. This might fix the pinentry foreground handling pass through.
* cpp: Add conveniance Data::toStringAndre Heinecke2018-02-092-0/+17
| | | | | | | * lang/cpp/src/data.h, lang/cpp/src/data.cpp: Add Data::toString. -- I'm lazy and like to waste memory.
* Fix for BSD Make.NIIBE Yutaka2018-01-302-2/+2
| | | | | | | | | | | | * tests/gpg/Makefile.am, tests/gpgsm/Makefile.am: Remove ./. -- GNU Make is powerful enough for handling and interpreting of pathname as target, but BSD Make is not. GnuPG-bug-id: 3056 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* Fix compile error message.NIIBE Yutaka2018-01-291-2/+1
| | | | | | * src/get-env.c (_gpgme_getenv): Fix error message. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* tests: Fix for NetBSD.NIIBE Yutaka2018-01-291-1/+1
| | | | | | * tests/gpg/pinentry: Use /bin/sh instead of Bash. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* core: Implement _gpgme_getenv for NetBSD.NIIBE Yutaka2018-01-291-1/+40
| | | | | | | | | * src/get-env.c [HAVE_GETENV_R] (_gpgme_getenv): New. -- GnuPG-bug-id: 3056 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* Post release updates.Werner Koch2017-12-122-1/+4
| | | | --
* Release 1.10.0.gpgme-1.10.0Werner Koch2017-12-124-34/+47
| | | | Signed-off-by: Werner Koch <wk@gnupg.org>
* Require libgpg-error 1.24 and libassuan 2.4.2Werner Koch2017-12-122-6/+2
| | | | | | | | | | | * src/util.h (GPG_ERR_FALSE): Remove due to newer libgpg-error. -- We require these over one year old versions to better allign with GnuPG's demand. Note that the required libassuan is acgtually 2 years old. Signed-off-by: Werner Koch <wk@gnupg.org>
* qt: Don't use QDateTime::toSecsSinceEpochAndre Heinecke2017-12-111-2/+2
| | | | | | | | * lang/qt/src/qgpgmequickjob.cpp (addSubkeyWorker) (createWorker): Use toMSecsSinceEpoch instead toSecsSinceEpoch. -- toSecsSinceEpoch was only introduced in Qt 5.8.
* core,w32: Fix popping up of console windows due to gpgconf.Werner Koch2017-12-111-1/+0
| | | | | | | | | | | | | | * src/gpgme-w32spawn.c (my_spawn): Create w/o DETACHED_PROCESS. -- The spawn helper is actually called with DETACHED_PROCESS and should not need to do a DETACHED_PROCESS of its own. Interestingly this patch removes the popups. See Andre's report GnuPG-bug-id: 3515 Signed-off-by: Werner Koch <wk@gnupg.org>
* Spelling fixes for comments and docAndre Heinecke2017-12-0815-34/+34
| | | | | | | -- Patch provided by ka7 in dev.gnupg.org Differential D423
* cpp: Fix handling of lsig promotionAndre Heinecke2017-12-071-0/+4
| | | | | | | | | | | | * src/gpgsignkeyeditinteractor.cpp (SignKeyState): Add second CONFIRM state. (makeTable): Properly handle local_promote_okay. (action): Handle CONFIRM2. -- This fixes changing a local signature to a "public" signature. GnuPG-Bug-Id: T1649
* tests: Print userid signatures in run-keylistAndre Heinecke2017-12-071-0/+10
| | | | | * tests/run-keylist.c (main): Print UID signatures if there are any.
* core: Also check for a failed selftest in gpgm_data_new.Werner Koch2017-12-045-30/+28
| | | | | | | | | | | | | | | | | | | | | | | * 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. -- Note: This patch may break applications which used gpgme_data but no gpgme_new without having called the required gpgme_check_version. GPGME can be used without a protocol for example to work with the data object abstraction. Thus a call to gpgme_data_new also needs to check the result of the core selftests - including on whether gpgme_check_version has been called. Signed-off-by: Werner Koch <wk@gnupg.org>
* python: Default whence argument for Data() to SEEK_SET.Tobias Mueller2017-12-042-0/+11
| | | | | | | | | | | | | | * 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 -- Having to import the os package when wanting to read a Data object is a slight annoyance. With SWIG, we can define default parameters. This change defaults the whence argument to SEEK_SET which is how StringIO and BytesIO behave. Signed-off-by: Tobias Mueller <muelli@cryptobitch.de>
* Register DCO for Tobias MuellerWerner Koch2017-12-031-0/+2
| | | | --
* qt: Add job for quick commandsAndre Heinecke2017-12-018-2/+316
| | | | | | | | | | | | | | | * 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. -- Keeping it in line with the Job for everything pattern. Although it's reduced to one job for four commands as the commands all behave the same.
* cpp: Wrap create_key and create_subkeyAndre Heinecke2017-12-013-0/+80
| | | | | | | * lang/cpp/src/context.cpp, lang/cpp/src/context.h (Context::startCreateKey) (Context::createKey, Context::createSubkey) (Context::startCreateSubkey): New.
* Fix uid parsing for ldap keyserverAndre Heinecke2017-12-011-3/+14
| | | | | | | | | | | * src/engine-gpg.c (gpg_keylist_preprocess): Check field count for uid and add fallback. -- This fixes accessing unintialized memory and resulting crashes in gpgrt_asprintf. GnuPG-Bug-Id: T3550
* tests: Add missing variable to gpgsm tests MakefileWerner Koch2017-11-301-0/+1
| | | | | | | | | | * tests/gpgsm/Makefile.am (GPG_AGENT): Set var. It is used later. -- Note that the var is used by the gpgsm.conf target. Reported-by: Alon Bar-Lev <alon.barlev@gmail.com> Signed-off-by: Werner Koch <wk@gnupg.org>
* tests: Make portability fix.NIIBE Yutaka2017-11-213-12/+12
| | | | | | | | | | | | | | * lang/python/tests/Makefile.am: Distinguish target and path. * tests/gpg/Makefile.am: Ditto. * tests/gpgsm/Makefile.am: Ditto. -- GNU Make is powerful enough to match path to target (and vice versa), but BSD make is not. GnuPG-bug-id: 3056 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>