Tizen 2.1 base
[external/libgpg-error.git] / ChangeLog
1 2008-11-26  Werner Koch  <wk@g10code.com>
2
3         Release 1.7.
4         
5         * configure.ac: Set LT version to C5/A5/R0.
6         
7 2008-11-12  Werner Koch  <wk@g10code.com>
8
9         * src/err-codes.h.in: Add GPG_ERR_NO_PASSPHRASE and GPG_ERR_NO_PIN.
10
11 2008-11-08  Moritz  <moritz@gnu.org>
12
13         * lang/cl/gpg-error.lisp ("gpg_err_code_from_syserror"): Fix
14         defcfun: removed "(void)".
15
16         * lang/cl/gpg-error.lisp (size-t): Wrong call to defctype:
17         function accepts optional, not keyword argument.
18         (gpg-error-t): Likewise.
19
20 2008-10-29  Marcus Brinkmann  <marcus@g10code.de>
21
22         * src/mkstrtable.awk: Make generated code -W clean to silence gcc
23         warnings.
24
25 2008-08-06  Werner Koch  <wk@g10code.com>
26
27         * src/err-codes.h.in (GPG_ERR_NOT_OPERATIONAL): New.
28
29 2008-04-01  Werner Koch  <wk@g10code.com>
30
31         * configure.ac (AC_INIT): Fix m4 quoting.
32
33 2007-12-11  Werner Koch  <wk@g10code.com>
34
35         * Makefile.am (EXTRA_DIST): Add COPYING.
36
37 2007-10-29  Werner Koch  <wk@g10code.com>
38
39         Released 1.6.
40
41         * configure.ac: Set LT version to C4/A4/R0.
42
43         * config.guess, config.sub: Updated.
44         
45         * src/err-sources.h.in: (GPG_ERR_SOURCE_KLEO): New. 
46
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.
51
52 2007-09-27  Marcus Brinkmann  <marcus@g10code.de>
53
54         * src/Makefile.am (%.o): Replace pattern rule with suffix rule.
55         (SUFFIXES): New variable.
56
57 2007-09-27  Werner Koch  <wk@g10code.com>
58
59         * src/err-sources.h.in (GPG_ERR_SOURCE_GPA): New.
60         * src/err-codes.h.in (GPG_ERR_UNFINISHED): New.
61
62 2007-08-03  Marcus Brinkmann  <marcus@g10code.de>
63
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.
69         
70 2007-05-19  Marcus Brinkmann  <marcus@g10code.de>
71
72         * lang/cl/gpg-error.lisp (gpg-err-source-t): Add
73         :gpg-err-source-any.
74
75 2007-06-18  Werner Koch  <wk@g10code.com>
76
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.
80
81 2007-05-09  Werner Koch  <wk@g10code.com>
82
83         * src/gpg-error.m4: Print found version on success.
84
85 2006-12-09  Marcus Brinkmann  <marcus@g10code.de>
86
87         * src/Makefile.am (EXTRA_DIST): Add README.
88         * src/README: New file.
89
90 2006-12-01  Marcus Brinkmann  <marcus@g10code.de>
91
92         * src/gpg-error.c (get_err_from_number): Fix last change.
93
94         * src/gpg-error.c (get_err_from_number): Support source and code
95         number in split format like "7.17".
96
97 2006-11-30  Werner Koch  <wk@g10code.com>
98
99         Released 1.5.
100         
101         * configure.ac: Set LT version to C3/A3/R1.
102
103         * README: Switch to tar.bz2 and sha1sum.
104
105         * src/gpg-error.c (main): Add option --version.
106
107         * autogen.sh (FORCE): Add option --force.
108
109         * intl/: Removed.
110         * Makefile.am (SUBDIRS): Removed intl.
111         * configure.ac (AM_GNU_GETTEXT): Use external flag
112         * src/Makefile.am: Removed -I../intl.
113
114 2006-11-23  Werner Koch  <wk@g10code.com>
115
116         * configure.ac: Display configuration status after AC_OUTPUT.
117         (AC_INIT): Use SVN revision magic.
118         (AC_GNU_SOURCE): New.
119
120 2006-11-23  gettextize  <bug-gnu-gettext@gnu.org>
121
122         * configure.ac (AM_GNU_GETTEXT_VERSION): Bump to 0.15.
123
124 2006-11-15  Werner Koch  <wk@g10code.com>
125
126         * autogen.sh: Add convenience option --build-amd64.
127
128 2006-10-20  Werner Koch  <wk@g10code.com>
129
130         * Makefile.am (stowinstall): New convenience target.
131
132 2006-09-18  Werner Koch  <wk@g10code.com>
133
134         * src/gpg-error.def: Added gpg_err_code_from_syserror.
135
136 2006-09-14  Werner Koch  <wk@g10code.com>
137
138         Released 1.4.
139
140         * configure.ac: Set LT version to C3/A3/R0.
141         (AB_INIT): New.
142
143         * autogen.sh (--build-w32): Better cross-compiler locating.
144
145         * src/strerror.c (system_strerror_r): Made static.
146
147         * tests/t-syserror.c: New.
148         * tests/Makefile.am (TESTS): Added new test.
149
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 
154
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.
159
160 2006-09-06  Werner Koch  <wk@g10code.com>
161
162         * src/err-codes.h.in: Add GPG_ERR_UNKNOWN_OPTION and
163         GPG_ERR_UNKNOWN_COMMAND.
164
165 2006-09-05  Werner Koch  <wk@g10code.com>
166
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.
170
171         * src/err-codes.h.in: Added GPG_ERR_ASS_* codes, rabnge 257-281.
172         (GPG_ERR_MISSING_ERRNO): New.
173
174 2006-07-04  Marcus Brinkmann  <marcus@g10code.de>
175
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>.
179
180 2006-05-30  Marcus Brinkmann  <marcus@g10code.de>
181
182         * lang/cl/gpg-error.asd.in (gpg-error): Add "depends-on" on cffi.
183
184 2006-05-29  Marcus Brinkmann  <marcus@g10code.de>
185
186         * src/init.c (gpg_err_init) [!ENABLE_NLS]: Do not initialize the
187         locale.
188         * src/gpg-error.c (i18n_init) [!ENABLE_NLS]: Likewise.
189         Patch submitted by Nils Durner <ndurner@web.de>.
190
191 2006-05-25  Marcus Brinkmann  <marcus@g10code.de>
192
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.
196
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.
200         
201         * lang/cl/Makefile.am (clfilesdir): Use datadir, not prefix.
202
203 2006-05-05  Marcus Brinkmann  <marcus@g10code.de>
204
205         * configure.ac (AC_CONFIG_FILES): Add lang/Makefile and
206         lang/cl/Makefile.
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.
214
215 2006-03-14  Marcus Brinkmann  <marcus@g10code.de>
216
217         Released 1.3.
218
219         * configure.ac (LIBGPG_ERROR_LT_REVISION): Bump for release.
220
221         Many files regenerated.
222         * src/Makefile.am (gpg_error_CPPFLAGS, libgpg_error_la_CPPFLAGS):
223         Add -I../intl.
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.
227
228 2006-03-06  Marcus Brinkmann  <marcus@g10code.de>
229
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.
234
235 2006-03-03  Marcus Brinkmann  <marcus@g10code.de>
236
237         * configure.ac (LIBGPG_ERROR_LT_CURRENT, LIBGPG_ERROR_LT_AGE):
238         Bump for release.
239         (LIBGPG_ERROR_LT_REVISION): Reset to 0 for release.
240
241 2005-11-02  Werner Koch  <wk@g10code.com>
242
243         * src/Makefile.am (gpg_error_SOURCES): Include ARCH_SOURCES.
244         * src/gpg-error.c [W32]: Include gettext.h instead of libintl.h.
245
246         * configure.ac (AH_BOTTOM): Define ENABLE_NLS for W32 builds.
247         * src/w32-gettext.h (dgettext): Changed prototype from
248         libintl_dgettext.
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.
253
254 2005-10-26  Werner Koch  <wk@g10code.com>
255
256         * Makefile.am: Used dist-bzip2 option.
257
258 2005-10-25  Marcus Brinkmann  <marcus@g10code.de>
259
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.
264
265         * src/Makefile.am (gpg_error_CPPFLAGS): New variable.
266         * src/gpg-error.c (i18n_init): Don't return anything.
267
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
277         gpg_err_init.
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.
281
282 2005-10-23  Marcus Brinkmann  <marcus@g10code.de>
283
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.
291
292 2005-10-20  Marcus Brinkmann  <marcus@g10code.de>
293
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
297         the rules.
298         
299 2005-10-02  Marcus Brinkmann  <marcus@g10code.de>
300
301         * configure.ac: Escape arguments in AC_INIT invocation.
302         * config.guess, config.sub, ltmain.sh: Update.
303
304 2005-08-19  Werner Koch  <wk@g10code.com>
305
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.
310
311 2005-06-20  Marcus Brinkmann  <marcus@g10code.de>
312
313         Released 1.1.
314         
315         * configure.ac: Bump up LIBGPG_ERROR_LT_REVISION, update version
316         field.
317
318 2005-06-16  Marcus Brinkmann  <marcus@g10code.de>
319
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>.
323
324 2005-01-05  Marcus Brinkmann  <marcus@g10code.de>
325
326         * configure.ac: Check for locale.h.
327
328 2005-04-20  Werner Koch  <wk@g10code.com>
329
330         * src/err-codes.h.in: Add GPG_ERR_LOCKED.
331
332 2005-04-18  Werner Koch  <wk@g10code.com>
333
334         * src/err-codes.h.in: Add GPG_ERR_UNKNOWN_EXTN and
335         GPG_ERR_UNKNOWN_CRIT_EXTN.
336
337 2004-12-18  Werner Koch  <wk@g10code.com>
338
339         * autogen.sh: Add option --build-w32.
340
341 2004-09-14  Marcus Brinkmann  <marcus@g10code.de>
342
343         * src/gpg-error.m4: Add copyright note.
344
345         * configure.ac: Call AC_CANONICAL_HOST.  Suppress warning about
346         lack of strerror_r on all Solaris platforms.
347
348 2004-07-30  Werner Koch  <wk@g10code.de>
349
350         Released 1.0.
351         
352         * configure.ac: Bumbed version to 1.0, LT to C1/A1/R3.
353
354 2004-07-15  Werner Koch  <wk@gnupg.org>
355
356         * src/err-codes.h.in: Renamed description for CARD_RESET.
357
358 2004-06-28  Werner Koch  <wk@gnupg.org>
359
360         * src/err-codes.h.in: Add GPG_ERR_INV_REQUEST.
361
362 2004-06-08  Marcus Brinkmann  <marcus@g10code.de>
363
364         * src/Makefile.am (mkerrcodes): Prefix mkerrcodes.c with $(srcdir)
365         to fix VPATH build.
366
367 2004-05-25  Marcus Brinkmann  <marcus@g10code.de>
368
369         * src/err-codes.h.in: Add GPG_ERR_PROTOCOL_VIOLATION and
370         GPG_ERR_INV_MAC.
371
372 2004-04-23  Marcus Brinkmann  <marcus@g10code.de>
373
374         * src/Makefile.am (mkerrcodes): Do not use $< in non-inference rule.
375         (code-from-errno.h): Likewise.
376
377 2004-04-22  Marcus Brinkmann  <marcus@g10code.de>
378
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.
384
385 2004-04-02  Thomas Schwinge  <schwinge@nic-nac-project.de>
386
387         * autogen.sh: Added ACLOCAL_FLAGS.
388
389 2004-04-19  Marcus Brinkmann  <marcus@g10code.de>
390
391         * src/gpg-error.m4: Quote first argument to AC_DEFUN.
392
393         * src/mkerrcodes.awk: Allow whitespace before expanded
394         preprocessor macro (ie, the error code value).  Needed for Solaris 2.8.
395
396 2004-04-08  Moritz Schulte  <moritz@g10code.de>
397
398         * src/gpg-error.c (main): Return zero on success.
399
400 2004-03-09  Marcus Brinkmann  <marcus@g10code.de>
401
402         * libgpg-error.spec.in (%files): Add gpg-error.  Submitted by
403         Albrecht Dreß <albrecht.dress@arcor.de>.
404         
405         * src/mkerrcodes.c (main): Fix type of argv.  Return something.
406
407 2004-03-09  Werner Koch  <wk@gnupg.org>
408
409         * Makefile.am (dist-hook): Create a VERSION file for use by mkdiff.
410
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.
414
415         * src/err-codes.h.in: Removed trailing spaces from
416         GPG_ERR_NOT_LOCKED.
417
418 2004-03-08  Werner Koch  <wk@gnupg.org>
419
420         * src/err-sources.h.in: Added GPG_ERR_SOURCE_GSTI.
421
422 2004-03-07  Marcus Brinkmann  <marcus@g10code.de>
423
424         Released 0.7.
425
426         * configure.ac: Bumbed up LIBGPG_ERROR_LT_REVISON.
427
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 "".
431
432         * tests/Makefile.am (INCLUDES): Change to -I$(top_srcdir)/src to
433         -I$(top_builddir).
434
435 2004-03-01  Marcus Brinkmann  <marcus@g10code.de>
436
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.
444
445         * src/errnos.in: Remove include statement (which was ignored
446         anyway).
447         * src/mkerrcodes.awk: New file.
448         * src/mkerrcodes.c: New file.
449         
450 2004-02-27  Marcus Brinkmann  <marcus@g10code.de>
451
452         * src/Makefile.am (noinst_PROGRAMS): Rename to ...
453         (bin_PROGRAMS): ... this.
454
455         * src/gpg-error.h.in: Add extern "C" closure for C-- compilers.
456
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
462         errnos-sym.h.
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
466         invocation.
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
471         error code symbol).
472         (FS): Allow more than one tab as field separator.
473         Allow to specify the field to be used as text with the variable
474         textidx.
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
488         code.
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.
494
495 2004-02-18  Werner Koch  <wk@gnupg.org>
496
497         * src/gpg-error-config.in: Ignore setting of --prefix.
498
499 2004-02-11  Werner Koch  <wk@gnupg.org>
500
501         * autogen.sh (check_version): Removed bashism and simplified.
502
503 2004-02-03  Werner Koch  <wk@gnupg.org>
504
505         * src/gpg-error.h: Added GPG_ERR_NOT_LOCKED.
506
507 2003-12-22  Werner Koch  <wk@gnupg.org>
508
509         * src/gpg-error.h: Added GPG_ERR_LOCALE_PROBLEM.
510
511 2003-12-12  Werner Koch  <wk@gnupg.org>
512
513         * src/err-codes.h.in: s/revoced/revoked/.
514
515 2003-12-08  Werner Koch  <wk@gnupg.org>
516
517         * README.CVS: Enhanced.
518
519         * autogen.sh: New.
520         * Makefile.am (EXTRA_DIST): Added autogen.sh.
521
522 2003-11-14  Werner Koch  <wk@gnupg.org>
523
524         * configure.ac: Bumbed version number to 0.7.
525
526         Released 0.6.
527         
528         * configure.ac: Bumbed up LIBGPG_ERROR_LT_REVISON.
529
530 2003-11-13  Werner Koch  <wk@gnupg.org>
531
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,
534         GPG_ERR_LOCK_ERROR.
535
536         * src/gpg-error.h (GPG_ERR_SOURCE_DIRMNGR): Fixed typo.
537
538 2003-11-12  Werner Koch  <wk@gnupg.org>
539
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.
556         
557 2003-11-06  Werner Koch  <wk@gnupg.org>
558
559         * src/gpg-error.h, src/err-sources.h.in: Added error sources for
560         Libksba and Dirmngr. Added GPG_ERR_TRUNCATED.
561
562 2003-11-03  Werner Koch  <wk@gnupg.org>
563
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
566         by Philip Brown.
567
568 2003-10-28  Moritz Schulte  <mo@g10code.com>
569
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.
574         
575 2003-10-25  Werner Koch  <wk@gnupg.org>
576
577         * src/strerror.c: Include stdio.h for snprintf
578         prototype. Suggested by papadopo@shfj.cea.fr, fixes #gnupg/214.
579
580 2003-10-11  Moritz Schulte  <mo@g10code.com>
581
582         * src/gpg-error.m4: Do not ask gpg-error-config to change the
583         prefix, if --with-gpg-error-prefix=... is used.
584
585 2003-10-06  Marcus Brinkmann  <marcus@g10code.de>
586
587         Released 0.5.
588
589         * configure.ac (LIBGPG_ERROR_LT_CURRENT, LIBGPG_ERROR_LT_AGE):
590         Bump up by one.
591
592 2003-09-30  Marcus Brinkmann  <marcus@g10code.de>
593
594         * src/gpg-error.h: Include <stddef.h>.
595         (gpg_strerror_r): Change prototype to match POSIX.  Rewritten for
596         that prototype.
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
600         prototype.
601
602 2003-09-30  Werner Koch  <wk@gnupg.org>
603
604         * src/gpg-error.h: Add PIN_NOT_SYNCED.
605
606 2003-09-13  Marcus Brinkmann  <marcus@g10code.de>
607
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.
612
613 2003-09-04  Marcus Brinkmann  <marcus@g10code.de>
614
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.
618         
619 2003-09-03  Marcus Brinkmann  <marcus@g10code.de>
620
621         * src/gpg-error-config.in: Rewritten.
622
623 2003-09-03  Marcus Brinkmann  <marcus@g10code.de>
624
625         * configure.ac (AC_INIT): Bump up version number.
626
627 2003-09-03  Marcus Brinkmann  <marcus@g10code.de>
628
629         Released 0.4.
630
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.
634
635 2003-09-02  Moritz Schulte  <mo@g10code.com>
636
637         * src/gpg-error.h (gpg_err_code_t): Added: GPG_ERR_NO_PRIME.
638         * src/err-codes.h.in: Likewise.
639
640 2003-08-19  Marcus Brinkmann  <marcus@g10code.de>
641
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.
647
648 2003-08-06  Marcus Brinkmann  <marcus@g10code.de>
649
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.
653
654 2003-07-31  Marcus Brinkmann  <marcus@g10code.de>
655
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.
662
663 2003-07-31  Marcus Brinkmann  <marcus@g10code.de>
664
665         * src/strerror.c (gpg_strerror): Use CODE, not ERR to map error
666         code to errno.
667
668         * configure.ac (AC_INIT): Bump version to 0.3.
669
670         Released 0.3.
671
672 2003-07-30  Marcus Brinkmann  <marcus@g10code.de>
673
674         * configure.ac (AC_INIT): Bump version to 0.2.
675
676         Released 0.2.
677
678 2003-07-17  Werner Koch  <wk@gnupg.org>
679
680         * src/gpg-error.h: Add HARDWARE, PIN_BLOCKED and USE_CONDITIONS.
681
682 2003-07-16  Moritz Schulte  <moritz@g10code.com>
683
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>.
689
690 2003-07-15  Moritz Schulte  <moritz@g10code.com>
691
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.
695
696 2003-07-06  Marcus Brinkmann  <marcus@g10code.de>
697
698         * src/gpg-error.h (GPG_ERR_INLINE): Define macro.  Use it instead
699         of __inline__ in this file.
700
701 2003-06-30  Werner Koch  <wk@gnupg.org>
702
703         * src/gpg-error.h: Add WRONG_CARD.
704
705 2003-06-22  Marcus Brinkmann  <marcus@g10code.de>
706
707         * src/gpg-error.h: Fix value of GPG_ERR_CANCELED.
708
709 2003-06-06  Marcus Brinkmann  <marcus@g10code.de>
710
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
715         gpg-error.m4.
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.
720
721         Released 0.1.
722
723 2003-06-05  Marcus Brinkmann  <marcus@g10code.de>
724
725         * src/gpg-error.h (gpg_err_make_from_errno): Fix implementation.
726
727         * src/gpg-error.h (gpg_err_code_t): Add GPG_ERR_SIG_EXPIRED.
728         (err-codes.h.in): Likewise.
729
730         * src/gpg-error.h (gpg_error_from_errno): Change return type to
731         gpg_error_t.
732
733 2003-06-04  Marcus Brinkmann  <marcus@g10code.de>
734
735         * src/gpg-error.h (gpg_err_code_t): Add GPG_ERR_INV_ENGINE,
736         GPG_ERR_PUBKEY_NOT_TRUSTED, GPG_ERR_DECRYPT_FAILED,
737         GPG_ERR_KEY_EXPIRED.
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.
742
743         * src/gpg-error.h (gpg_make_error_from_errno): New inline function.
744         (gpg_error_from_errno): Likewise.
745
746         * src/code-from-errno.c (gpg_err_code_from_errno): Handle the case
747         of no error at all.
748
749 2003-06-04  Marcus Brinkmann  <marcus@g10code.de>
750
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.
756
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.
765
766 2003-06-03  Werner Koch  <wk@gnupg.org>
767
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.
772
773 2003-06-02  Moritz Schulte  <moritz@g10code.com>
774
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.
778
779         * tests/t-strerror.c: Include <gpg-error.h> instead of
780         <gpg/error.h>.
781
782 2003-06-01  Marcus Brinkmann  <marcus@g10code.de>
783
784         * src/strerror.c: Include <string.h>.
785
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,
790         GPG_ERR_WRITE_ERROR.
791         * src/err-codes.h.in: Likewise.
792
793         * src/Makefile.am (EXTRA_DIST): Add err-sources.h and err-codes.h.
794
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.
815
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.
823         
824         * src/gpg/error.h (gpg_error_t): Change type to unsigned int, not
825         long.
826
827 2003-05-26  Marcus Brinkmann  <marcus@g10code.de>
828
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)"
831         and similar tests.
832
833 2003-05-15  Marcus Brinkmann  <marcus@g10code.de>
834
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.
846
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
850         output.
851         * src/err-sources.h.in: Likewise.
852
853 2003-05-15  Marcus Brinkmann  <marcus@g10code.de>
854
855         * COPYING.LIB: New file.
856
857 2003-05-15  Marcus Brinkmann  <marcus@g10code.de>
858
859         * Initial check-in.
860
861  Copyright 2003, 2004, 2005, 2006, 2007 g10 Code GmbH
862
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.
866
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.