12010-10-26  Werner Koch  <wk@g10code.com>
2
3	Release 1.10.
4
5	* configure.ac: Set LT version to C8/A8/R0.
6	* config.guess: Update to version 2010-09-24.
7	* config.sub: Update to version 2010-09-11.
8
92010-10-20  Werner Koch  <wk@g10code.com>
10
11	* potomo: New.  Copied from GnuPG.
12	* Makefile.am (install-data-hook) [W32]: New.
13
14	* src/init.c (get_locale_dir): Strip the "bin" part.
15	* src/gpg-error.c (get_locale_dir): Ditto.
16
172010-09-30  Werner Koch  <wk@g10code.com>
18
19	* src/err-codes.h.in: Add GPG_ERR_FULLY_CANCELED.
20
212010-09-16  Werner Koch  <wk@g10code.com>
22
23	* src/w32-gettext.c (module_init): Do not set a constructur if not
24	build as DLL.
25	(_gpg_w32__init_gettext_module): New.
26
272010-09-16  gettextize  <bug-gnu-gettext@gnu.org>
28
29	* configure.ac (AM_GNU_GETTEXT_VERSION): Bump to 0.17.
30
312010-09-16  Werner Koch  <wk@g10code.com>
32
33	* src/err-codes.h.in: Add GPG_ERR_MISSING_ISSUER_CERT.
34
35	* src/Makefile.am (err-sources.h, err-codes.h): Built them in the
36	source directory.
37
382010-09-02  Werner Koch  <wk@g10code.com>
39
40	* src/err-codes.h.in: Add GPG_ERR_NOT_INITIALIZED.
41
422010-08-19  Werner Koch  <wk@g10code.com>
43
44	* configure.ac (AH_BOTTOM): Define GPG_ERR_ENABLE_ERRNO_MACROS.
45	* src/w32ce-add.h (strerror) [!GPG_ERR_ENABLE_ERRNO_MACROS]:  Do
46	not define.
47
482010-07-21  Werner Koch  <wk@g10code.com>
49
50	Release 1.9.
51
52	* configure.ac: Set LT version to C7/A7/R0.
53
542010-07-20  Werner Koch  <wk@g10code.com>
55
56	* src/init.c (DllMain) [!DLL_EXPORT]: Do not build.
57	(gpg_err_init) [W32][!DLL_EXPORT]: Init TLS.
58	(gpg_err_deinit): New.
59	* src/gpg-error.def.in: Add gpg_err_deinit.
60	* src/gpg-error.h.in: Add gpg_err_deinit.
61
622010-07-05  Werner Koch  <wk@g10code.com>
63
64	* src/err-codes.h.in (GPG_ERR_TOO_MANY, GPG_ERR_LIMIT_REACHED): New.
65
662010-06-18  Werner Koch  <wk@g10code.com>
67
68	* src/err-codes.h.in (GPG_ERR_MISSING_KEY): New.
69
702010-05-06  Werner Koch  <wk@g10code.com>
71
72	Release 1.8.
73
74	* configure.ac: Set LT version to C6/A6/R0.
75
762010-04-14  Werner Koch  <wk@g10code.com>
77
78	* src/init.c (_gpg_w32ce_get_errno): Add native error mapping.
79	* src/Makefile.am (mkw32errmap.map.c): New.
80	* src/mkw32errmap.c (struct table_s): Add field W32CODE2.
81	(table): Init this field.
82	(main): Add option --map.
83
842010-03-15  Werner Koch  <wk@g10code.com>
85
86	* src/mkheader.awk: Add emacs local-var line.
87
88	* src/w32-add.h (gettext_localename): Fix type in name.
89
902010-03-09  Werner Koch  <wk@g10code.com>
91
92	* src/w32-add.h [!GPG_ERR_ENABLE_GETTEXT_MACROS]: Do not provide
93	gettext macros.
94
952010-03-08  Werner Koch  <wk@g10code.com>
96
97	* src/w32-add.h (_GPG_ERR_ATTR_FORMAT_ARG): New.
98	(_gpg_w32_gettext, _gpg_w32_dgettext, _gpg_w32_dngettext): Use it.
99
1002010-03-01  Werner Koch  <wk@g10code.com>
101
102	* src/mkw32errmap.c: Map ESPIPE.
103
1042010-02-17  Werner Koch  <wk@g10code.com>
105
106	* src/Makefile.am: Revert last change.
107	(gpg_extra_headers): New.
108	(nobase_include_HEADERS): Rename to include_HEADERS and remove
109	extra_headers.
110	(mkerrcodes.h): Depend on gpg_extra_headers.
111	(install-data-local): New.
112	(gpg-extra/errno.h): Create gpg-extra dir if needed.
113
1142010-02-17  Werner Koch  <wk@g10code.com>
115
116	* src/Makefile.am (extra_headers): Remove.
117
1182010-01-21  Werner Koch  <wk@g10code.com>
119
120	* configure.ac (have_w32ce_system): Initialize to no.
121
122	* src/mkstrtable.awk (END): Do not print PREFIX before
123	LAST_MSGSTR.
124
125	* src/init.c (get_locale_dir): Rework to match what gnupg is doing.
126	(get_root_key, read_w32_registry_string): Remove.
127	* src/gpg-error.c (get_locale_dir): Replace by code from init.c
128	(get_root_key, read_w32_registry_string): Remove.
129
1302010-01-20  Werner Koch  <wk@g10code.com>
131
132	* src/init.c (gpg_err_init): Factor code out to ..
133	(real_init): .. new.
134
135	* src/Makefile.am (gpg_error_SOURCES): Remove arch_sources.
136	(export_symbols): Do not prefix gpg-error-def with srcdir.
137
1382010-01-19  Werner Koch  <wk@g10code.com>
139
140	* src/init.c (DllMain): Call _w32_gettext_init.
141	(get_tls): Use it also for standard Windows.
142	(DllMain): Ditto.
143	(struct tls_space_s): Move to ..
144	(get_tls): Make global.
145	* src/init.h: .. New.
146	* src/gettext.h: Do not include w32-gettext.h.
147	* src/w32-gettext.c: Replace by version from GnuPG.
148	(my_nl_locale_name) [W32CE]: Do not use getenv.  Use
149	GetSystemDefaultLCID.
150	(struct loaded_domain): Use uint16_t for NSTRINGS and MAPPED to
151	save space.
152	(load_domain): Check for too large MO files.
153	(utf8_to_wchar): Use gpg_err_set_errno.
154	(bindtextdomain): Rename to _gpg_w32_bindtextdomain.
155	(textdomain): Rename to _gpg_w32_textdomain.
156	(gettext): Rename to _gpg_w32_gettext.
157	(dgettext): Rename to _gpg_w32_dgettext.
158	(ngettext): Remove.
159	(gettext_localename): Rename to _gpg_w32_gettext_localename.
160	(gettext_select_utf8): Rename to _gpg_w32_gettext_use_utf8.
161	(_gpg_w32_bindtextdomain): Change to only register the directory.
162	Return the current directory if asked to.
163	(do_gettext): Add DOMAINNAME arg and take care of it.
164	* src/w32-add.h: New.
165	* src/w32-gettext.h: Remove.
166	* src/Makefile.am (extra-h.in): Process w32-add.h.
167	(arch_sources): Remove w32-gettext.h.
168
1692010-01-18  Werner Koch  <wk@g10code.com>
170
171	* src/init.c (wchar_to_utf8, utf8_to_wchar): New.
172
173	* src/gpg-error.c (main): Add option --list.
174
1752010-01-18  Werner Koch  <wk@g10code.com>
176
177	* ltmain.sh (wrappers_required): Don't set for mingw32ce.
178
179	* tests/Makefile.am (extra_includes): New.
180	* tests/t-syserror.c (main): Use gpg_err_set_errno.
181
182	* src/w32ce-add.h: New.
183	* src/Makefile.am (EXTRA_DIST): Add it
184	(extra-h.in): New rule
185	(gpg-error.h): Pass extra-h.in to mkheader.
186	* src/mkheader.awk (extra_body): New.
187
188	* src/gpg-error.c (get_err_from_number): Use gpg_err_set_errno.
189
190	* src/mkw32errmap.c: New
191	* src/gpg-error.def: Rename to  ..
192	* src/gpg-error.def.in: .. this.
193	(_gpg_errno_location): New.
194	* src/init.c (struct tls_space_s, tls_index): New.
195	(get_tls, _gpg_errno_location, DllMain): New.
196	(read_w32_registry_string) [W32CE]: Don't expand envvars.
197	(_gpg_w32ce_strerror): New.
198	* src/Makefile.am (extra_headers, extra_cppflags): New.
199	(include_HEADERS): Add extra_headers.  Prefix with nobase_.
200	(libgpg_error_la_CPPFLAGS, gpg_error_CPPFLAGS)
201	(mkerrcodes.h): Add extra_cppflags.
202	(RCCOMPILE): Replace libgpg_error_la_CPPFLAGS by direct inclusion
203	of -DLOCALEDIR.
204	* configure.ac (HAVE_W32CE_SYSTEM): New AM_CONDITIONAL and
205	AC_DEFINE.
206	(GPG_ERROR_CONFIG_ISUBDIRAFTER): New.
207	* src/gpg-error-config.in <--libs>: Replace fixed -lgpg-error
208	by subst variable.
209	(isubdirafter): New.
210	<--cflags>: Take subst variable in account.  Add idirafter stuff.
211
2122009-10-26  Marcus Brinkmann  <marcus@g10code.de>
213
214	* src/gpg-error.h.in (GPG_ERR_SOURCE_DIM): Reduce to 128.
215
2162009-09-29  Werner Koch  <wk@g10code.com>
217
218	* src/err-codes.h.in (GPG_ERR_NO_ENGINE): New.
219
2202009-09-21  Werner Koch  <wk@g10code.com>
221
222	* src/err-sources.h.in (GPG_ERR_SOURCE_G13): New.
223
2242009-08-20  Werner Koch  <wk@g10code.com>
225
226	* src/err-codes.h.in: s/octadecimal/octal/.  Reported by Petr Pisar.
227
2282009-07-23  Werner Koch  <wk@g10code.com>
229
230	* src/err-codes.h.in: Add GPG_ERR_NOT_ENABLED.
231
2322009-07-17  Marcus Brinkmann  <marcus@g10code.de>
233
234	* src/mkerrnos.awk: Output code to cause WSA Errors to be found
235	from gpg error codes.
236	* README: Add problem of translating error codes back and forth.
237
238	* src/mkerrcodes1.awk: Output code to cause WSA Errors to be
239	transparently translated.
240	* src/code-from-errno.c [HAVE_W32_SYSTEM]: Don't include winsock2.h.
241	(w32_special_errnos) [HAVE_W32_SYSTEM]: Removed.
242	(gpg_err_code_from_errno) [HAVE_W32_SYSTEM]: Remove special case.
243	* README: Document problem with printing some WSA Errors.
244
2452009-06-23  Marcus Brinkmann  <marcus@g10code.de>
246
247	Update to libtool 2.2.6a.
248	* configure.ac: Invoke AC_CONFIG_MACRO_DIR.
249	(AC_LIBTOOL_WIN32_DLL, AC_LIBTOOL_RC): Replace by ...
250	(LT_PREREQ, LT_INIT, LT_LANG): ... these.
251	* config.guess, config.sub, install-sh, ltmain.sh, m4/libtool.m4:
252	Updated to libtool 2.2.6a.
253	* m4/ltoptions.m4, m4/ltsugar.m4, m4/ltversion.m4,
254	m4/lt~obsolete.m4: New files from libtool 2.2.6a.
255	* src/Makefile.am (LTRCCOMPILE): Refactor with ...
256	(RCCOMPILE): ... this new macro.  Add $(libgpg_error_la_CPPFLAGS).
257	(SUFFIXES): Add .lo.
258	(.rc.o): Change to ...
259	(.rc.lo): ... this implicit rule.
260	(gpg_error_res_ldflag): Removed.
261	(gpg_error_res): Use libtool object file name here.
262	(install-def-file): Fix typo.
263	(libgpg_error_la_LDFLAGS): Remove gpg_error_res_ldflag usage.
264	(libgpg_error_la_LIBADD): Add gpg_error_res.
265
2662008-11-26  Werner Koch  <wk@g10code.com>
267
268	Release 1.7.
269
270	* configure.ac: Set LT version to C5/A5/R0.
271
2722008-11-12  Werner Koch  <wk@g10code.com>
273
274	* src/err-codes.h.in: Add GPG_ERR_NO_PASSPHRASE and GPG_ERR_NO_PIN.
275
2762008-11-08  Moritz  <moritz@gnu.org>
277
278	* lang/cl/gpg-error.lisp ("gpg_err_code_from_syserror"): Fix
279	defcfun: removed "(void)".
280
281	* lang/cl/gpg-error.lisp (size-t): Wrong call to defctype:
282	function accepts optional, not keyword argument.
283	(gpg-error-t): Likewise.
284
2852008-10-29  Marcus Brinkmann  <marcus@g10code.de>
286
287	* src/mkstrtable.awk: Make generated code -W clean to silence gcc
288	warnings.
289
2902008-08-06  Werner Koch  <wk@g10code.com>
291
292	* src/err-codes.h.in (GPG_ERR_NOT_OPERATIONAL): New.
293
2942008-04-01  Werner Koch  <wk@g10code.com>
295
296	* configure.ac (AC_INIT): Fix m4 quoting.
297
2982007-12-11  Werner Koch  <wk@g10code.com>
299
300	* Makefile.am (EXTRA_DIST): Add COPYING.
301
3022007-10-29  Werner Koch  <wk@g10code.com>
303
304	Released 1.6.
305
306	* configure.ac: Set LT version to C4/A4/R0.
307
308	* config.guess, config.sub: Updated.
309
310	* src/err-sources.h.in: (GPG_ERR_SOURCE_KLEO): New.
311
312	* w32-gettext.c (SUBLANG_BENGALI_BANGLADESH): Fix to 2 as per MSDN.
313	(SUBLANG_PUNJABI_PAKISTAN): Remove as it is not in MSDN.
314	(SUBLANG_ROMANIAN_MOLDOVA): Remove as it is not in MSDN.
315	(SUBLANG_ROMANIAN_ROMANIA): Change to value 1 as per MSDN.
316
3172007-09-27  Marcus Brinkmann  <marcus@g10code.de>
318
319	* src/Makefile.am (%.o): Replace pattern rule with suffix rule.
320	(SUFFIXES): New variable.
321
3222007-09-27  Werner Koch  <wk@g10code.com>
323
324	* src/err-sources.h.in (GPG_ERR_SOURCE_GPA): New.
325	* src/err-codes.h.in (GPG_ERR_UNFINISHED): New.
326
3272007-08-03  Marcus Brinkmann  <marcus@g10code.de>
328
329	* configure.ac: Call AM_PROG_CC_C_O.  Allow --disable-languages.
330	* autogen.sh: Use = not == in test.
331	* lang/cl/Makefile.am: Do not use :=, but =.
332	* Makefile.am [!LANGUAGES_SOME]: Don't add lang to subdirs.
333	* m4/inttypes-h.m4, m4/lock.m4, m4/visibility.m4: New files.
334
3352007-05-19  Marcus Brinkmann  <marcus@g10code.de>
336
337	* lang/cl/gpg-error.lisp (gpg-err-source-t): Add
338	:gpg-err-source-any.
339
3402007-06-18  Werner Koch  <wk@g10code.com>
341
342	* src/code-from-errno.c (w32_special_errnos) [W32]: New.  This is
343	to provide some common mappings for winsocket error codes.
344	(gpg_err_code_from_errno, gpg_err_code_from_syserror): Use it.
345
3462007-05-09  Werner Koch  <wk@g10code.com>
347
348	* src/gpg-error.m4: Print found version on success.
349
3502006-12-09  Marcus Brinkmann  <marcus@g10code.de>
351
352	* src/Makefile.am (EXTRA_DIST): Add README.
353	* src/README: New file.
354
3552006-12-01  Marcus Brinkmann  <marcus@g10code.de>
356
357	* src/gpg-error.c (get_err_from_number): Fix last change.
358
359	* src/gpg-error.c (get_err_from_number): Support source and code
360	number in split format like "7.17".
361
3622006-11-30  Werner Koch  <wk@g10code.com>
363
364	Released 1.5.
365
366	* configure.ac: Set LT version to C3/A3/R1.
367
368	* README: Switch to tar.bz2 and sha1sum.
369
370	* src/gpg-error.c (main): Add option --version.
371
372	* autogen.sh (FORCE): Add option --force.
373
374	* intl/: Removed.
375	* Makefile.am (SUBDIRS): Removed intl.
376	* configure.ac (AM_GNU_GETTEXT): Use external flag
377	* src/Makefile.am: Removed -I../intl.
378
3792006-11-23  Werner Koch  <wk@g10code.com>
380
381	* configure.ac: Display configuration status after AC_OUTPUT.
382	(AC_INIT): Use SVN revision magic.
383	(AC_GNU_SOURCE): New.
384
3852006-11-23  gettextize  <bug-gnu-gettext@gnu.org>
386
387	* configure.ac (AM_GNU_GETTEXT_VERSION): Bump to 0.15.
388
3892006-11-15  Werner Koch  <wk@g10code.com>
390
391	* autogen.sh: Add convenience option --build-amd64.
392
3932006-10-20  Werner Koch  <wk@g10code.com>
394
395	* Makefile.am (stowinstall): New convenience target.
396
3972006-09-18  Werner Koch  <wk@g10code.com>
398
399	* src/gpg-error.def: Added gpg_err_code_from_syserror.
400
4012006-09-14  Werner Koch  <wk@g10code.com>
402
403	Released 1.4.
404
405	* configure.ac: Set LT version to C3/A3/R0.
406	(AB_INIT): New.
407
408	* autogen.sh (--build-w32): Better cross-compiler locating.
409
410	* src/strerror.c (system_strerror_r): Made static.
411
412	* tests/t-syserror.c: New.
413	* tests/Makefile.am (TESTS): Added new test.
414
415	* lang/cl/gpg-error.lisp ("gpg_err_code_from_syserror"): New.
416	(gpg-err-code-from-syserror): New.
417	(gpg-error-from-syserror): New.
418	* lang/cl/gpg-error-package.lisp: Export new functions
419
420	* src/gpg-error.h.in (gpg_error_from_syserror): New.
421	* src/code-from-errno.c (gpg_err_code_from_errno): Cosmetic change
422	to first check whether ERR is zero.
423	(gpg_err_code_from_syserror): New.
424
4252006-09-06  Werner Koch  <wk@g10code.com>
426
427	* src/err-codes.h.in: Add GPG_ERR_UNKNOWN_OPTION and
428	GPG_ERR_UNKNOWN_COMMAND.
429
4302006-09-05  Werner Koch  <wk@g10code.com>
431
432	* src/err-sources.h.in (GPG_ERR_SOURCE_ANY): New. This is so that
433	we have source distinguished from the Unknown one but declaring
434	that it is an gpg-error style error code.
435
436	* src/err-codes.h.in: Added GPG_ERR_ASS_* codes, rabnge 257-281.
437	(GPG_ERR_MISSING_ERRNO): New.
438
4392006-07-04  Marcus Brinkmann  <marcus@g10code.de>
440
441	* src/init.c (get_locale_dir): Return NULL instead of garbage.
442	* src/gpg-error.c (get_locale_dir): Likewise.
443	Reported by Simon Josefsson <jas@extundo.com>.
444
4452006-05-30  Marcus Brinkmann  <marcus@g10code.de>
446
447	* lang/cl/gpg-error.asd.in (gpg-error): Add "depends-on" on cffi.
448
4492006-05-29  Marcus Brinkmann  <marcus@g10code.de>
450
451	* src/init.c (gpg_err_init) [!ENABLE_NLS]: Do not initialize the
452	locale.
453	* src/gpg-error.c (i18n_init) [!ENABLE_NLS]: Likewise.
454	Patch submitted by Nils Durner <ndurner@web.de>.
455
4562006-05-25  Marcus Brinkmann  <marcus@g10code.de>
457
458	* lang/cl/gpg-error.asd: Renamed to ...
459	* lang/cl/gpg-error.asd.in: ... this.
460	* configure.ac (AC_CONFIG_FILES): Add lang/cl/gpg-error.asd.in.
461
462	* lang/cl/mkerrcodes.awk, lang/cl/gpg-error-package.lisp,
463	lang/cl/gpg-error.lisp, lang/cl/gpg-error.asd, lang/cl/Makefile.am
464	(clfilesdir): Fix package and file names.
465
466	* lang/cl/Makefile.am (clfilesdir): Use datadir, not prefix.
467
4682006-05-05  Marcus Brinkmann  <marcus@g10code.de>
469
470	* configure.ac (AC_CONFIG_FILES): Add lang/Makefile and
471	lang/cl/Makefile.
472	* Makefile.am (SUBDIRS): Add lang.
473	* lang: New directory.
474	* lang/README, lang/Makefile.am: New files.
475	* lang/cl: New directory.
476	* lang/cl/Makefile.am, lang/cl/README, lang/cl/gpg-error.asd,
477	lang/cl/gpg-error-package.lisp, lang/cl/gpg-error.lisp,
478	lang/cl/mkerrcodes.awk: New files.
479
4802006-03-14  Marcus Brinkmann  <marcus@g10code.de>
481
482	Released 1.3.
483
484	* configure.ac (LIBGPG_ERROR_LT_REVISION): Bump for release.
485
486	Many files regenerated.
487	* src/Makefile.am (gpg_error_CPPFLAGS, libgpg_error_la_CPPFLAGS):
488	Add -I../intl.
489	* Makefile.am (SUBDIRS): Add intl.
490	* configure.ac (AC_CONFIG_FILES): Add intl/Makefile.
491	(AM_GNU_GETTEXT_VERSION): Bump to 0.14.5.
492
4932006-03-06  Marcus Brinkmann  <marcus@g10code.de>
494
495	* configure.ac (min_automake_version): Bump to 1.9.6.
496	* mkinstalldirs, depcomp, compile, INSTALL, COPYING, missing,
497	install-sh: Update from automake 1.9.6.
498	ltmain.sh: Update from libtool 1.5.22.
499
5002006-03-03  Marcus Brinkmann  <marcus@g10code.de>
501
502	* configure.ac (LIBGPG_ERROR_LT_CURRENT, LIBGPG_ERROR_LT_AGE):
503	Bump for release.
504	(LIBGPG_ERROR_LT_REVISION): Reset to 0 for release.
505
5062005-11-02  Werner Koch  <wk@g10code.com>
507
508	* src/Makefile.am (gpg_error_SOURCES): Include ARCH_SOURCES.
509	* src/gpg-error.c [W32]: Include gettext.h instead of libintl.h.
510
511	* configure.ac (AH_BOTTOM): Define ENABLE_NLS for W32 builds.
512	* src/w32-gettext.h (dgettext): Changed prototype from
513	libintl_dgettext.
514	* src/w32-gettext.c: Replaced use of WIN32 by HAVE_W32_SYSTEM on
515	demand of the holy GNUquisition.
516	(bindtextdomain, textdomain, dgettext): Need to cast the const way
517	from the return value.
518
5192005-10-26  Werner Koch  <wk@g10code.com>
520
521	* Makefile.am: Used dist-bzip2 option.
522
5232005-10-25  Marcus Brinkmann  <marcus@g10code.de>
524
525	* src/w32-gettext.c (get_string): Remove extra arguments to
526	utf8_to_native_invocation.
527	(utf8_to_wchar, wchar_to_native): New function.
528	(utf8_to_native): Rewritten.
529
530	* src/Makefile.am (gpg_error_CPPFLAGS): New variable.
531	* src/gpg-error.c (i18n_init): Don't return anything.
532
533	* src/Makefile.am (arch_sources): New variable.
534	(libgpg_error_la_SOURCES): Add $(arch_sources).
535	* src/gettext.h [HAVE_W32_SYSTEM]: Include w32-gettext.h.
536	* src/w32-gettext.h: New file.
537	* src/w32-gettext.c: New file.
538	* src/gpg-error.h.in: Check for gcc's constructor attribute.
539	Use it for gpg_err_init.
540	(GPG_ERR_INITIALIZED): Define if constructor is available.
541	* src/gpg-error.c (main) [GPG_ERR_INITIALIZED]: Don't invoke
542	gpg_err_init.
543	(i18n_init): Call bindtextdomain as well.  Now that gpg-error has
544	its own gettext implementation, we can't rely on it anymore.
545	Also, repeat all the w32 stuff for fetching the registry.
546
5472005-10-23  Marcus Brinkmann  <marcus@g10code.de>
548
549	* src/Makefile.am (libgpg_error_la_SOURCES): Add init.c.
550	* src/init.c: New file.
551	* src/gpg-error.h.in (gpg_error_init): New function.
552	* src/gpg-error.def: Add gpg_err_init.
553	* src/gpg-error.c: Remove SIMPLE_GETTEXT stuff.
554	(i18n_init): Don't bind text domain.
555	(main): Call gpg_err_init.
556
5572005-10-20  Marcus Brinkmann  <marcus@g10code.de>
558
559	* configure.ac: Instead checking for windres and dlltool, invoke
560	AC_LIBTOOL_WIN32_DLL and AC_LIBTOOL_RC.
561	* src/Makefile.am [HAVE_W32_SYSTEM]: Use libtool, which simplifies
562	the rules.
563
5642005-10-02  Marcus Brinkmann  <marcus@g10code.de>
565
566	* configure.ac: Escape arguments in AC_INIT invocation.
567	* config.guess, config.sub, ltmain.sh: Update.
568
5692005-08-19  Werner Koch  <wk@g10code.com>
570
571	* configure.ac: Add code to allow building a W32 DLL.
572	* src/Makefile.am: Changed to allow building for W32.
573	* src/versioninfo.rc.in: New.
574	* src/gpg-error.def: New.
575
5762005-06-20  Marcus Brinkmann  <marcus@g10code.de>
577
578	Released 1.1.
579
580	* configure.ac: Bump up LIBGPG_ERROR_LT_REVISION, update version
581	field.
582
5832005-06-16  Marcus Brinkmann  <marcus@g10code.de>
584
585	* src/mkerrcodes.awk: Fix comment.  Allow any non-empty line to
586	start the processing, not only lines starting with numbers.
587	Reported by Guillaume Libersat <glibersat@hurdfr.org>.
588
5892005-01-05  Marcus Brinkmann  <marcus@g10code.de>
590
591	* configure.ac: Check for locale.h.
592
5932005-04-20  Werner Koch  <wk@g10code.com>
594
595	* src/err-codes.h.in: Add GPG_ERR_LOCKED.
596
5972005-04-18  Werner Koch  <wk@g10code.com>
598
599	* src/err-codes.h.in: Add GPG_ERR_UNKNOWN_EXTN and
600	GPG_ERR_UNKNOWN_CRIT_EXTN.
601
6022004-12-18  Werner Koch  <wk@g10code.com>
603
604	* autogen.sh: Add option --build-w32.
605
6062004-09-14  Marcus Brinkmann  <marcus@g10code.de>
607
608	* src/gpg-error.m4: Add copyright note.
609
610	* configure.ac: Call AC_CANONICAL_HOST.  Suppress warning about
611	lack of strerror_r on all Solaris platforms.
612
6132004-07-30  Werner Koch  <wk@g10code.de>
614
615	Released 1.0.
616
617	* configure.ac: Bumbed version to 1.0, LT to C1/A1/R3.
618
6192004-07-15  Werner Koch  <wk@gnupg.org>
620
621	* src/err-codes.h.in: Renamed description for CARD_RESET.
622
6232004-06-28  Werner Koch  <wk@gnupg.org>
624
625	* src/err-codes.h.in: Add GPG_ERR_INV_REQUEST.
626
6272004-06-08  Marcus Brinkmann  <marcus@g10code.de>
628
629	* src/Makefile.am (mkerrcodes): Prefix mkerrcodes.c with $(srcdir)
630	to fix VPATH build.
631
6322004-05-25  Marcus Brinkmann  <marcus@g10code.de>
633
634	* src/err-codes.h.in: Add GPG_ERR_PROTOCOL_VIOLATION and
635	GPG_ERR_INV_MAC.
636
6372004-04-23  Marcus Brinkmann  <marcus@g10code.de>
638
639	* src/Makefile.am (mkerrcodes): Do not use $< in non-inference rule.
640	(code-from-errno.h): Likewise.
641
6422004-04-22  Marcus Brinkmann  <marcus@g10code.de>
643
644	* src/Makefile.am (gpg_error_CPPFLAGS): New variable.
645	(localedir): Likewise.
646	* gpg-error.c: Include the gettext headers.
647	(init_i18n): New function.
648	(main): Call init_i18n, gettextize messages.
649
6502004-04-02  Thomas Schwinge  <schwinge@nic-nac-project.de>
651
652	* autogen.sh: Added ACLOCAL_FLAGS.
653
6542004-04-19  Marcus Brinkmann  <marcus@g10code.de>
655
656	* src/gpg-error.m4: Quote first argument to AC_DEFUN.
657
658	* src/mkerrcodes.awk: Allow whitespace before expanded
659	preprocessor macro (ie, the error code value).  Needed for Solaris 2.8.
660
6612004-04-08  Moritz Schulte  <moritz@g10code.de>
662
663	* src/gpg-error.c (main): Return zero on success.
664
6652004-03-09  Marcus Brinkmann  <marcus@g10code.de>
666
667	* libgpg-error.spec.in (%files): Add gpg-error.  Submitted by
668	Albrecht Dreß <albrecht.dress@arcor.de>.
669
670	* src/mkerrcodes.c (main): Fix type of argv.  Return something.
671
6722004-03-09  Werner Koch  <wk@gnupg.org>
673
674	* Makefile.am (dist-hook): Create a VERSION file for use by mkdiff.
675
676	* src/Makefile.am (mkerrcodes.h): Let CPP work on a temporary file.
677	(CLEANFILES): Add that temporary file.
678	* configure.ac (AC_PROG_CPP): Added.
679
680	* src/err-codes.h.in: Removed trailing spaces from
681	GPG_ERR_NOT_LOCKED.
682
6832004-03-08  Werner Koch  <wk@gnupg.org>
684
685	* src/err-sources.h.in: Added GPG_ERR_SOURCE_GSTI.
686
6872004-03-07  Marcus Brinkmann  <marcus@g10code.de>
688
689	Released 0.7.
690
691	* configure.ac: Bumbed up LIBGPG_ERROR_LT_REVISON.
692
693	* src/gpg-error-config.in: Fix last change.
694	* src/gpg-error-config.in (Options): Do not emit include and lib
695	directory for prefix "/usr" or "".
696
697	* tests/Makefile.am (INCLUDES): Change to -I$(top_srcdir)/src to
698	-I$(top_builddir).
699
7002004-03-01  Marcus Brinkmann  <marcus@g10code.de>
701
702	* configure.ac: Define CC_FOR_BUILD.
703	* src/Makefile.am (BUILT_SOURCES): Add gpg-error.h.
704	(EXTRA_DIST): Add mkerrcodes.awk and mkerrcodes.c.
705	(CLEANFILES): Add mkerrcodes.h and mkerrcodes.
706	(mkerrcodes.h): New target.
707	(mkerrcodes): New target.
708	(code-from-errno.h): Rewritten.
709
710	* src/errnos.in: Remove include statement (which was ignored
711	anyway).
712	* src/mkerrcodes.awk: New file.
713	* src/mkerrcodes.c: New file.
714
7152004-02-27  Marcus Brinkmann  <marcus@g10code.de>
716
717	* src/Makefile.am (noinst_PROGRAMS): Rename to ...
718	(bin_PROGRAMS): ... this.
719
720	* src/gpg-error.h.in: Add extern "C" closure for C-- compilers.
721
722	* src/Makefile.am (noinst_PROGRAMS): New variable.
723	(gpg_error_LDADD): New variable.
724	(gpg_error_SOURCES): New variable.
725	(EXTRA_DIST): Add mkheader.awk and gpg-error.h.in.
726	(BUILT_SOURCES): Add err-sources-sym.h, err-codes-sym.h and
727	errnos-sym.h.
728	(CLEANFILES): Add err-sources-sym.h, err-codes-sym.h,
729	errnos-sym.h and gpg-error.h.
730	(err-codes.h, err-sources.h): Add -v textidx=3 to mkstrtable.awk
731	invocation.
732	(err-codes-sym.h): New target.
733	(err-sources-sym.h): New target.
734	(gpg-error.h): New rule.
735	* src/mkstrtable.awk: Skip the second field (which contains the
736	error code symbol).
737	(FS): Allow more than one tab as field separator.
738	Allow to specify the field to be used as text with the variable
739	textidx.
740	Allow to suppress gettext markers in the output.
741	Allow to specify a prefix to the messages.
742	Allow to specify a namespace for the variable and macro names.
743	* src/mkerrnos.awk (FS): Initialize.  Understand variable
744	errnoidx, which defaults to 2, to cope with the error names being
745	in a different column than the first.
746	* src/mkerrcodes1.awk: Likewise.  Use \t as separator.
747	* src/mkheader.awk: New file.
748	* src/errnos.in: Add error code numbers (relativ to
749	GPG_ERR_SYSTEM_ERROR).
750	* src/strerror-sym.c: New file.
751	* src/strsources-sym.c: New file.
752	* src/err-codes.h.in: Add the error code symbol for every error
753	code.
754	(GPG_ERR_BUFFER_TOO_SHORT): Fix error code (it is 200, not 199).
755	* src/err-sources.h.in: Likewise.
756	* src/gpg-error.h.in: New file.
757	* src/gpg-error.h: File removed.
758	* src/gpg-error.c: New file.
759
7602004-02-18  Werner Koch  <wk@gnupg.org>
761
762	* src/gpg-error-config.in: Ignore setting of --prefix.
763
7642004-02-11  Werner Koch  <wk@gnupg.org>
765
766	* autogen.sh (check_version): Removed bashism and simplified.
767
7682004-02-03  Werner Koch  <wk@gnupg.org>
769
770	* src/gpg-error.h: Added GPG_ERR_NOT_LOCKED.
771
7722003-12-22  Werner Koch  <wk@gnupg.org>
773
774	* src/gpg-error.h: Added GPG_ERR_LOCALE_PROBLEM.
775
7762003-12-12  Werner Koch  <wk@gnupg.org>
777
778	* src/err-codes.h.in: s/revoced/revoked/.
779
7802003-12-08  Werner Koch  <wk@gnupg.org>
781
782	* README.CVS: Enhanced.
783
784	* autogen.sh: New.
785	* Makefile.am (EXTRA_DIST): Added autogen.sh.
786
7872003-11-14  Werner Koch  <wk@gnupg.org>
788
789	* configure.ac: Bumbed version number to 0.7.
790
791	Released 0.6.
792
793	* configure.ac: Bumbed up LIBGPG_ERROR_LT_REVISON.
794
7952003-11-13  Werner Koch  <wk@gnupg.org>
796
797	* src/gpg-error.h, src/err-codes.h.in: Removed: GPG_ERR_IO_ERROR,
798	GPG_ERR_FILE_ERROR, GPG_ERR_READ_ERROR, GPG_ERR_WRITE_ERROR,
799	GPG_ERR_LOCK_ERROR.
800
801	* src/gpg-error.h (GPG_ERR_SOURCE_DIRMNGR): Fixed typo.
802
8032003-11-12  Werner Koch  <wk@gnupg.org>
804
805	* src/gpg-error.h, src/err-codes.h.in: Added these codes:
806	GPG_ERR_INV_ATTR, GPG_ERR_NO_VALUE, GPG_ERR_NOT_FOUND,
807	GPG_ERR_VALUE_NOT_FOUND, GPG_ERR_SYNTAX, GPG_ERR_INV_CRL,
808	GPG_ERR_BAD_BER, GPG_ERR_INV_BER, GPG_ERR_ELEMENT_NOT_FOUND,
809	GPG_ERR_IDENTIFIER_NOT_FOUND, GPG_ERR_INV_TAG, GPG_ERR_INV_LENGTH,
810	GPG_ERR_INV_KEYINFO, GPG_ERR_UNEXPECTED_TAG, GPG_ERR_NOT_DER_ENCODED,
811	GPG_ERR_NO_CMS_OBJ, GPG_ERR_INV_CMS_OBJ, GPG_ERR_UNKNOWN_CMS_OBJ,
812	GPG_ERR_UNSUPPORTED_CMS_OBJ, GPG_ERR_UNSUPPORTED_ENCODING,
813	GPG_ERR_UNSUPPORTED_CMS_VERSION, GPG_ERR_UNKNOWN_ALGORITHM,
814	GPG_ERR_ENCODING_PROBLEM, GPG_ERR_INV_STATE, GPG_ERR_DUP_VALUE,
815	GPG_ERR_MISSING_ACTION, GPG_ERR_MODULE_NOT_FOUND,
816	GPG_ERR_INV_OID_STRING, GPG_ERR_INV_TIME, GPG_ERR_INV_CRL_OBJ,
817	GPG_ERR_UNSUPPORTED_CRL_VERSION, GPG_ERR_INV_CERT_OBJ,
818	GPG_ERR_UNKNOWN_NAME, GPG_ERR_IO_ERROR, GPG_ERR_FILE_ERROR,
819	GPG_ERR_READ_ERROR, GPG_ERR_WRITE_ERROR, GPG_ERR_LOCK_ERROR,
820	GPG_ERR_BUFFER_TOO_SHORT.
821
8222003-11-06  Werner Koch  <wk@gnupg.org>
823
824	* src/gpg-error.h, src/err-sources.h.in: Added error sources for
825	Libksba and Dirmngr. Added GPG_ERR_TRUNCATED.
826
8272003-11-03  Werner Koch  <wk@gnupg.org>
828
829	* src/gpg-error.h: Allow GPG_ERR_INLINE to get overriden, so that
830	one can use the -D flag to specify the inline keyword.  Suggested
831	by Philip Brown.
832
8332003-10-28  Moritz Schulte  <mo@g10code.com>
834
835	* src/gpg-error.h (gpg_err_code_t): Added:
836	GPG_ERR_NO_ENCODING_METHOD, GPG_ERR_NO_ENCRYPTION_SCHEME,
837	GPG_ERR_NO_SIGNATURE_SCHEME.
838	* src/err-codes.h.in: Likewise.
839
8402003-10-25  Werner Koch  <wk@gnupg.org>
841
842	* src/strerror.c: Include stdio.h for snprintf
843	prototype. Suggested by papadopo@shfj.cea.fr, fixes #gnupg/214.
844
8452003-10-11  Moritz Schulte  <mo@g10code.com>
846
847	* src/gpg-error.m4: Do not ask gpg-error-config to change the
848	prefix, if --with-gpg-error-prefix=... is used.
849
8502003-10-06  Marcus Brinkmann  <marcus@g10code.de>
851
852	Released 0.5.
853
854	* configure.ac (LIBGPG_ERROR_LT_CURRENT, LIBGPG_ERROR_LT_AGE):
855	Bump up by one.
856
8572003-09-30  Marcus Brinkmann  <marcus@g10code.de>
858
859	* src/gpg-error.h: Include <stddef.h>.
860	(gpg_strerror_r): Change prototype to match POSIX.  Rewritten for
861	that prototype.
862	* src/strerror.c: Include <errno.h>.
863	(gpg_strerror_r, system_strerror_r): Change prototype to match
864	POSIX.  Rewritten for that prototype.  Rewritten for that
865	prototype.
866
8672003-09-30  Werner Koch  <wk@gnupg.org>
868
869	* src/gpg-error.h: Add PIN_NOT_SYNCED.
870
8712003-09-13  Marcus Brinkmann  <marcus@g10code.de>
872
873	* configure.ac: Invoke AC_FUNC_STRERROR_R.
874	* src/gpg-error.h (gpg_strerror_r): New prototype.
875	* src/strerror.c (system_strerror_r): New function.
876	(gpg_strerror_r): New function.
877
8782003-09-04  Marcus Brinkmann  <marcus@g10code.de>
879
880	* libgpg-error.spec.in: New file.
881	* Makefile.am (EXTRA_DIST): Add libgpg-error.spec.in.
882	* AUTHORS (Maintainer): Add Robert Schiele as contributor.
883
8842003-09-03  Marcus Brinkmann  <marcus@g10code.de>
885
886	* src/gpg-error-config.in: Rewritten.
887
8882003-09-03  Marcus Brinkmann  <marcus@g10code.de>
889
890	* configure.ac (AC_INIT): Bump up version number.
891
8922003-09-03  Marcus Brinkmann  <marcus@g10code.de>
893
894	Released 0.4.
895
896	* src/gpg-error.h: Define GPG_ERR_INLINE to nothing if the
897	compiler does not implement C99.
898	* configure.ac: (AC_INIT): Bump up version number.
899
9002003-09-02  Moritz Schulte  <mo@g10code.com>
901
902	* src/gpg-error.h (gpg_err_code_t): Added: GPG_ERR_NO_PRIME.
903	* src/err-codes.h.in: Likewise.
904
9052003-08-19  Marcus Brinkmann  <marcus@g10code.de>
906
907	* src/gpg-error.h (GPG_ERR_SYSTEM_ERROR): Fix value (should have
908	been 2^15, was 2^14).
909	(GPG_ERR_CODE_DIM): Fix value (should have been 65536, was 32768).
910	Change the error codes of all system errors to have the
911	GPG_ERR_SYSTEM_ERROR bit set.
912
9132003-08-06  Marcus Brinkmann  <marcus@g10code.de>
914
915	* code-from-errno.c, code-to-errno.c, err-codes.h.in,
916	err-sources.h.in, errnos.in, gpg-error.h, strerror.c, strsource.c:
917	Fix typo in copyright notice.
918
9192003-07-31  Marcus Brinkmann  <marcus@g10code.de>
920
921	* README: Clarify copyright conditions.
922	* src/mkstrtable.awk: Don't claim in the copyright information
923	that this program is part of libgpg-error.
924	* src/mkerrnos.awk: Likewise.
925	* src/mkerrcodes1.awk: Likewise.
926	* src/mkerrcodes2.awk: Likewise.
927
9282003-07-31  Marcus Brinkmann  <marcus@g10code.de>
929
930	* src/strerror.c (gpg_strerror): Use CODE, not ERR to map error
931	code to errno.
932
933	* configure.ac (AC_INIT): Bump version to 0.3.
934
935	Released 0.3.
936
9372003-07-30  Marcus Brinkmann  <marcus@g10code.de>
938
939	* configure.ac (AC_INIT): Bump version to 0.2.
940
941	Released 0.2.
942
9432003-07-17  Werner Koch  <wk@gnupg.org>
944
945	* src/gpg-error.h: Add HARDWARE, PIN_BLOCKED and USE_CONDITIONS.
946
9472003-07-16  Moritz Schulte  <moritz@g10code.com>
948
949	* src/gpg-error.h (gpg_err_code): Cast return value to
950	gpg_err_code_t.  Thanks to Ralf Schneider
951	<ralf@tapfere-schneiderleins.de>.
952	(gpg_err_source): Cast return value to gpg_err_source_t.  Thanks
953	to Ralf Schneider <ralf@tapfere-schneiderleins.de>.
954
9552003-07-15  Moritz Schulte  <moritz@g10code.com>
956
957	* src/gpg-error.m4 (AM_PATH_GPG_ERROR): Use `0.0' instead of
958	`0.0.0' in case no version number is given, since the following
959	sed commands expect the former form, not a triplet.
960
9612003-07-06  Marcus Brinkmann  <marcus@g10code.de>
962
963	* src/gpg-error.h (GPG_ERR_INLINE): Define macro.  Use it instead
964	of __inline__ in this file.
965
9662003-06-30  Werner Koch  <wk@gnupg.org>
967
968	* src/gpg-error.h: Add WRONG_CARD.
969
9702003-06-22  Marcus Brinkmann  <marcus@g10code.de>
971
972	* src/gpg-error.h: Fix value of GPG_ERR_CANCELED.
973
9742003-06-06  Marcus Brinkmann  <marcus@g10code.de>
975
976	* configure.ac: Define GPG_ERROR_CONFIG_LIBS and
977	GPG_ERROR_CONFIG_CFLAGS.
978	Add src/gpg-error-config to config files.
979	* src/Makefile.am (EXTRA_DIST): Add gpg-error-config.in and
980	gpg-error.m4.
981	(bin_SCRIPTS): New variable.
982	(m4datadir, m4data_DATA): New variables.
983	* src/gpg-error-config.in: New file.
984	* src/gpg-error.m4: New file.
985
986	Released 0.1.
987
9882003-06-05  Marcus Brinkmann  <marcus@g10code.de>
989
990	* src/gpg-error.h (gpg_err_make_from_errno): Fix implementation.
991
992	* src/gpg-error.h (gpg_err_code_t): Add GPG_ERR_SIG_EXPIRED.
993	(err-codes.h.in): Likewise.
994
995	* src/gpg-error.h (gpg_error_from_errno): Change return type to
996	gpg_error_t.
997
9982003-06-04  Marcus Brinkmann  <marcus@g10code.de>
999
1000	* src/gpg-error.h (gpg_err_code_t): Add GPG_ERR_INV_ENGINE,
1001	GPG_ERR_PUBKEY_NOT_TRUSTED, GPG_ERR_DECRYPT_FAILED,
1002	GPG_ERR_KEY_EXPIRED.
1003	(gpg_make_error): Rename to gpg_err_make.
1004	(gpg_error): Use here.
1005	* tests/t-strerror.c (main): And here.
1006	(gpg_make_error_from_errno): Rename to gpg_err_make_from_errno.
1007
1008	* src/gpg-error.h (gpg_make_error_from_errno): New inline function.
1009	(gpg_error_from_errno): Likewise.
1010
1011	* src/code-from-errno.c (gpg_err_code_from_errno): Handle the case
1012	of no error at all.
1013
10142003-06-04  Marcus Brinkmann  <marcus@g10code.de>
1015
1016	* src/gpg-error.h (gpg_err_source_t): Add GPG_ERR_SOURCE_USER_1 to
1017	GPG_ERR_SOURCE_USER_4.
1018	(gpg_err_code_t): Add GPG_ERR_USER_1 to GPG_ERR_USER_16.
1019	* src/err-sources.h.in: Likewise.
1020	* src/err-codes.h.in: Likewise.
1021
1022	* src/gpg-error.h: Rename GPG_ERR_INVALID_RESPONSE to
1023	GPG_ERR_INV_RESPONSE, GPG_ERR_INVALID_CARD to GPG_ERR_INV_CARD,
1024	GPG_ERR_INVALID_INDEX to GPG_ERR_INV_INDEX, GPG_ERR_INVALID_ID to
1025	GPG_ERR_INV_ID, GPG_ERR_AGENT_ERROR to GPG_ERR_AGENT,
1026	GPG_ERR_ASSUAN_ERROR to GPG_ERR_ASSUAN, GPG_ERR_PIN_ENTRY_ERROR to
1027	GPG_ERR_PIN_ENTRY, GPG_ERR_DIRMNGR_ERROR to GPG_ERR_DIRMNGR,
1028	GPG_ERR_CARD_ERROR to GPG_ERR_CARD, GPG_ERR_CONFIGURATION_ERROR to
1029	GPG_ERR_CONFIGURATION, GPG_ERR_SCDAEMON_ERROR to GPG_ERR_SCDAEMON.
1030
10312003-06-03  Werner Koch  <wk@gnupg.org>
1032
1033	* src/gpg-error.h, src/err-codes.h.in: Add codes for TIMEOUT,
1034	INV_HANDLE, NOTHING_FOUND, WRONG_BLOB_TYPE and MISSING_VALUE.
1035	* src/gpg-error.h, src/err-sources.h.in: Add KEYBOX which is the
1036	keybox subsystem of GnuPG.
1037
10382003-06-02  Moritz Schulte  <moritz@g10code.com>
1039
1040	* src/gpg-error.h: Fix description of gpg_err_code_to_errno
1041	(i.e. substitute `ERR' with `CODE').
1042	* src/code-to-errno.c: Likewise.
1043
1044	* tests/t-strerror.c: Include <gpg-error.h> instead of
1045	<gpg/error.h>.
1046
10472003-06-01  Marcus Brinkmann  <marcus@g10code.de>
1048
1049	* src/strerror.c: Include <string.h>.
1050
1051	* src/gpg-error.h (gpg_err_code_t): Remove GPG_ERR_FILE_READ,
1052	GPG_ERR_FILE_WRITE, GPG_ERR_FILE_OPEN, GPG_ERR_FILE_CREATE,
1053	GPG_ERR_FILE_CLOSE, GPG_ERR_FILE_DELETE, GPG_ERR_FILE_EXISTS,
1054	GPG_ERR_FILE, GPG_ERR_IO, GPG_ERR_OUT_OF_CORE, GPG_ERR_READ_ERROR,
1055	GPG_ERR_WRITE_ERROR.
1056	* src/err-codes.h.in: Likewise.
1057
1058	* src/Makefile.am (EXTRA_DIST): Add err-sources.h and err-codes.h.
1059
1060	* src/mkerrcodes1.awk: New file.
1061	* src/mkerrcodes2.awk: New file.
1062	* src/mkerrnos.awk: New file.
1063	* src/errnos.in: New file.
1064	* src/code-from-errno.c: New file.
1065	* src/code-to-errno.c: New file.
1066	* src/Makefile.am (libgpg_error_la_SOURCES): Remove err-sources.h
1067	and err-codes.h.  Add code-to-errno.c and code-from-errno.c.
1068	(code-to-errno.h): New target.
1069	(code-from-errno.h): Likewise.
1070	(EXTRA_DIST): Add mkerrnos.awk, errnos.in, and mkerrcodes1.awk.
1071	(BUILT_SOURCES): Add code-to-errno.h and code-from-errno.h.
1072	(CLEANFILES): Likewise.
1073	* src/strerror.c (gpg_strerror): Use strerror for system errors.
1074	* src/err-codes.h.in: Add 16382 (Unknown system error).
1075	* src/gpg-error.h (gpg_err_code_t): Add system errors.
1076	(GPG_ERR_CODE_DIM): Change to 32768.
1077	(GPG_ERR_SYSTEM_ERROR): New macro.
1078	(gpg_err_code_from_errno): New prototype.
1079	(gpg_err_code_to_errno): Likewise.
1080
1081	* src/Makefile.am (nobase_include_HEADERS): Rename target to ...
1082	(include_HEADERS): ... this.  Change file to gpg-error.h
1083	(libgpg_error_la_SOURCES): Change gpg/error.h to gpg-error.h.
1084	* src/gpg/error.h: Move to ...
1085	* src/gpg-error.h: ... here.  New file.
1086	* src/strerror.c: Include <gpg-error.h>, not <gpg/error.h>.
1087	* src/strsource.c: Likewise.
1088
1089	* src/gpg/error.h (gpg_error_t): Change type to unsigned int, not
1090	long.
1091
10922003-05-26  Marcus Brinkmann  <marcus@g10code.de>
1093
1094	* src/gpg/error.h (gpg_make_error): Only OR in the error source if
1095	there is an error, this allows to test for success with "if (!err)"
1096	and similar tests.
1097
10982003-05-15  Marcus Brinkmann  <marcus@g10code.de>
1099
1100	* src/mkstrtable.awk: Add exception clause to license about the
1101	output of the script.
1102	* configure.ac: Change license to LGPL 2.1 or later.
1103	* Makefile.am: Likewise.
1104	* src/Makefile.am: Likewise.
1105	* src/err-codes.h.in: Likewise.
1106	* src/err-sources.h.in: Likewise.
1107	* src/strsource.c: Likewise.
1108	* src/strerror.c: Likewise.
1109	* src/gpg/error.h: Likewise.
1110	* tests/Makefile.am: Likewise.
1111
1112	* src/mkstrtable.awk: New variable HEADER.  Copy input until first
1113	line with an actual code and description occurs.
1114	* src/err-codes.h.in: Uncomment license, so it is copied into the
1115	output.
1116	* src/err-sources.h.in: Likewise.
1117
11182003-05-15  Marcus Brinkmann  <marcus@g10code.de>
1119
1120	* COPYING.LIB: New file.
1121
11222003-05-15  Marcus Brinkmann  <marcus@g10code.de>
1123
1124	* Initial check-in.
1125
1126 Copyright 2003, 2004, 2005, 2006, 2007, 2010 g10 Code GmbH
1127
1128 This file is free software; as a special exception the author gives
1129 unlimited permission to copy and/or distribute it, with or without
1130 modifications, as long as this notice is preserved.
1131
1132 This file is distributed in the hope that it will be useful, but
1133 WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
1134 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1135