aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Changes for building on W32 without needing libintl.Werner Koch2005-11-024-17/+17
|
* Fix last change.Marcus Brinkmann2005-10-251-3/+3
|
* 2005-10-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2005-10-251-4/+72
| | | | | | | | * src/w32-gettext.c (get_string): Remove extra arguments to utf8_to_native_invocation. (utf8_to_wchar, wchar_to_native): New function. (utf8_to_native): Rewritten.
* 2005-10-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2005-10-252-2/+1
| | | | | | * 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-256-24/+1943
| | | | | | | | | | | | | | | | | | * 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-235-34/+257
| | | | | | | | | | | * 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.
* 2005-10-20 Marcus Brinkmann <[email protected]>Marcus Brinkmann2005-10-201-31/+38
| | | | | | | | * configure.ac: Instead checking for windres and dlltool, invoke AC_LIBTOOL_WIN32_DLL and AC_LIBTOOL_RC. * src/Makefile.am [HAVE_W32_SYSTEM]: Use libtool, which simplifies the rules.
* Final changes for building a DLL.Werner Koch2005-08-192-7/+7
|
* Does now allow to build a W32 DLL.Werner Koch2005-08-194-12/+102
|
* Added Romanian translation and other collected changes.Werner Koch2005-07-041-1/+4
|
* Update copyright year.Marcus Brinkmann2005-06-201-1/+1
|
* 2005-06-16 Marcus Brinkmann <[email protected]>Marcus Brinkmann2005-06-161-7/+13
| | | | | | | * src/mkerrcodes.awk: Fix comment. Allow any non-empty line to start the processing, not only lines starting with numbers. Guillaume Libersat <[email protected]>
* 2004-09-14 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-09-141-1/+10
| | | | | * src/gpg-error.m4: Add copyright note.
* Released 1.0libgpg-error-1-0Werner Koch2004-07-301-1/+1
|
* 2004-06-29 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-06-291-1/+2
| | | | | * src/err-codes.h.in: Add GPG_ERR_INV_REQUEST.
* 2004-06-08 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-06-081-1/+1
| | | | | | * src/Makefile.am (mkerrcodes): Prefix mkerrcodes.c with $(srcdir) to fix VPATH build.
* 2004-05-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-05-251-2/+3
| | | | | | * src/err-codes.h.in: Add GPG_ERR_PROTOCOL_VIOLATION and GPG_ERR_INV_MAC.
* 2004-04-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-04-231-2/+2
| | | | | | * src/Makefile.am (mkerrcodes): Do not use $< in non-inference rule. (code-from-errno.h): Likewise.
* 2004-04-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-04-222-2/+50
| | | | | | | | | * 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-19 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-04-191-1/+1
| | | | | * src/gpg-error.m4: Quote first argument to AC_DEFUN.
* 2004-04-19 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-04-191-1/+1
| | | | | | * src/mkerrcodes.awk: Allow whitespace before expanded preprocessor macro (ie, the error code value). Needed for Solaris 2.8.
* 2004-04-08 Moritz Schulte <[email protected]>Moritz Schulte2004-04-081-0/+2
| | | | | * src/gpg-error.c (main): Return zero on success.
* 2004-03-09 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-03-091-1/+3
| | | | | | | * src/mkerrcodes.c (main): Fix type of argv. Return something. ----------------------------------------------------------------------
* * src/Makefile.am (mkerrcodes.h): Let CPP work on a temporary file.Werner Koch2004-03-093-4/+10
| | | | | | | | | (CLEANFILES): Add that temporary file. * configure.ac (AC_PROG_CPP): Added. * src/err-codes.h.in: Removed trailing spaces from GPG_ERR_NOT_LOCKED.
* 2004-03-07 Marcus Brinkmann <[email protected]>libgpg-error-0-7Marcus Brinkmann2004-03-071-1/+2
| | | | | * src/gpg-error-config.in: Fix last change.
* 2004-03-07 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-03-071-2/+6
| | | | | | * src/gpg-error-config.in (Options): Do not emit include and lib directory for prefix "/usr" or "".
* Fix copyright year.Marcus Brinkmann2004-03-072-2/+2
|
* 2004-03-01 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-03-014-8/+184
| | | | | | | | | | | | | | | | * 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.
* 2004-02-27 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-02-271-1/+1
| | | | | | * src/Makefile.am (noinst_PROGRAMS): Rename to ... (bin_PROGRAMS): ... this.
* 2004-02-27 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-02-271-0/+11
| | | | | * src/gpg-error.h.in: Add extern "C" closure for C-- compilers.
* 2004-02-27 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-02-2713-987/+1248
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Added GPG_ERR_NOT_LOCKED.Werner Koch2004-02-032-1/+3
|
* Added GPG_ERR_LOCALE_PROBLEM.Werner Koch2003-12-222-2/+4
|
* About to release 0.6libgpg-error-0-6Werner Koch2003-11-141-3/+3
|
* Removed: GPG_ERR_IO_ERROR,Werner Koch2003-11-132-14/+1
| | | | | | GPG_ERR_FILE_ERROR, GPG_ERR_READ_ERROR, GPG_ERR_WRITE_ERROR, GPG_ERR_LOCK_ERROR.
* Added these codes:Werner Koch2003-11-122-7/+84
| | | | | | | | | | | | | | | | | | | GPG_ERR_INV_ATTR, GPG_ERR_NO_VALUE, GPG_ERR_NOT_FOUND, GPG_ERR_VALUE_NOT_FOUND, GPG_ERR_SYNTAX, GPG_ERR_INV_CRL, GPG_ERR_BAD_BER, GPG_ERR_INV_BER, GPG_ERR_ELEMENT_NOT_FOUND, GPG_ERR_IDENTIFIER_NOT_FOUND, GPG_ERR_INV_TAG, GPG_ERR_INV_LENGTH, GPG_ERR_INV_KEYINFO, GPG_ERR_UNEXPECTED_TAG, GPG_ERR_NOT_DER_ENCODED, GPG_ERR_NO_CMS_OBJ, GPG_ERR_INV_CMS_OBJ, GPG_ERR_UNKNOWN_CMS_OBJ, GPG_ERR_UNSUPPORTED_CMS_OBJ, GPG_ERR_UNSUPPORTED_ENCODING, GPG_ERR_UNSUPPORTED_CMS_VERSION, GPG_ERR_UNKNOWN_ALGORITHM, GPG_ERR_ENCODING_PROBLEM, GPG_ERR_INV_STATE, GPG_ERR_DUP_VALUE, GPG_ERR_MISSING_ACTION, GPG_ERR_MODULE_NOT_FOUND, GPG_ERR_INV_OID_STRING, GPG_ERR_INV_TIME, GPG_ERR_INV_CRL_OBJ, GPG_ERR_UNSUPPORTED_CRL_VERSION, GPG_ERR_INV_CERT_OBJ, GPG_ERR_UNKNOWN_NAME, GPG_ERR_IO_ERROR, GPG_ERR_FILE_ERROR, GPG_ERR_READ_ERROR, GPG_ERR_WRITE_ERROR, GPG_ERR_LOCK_ERROR, GPG_ERR_BUFFER_TOO_SHORT
* Added error sources forWerner Koch2003-11-063-9/+14
| | | | | Libksba and Dirmngr. Added GPG_ERR_TRUNCATED.
* Allow GPG_ERR_INLINE to get overriden, so thatWerner Koch2003-11-031-0/+2
| | | | | | one can use the -D flag to specify the inline keyword. Suggested by Philip Brown.
* 2003-10-28 Moritz Schulte <[email protected]>Moritz Schulte2003-10-282-1/+7
| | | | | | | | * src/gpg-error.h (gpg_err_code_t): Added: GPG_ERR_NO_ENCODING_METHOD, GPG_ERR_NO_ENCRYPTION_SCHEME, GPG_ERR_NO_SIGNATURE_SCHEME. * src/err-codes.h.in: Likewise.
* Fixed last fix:Werner Koch2003-10-252-1/+1
| | | | | | Include stdio.h for snprintf prototype. Suggested by [email protected], fixes #gnupg/214.
* Include stdio.h for snprintfWerner Koch2003-10-251-0/+1
| | | | | prototype. Suggested by [email protected], fixes #gnupg/214.
* 2003-10-11 Moritz Schulte <[email protected]>Moritz Schulte2003-10-111-1/+0
| | | | | | * src/gpg-error.m4: Do not ask gpg-error-config to change the prefix, if --with-gpg-error-prefix=... is used.
* 2003-09-30 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-09-302-150/+69
| | | | | | | | | | | * src/gpg-error.h: Include <stddef.h>. (gpg_strerror_r): Change prototype to match POSIX. Rewritten for that prototype. * src/strerror.c: Include <errno.h>. (gpg_strerror_r, system_strerror_r): Change prototype to match POSIX. Rewritten for that prototype. Rewritten for that prototype.
* Add PIN_NOT_SYNCED.Werner Koch2003-09-302-3/+5
|
* 2003-09-13 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-09-132-2/+214
| | | | | | | | * 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.
* 2003-09-03 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-09-031-85/+42
| | | | | * src/gpg-error-config.in: Rewritten.
* 2003-09-03 Marcus Brinkmann <[email protected]>libgpg-error-0-4Marcus Brinkmann2003-09-031-1/+3
| | | | | | | | | 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.
* 2003-09-02 Moritz Schulte <[email protected]>Moritz Schulte2003-09-022-1/+3
| | | | | | * src/gpg-error.h (gpg_err_code_t): Added: GPG_ERR_NO_PRIME. * src/err-codes.h.in: Likewise.
* 2003-08-19 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-08-191-147/+150
| | | | | | | | | * src/gpg-error.h (GPG_ERR_SYSTEM_ERROR): Fix value (should have been 2^15, was 2^14). (GPG_ERR_CODE_DIM): Fix value (should have been 65536, was 32768). Change the error codes of all system errors to have the GPG_ERR_SYSTEM_ERROR bit set.
* 2003-08-06 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-08-068-8/+8
| | | | | | | * code-from-errno.c, code-to-errno.c, err-codes.h.in, err-sources.h.in, errnos.in, gpg-error.h, strerror.c, strsource.c: Fix typo in copyright notice.