aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpg-error.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add option --lib-version to the gpg-error tool.Werner Koch2015-07-271-4/+14
| | | | * src/gpg-error.c (main): Add new option.
* Add option --defines to gpg-error.Werner Koch2015-03-191-17/+75
| | | | | | * src/gpg-error.c (main): Add option --help and --defines. Signed-off-by: Werner Koch <[email protected]>
* Avoid false warning about uninitialized var.Werner Koch2015-01-051-1/+1
| | | | * src/gpg-error.c (get_err_from_str): Init SAVED_CHAR.
* Export missing init functions.Werner Koch2014-08-261-16/+12
| | | | | | | | | | | | | | | | | * src/gpg-error.h.in (gpgrt_init): New macro. (gpgrt_check_version): New prototype. * src/init.c (_gpg_err_init): Rename from gpg_err_init. (_gpg_err_deinit): Rename from gpg_err_deinit. * src/visibility.c (gpg_err_init): New. (gpg_err_deinit): New. (gpgrt_check_version): New. * src/gpg-error.vers (gpg_err_init, gpg_err_deinit): Add missing symbols. (gpgrt_check_version): New. * src/gpg-error.def.in (gpg_err_init, gpg_err_deinit): Add missing symbols. (gpgrt_check_version): New. * src/gpg-error.c (main): Use gpgrt_init macro.
* Fix for W32CE.Werner Koch2010-10-201-0/+6
|
* Finished W32CE support.Werner Koch2010-01-211-146/+53
|
* Fix w32ce strerror.Werner Koch2010-01-181-4/+36
| | | | | Fix non-w32ce dependency problem.
* Add some code to build nativley under WindowsCE - not finished.Werner Koch2010-01-181-2/+8
|
* 2006-12-01 Marcus Brinkmann <[email protected]>Marcus Brinkmann2006-12-011-2/+2
| | | | | * src/gpg-error.c (get_err_from_number): Fix last change.
* 2006-12-01 Marcus Brinkmann <[email protected]>Marcus Brinkmann2006-12-011-2/+14
| | | | | | * src/gpg-error.c (get_err_from_number): Support source and code number in split format like "7.17".
* * configure.ac: Set LT version to C3/A3/R1.libgpg-error-1.5Werner Koch2006-11-301-1/+9
| | | | | | | | | | | | | | | * README: Switch to tar.bz2 and sha1sum. * src/gpg-error.c (main): Add option --version. * autogen.sh (FORCE): Add option --force. * intl/: Removed. * Makefile.am (SUBDIRS): Removed intl. * configure.ac (AM_GNU_GETTEXT): Use external flag * src/Makefile.am: Removed -I../intl.
* 2006-07-04 Marcus Brinkmann <[email protected]>Marcus Brinkmann2006-07-041-2/+2
| | | | | | | * src/init.c (get_locale_dir): Return NULL instead of garbage. * src/gpg-error.c (get_locale_dir): Likewise. Submitted by Simon Josefsson <[email protected]>.
* 2006-05-29 Marcus Brinkmann <[email protected]>Marcus Brinkmann2006-05-291-2/+2
| | | | | | | | * src/init.c (gpg_err_init) [!ENABLE_NLS]: Do not initialize the locale. * src/gpg-error.c (i18n_init) [!ENABLE_NLS]: Likewise. Patch submitted by Nils Durner <[email protected]>.
* Changes for building on W32 without needing libintl.Werner Koch2005-11-021-0/+4
|
* 2005-10-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2005-10-251-2/+0
| | | | | | * src/Makefile.am (gpg_error_CPPFLAGS): New variable. * src/gpg-error.c (i18n_init): Don't return anything.
* 2005-10-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2005-10-251-20/+200
| | | | | | | | | | | | | | | | | | * 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.
* 2005-10-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann2005-10-231-30/+23
| | | | | | | | | | | * 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.
* 2004-04-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-04-221-2/+48
| | | | | | | | | * src/Makefile.am (gpg_error_CPPFLAGS): New variable. (localedir): Likewise. * gpg-error.c: Include the gettext headers. (init_i18n): New function. (main): Call init_i18n, gettextize messages.
* 2004-04-08 Moritz Schulte <[email protected]>Moritz Schulte2004-04-081-0/+2
| | | | | * src/gpg-error.c (main): Return zero on success.
* Fix copyright year.Marcus Brinkmann2004-03-071-1/+1
|
* 2004-02-27 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-02-271-0/+260
* 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.