Debian Codegraph @

ChangeLog-2011

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