1 2008-11-26 Werner Koch <wk@g10code.com>
5 * configure.ac: Set LT version to C5/A5/R0.
7 2008-11-12 Werner Koch <wk@g10code.com>
9 * src/err-codes.h.in: Add GPG_ERR_NO_PASSPHRASE and GPG_ERR_NO_PIN.
11 2008-11-08 Moritz <moritz@gnu.org>
13 * lang/cl/gpg-error.lisp ("gpg_err_code_from_syserror"): Fix
14 defcfun: removed "(void)".
16 * lang/cl/gpg-error.lisp (size-t): Wrong call to defctype:
17 function accepts optional, not keyword argument.
18 (gpg-error-t): Likewise.
20 2008-10-29 Marcus Brinkmann <marcus@g10code.de>
22 * src/mkstrtable.awk: Make generated code -W clean to silence gcc
25 2008-08-06 Werner Koch <wk@g10code.com>
27 * src/err-codes.h.in (GPG_ERR_NOT_OPERATIONAL): New.
29 2008-04-01 Werner Koch <wk@g10code.com>
31 * configure.ac (AC_INIT): Fix m4 quoting.
33 2007-12-11 Werner Koch <wk@g10code.com>
35 * Makefile.am (EXTRA_DIST): Add COPYING.
37 2007-10-29 Werner Koch <wk@g10code.com>
41 * configure.ac: Set LT version to C4/A4/R0.
43 * config.guess, config.sub: Updated.
45 * src/err-sources.h.in: (GPG_ERR_SOURCE_KLEO): New.
47 * w32-gettext.c (SUBLANG_BENGALI_BANGLADESH): Fix to 2 as per MSDN.
48 (SUBLANG_PUNJABI_PAKISTAN): Remove as it is not in MSDN.
49 (SUBLANG_ROMANIAN_MOLDOVA): Remove as it is not in MSDN.
50 (SUBLANG_ROMANIAN_ROMANIA): Change to value 1 as per MSDN.
52 2007-09-27 Marcus Brinkmann <marcus@g10code.de>
54 * src/Makefile.am (%.o): Replace pattern rule with suffix rule.
55 (SUFFIXES): New variable.
57 2007-09-27 Werner Koch <wk@g10code.com>
59 * src/err-sources.h.in (GPG_ERR_SOURCE_GPA): New.
60 * src/err-codes.h.in (GPG_ERR_UNFINISHED): New.
62 2007-08-03 Marcus Brinkmann <marcus@g10code.de>
64 * configure.ac: Call AM_PROG_CC_C_O. Allow --disable-languages.
65 * autogen.sh: Use = not == in test.
66 * lang/cl/Makefile.am: Do not use :=, but =.
67 * Makefile.am [!LANGUAGES_SOME]: Don't add lang to subdirs.
68 * m4/inttypes-h.m4, m4/lock.m4, m4/visibility.m4: New files.
70 2007-05-19 Marcus Brinkmann <marcus@g10code.de>
72 * lang/cl/gpg-error.lisp (gpg-err-source-t): Add
75 2007-06-18 Werner Koch <wk@g10code.com>
77 * src/code-from-errno.c (w32_special_errnos) [W32]: New. This is
78 to provide some common mappings for winsocket error codes.
79 (gpg_err_code_from_errno, gpg_err_code_from_syserror): Use it.
81 2007-05-09 Werner Koch <wk@g10code.com>
83 * src/gpg-error.m4: Print found version on success.
85 2006-12-09 Marcus Brinkmann <marcus@g10code.de>
87 * src/Makefile.am (EXTRA_DIST): Add README.
88 * src/README: New file.
90 2006-12-01 Marcus Brinkmann <marcus@g10code.de>
92 * src/gpg-error.c (get_err_from_number): Fix last change.
94 * src/gpg-error.c (get_err_from_number): Support source and code
95 number in split format like "7.17".
97 2006-11-30 Werner Koch <wk@g10code.com>
101 * configure.ac: Set LT version to C3/A3/R1.
103 * README: Switch to tar.bz2 and sha1sum.
105 * src/gpg-error.c (main): Add option --version.
107 * autogen.sh (FORCE): Add option --force.
110 * Makefile.am (SUBDIRS): Removed intl.
111 * configure.ac (AM_GNU_GETTEXT): Use external flag
112 * src/Makefile.am: Removed -I../intl.
114 2006-11-23 Werner Koch <wk@g10code.com>
116 * configure.ac: Display configuration status after AC_OUTPUT.
117 (AC_INIT): Use SVN revision magic.
118 (AC_GNU_SOURCE): New.
120 2006-11-23 gettextize <bug-gnu-gettext@gnu.org>
122 * configure.ac (AM_GNU_GETTEXT_VERSION): Bump to 0.15.
124 2006-11-15 Werner Koch <wk@g10code.com>
126 * autogen.sh: Add convenience option --build-amd64.
128 2006-10-20 Werner Koch <wk@g10code.com>
130 * Makefile.am (stowinstall): New convenience target.
132 2006-09-18 Werner Koch <wk@g10code.com>
134 * src/gpg-error.def: Added gpg_err_code_from_syserror.
136 2006-09-14 Werner Koch <wk@g10code.com>
140 * configure.ac: Set LT version to C3/A3/R0.
143 * autogen.sh (--build-w32): Better cross-compiler locating.
145 * src/strerror.c (system_strerror_r): Made static.
147 * tests/t-syserror.c: New.
148 * tests/Makefile.am (TESTS): Added new test.
150 * lang/cl/gpg-error.lisp ("gpg_err_code_from_syserror"): New.
151 (gpg-err-code-from-syserror): New.
152 (gpg-error-from-syserror): New.
153 * lang/cl/gpg-error-package.lisp: Export new functions
155 * src/gpg-error.h.in (gpg_error_from_syserror): New.
156 * src/code-from-errno.c (gpg_err_code_from_errno): Cosmetic change
157 to first check whether ERR is zero.
158 (gpg_err_code_from_syserror): New.
160 2006-09-06 Werner Koch <wk@g10code.com>
162 * src/err-codes.h.in: Add GPG_ERR_UNKNOWN_OPTION and
163 GPG_ERR_UNKNOWN_COMMAND.
165 2006-09-05 Werner Koch <wk@g10code.com>
167 * src/err-sources.h.in (GPG_ERR_SOURCE_ANY): New. This is so that
168 we have source distinguished from the Unknown one but declaring
169 that it is an gpg-error style error code.
171 * src/err-codes.h.in: Added GPG_ERR_ASS_* codes, rabnge 257-281.
172 (GPG_ERR_MISSING_ERRNO): New.
174 2006-07-04 Marcus Brinkmann <marcus@g10code.de>
176 * src/init.c (get_locale_dir): Return NULL instead of garbage.
177 * src/gpg-error.c (get_locale_dir): Likewise.
178 Reported by Simon Josefsson <jas@extundo.com>.
180 2006-05-30 Marcus Brinkmann <marcus@g10code.de>
182 * lang/cl/gpg-error.asd.in (gpg-error): Add "depends-on" on cffi.
184 2006-05-29 Marcus Brinkmann <marcus@g10code.de>
186 * src/init.c (gpg_err_init) [!ENABLE_NLS]: Do not initialize the
188 * src/gpg-error.c (i18n_init) [!ENABLE_NLS]: Likewise.
189 Patch submitted by Nils Durner <ndurner@web.de>.
191 2006-05-25 Marcus Brinkmann <marcus@g10code.de>
193 * lang/cl/gpg-error.asd: Renamed to ...
194 * lang/cl/gpg-error.asd.in: ... this.
195 * configure.ac (AC_CONFIG_FILES): Add lang/cl/gpg-error.asd.in.
197 * lang/cl/mkerrcodes.awk, lang/cl/gpg-error-package.lisp,
198 lang/cl/gpg-error.lisp, lang/cl/gpg-error.asd, lang/cl/Makefile.am
199 (clfilesdir): Fix package and file names.
201 * lang/cl/Makefile.am (clfilesdir): Use datadir, not prefix.
203 2006-05-05 Marcus Brinkmann <marcus@g10code.de>
205 * configure.ac (AC_CONFIG_FILES): Add lang/Makefile and
207 * Makefile.am (SUBDIRS): Add lang.
208 * lang: New directory.
209 * lang/README, lang/Makefile.am: New files.
210 * lang/cl: New directory.
211 * lang/cl/Makefile.am, lang/cl/README, lang/cl/gpg-error.asd,
212 lang/cl/gpg-error-package.lisp, lang/cl/gpg-error.lisp,
213 lang/cl/mkerrcodes.awk: New files.
215 2006-03-14 Marcus Brinkmann <marcus@g10code.de>
219 * configure.ac (LIBGPG_ERROR_LT_REVISION): Bump for release.
221 Many files regenerated.
222 * src/Makefile.am (gpg_error_CPPFLAGS, libgpg_error_la_CPPFLAGS):
224 * Makefile.am (SUBDIRS): Add intl.
225 * configure.ac (AC_CONFIG_FILES): Add intl/Makefile.
226 (AM_GNU_GETTEXT_VERSION): Bump to 0.14.5.
228 2006-03-06 Marcus Brinkmann <marcus@g10code.de>
230 * configure.ac (min_automake_version): Bump to 1.9.6.
231 * mkinstalldirs, depcomp, compile, INSTALL, COPYING, missing,
232 install-sh: Update from automake 1.9.6.
233 ltmain.sh: Update from libtool 1.5.22.
235 2006-03-03 Marcus Brinkmann <marcus@g10code.de>
237 * configure.ac (LIBGPG_ERROR_LT_CURRENT, LIBGPG_ERROR_LT_AGE):
239 (LIBGPG_ERROR_LT_REVISION): Reset to 0 for release.
241 2005-11-02 Werner Koch <wk@g10code.com>
243 * src/Makefile.am (gpg_error_SOURCES): Include ARCH_SOURCES.
244 * src/gpg-error.c [W32]: Include gettext.h instead of libintl.h.
246 * configure.ac (AH_BOTTOM): Define ENABLE_NLS for W32 builds.
247 * src/w32-gettext.h (dgettext): Changed prototype from
249 * src/w32-gettext.c: Replaced use of WIN32 by HAVE_W32_SYSTEM on
250 demand of the holy GNUquisition.
251 (bindtextdomain, textdomain, dgettext): Need to cast the const way
252 from the return value.
254 2005-10-26 Werner Koch <wk@g10code.com>
256 * Makefile.am: Used dist-bzip2 option.
258 2005-10-25 Marcus Brinkmann <marcus@g10code.de>
260 * src/w32-gettext.c (get_string): Remove extra arguments to
261 utf8_to_native_invocation.
262 (utf8_to_wchar, wchar_to_native): New function.
263 (utf8_to_native): Rewritten.
265 * src/Makefile.am (gpg_error_CPPFLAGS): New variable.
266 * src/gpg-error.c (i18n_init): Don't return anything.
268 * src/Makefile.am (arch_sources): New variable.
269 (libgpg_error_la_SOURCES): Add $(arch_sources).
270 * src/gettext.h [HAVE_W32_SYSTEM]: Include w32-gettext.h.
271 * src/w32-gettext.h: New file.
272 * src/w32-gettext.c: New file.
273 * src/gpg-error.h.in: Check for gcc's constructor attribute.
274 Use it for gpg_err_init.
275 (GPG_ERR_INITIALIZED): Define if constructor is available.
276 * src/gpg-error.c (main) [GPG_ERR_INITIALIZED]: Don't invoke
278 (i18n_init): Call bindtextdomain as well. Now that gpg-error has
279 its own gettext implementation, we can't rely on it anymore.
280 Also, repeat all the w32 stuff for fetching the registry.
282 2005-10-23 Marcus Brinkmann <marcus@g10code.de>
284 * src/Makefile.am (libgpg_error_la_SOURCES): Add init.c.
285 * src/init.c: New file.
286 * src/gpg-error.h.in (gpg_error_init): New function.
287 * src/gpg-error.def: Add gpg_err_init.
288 * src/gpg-error.c: Remove SIMPLE_GETTEXT stuff.
289 (i18n_init): Don't bind text domain.
290 (main): Call gpg_err_init.
292 2005-10-20 Marcus Brinkmann <marcus@g10code.de>
294 * configure.ac: Instead checking for windres and dlltool, invoke
295 AC_LIBTOOL_WIN32_DLL and AC_LIBTOOL_RC.
296 * src/Makefile.am [HAVE_W32_SYSTEM]: Use libtool, which simplifies
299 2005-10-02 Marcus Brinkmann <marcus@g10code.de>
301 * configure.ac: Escape arguments in AC_INIT invocation.
302 * config.guess, config.sub, ltmain.sh: Update.
304 2005-08-19 Werner Koch <wk@g10code.com>
306 * configure.ac: Add code to allow building a W32 DLL.
307 * src/Makefile.am: Changed to allow building for W32.
308 * src/versioninfo.rc.in: New.
309 * src/gpg-error.def: New.
311 2005-06-20 Marcus Brinkmann <marcus@g10code.de>
315 * configure.ac: Bump up LIBGPG_ERROR_LT_REVISION, update version
318 2005-06-16 Marcus Brinkmann <marcus@g10code.de>
320 * src/mkerrcodes.awk: Fix comment. Allow any non-empty line to
321 start the processing, not only lines starting with numbers.
322 Reported by Guillaume Libersat <glibersat@hurdfr.org>.
324 2005-01-05 Marcus Brinkmann <marcus@g10code.de>
326 * configure.ac: Check for locale.h.
328 2005-04-20 Werner Koch <wk@g10code.com>
330 * src/err-codes.h.in: Add GPG_ERR_LOCKED.
332 2005-04-18 Werner Koch <wk@g10code.com>
334 * src/err-codes.h.in: Add GPG_ERR_UNKNOWN_EXTN and
335 GPG_ERR_UNKNOWN_CRIT_EXTN.
337 2004-12-18 Werner Koch <wk@g10code.com>
339 * autogen.sh: Add option --build-w32.
341 2004-09-14 Marcus Brinkmann <marcus@g10code.de>
343 * src/gpg-error.m4: Add copyright note.
345 * configure.ac: Call AC_CANONICAL_HOST. Suppress warning about
346 lack of strerror_r on all Solaris platforms.
348 2004-07-30 Werner Koch <wk@g10code.de>
352 * configure.ac: Bumbed version to 1.0, LT to C1/A1/R3.
354 2004-07-15 Werner Koch <wk@gnupg.org>
356 * src/err-codes.h.in: Renamed description for CARD_RESET.
358 2004-06-28 Werner Koch <wk@gnupg.org>
360 * src/err-codes.h.in: Add GPG_ERR_INV_REQUEST.
362 2004-06-08 Marcus Brinkmann <marcus@g10code.de>
364 * src/Makefile.am (mkerrcodes): Prefix mkerrcodes.c with $(srcdir)
367 2004-05-25 Marcus Brinkmann <marcus@g10code.de>
369 * src/err-codes.h.in: Add GPG_ERR_PROTOCOL_VIOLATION and
372 2004-04-23 Marcus Brinkmann <marcus@g10code.de>
374 * src/Makefile.am (mkerrcodes): Do not use $< in non-inference rule.
375 (code-from-errno.h): Likewise.
377 2004-04-22 Marcus Brinkmann <marcus@g10code.de>
379 * src/Makefile.am (gpg_error_CPPFLAGS): New variable.
380 (localedir): Likewise.
381 * gpg-error.c: Include the gettext headers.
382 (init_i18n): New function.
383 (main): Call init_i18n, gettextize messages.
385 2004-04-02 Thomas Schwinge <schwinge@nic-nac-project.de>
387 * autogen.sh: Added ACLOCAL_FLAGS.
389 2004-04-19 Marcus Brinkmann <marcus@g10code.de>
391 * src/gpg-error.m4: Quote first argument to AC_DEFUN.
393 * src/mkerrcodes.awk: Allow whitespace before expanded
394 preprocessor macro (ie, the error code value). Needed for Solaris 2.8.
396 2004-04-08 Moritz Schulte <moritz@g10code.de>
398 * src/gpg-error.c (main): Return zero on success.
400 2004-03-09 Marcus Brinkmann <marcus@g10code.de>
402 * libgpg-error.spec.in (%files): Add gpg-error. Submitted by
403 Albrecht Dreß <albrecht.dress@arcor.de>.
405 * src/mkerrcodes.c (main): Fix type of argv. Return something.
407 2004-03-09 Werner Koch <wk@gnupg.org>
409 * Makefile.am (dist-hook): Create a VERSION file for use by mkdiff.
411 * src/Makefile.am (mkerrcodes.h): Let CPP work on a temporary file.
412 (CLEANFILES): Add that temporary file.
413 * configure.ac (AC_PROG_CPP): Added.
415 * src/err-codes.h.in: Removed trailing spaces from
418 2004-03-08 Werner Koch <wk@gnupg.org>
420 * src/err-sources.h.in: Added GPG_ERR_SOURCE_GSTI.
422 2004-03-07 Marcus Brinkmann <marcus@g10code.de>
426 * configure.ac: Bumbed up LIBGPG_ERROR_LT_REVISON.
428 * src/gpg-error-config.in: Fix last change.
429 * src/gpg-error-config.in (Options): Do not emit include and lib
430 directory for prefix "/usr" or "".
432 * tests/Makefile.am (INCLUDES): Change to -I$(top_srcdir)/src to
435 2004-03-01 Marcus Brinkmann <marcus@g10code.de>
437 * configure.ac: Define CC_FOR_BUILD.
438 * src/Makefile.am (BUILT_SOURCES): Add gpg-error.h.
439 (EXTRA_DIST): Add mkerrcodes.awk and mkerrcodes.c.
440 (CLEANFILES): Add mkerrcodes.h and mkerrcodes.
441 (mkerrcodes.h): New target.
442 (mkerrcodes): New target.
443 (code-from-errno.h): Rewritten.
445 * src/errnos.in: Remove include statement (which was ignored
447 * src/mkerrcodes.awk: New file.
448 * src/mkerrcodes.c: New file.
450 2004-02-27 Marcus Brinkmann <marcus@g10code.de>
452 * src/Makefile.am (noinst_PROGRAMS): Rename to ...
453 (bin_PROGRAMS): ... this.
455 * src/gpg-error.h.in: Add extern "C" closure for C-- compilers.
457 * src/Makefile.am (noinst_PROGRAMS): New variable.
458 (gpg_error_LDADD): New variable.
459 (gpg_error_SOURCES): New variable.
460 (EXTRA_DIST): Add mkheader.awk and gpg-error.h.in.
461 (BUILT_SOURCES): Add err-sources-sym.h, err-codes-sym.h and
463 (CLEANFILES): Add err-sources-sym.h, err-codes-sym.h,
464 errnos-sym.h and gpg-error.h.
465 (err-codes.h, err-sources.h): Add -v textidx=3 to mkstrtable.awk
467 (err-codes-sym.h): New target.
468 (err-sources-sym.h): New target.
469 (gpg-error.h): New rule.
470 * src/mkstrtable.awk: Skip the second field (which contains the
472 (FS): Allow more than one tab as field separator.
473 Allow to specify the field to be used as text with the variable
475 Allow to suppress gettext markers in the output.
476 Allow to specify a prefix to the messages.
477 Allow to specify a namespace for the variable and macro names.
478 * src/mkerrnos.awk (FS): Initialize. Understand variable
479 errnoidx, which defaults to 2, to cope with the error names being
480 in a different column than the first.
481 * src/mkerrcodes1.awk: Likewise. Use \t as separator.
482 * src/mkheader.awk: New file.
483 * src/errnos.in: Add error code numbers (relativ to
484 GPG_ERR_SYSTEM_ERROR).
485 * src/strerror-sym.c: New file.
486 * src/strsources-sym.c: New file.
487 * src/err-codes.h.in: Add the error code symbol for every error
489 (GPG_ERR_BUFFER_TOO_SHORT): Fix error code (it is 200, not 199).
490 * src/err-sources.h.in: Likewise.
491 * src/gpg-error.h.in: New file.
492 * src/gpg-error.h: File removed.
493 * src/gpg-error.c: New file.
495 2004-02-18 Werner Koch <wk@gnupg.org>
497 * src/gpg-error-config.in: Ignore setting of --prefix.
499 2004-02-11 Werner Koch <wk@gnupg.org>
501 * autogen.sh (check_version): Removed bashism and simplified.
503 2004-02-03 Werner Koch <wk@gnupg.org>
505 * src/gpg-error.h: Added GPG_ERR_NOT_LOCKED.
507 2003-12-22 Werner Koch <wk@gnupg.org>
509 * src/gpg-error.h: Added GPG_ERR_LOCALE_PROBLEM.
511 2003-12-12 Werner Koch <wk@gnupg.org>
513 * src/err-codes.h.in: s/revoced/revoked/.
515 2003-12-08 Werner Koch <wk@gnupg.org>
517 * README.CVS: Enhanced.
520 * Makefile.am (EXTRA_DIST): Added autogen.sh.
522 2003-11-14 Werner Koch <wk@gnupg.org>
524 * configure.ac: Bumbed version number to 0.7.
528 * configure.ac: Bumbed up LIBGPG_ERROR_LT_REVISON.
530 2003-11-13 Werner Koch <wk@gnupg.org>
532 * src/gpg-error.h, src/err-codes.h.in: Removed: GPG_ERR_IO_ERROR,
533 GPG_ERR_FILE_ERROR, GPG_ERR_READ_ERROR, GPG_ERR_WRITE_ERROR,
536 * src/gpg-error.h (GPG_ERR_SOURCE_DIRMNGR): Fixed typo.
538 2003-11-12 Werner Koch <wk@gnupg.org>
540 * src/gpg-error.h, src/err-codes.h.in: Added these codes:
541 GPG_ERR_INV_ATTR, GPG_ERR_NO_VALUE, GPG_ERR_NOT_FOUND,
542 GPG_ERR_VALUE_NOT_FOUND, GPG_ERR_SYNTAX, GPG_ERR_INV_CRL,
543 GPG_ERR_BAD_BER, GPG_ERR_INV_BER, GPG_ERR_ELEMENT_NOT_FOUND,
544 GPG_ERR_IDENTIFIER_NOT_FOUND, GPG_ERR_INV_TAG, GPG_ERR_INV_LENGTH,
545 GPG_ERR_INV_KEYINFO, GPG_ERR_UNEXPECTED_TAG, GPG_ERR_NOT_DER_ENCODED,
546 GPG_ERR_NO_CMS_OBJ, GPG_ERR_INV_CMS_OBJ, GPG_ERR_UNKNOWN_CMS_OBJ,
547 GPG_ERR_UNSUPPORTED_CMS_OBJ, GPG_ERR_UNSUPPORTED_ENCODING,
548 GPG_ERR_UNSUPPORTED_CMS_VERSION, GPG_ERR_UNKNOWN_ALGORITHM,
549 GPG_ERR_ENCODING_PROBLEM, GPG_ERR_INV_STATE, GPG_ERR_DUP_VALUE,
550 GPG_ERR_MISSING_ACTION, GPG_ERR_MODULE_NOT_FOUND,
551 GPG_ERR_INV_OID_STRING, GPG_ERR_INV_TIME, GPG_ERR_INV_CRL_OBJ,
552 GPG_ERR_UNSUPPORTED_CRL_VERSION, GPG_ERR_INV_CERT_OBJ,
553 GPG_ERR_UNKNOWN_NAME, GPG_ERR_IO_ERROR, GPG_ERR_FILE_ERROR,
554 GPG_ERR_READ_ERROR, GPG_ERR_WRITE_ERROR, GPG_ERR_LOCK_ERROR,
555 GPG_ERR_BUFFER_TOO_SHORT.
557 2003-11-06 Werner Koch <wk@gnupg.org>
559 * src/gpg-error.h, src/err-sources.h.in: Added error sources for
560 Libksba and Dirmngr. Added GPG_ERR_TRUNCATED.
562 2003-11-03 Werner Koch <wk@gnupg.org>
564 * src/gpg-error.h: Allow GPG_ERR_INLINE to get overriden, so that
565 one can use the -D flag to specify the inline keyword. Suggested
568 2003-10-28 Moritz Schulte <mo@g10code.com>
570 * src/gpg-error.h (gpg_err_code_t): Added:
571 GPG_ERR_NO_ENCODING_METHOD, GPG_ERR_NO_ENCRYPTION_SCHEME,
572 GPG_ERR_NO_SIGNATURE_SCHEME.
573 * src/err-codes.h.in: Likewise.
575 2003-10-25 Werner Koch <wk@gnupg.org>
577 * src/strerror.c: Include stdio.h for snprintf
578 prototype. Suggested by papadopo@shfj.cea.fr, fixes #gnupg/214.
580 2003-10-11 Moritz Schulte <mo@g10code.com>
582 * src/gpg-error.m4: Do not ask gpg-error-config to change the
583 prefix, if --with-gpg-error-prefix=... is used.
585 2003-10-06 Marcus Brinkmann <marcus@g10code.de>
589 * configure.ac (LIBGPG_ERROR_LT_CURRENT, LIBGPG_ERROR_LT_AGE):
592 2003-09-30 Marcus Brinkmann <marcus@g10code.de>
594 * src/gpg-error.h: Include <stddef.h>.
595 (gpg_strerror_r): Change prototype to match POSIX. Rewritten for
597 * src/strerror.c: Include <errno.h>.
598 (gpg_strerror_r, system_strerror_r): Change prototype to match
599 POSIX. Rewritten for that prototype. Rewritten for that
602 2003-09-30 Werner Koch <wk@gnupg.org>
604 * src/gpg-error.h: Add PIN_NOT_SYNCED.
606 2003-09-13 Marcus Brinkmann <marcus@g10code.de>
608 * configure.ac: Invoke AC_FUNC_STRERROR_R.
609 * src/gpg-error.h (gpg_strerror_r): New prototype.
610 * src/strerror.c (system_strerror_r): New function.
611 (gpg_strerror_r): New function.
613 2003-09-04 Marcus Brinkmann <marcus@g10code.de>
615 * libgpg-error.spec.in: New file.
616 * Makefile.am (EXTRA_DIST): Add libgpg-error.spec.in.
617 * AUTHORS (Maintainer): Add Robert Schiele as contributor.
619 2003-09-03 Marcus Brinkmann <marcus@g10code.de>
621 * src/gpg-error-config.in: Rewritten.
623 2003-09-03 Marcus Brinkmann <marcus@g10code.de>
625 * configure.ac (AC_INIT): Bump up version number.
627 2003-09-03 Marcus Brinkmann <marcus@g10code.de>
631 * src/gpg-error.h: Define GPG_ERR_INLINE to nothing if the
632 compiler does not implement C99.
633 * configure.ac: (AC_INIT): Bump up version number.
635 2003-09-02 Moritz Schulte <mo@g10code.com>
637 * src/gpg-error.h (gpg_err_code_t): Added: GPG_ERR_NO_PRIME.
638 * src/err-codes.h.in: Likewise.
640 2003-08-19 Marcus Brinkmann <marcus@g10code.de>
642 * src/gpg-error.h (GPG_ERR_SYSTEM_ERROR): Fix value (should have
643 been 2^15, was 2^14).
644 (GPG_ERR_CODE_DIM): Fix value (should have been 65536, was 32768).
645 Change the error codes of all system errors to have the
646 GPG_ERR_SYSTEM_ERROR bit set.
648 2003-08-06 Marcus Brinkmann <marcus@g10code.de>
650 * code-from-errno.c, code-to-errno.c, err-codes.h.in,
651 err-sources.h.in, errnos.in, gpg-error.h, strerror.c, strsource.c:
652 Fix typo in copyright notice.
654 2003-07-31 Marcus Brinkmann <marcus@g10code.de>
656 * README: Clarify copyright conditions.
657 * src/mkstrtable.awk: Don't claim in the copyright information
658 that this program is part of libgpg-error.
659 * src/mkerrnos.awk: Likewise.
660 * src/mkerrcodes1.awk: Likewise.
661 * src/mkerrcodes2.awk: Likewise.
663 2003-07-31 Marcus Brinkmann <marcus@g10code.de>
665 * src/strerror.c (gpg_strerror): Use CODE, not ERR to map error
668 * configure.ac (AC_INIT): Bump version to 0.3.
672 2003-07-30 Marcus Brinkmann <marcus@g10code.de>
674 * configure.ac (AC_INIT): Bump version to 0.2.
678 2003-07-17 Werner Koch <wk@gnupg.org>
680 * src/gpg-error.h: Add HARDWARE, PIN_BLOCKED and USE_CONDITIONS.
682 2003-07-16 Moritz Schulte <moritz@g10code.com>
684 * src/gpg-error.h (gpg_err_code): Cast return value to
685 gpg_err_code_t. Thanks to Ralf Schneider
686 <ralf@tapfere-schneiderleins.de>.
687 (gpg_err_source): Cast return value to gpg_err_source_t. Thanks
688 to Ralf Schneider <ralf@tapfere-schneiderleins.de>.
690 2003-07-15 Moritz Schulte <moritz@g10code.com>
692 * src/gpg-error.m4 (AM_PATH_GPG_ERROR): Use `0.0' instead of
693 `0.0.0' in case no version number is given, since the following
694 sed commands expect the former form, not a triplet.
696 2003-07-06 Marcus Brinkmann <marcus@g10code.de>
698 * src/gpg-error.h (GPG_ERR_INLINE): Define macro. Use it instead
699 of __inline__ in this file.
701 2003-06-30 Werner Koch <wk@gnupg.org>
703 * src/gpg-error.h: Add WRONG_CARD.
705 2003-06-22 Marcus Brinkmann <marcus@g10code.de>
707 * src/gpg-error.h: Fix value of GPG_ERR_CANCELED.
709 2003-06-06 Marcus Brinkmann <marcus@g10code.de>
711 * configure.ac: Define GPG_ERROR_CONFIG_LIBS and
712 GPG_ERROR_CONFIG_CFLAGS.
713 Add src/gpg-error-config to config files.
714 * src/Makefile.am (EXTRA_DIST): Add gpg-error-config.in and
716 (bin_SCRIPTS): New variable.
717 (m4datadir, m4data_DATA): New variables.
718 * src/gpg-error-config.in: New file.
719 * src/gpg-error.m4: New file.
723 2003-06-05 Marcus Brinkmann <marcus@g10code.de>
725 * src/gpg-error.h (gpg_err_make_from_errno): Fix implementation.
727 * src/gpg-error.h (gpg_err_code_t): Add GPG_ERR_SIG_EXPIRED.
728 (err-codes.h.in): Likewise.
730 * src/gpg-error.h (gpg_error_from_errno): Change return type to
733 2003-06-04 Marcus Brinkmann <marcus@g10code.de>
735 * src/gpg-error.h (gpg_err_code_t): Add GPG_ERR_INV_ENGINE,
736 GPG_ERR_PUBKEY_NOT_TRUSTED, GPG_ERR_DECRYPT_FAILED,
738 (gpg_make_error): Rename to gpg_err_make.
739 (gpg_error): Use here.
740 * tests/t-strerror.c (main): And here.
741 (gpg_make_error_from_errno): Rename to gpg_err_make_from_errno.
743 * src/gpg-error.h (gpg_make_error_from_errno): New inline function.
744 (gpg_error_from_errno): Likewise.
746 * src/code-from-errno.c (gpg_err_code_from_errno): Handle the case
749 2003-06-04 Marcus Brinkmann <marcus@g10code.de>
751 * src/gpg-error.h (gpg_err_source_t): Add GPG_ERR_SOURCE_USER_1 to
752 GPG_ERR_SOURCE_USER_4.
753 (gpg_err_code_t): Add GPG_ERR_USER_1 to GPG_ERR_USER_16.
754 * src/err-sources.h.in: Likewise.
755 * src/err-codes.h.in: Likewise.
757 * src/gpg-error.h: Rename GPG_ERR_INVALID_RESPONSE to
758 GPG_ERR_INV_RESPONSE, GPG_ERR_INVALID_CARD to GPG_ERR_INV_CARD,
759 GPG_ERR_INVALID_INDEX to GPG_ERR_INV_INDEX, GPG_ERR_INVALID_ID to
760 GPG_ERR_INV_ID, GPG_ERR_AGENT_ERROR to GPG_ERR_AGENT,
761 GPG_ERR_ASSUAN_ERROR to GPG_ERR_ASSUAN, GPG_ERR_PIN_ENTRY_ERROR to
762 GPG_ERR_PIN_ENTRY, GPG_ERR_DIRMNGR_ERROR to GPG_ERR_DIRMNGR,
763 GPG_ERR_CARD_ERROR to GPG_ERR_CARD, GPG_ERR_CONFIGURATION_ERROR to
764 GPG_ERR_CONFIGURATION, GPG_ERR_SCDAEMON_ERROR to GPG_ERR_SCDAEMON.
766 2003-06-03 Werner Koch <wk@gnupg.org>
768 * src/gpg-error.h, src/err-codes.h.in: Add codes for TIMEOUT,
769 INV_HANDLE, NOTHING_FOUND, WRONG_BLOB_TYPE and MISSING_VALUE.
770 * src/gpg-error.h, src/err-sources.h.in: Add KEYBOX which is the
771 keybox subsystem of GnuPG.
773 2003-06-02 Moritz Schulte <moritz@g10code.com>
775 * src/gpg-error.h: Fix description of gpg_err_code_to_errno
776 (i.e. substitute `ERR' with `CODE').
777 * src/code-to-errno.c: Likewise.
779 * tests/t-strerror.c: Include <gpg-error.h> instead of
782 2003-06-01 Marcus Brinkmann <marcus@g10code.de>
784 * src/strerror.c: Include <string.h>.
786 * src/gpg-error.h (gpg_err_code_t): Remove GPG_ERR_FILE_READ,
787 GPG_ERR_FILE_WRITE, GPG_ERR_FILE_OPEN, GPG_ERR_FILE_CREATE,
788 GPG_ERR_FILE_CLOSE, GPG_ERR_FILE_DELETE, GPG_ERR_FILE_EXISTS,
789 GPG_ERR_FILE, GPG_ERR_IO, GPG_ERR_OUT_OF_CORE, GPG_ERR_READ_ERROR,
791 * src/err-codes.h.in: Likewise.
793 * src/Makefile.am (EXTRA_DIST): Add err-sources.h and err-codes.h.
795 * src/mkerrcodes1.awk: New file.
796 * src/mkerrcodes2.awk: New file.
797 * src/mkerrnos.awk: New file.
798 * src/errnos.in: New file.
799 * src/code-from-errno.c: New file.
800 * src/code-to-errno.c: New file.
801 * src/Makefile.am (libgpg_error_la_SOURCES): Remove err-sources.h
802 and err-codes.h. Add code-to-errno.c and code-from-errno.c.
803 (code-to-errno.h): New target.
804 (code-from-errno.h): Likewise.
805 (EXTRA_DIST): Add mkerrnos.awk, errnos.in, and mkerrcodes1.awk.
806 (BUILT_SOURCES): Add code-to-errno.h and code-from-errno.h.
807 (CLEANFILES): Likewise.
808 * src/strerror.c (gpg_strerror): Use strerror for system errors.
809 * src/err-codes.h.in: Add 16382 (Unknown system error).
810 * src/gpg-error.h (gpg_err_code_t): Add system errors.
811 (GPG_ERR_CODE_DIM): Change to 32768.
812 (GPG_ERR_SYSTEM_ERROR): New macro.
813 (gpg_err_code_from_errno): New prototype.
814 (gpg_err_code_to_errno): Likewise.
816 * src/Makefile.am (nobase_include_HEADERS): Rename target to ...
817 (include_HEADERS): ... this. Change file to gpg-error.h
818 (libgpg_error_la_SOURCES): Change gpg/error.h to gpg-error.h.
819 * src/gpg/error.h: Move to ...
820 * src/gpg-error.h: ... here. New file.
821 * src/strerror.c: Include <gpg-error.h>, not <gpg/error.h>.
822 * src/strsource.c: Likewise.
824 * src/gpg/error.h (gpg_error_t): Change type to unsigned int, not
827 2003-05-26 Marcus Brinkmann <marcus@g10code.de>
829 * src/gpg/error.h (gpg_make_error): Only OR in the error source if
830 there is an error, this allows to test for success with "if (!err)"
833 2003-05-15 Marcus Brinkmann <marcus@g10code.de>
835 * src/mkstrtable.awk: Add exception clause to license about the
836 output of the script.
837 * configure.ac: Change license to LGPL 2.1 or later.
838 * Makefile.am: Likewise.
839 * src/Makefile.am: Likewise.
840 * src/err-codes.h.in: Likewise.
841 * src/err-sources.h.in: Likewise.
842 * src/strsource.c: Likewise.
843 * src/strerror.c: Likewise.
844 * src/gpg/error.h: Likewise.
845 * tests/Makefile.am: Likewise.
847 * src/mkstrtable.awk: New variable HEADER. Copy input until first
848 line with an actual code and description occurs.
849 * src/err-codes.h.in: Uncomment license, so it is copied into the
851 * src/err-sources.h.in: Likewise.
853 2003-05-15 Marcus Brinkmann <marcus@g10code.de>
855 * COPYING.LIB: New file.
857 2003-05-15 Marcus Brinkmann <marcus@g10code.de>
861 Copyright 2003, 2004, 2005, 2006, 2007 g10 Code GmbH
863 This file is free software; as a special exception the author gives
864 unlimited permission to copy and/or distribute it, with or without
865 modifications, as long as this notice is preserved.
867 This file is distributed in the hope that it will be useful, but
868 WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
869 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.