| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* configure.ac (LIBGPG_ERROR_LT_CURRENT, LIBGPG_ERROR_LT_AGE):
Bump for release.
(LIBGPG_ERROR_LT_REVISION): Reset to 0 for release.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/Makefile.am (arch_sources): New variable.
(libgpg_error_la_SOURCES): Add $(arch_sources).
* src/gettext.h [HAVE_W32_SYSTEM]: Include w32-gettext.h.
* src/w32-gettext.h: New file.
* src/w32-gettext.c: New file.
* src/gpg-error.h.in: Check for gcc's constructor attribute.
Use it for gpg_err_init.
(GPG_ERR_INITIALIZED): Define if constructor is available.
* src/gpg-error.c (main) [GPG_ERR_INITIALIZED]: Don't invoke
gpg_err_init.
(i18n_init): Call bindtextdomain as well. Now that gpg-error has
its own gettext implementation, we can't rely on it anymore.
Also, repeat all the w32 stuff for fetching the registry.
|
|
|
|
|
|
|
|
|
|
|
| |
* src/Makefile.am (libgpg_error_la_SOURCES): Add init.c.
* src/init.c: New file.
* src/gpg-error.h.in (gpg_error_init): New function.
* src/gpg-error.def: Add gpg_err_init.
* src/gpg-error.c: Remove SIMPLE_GETTEXT stuff.
(i18n_init): Don't bind text domain.
(main): Call gpg_err_init.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* src/mkerrcodes.awk: Allow whitespace before expanded
preprocessor macro (ie, the error code value). Needed for Solaris 2.8.
|
| |
|
|
|
|
|
|
|
| |
Released 0.7.
* configure.ac: Bumbed up LIBGPG_ERROR_LT_REVISON.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Define CC_FOR_BUILD.
* src/Makefile.am (BUILT_SOURCES): Add gpg-error.h.
(EXTRA_DIST): Add mkerrcodes.awk and mkerrcodes.c.
(CLEANFILES): Add mkerrcodes.h and mkerrcodes.
(mkerrcodes.h): New target.
(mkerrcodes): New target.
(code-from-errno.h): Rewritten.
* src/errnos.in: Remove include statement (which was ignored
anyway).
* src/mkerrcodes.awk: New file.
* src/mkerrcodes.c: New file.
|
|
|
|
|
|
| |
* src/Makefile.am (noinst_PROGRAMS): Rename to ...
(bin_PROGRAMS): ... this.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/Makefile.am (noinst_PROGRAMS): New variable.
(gpg_error_LDADD): New variable.
(gpg_error_SOURCES): New variable.
(EXTRA_DIST): Add mkheader.awk and gpg-error.h.in.
(BUILT_SOURCES): Add err-sources-sym.h, err-codes-sym.h and
errnos-sym.h.
(CLEANFILES): Add err-sources-sym.h, err-codes-sym.h,
errnos-sym.h and gpg-error.h.
(err-codes.h, err-sources.h): Add -v textidx=3 to mkstrtable.awk
invocation.
(err-codes-sym.h): New target.
(err-sources-sym.h): New target.
(gpg-error.h): New rule.
* src/mkstrtable.awk: Skip the second field (which contains the
error code symbol).
(FS): Allow more than one tab as field separator.
Allow to specify the field to be used as text with the variable
textidx.
Allow to suppress gettext markers in the output.
Allow to specify a prefix to the messages.
Allow to specify a namespace for the variable and macro names.
* src/mkerrnos.awk (FS): Initialize. Understand variable
errnoidx, which defaults to 2, to cope with the error names being
in a different column than the first.
* src/mkerrcodes1.awk: Likewise. Use \t as separator.
* src/mkheader.awk: New file.
* src/errnos.in: Add error code numbers (relativ to
GPG_ERR_SYSTEM_ERROR).
* src/strerror-sym.c: New file.
* src/strsources-sym.c: New file.
* src/err-codes.h.in: Add the error code symbol for every error
code.
(GPG_ERR_BUFFER_TOO_SHORT): Fix error code (it is 200, not 199).
* src/err-sources.h.in: Likewise.
* src/gpg-error.h.in: New file.
* src/gpg-error.h: File removed.
* src/gpg-error.c: New file.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Libksba and Dirmngr. Added GPG_ERR_TRUNCATED.
|
|
|
|
|
|
| |
one can use the -D flag to specify the inline keyword. Suggested
by Philip Brown.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* configure.ac: Invoke AC_FUNC_STRERROR_R.
* src/gpg-error.h (gpg_strerror_r): New prototype.
* src/strerror.c (system_strerror_r): New function.
(gpg_strerror_r): New function.
|
|
|
|
|
| |
* configure.ac (AC_INIT): Bump up version number.
|
|
|
|
|
|
|
|
|
| |
Released 0.4.
* src/gpg-error.h: Define GPG_ERR_INLINE to nothing if the
compiler does not implement C99.
* configure.ac: (AC_INIT): Bump up version number.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* src/strerror.c (gpg_strerror): Use CODE, not ERR to map error
code to errno.
* configure.ac (AC_INIT): Bump version to 0.3.
|
|
|
|
|
| |
Released 0.2.
|
| |
|
|
* Initial check-in.
|