aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpg-error.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.