1 2003-08-06 Marcus Brinkmann <marcus@g10code.de>
3 * code-from-errno.c, code-to-errno.c, err-codes.h.in,
4 err-sources.h.in, errnos.in, gpg-error.h, strerror.c, strsource.c:
5 Fix typo in copyright notice.
7 2003-07-31 Marcus Brinkmann <marcus@g10code.de>
9 * README: Clarify copyright conditions.
10 * src/mkstrtable.awk: Don't claim in the copyright information
11 that this program is part of libgpg-error.
12 * src/mkerrnos.awk: Likewise.
13 * src/mkerrcodes1.awk: Likewise.
14 * src/mkerrcodes2.awk: Likewise.
16 2003-07-31 Marcus Brinkmann <marcus@g10code.de>
18 * src/strerror.c (gpg_strerror): Use CODE, not ERR to map error
21 * configure.ac (AC_INIT): Bump version to 0.3.
25 2003-07-30 Marcus Brinkmann <marcus@g10code.de>
27 * configure.ac (AC_INIT): Bump version to 0.2.
31 2003-07-17 Werner Koch <wk@gnupg.org>
33 * src/gpg-error.h: Add HARDWARE, PIN_BLOCKED and USE_CONDITIONS.
35 2003-07-16 Moritz Schulte <moritz@g10code.com>
37 * src/gpg-error.h (gpg_err_code): Cast return value to
38 gpg_err_code_t. Thanks to Ralf Schneider
39 <ralf@tapfere-schneiderleins.de>.
40 (gpg_err_source): Cast return value to gpg_err_source_t. Thanks
41 to Ralf Schneider <ralf@tapfere-schneiderleins.de>.
43 2003-07-15 Moritz Schulte <moritz@g10code.com>
45 * src/gpg-error.m4 (AM_PATH_GPG_ERROR): Use `0.0' instead of
46 `0.0.0' in case no version number is given, since the following
47 sed commands expect the former form, not a triplet.
49 2003-07-06 Marcus Brinkmann <marcus@g10code.de>
51 * src/gpg-error.h (GPG_ERR_INLINE): Define macro. Use it instead
52 of __inline__ in this file.
54 2003-06-30 Werner Koch <wk@gnupg.org>
56 * src/gpg-error.h: Add WRONG_CARD.
58 2003-06-22 Marcus Brinkmann <marcus@g10code.de>
60 * src/gpg-error.h: Fix value of GPG_ERR_CANCELED.
62 2003-06-06 Marcus Brinkmann <marcus@g10code.de>
64 * configure.ac: Define GPG_ERROR_CONFIG_LIBS and
65 GPG_ERROR_CONFIG_CFLAGS.
66 Add src/gpg-error-config to config files.
67 * src/Makefile.am (EXTRA_DIST): Add gpg-error-config.in and
69 (bin_SCRIPTS): New variable.
70 (m4datadir, m4data_DATA): New variables.
71 * src/gpg-error-config.in: New file.
72 * src/gpg-error.m4: New file.
76 2003-06-05 Marcus Brinkmann <marcus@g10code.de>
78 * src/gpg-error.h (gpg_err_make_from_errno): Fix implementation.
80 * src/gpg-error.h (gpg_err_code_t): Add GPG_ERR_SIG_EXPIRED.
81 (err-codes.h.in): Likewise.
83 * src/gpg-error.h (gpg_error_from_errno): Change return type to
86 2003-06-04 Marcus Brinkmann <marcus@g10code.de>
88 * src/gpg-error.h (gpg_err_code_t): Add GPG_ERR_INV_ENGINE,
89 GPG_ERR_PUBKEY_NOT_TRUSTED, GPG_ERR_DECRYPT_FAILED,
91 (gpg_make_error): Rename to gpg_err_make.
92 (gpg_error): Use here.
93 * tests/t-strerror.c (main): And here.
94 (gpg_make_error_from_errno): Rename to gpg_err_make_from_errno.
96 * src/gpg-error.h (gpg_make_error_from_errno): New inline function.
97 (gpg_error_from_errno): Likewise.
99 * src/code-from-errno.c (gpg_err_code_from_errno): Handle the case
102 2003-06-04 Marcus Brinkmann <marcus@g10code.de>
104 * src/gpg-error.h (gpg_err_source_t): Add GPG_ERR_SOURCE_USER_1 to
105 GPG_ERR_SOURCE_USER_4.
106 (gpg_err_code_t): Add GPG_ERR_USER_1 to GPG_ERR_USER_16.
107 * src/err-sources.h.in: Likewise.
108 * src/err-codes.h.in: Likewise.
110 * src/gpg-error.h: Rename GPG_ERR_INVALID_RESPONSE to
111 GPG_ERR_INV_RESPONSE, GPG_ERR_INVALID_CARD to GPG_ERR_INV_CARD,
112 GPG_ERR_INVALID_INDEX to GPG_ERR_INV_INDEX, GPG_ERR_INVALID_ID to
113 GPG_ERR_INV_ID, GPG_ERR_AGENT_ERROR to GPG_ERR_AGENT,
114 GPG_ERR_ASSUAN_ERROR to GPG_ERR_ASSUAN, GPG_ERR_PIN_ENTRY_ERROR to
115 GPG_ERR_PIN_ENTRY, GPG_ERR_DIRMNGR_ERROR to GPG_ERR_DIRMNGR,
116 GPG_ERR_CARD_ERROR to GPG_ERR_CARD, GPG_ERR_CONFIGURATION_ERROR to
117 GPG_ERR_CONFIGURATION, GPG_ERR_SCDAEMON_ERROR to GPG_ERR_SCDAEMON.
119 2003-06-03 Werner Koch <wk@gnupg.org>
121 * src/gpg-error.h, src/err-codes.h.in: Add codes for TIMEOUT,
122 INV_HANDLE, NOTHING_FOUND, WRONG_BLOB_TYPE and MISSING_VALUE.
123 * src/gpg-error.h, src/err-sources.h.in: Add KEYBOX which is the
124 keybox subsystem of GnuPG.
126 2003-06-02 Moritz Schulte <moritz@g10code.com>
128 * src/gpg-error.h: Fix description of gpg_err_code_to_errno
129 (i.e. substitute `ERR' with `CODE').
130 * src/code-to-errno.c: Likewise.
132 * tests/t-strerror.c: Include <gpg-error.h> instead of
135 2003-06-01 Marcus Brinkmann <marcus@g10code.de>
137 * src/strerror.c: Include <string.h>.
139 * src/gpg-error.h (gpg_err_code_t): Remove GPG_ERR_FILE_READ,
140 GPG_ERR_FILE_WRITE, GPG_ERR_FILE_OPEN, GPG_ERR_FILE_CREATE,
141 GPG_ERR_FILE_CLOSE, GPG_ERR_FILE_DELETE, GPG_ERR_FILE_EXISTS,
142 GPG_ERR_FILE, GPG_ERR_IO, GPG_ERR_OUT_OF_CORE, GPG_ERR_READ_ERROR,
144 * src/err-codes.h.in: Likewise.
146 * src/Makefile.am (EXTRA_DIST): Add err-sources.h and err-codes.h.
148 * src/mkerrcodes1.awk: New file.
149 * src/mkerrcodes2.awk: New file.
150 * src/mkerrnos.awk: New file.
151 * src/errnos.in: New file.
152 * src/code-from-errno.c: New file.
153 * src/code-to-errno.c: New file.
154 * src/Makefile.am (libgpg_error_la_SOURCES): Remove err-sources.h
155 and err-codes.h. Add code-to-errno.c and code-from-errno.c.
156 (code-to-errno.h): New target.
157 (code-from-errno.h): Likewise.
158 (EXTRA_DIST): Add mkerrnos.awk, errnos.in, and mkerrcodes1.awk.
159 (BUILT_SOURCES): Add code-to-errno.h and code-from-errno.h.
160 (CLEANFILES): Likewise.
161 * src/strerror.c (gpg_strerror): Use strerror for system errors.
162 * src/err-codes.h.in: Add 16382 (Unknown system error).
163 * src/gpg-error.h (gpg_err_code_t): Add system errors.
164 (GPG_ERR_CODE_DIM): Change to 32768.
165 (GPG_ERR_SYSTEM_ERROR): New macro.
166 (gpg_err_code_from_errno): New prototype.
167 (gpg_err_code_to_errno): Likewise.
169 * src/Makefile.am (nobase_include_HEADERS): Rename target to ...
170 (include_HEADERS): ... this. Change file to gpg-error.h
171 (libgpg_error_la_SOURCES): Change gpg/error.h to gpg-error.h.
172 * src/gpg/error.h: Move to ...
173 * src/gpg-error.h: ... here. New file.
174 * src/strerror.c: Include <gpg-error.h>, not <gpg/error.h>.
175 * src/strsource.c: Likewise.
177 * src/gpg/error.h (gpg_error_t): Change type to unsigned int, not
180 2003-05-26 Marcus Brinkmann <marcus@g10code.de>
182 * src/gpg/error.h (gpg_make_error): Only OR in the error source if
183 there is an error, this allows to test for success with "if (!err)"
186 2003-05-15 Marcus Brinkmann <marcus@g10code.de>
188 * src/mkstrtable.awk: Add exception clause to license about the
189 output of the script.
190 * configure.ac: Change license to LGPL 2.1 or later.
191 * Makefile.am: Likewise.
192 * src/Makefile.am: Likewise.
193 * src/err-codes.h.in: Likewise.
194 * src/err-sources.h.in: Likewise.
195 * src/strsource.c: Likewise.
196 * src/strerror.c: Likewise.
197 * src/gpg/error.h: Likewise.
198 * tests/Makefile.am: Likewise.
200 * src/mkstrtable.awk: New variable HEADER. Copy input until first
201 line with an actual code and description occurs.
202 * src/err-codes.h.in: Uncomment license, so it is copied into the
204 * src/err-sources.h.in: Likewise.
206 2003-05-15 Marcus Brinkmann <marcus@g10code.de>
208 * COPYING.LIB: New file.
210 2003-05-15 Marcus Brinkmann <marcus@g10code.de>
214 Copyright 2003 g10 Code GmbH
216 This file is free software; as a special exception the author gives
217 unlimited permission to copy and/or distribute it, with or without
218 modifications, as long as this notice is preserved.
220 This file is distributed in the hope that it will be useful, but
221 WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
222 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.