| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
* configure.ac: Bump LT version to C32/A32/R2.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gpg-error.h.in (GPGRT_CONFDIR_USER, GPGRT_CONFDIR_SYS): New consts.
(ARGPARSE_FLAG_SYS, ARGPARSE_FLAG_USER, ARGPARSE_FLAG_VERBOSE)
(ARGPARSE_NO_CONFFILE, ARGPARSE_CONFFILE, ARGPARSE_OPT_CONFFILE): New
consts.
(ARGPARSE_conffile, ARGPARSE_noconffile): New macros.
(gpgrt_set_confdir): New func.
(gpgrt_argparser): New func.
* src/argparse.c (confdir): New var.
(enum argparser_states): New.
(struct _gpgrt_argparse_internal_s): Add a couple of new fields.
(initialize): Init them.
(any_opt_conffile): New.
(_gpgrt_argparser): New.
(_gpgrt_set_confdir): New.
* src/visibility.c (gpgrt_argparser): New.
(gpgrt_set_confdir): New.
* src/gpg-error.def.in, src/gpg-error.vers: Add those functions.
* tests/t-argparse.c (main): Reworked.
* tests/etc/t-argparse.conf: New file.
* tests/t-argparse.conf: New file.
--
gpgrt_argparser is a high level version of gpgrt_argparse. It handles
reading of configuration files internally and allows allows for a
global configuration file. The design is so that it minimizes the
work to replace the existing option parsing in gpg and friends by this
one and to allow global configuration files for them.
This is the just the basic code which should allow replacement of the
parsers. A forthcoming patch will implement flags for options given
in the global config file.
GnuPG-bug-id: 4788
Signed-off-by: Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
| |
* configure.ac: Bump LT version to C26/A26/R0.
Signed-off-by: Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
| |
--
Signed-off-by: Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Bump LT version to C22/A22/R0.
--
Note that C21/A21/R0 was used in 1.26 but later lost in the repo due
to a merge.
Signed-off-by: Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
| |
* configure.ac: Set LT version to C18/A18/R0.
Signed-off-by: Werner Koch <wk@gnupg.org>
|
|
|
|
| |
--
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/gpgrt.texi: New. Just a start for now.
* doc/gpl.texi, doc/lgpl.texi: New. Take from Libgcrypt.
* doc/yat2m.c: New. Take from GnuPG master.
* doc/Makefile.am: New.
* configure.ac (AC_CONFIG_FILES): Add doc/Makefile.
* Makefile.am (SUBDIRS): Add doc/.
* build-aux/mdate-sh, build-aux/texinfo.tex: New.
Signed-off-by: Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
| |
--
Which is:
We do not collect DCOs for libgpg-error. As a supporting library
for GnuPG, Libgcrypt, and GPGME a DCO for any of these projects is
sufficient.
|
|
|
|
|
|
|
|
| |
* configure.ac: Set LT version to C9/A9/R0.
* Makefile.am (GITLOG_TO_CHANGELOG): New.
(gen-ChangeLog): Use --tear-off.
* build-aux/gitlog-to-changelog: Remove.
|
|
|
|
| |
--
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Updated some translations.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* libgpg-error.spec.in: New file.
* Makefile.am (EXTRA_DIST): Add libgpg-error.spec.in.
* AUTHORS (Maintainer): Add Robert Schiele as contributor.
|
|
* Initial check-in.
|