common: Make use of default_errsource in exechelp.2016-05-27T13:25:03ZWerner Kochwk@gnupg.orgWerner Kochwk@gnupg.org2016-05-27T13:25:03Zhttp://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=96c7901ec1c79be732570811223d3ea54875abfe

common/exechelp: Provide a way to wait for multiple processes.2016-01-14T17:20:14ZJustus Winterjustus@g10code.comJustus Winterjustus@g10code.com2016-01-14T17:20:14Zhttp://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=5ba4f6047b84e4cfdb3e6bc88e574ca7a455da81

common: Change calling convention for gnupg_spawn_process.
* common/exechelp.h (GNUPG_SPAWN_NONBLOCK): New.
(GNUPG_SPAWN_RUN_ASFW, GNUPG_SPAWN_DETACHED): Macro to replace the
numbers.
* common/exechelp.h (gnupg_spawn_process): Change function to not take
an optional stream for stdin but to return one.
* common/exechelp-posix.c (gnupg_spawn_process): Implement change.
(create_pipe_and_estream): Add args outbound and nonblock.
* common/exechelp-w32.c (gnupg_spawn_process): Implement change.
--
In 2.1 this function is only used at one place and the stdin parameter
is not used. Thus this change is trivial for the callers but along
with estream's new es_poll it is overall simpler to use.
Note that the Windows version has not been tested.
Signed-off-by: Werner Koch <wk@gnupg.org>

common: Cleanup the use of USE_NPTH and HAVE_NPTH macros.2014-05-02T06:06:10ZWerner Kochwk@gnupg.orgWerner Kochwk@gnupg.org2014-05-02T06:06:10Zhttp://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=84289e85c72ae58c321dfdb96816700a6b7f7122

common: Cleanup the use of USE_NPTH and HAVE_NPTH macros.
* configure.ac (HAVE_NPTH): New ac_define.
* common/estream.c: Use USE_NPTH instead of HAVE_NPTH.
* common/http.c: Ditto. Replace remaining calls to pth by npth calls.
(connect_server): Remove useless _().
* common/exechelp-posix.c, common/exechelp-w32.c
* common/exechelp-w32ce.c: Use HAVE_PTH to include npth.h.
* common/init.c (_init_common_subsystems): Remove call to pth_init.
* common/sysutils.c (gnupg_sleep): Use npth_sleep.
* scd/ccid-driver.c (my_sleep): Ditto.
--
USE_NPTH is used in case were we may build with and without nPth. The
missing definition HAVE_NPTH didn't allowed us to build outher sources
with nPTh support.

Change all quotes in strings and comments to the new GNU standard.2012-06-05T17:29:22ZWerner Kochwk@gnupg.orgWerner Kochwk@gnupg.org2012-06-05T17:29:22Zhttp://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=096e7457ec636bcfcf128678660eb2f2e19f113a

Change all quotes in strings and comments to the new GNU standard.
The asymmetric quotes used by GNU in the past (`...') don't render
nicely on modern systems. We now use two \x27 characters ('...').
The proper solution would be to use the correct Unicode symmetric
quotes here. However this has the disadvantage that the system
requires Unicode support. We don't want that today. If Unicode is
available a generated po file can be used to output proper quotes. A
simple sed script like the one used for en@quote is sufficient to
change them.
The changes have been done by applying
sed -i "s/\`\([^'\`]*\)'/'\1'/g"
to most files and fixing obvious problems by hand. The msgid strings in
the po files were fixed with a similar command.

Change license for some files in common to LGPLv3+/GPLv2+.2012-04-20T13:43:06ZWerner Kochwk@gnupg.orgWerner Kochwk@gnupg.org2012-04-20T13:43:06Zhttp://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=37df3d5f593f76ddbf1b9dc6de0173b7bb85c0ad

Nuked almost all trailing white space.
We better do this once and for all instead of cluttering all future
commits with diffs of trailing white spaces. In the majority of cases
blank or single lines are affected and thus this change won't disturb
a git blame too much. For future commits the pre-commit scripts
checks that this won't happen again.

gpgconf does now work for Wince.2010-08-23T19:26:05ZWerner Kochwk@gnupg.orgWerner Kochwk@gnupg.org2010-08-23T19:26:05Zhttp://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=d9791119d0967717e7690e85a69bac830ddf65f4

Auto starting the agent does now work on CE.2010-05-04T15:21:47ZWerner Kochwk@gnupg.orgWerner Kochwk@gnupg.org2010-05-04T15:21:47Zhttp://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=51e2703abe22c995f8a031c5e829d501ffd72e85

More changes for CE. gpgsm does now build and run a keylisting.2010-03-24T12:15:30ZWerner Kochwk@gnupg.orgWerner Kochwk@gnupg.org2010-03-24T12:15:30Zhttp://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=f080b353ed4ea5c16ad3fda79497a0ebe3be9a7d