aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-05-23w32: Fix installing of .def file.Werner Koch1-0/+1
* src/Makefile.am (install-def-file): Create libdir first. -- Reported-by: LRN <[email protected]>
2013-04-11Add GPG_ERR_*CRYPT_CTX* and GPG_ERR_BROKEN_*KEY.Werner Koch1-2/+7
* src/err-codes.h.in (GPG_ERR_NO_CRYPT_CTX): New. (GPG_ERR_WRONG_CRYPT_CTX, GPG_ERR_BAD_CRYPT_CTX): New. (GPG_ERR_CRYPT_CTX_CONFLICT): New. (GPG_ERR_BROKEN_PUBKEY, GPG_ERR_BROKEN_SECKEY): New.
2013-02-23Add version macros and check function.Werner Koch6-25/+159
* configure.ac (VERSION_NUMBER): New ac_subst. (BUILD_FILEVERSION): Build on all platforms (BUILD_TIMESTAMP): Try to use an ISO string. * src/Makefile.am (extra-h.in): Add new version numbers. * src/versioninfo.rc.in: Update copyright year. * src/version.c: New. (gpg_error_check_version): New API. * src/gpg-error.h.in: Add gpg_error_check_version prototype. * src/gpg-error.def.in: Add gpg_error_check_version * tests/t-version.c: New. * tests/Makefile.am (TESTS): Add t-version.c * src/gpg-error-config.in: s/VERSION/PACKAGE_VERSION/. -- All other GnuPG libraries do this, thus we do it here as well.
2013-02-22Fix the alias mechanism for --with-libgpg-error-prefix.Werner Koch1-4/+5
* src/gpg-error.m4: Do not use the no-action branch in AC_ARG_WITH. -- This fixes commit aaa3f534. The bug was that --with-gpg-error-prefix always reset the value from --with-libgpg-error-prefix.
2012-11-16Switch to the new automagic beta numbering scheme.Werner Koch1-4/+4
* configure.ac: Change to a git only revision id setup. (BUILD_FILEVERSION): Use revision id for this. * src/versioninfo.rc.in (FileVersion): Use LT version.
2012-11-16Add new source id for Libassuan.Werner Koch1-2/+3
* src/err-sources.h.in (GPG_ERR_SOURCE_ASSUAN): New.
2012-08-09Typo fix.Jordy Provost1-1/+1
* src/err-codes.h.in: Unify uppercase.
2012-06-20Use CPPFLAGS when generating mkerrcodes.hRafaël Carré1-1/+1
* src/Makefile.am (mkerrcodes.h): Use CPPFLAGS. Signed-off-by: Rafaël Carré <[email protected]>
2011-11-28accept --with-libgpg-error-prefix as well as --with-gpg-error-prefixJim Meyering1-2/+12
* src/gpg-error.m4 (AM_PATH_GPG_ERROR): Also accept --with-libgpg-error-prefix=PFX, for consistency with our three library sibling packages.
2011-09-22gpg-error-config: handle /usr/lib64, /lib64 just like /usr/lib and /libDiego Elio Pettenò1-3/+6
Distributions such as Gentoo Linux use /usr/lib64 for system libraries on multilib setups, so in those cases, ignore the libraries as well. Signed-off-by: Diego Elio Pettenò <[email protected]>
2011-08-23Add GPG_ERR_AMBIGUOUSWerner Koch1-2/+3
2011-08-23Add GPG_ERR_DUP_KEYWerner Koch1-1/+2
2011-04-06Extra test for gpg-error-config scriptWerner Koch1-1/+2
If the path to gpg-error-config was explicitly given by the user it may happen that it does not exists but AC_CHECK_TOOL may assume it still exists because it is somewhere in the PATH. The extra check avoids extra sh warnings. Note that we can't use test -x because that is not defined on some old systems.
2011-03-04Updated error code referencesWerner Koch1-7/+6
2011-02-23Make gpg-error-config and gpg-error.m4 more robust.Werner Koch2-3/+21
This is done by taking host prefixed config scripts names in account (as suggested by bug#1261) and adding a new config option --host to print a warning if the used config script was not built for the current host. Care has been taken not to mess things up if an old config script without the option is used or if AC_CANONICAL_HOST has not been used.
2011-02-01Add GPG_ERR_INV_CURVE and GPG_ERR_UNKNOWN_CURVEWerner Koch1-7/+9
2011-01-06Add GPG_ERR_NO_KEYSERVERWerner Koch1-0/+1
2010-11-012010-11-01 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-1/+3
* src/w32-gettext.c (CreateFileA): Rename to ... (MyCreateFileA): ... this, but provide macro CreateFileA.
2010-10-31s/abort/TerminateProcess/Werner Koch2-2/+4
2010-10-292010-10-29 Marcus Brinkmann <[email protected]>Marcus Brinkmann2-19/+58
* src/w32-gettext.c: Guard include of <sys/types.h>. Do not include <sys/stat.h>. (CreateFileA) [HAVE_W32CE_SYSTEM]: New wrapper function. (load_domain): Use native Windows API. * src/init.c (TLS_OUT_OF_INDEXES) [HAVE_W32CE_SYSTEM, !TLS_OUT_OF_INDEXES]: Define it. (abort) [!__MINGW32CE__]: Define it.
2010-10-28Add some code to allow building with MSC.Werner Koch4-8/+14
2010-10-20Add comment.Werner Koch1-0/+4
2010-10-20Fix for W32CE.Werner Koch3-1/+29
2010-09-16Fix initialization of static libsWerner Koch3-2/+27
2010-09-16Update pl.po.Werner Koch2-3/+9
Updated to gettext 0.1.17 Add a new error code.
2010-09-02Add new error code.Werner Koch2-2/+3
Remove comment cruft.
2010-08-19Require new GPG_ERR_ENABLE_ERRNO_MACROS define to include the strerrorWerner Koch1-2/+3
define.
2010-07-21Add gpg_err_deinitlibgpg-error-1.9Werner Koch4-5/+62
Prepare a new release.
2010-06-18Add new error code.Werner Koch1-1/+2
Convert de.po to utf8
2010-04-14MAp some W32 error codes.Werner Koch3-51/+71
2010-03-15Fix type in macro name.Werner Koch2-2/+3
Set generated header to read-only.
2010-03-09Add macro to enable gettext macros.Werner Koch2-10/+18
2010-03-08Use format_arg attributeWerner Koch1-4/+16
2010-03-01Add a mapping for ESPIPE on W32CE.Werner Koch2-3/+4
2010-02-17Yet another try to make it work:Werner Koch1-2/+2
We need to create the gpg-extra directory. With that we don't need to keep that directory in the repo.
2010-02-17Reworked the installation of gpg-extra/errno.h.Werner Koch1-3/+16
2010-02-17Made make distcheck work again.Werner Koch1-2/+0
2010-01-26Add missing file.Werner Koch1-0/+161
2010-01-21Finished W32CE support.Werner Koch11-1361/+1381
2010-01-18Fix w32ce strerror.Werner Koch4-71/+120
Fix non-w32ce dependency problem.
2010-01-18Add some code to build nativley under WindowsCE - not finished.Werner Koch12-93/+421
2009-10-262009-10-26 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-2/+6
* src/gpg-error.h.in (GPG_ERR_SOURCE_DIM): Reduce to 128.
2009-10-16Add another error code.Werner Koch1-1/+2
2009-09-21Add a new erroro sourceWerner Koch1-1/+2
2009-08-20Add new translations.Werner Koch1-1/+1
2009-07-23Add new code GPG_ERR_NOT_ENABLEDWerner Koch1-1/+2
2009-07-172009-07-17 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+7
* src/mkerrnos.awk: Output code to cause WSA Errors to be found from gpg error codes. * README: Add problem of translating error codes back and forth.
2009-07-172009-07-17 Marcus Brinkmann <[email protected]>Marcus Brinkmann2-41/+9
* src/mkerrcodes1.awk: Output code to cause WSA Errors to be transparently translated. * src/code-from-errno.c [HAVE_W32_SYSTEM]: Don't include winsock2.h. (w32_special_errnos) [HAVE_W32_SYSTEM]: Removed. (gpg_err_code_from_errno) [HAVE_W32_SYSTEM]: Remove special case. * README: Document problem with printing some WSA Errors.
2009-06-232009-06-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-12/+10
Update to libtool 2.2.6a. * configure.ac: Invoke AC_CONFIG_MACRO_DIR. (AC_LIBTOOL_WIN32_DLL, AC_LIBTOOL_RC): Replace by ... (LT_PREREQ, LT_INIT, LT_LANG): ... these. * config.guess, config.sub, install-sh, ltmain.sh, m4/libtool.m4: Updated to libtool 2.2.6a. * m4/ltoptions.m4, m4/ltsugar.m4, m4/ltversion.m4, m4/lt~obsolete.m4: New files from libtool 2.2.6a. * src/Makefile.am (LTRCCOMPILE): Refactor with ... (RCCOMPILE): ... this new macro. Add $(libgpg_error_la_CPPFLAGS). (SUFFIXES): Add .lo. (.rc.o): Change to ... (.rc.lo): ... this implicit rule. (gpg_error_res_ldflag): Removed. (gpg_error_res): Use libtool object file name here. (install-def-file): Fix typo. (libgpg_error_la_LDFLAGS): Remove gpg_error_res_ldflag usage. (libgpg_error_la_LIBADD): Add gpg_error_res.
2008-11-12Add codes GPG_ERR_NO_PIN and GPG_ERR_NO_PASSPHRASE.Werner Koch1-1/+3