add MIT License file
[platform/upstream/libgpg-error.git] / NEWS
1 Noteworthy changes in version 1.13 (2014-04-15)
2 -----------------------------------------------
3
4  * Added a portable mutex API.
5
6  * The AM_PATH_GPG_ERROR macro now defines GPG_ERROR_MT_CFLAGS and
7    GPG_ERROR_MT_LIBS autoconf output variables for use by programs
8    which need gpgrt based thread support.  gpg-error-config has a new
9    option --mt.
10
11  * Interface changes relative to the 1.12 release:
12  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13  GPG_ERR_KEY_ON_CARD          NEW.
14  GPG_ERR_MAC_ALGO             NEW.
15  GPG_ERR_INV_LOCK_OBJ         NEW.
16  gpgrt_lock_t                 NEW.
17  GPGRT_LOCK_INITIALIZER       NEW.
18  GPGRT_LOCK_DEFINE            NEW.
19  gpgrt_lock_init              NEW.
20  gpgrt_lock_lock              NEW.
21  gpgrt_lock_unlock            NEW.
22  gpgrt_lock_destroy           NEW.
23  gpgrt_yield                  NEW.
24
25
26 Noteworthy changes in version 1.12 (2013-06-24)
27 -----------------------------------------------
28
29  * Add support for 64 bit Windows (use ./autogen.sh --build-w64).
30
31  * Fixed parsing and installing of the Windows .def file.
32
33  * Interface changes relative to the 1.11 release:
34  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
35  GPG_ERR_NO_CRYPT_CTX         NEW.
36  GPG_ERR_WRONG_CRYPT_CTX      NEW.
37  GPG_ERR_BAD_CRYPT_CTX        NEW.
38  GPG_ERR_CRYPT_CTX_CONFLICT   NEW.
39  GPG_ERR_BROKEN_PUBKEY        NEW.
40  GPG_ERR_BROKEN_SECKEY        NEW.
41
42
43 Noteworthy changes in version 1.11 (2013-02-25)
44 -----------------------------------------------
45
46  * New error source GPG_ERR_SOURCE_ASSUAN for Libassuan related
47    errors.
48
49  * New macros GPG_ERROR_VERSION and GPG_ERROR_VERSION_NUMBER.  New
50    function gpg_error_check_version.
51
52  * Interface changes relative to the 1.10 release:
53  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
54  GPG_ERR_NO_KEYSERVER          NEW.
55  GPG_ERR_INV_CURVE             NEW.
56  GPG_ERR_UNKNOWN_CURVE         NEW.
57  GPG_ERR_DUP_KEY               NEW.
58  GPG_ERR_AMBIGUOUS             NEW.
59  GPG_ERR_SOURCE_ASSUAN         NEW.
60  gpg_error_check_version       NEW.
61  GPG_ERROR_VERSION             NEW.
62  GPG_ERROR_VERSION_NUMBER      NEW.
63
64
65 Noteworthy changes in version 1.10 (2010-10-26)
66 -----------------------------------------------
67
68  * Using a static library on W32 does now work.
69
70  * Interface changes relative to the 1.9 release:
71  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72  GPG_ERR_NOT_INITIALIZED       NEW.
73  GPG_ERR_MISSING_ISSUER_CERT   NEW.
74  GPG_ERR_FULLY_CANCELED        NEW.
75
76
77 Noteworthy changes in version 1.9 (2010-07-21)
78 ----------------------------------------------
79
80  * New function gpg_err_deinit.
81
82  * Fix building of static lib under W32.
83
84  * Interface changes relative to the 1.8 release:
85  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
86  GPG_ERR_MISSING_KEY           NEW.
87  GPG_ERR_TOO_MANY              NEW.
88  GPG_ERR_LIMIT_REACHED         NEW.
89  gpg_err_deinit                NEW.
90
91
92 Noteworthy changes in version 1.8 (2010-05-06)
93 ----------------------------------------------
94
95  * Support for WindowsCE.
96
97  * New option --list for gpg-error.
98
99  * Interface changes relative to the 1.7 release:
100  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
101  GPG_ERR_NOT_ENABLED           NEW.
102  GPG_ERR_SOURCE_G13            NEW.
103  GPG_ERR_NO_ENGINE             NEW.
104  gpg_err_set_errno             NEW.
105
106
107 Noteworthy changes in version 1.7 (2008-11-26)
108 ----------------------------------------------
109
110  * Minor fixes and a few new error codes.
111
112  * Interface changes relative to the 1.6 release:
113  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114  GPG_ERR_NOT_OPERATIONAL       NEW
115  GPG_ERR_NO_PASSPHRASE         NEW
116  GPG_ERR_NO_PIN                NEW
117
118
119 Noteworthy changes in version 1.6 (2007-10-29)
120 ----------------------------------------------
121
122  * Fixed a build problem under Windows.
123
124  * Interface changes relative to the 1.4 release:
125  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
126  GPG_ERR_UNFINISHED            NEW
127  GPG_ERR_SOURCE_GPA            NEW
128  GPG_ERR_SOURCE_KLEO           NEW
129
130
131 Noteworthy changes in version 1.5 (2006-11-30)
132 ----------------------------------------------
133
134  * Minor build system fixes.
135
136  * Updated gettext.  Removed included gettext copy.
137
138  * gpg-error has a new option --version.
139
140
141 Noteworthy changes in version 1.4 (2006-09-14)
142 ----------------------------------------------
143
144  * Support for Common Lisp is included.
145
146  * New error codes for the Assuan IPC library.
147
148  * New error code GPG_ERR_MISSING_ERRNO to be used in cases when a
149    system accidently does not set errno but a system error definitely
150    occured.
151
152  * New error source GPG_ERR_SOURCE_ANY to allow proper use of
153    libgpg-error even if a specific source is not available.
154
155  * New convenience functions gpg_err_code_from_syserror and
156    gpg_error_from_syserror which make sure never to return 0.
157
158  * Interface changes relative to the 1.2 release:
159  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
160  gpg_err_code_from_syserror    NEW
161  gpg_error_from_syserror       NEW
162  GPG_ERR_SOURCE_ANY            NEW
163  GPG_ERR_MISSING_ERRNO         NEW
164  GPG_ERR_UNKNOWN_OPTION        NEW
165  GPG_ERR_UNKNOWN_COMMAND       NEW
166  GPG_ERR_ASS_GENERAL           NEW
167  GPG_ERR_ASS_ACCEPT_FAILED     NEW
168  GPG_ERR_ASS_CONNECT_FAILED    NEW
169  GPG_ERR_ASS_INV_RESPONSE      NEW
170  GPG_ERR_ASS_INV_VALUE         NEW
171  GPG_ERR_ASS_INCOMPLETE_LINE   NEW
172  GPG_ERR_ASS_LINE_TOO_LONG     NEW
173  GPG_ERR_ASS_NESTED_COMMANDS   NEW
174  GPG_ERR_ASS_NO_DATA_CB        NEW
175  GPG_ERR_ASS_NO_INQUIRE_CB     NEW
176  GPG_ERR_ASS_NOT_A_SERVER      NEW
177  GPG_ERR_ASS_NOT_A_CLIENT      NEW
178  GPG_ERR_ASS_SERVER_START      NEW
179  GPG_ERR_ASS_READ_ERROR        NEW
180  GPG_ERR_ASS_WRITE_ERROR       NEW
181  GPG_ERR_ASS_TOO_MUCH_DATA     NEW
182  GPG_ERR_ASS_UNEXPECTED_CMD    NEW
183  GPG_ERR_ASS_UNKNOWN_CMD       NEW
184  GPG_ERR_ASS_SYNTAX            NEW
185  GPG_ERR_ASS_CANCELED          NEW
186  GPG_ERR_ASS_NO_INPUT          NEW
187  GPG_ERR_ASS_NO_OUTPUT         NEW
188  GPG_ERR_ASS_PARAMETER         NEW
189  GPG_ERR_ASS_UNKNOWN_INQUIRE   NEW
190  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
191
192
193 Noteworthy changes in version 1.3 (2006-03-14)
194 ----------------------------------------------
195
196  * GNU gettext is included for systems that do not provide it.
197
198
199 Noteworthy changes in version 1.2 (2006-03-03)
200 ----------------------------------------------
201
202  * New function gpg_err_init, which binds the locale directory to
203    the text domain.  This function is a constructor on GCC targets,
204    so it does not need to be called explicitely.  The header file
205    defines GPG_ERR_INITIALIZED in this case.  This is experimental for
206    now.
207
208  * "./autogen.sh --build-w32" does now also build a DLL for W32.
209    Translations are not yet provided for this platform.
210
211  * New error codes GPG_ERR_UNKNOWN_EXTN and GPG_ERR_UNKNOWN_CRIT_EXTN.
212
213  * New error code GPG_ERR_LOCKED.
214
215  * New translations included for France, Romania, and Vietnamese.
216
217  * Interface changes relative to the 1.1 release:
218 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
219 GPG_ERR_UNKNOWN_EXTN            NEW
220 GPG_ERR_UNKNOWN_CRIT_EXTN       NEW
221 GPG_ERR_LOCKED                  NEW
222 gpg_err_init                    NEW
223 GPG_ERR_INITIALIZED             NEW
224 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
225
226
227 Noteworthy changes in version 1.1 (2005-06-20)
228 ----------------------------------------------
229
230  * Bug fixes.
231
232
233 Noteworthy changes in version 1.0 (2004-07-30)
234 ----------------------------------------------
235
236  * Ported to Solaris 2.8.
237
238  * Added a new error source GPG_ERR_SOURCE_GSTI, and new error
239    codes GPG_ERR_PROTOCOL_VIOLATION and GPG_ERR_INV_MAC for this
240    source.
241
242  * Interface changes relative to the 0.7 release:
243 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
244 GPG_ERR_SOURCE_GSTI             NEW
245 GPG_ERR_PROTOCOL_VIOLATION      NEW
246 GPG_ERR_INV_MAC                 NEW
247 GPG_ERR_INV_REQUEST             NEW
248 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
249
250 Noteworthy changes in version 0.7 (2004-03-07)
251 ----------------------------------------------
252
253  * libgpg-error can be built on systems where the errno macros do not
254    evaluate to plain numbers, but expressions.  If you want to
255    cross-compile, you might have to set CC_FOR_BUILD, though.
256
257  * A new tool gpg-error to convert error numbers into symbols into
258    strings is provided.
259
260  * Interface changes relative to the 0.6 release:
261 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
262 GPG_ERR_LOCALE_PROBLEM          NEW
263 GPG_ERR_NOT_LOCKED              NEW
264 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
265
266 Noteworthy changes in version 0.6 (2003-11-14)
267 ----------------------------------------------
268
269  * German translation included.
270
271  * It is now possible to use the inline functions even for non C99
272    compliant compilers by given e.g. -DGPG_ERR_INLINE=inline when
273    compiling an application using this library.  Note, that gcc will
274    use inline anyway.
275
276  * Interface changes relative to the 0.5 release:
277 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
278 GPG_ERR_SOURCE_KSBA             NEW
279 GPG_ERR_SOURCE_DIRMNGR          NEW
280 GPG_ERR_TRUNCATED               NEW
281 GPG_ERR_NO_ENCODING_METHOD      NEW
282 GPG_ERR_NO_ENCRYPTION_SCHEME    NEW
283 GPG_ERR_NO_SIGNATURE_SCHEME     NEW
284 GPG_ERR_INV_ATTR                NEW
285 GPG_ERR_NO_VALUE                NEW
286 GPG_ERR_NOT_FOUND               NEW
287 GPG_ERR_VALUE_NOT_FOUND         NEW
288 GPG_ERR_SYNTAX                  NEW
289 GPG_ERR_INV_CRL                 NEW
290 GPG_ERR_BAD_BER                 NEW
291 GPG_ERR_INV_BER                 NEW
292 GPG_ERR_ELEMENT_NOT_FOUND       NEW
293 GPG_ERR_IDENTIFIER_NOT_FOUND    NEW
294 GPG_ERR_INV_TAG                 NEW
295 GPG_ERR_INV_LENGTH              NEW
296 GPG_ERR_INV_KEYINFO             NEW
297 GPG_ERR_UNEXPECTED_TAG          NEW
298 GPG_ERR_NOT_DER_ENCODED,        NEW
299 GPG_ERR_NO_CMS_OBJ              NEW
300 GPG_ERR_INV_CMS_OBJ             NEW
301 GPG_ERR_UNKNOWN_CMS_OBJ,        NEW
302 GPG_ERR_UNSUPPORTED_CMS_OBJ     NEW
303 GPG_ERR_UNSUPPORTED_ENCODING,   NEW
304 GPG_ERR_UNSUPPORTED_CMS_VERSION NEW
305 GPG_ERR_UNKNOWN_ALGORITHM       NEW
306 GPG_ERR_ENCODING_PROBLEM        NEW
307 GPG_ERR_INV_STATE               NEW
308 GPG_ERR_DUP_VALUE,              NEW
309 GPG_ERR_MISSING_ACTION          NEW
310 GPG_ERR_MODULE_NOT_FOUND        NEW
311 GPG_ERR_INV_OID_STRING          NEW
312 GPG_ERR_INV_TIME                NEW
313 GPG_ERR_INV_CRL_OBJ             NEW
314 GPG_ERR_UNSUPPORTED_CRL_VERSION NEW
315 GPG_ERR_INV_CERT_OBJ            NEW
316 GPG_ERR_UNKNOWN_NAME            NEW
317 GPG_ERR_BUFFER_TOO_SHORT.       NEW
318 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
319
320 Noteworthy changes in version 0.5 (2003-10-06)
321 ----------------------------------------------
322
323  * New thread safe interface gpg_strerror_r.
324
325  * New error code GPG_ERR_PIN_NOT_SYNCED has been added.
326
327  * Interface changes relative to the 0.4 release:
328 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
329 gpg_strerror_r                  NEW
330 GPG_ERR_PIN_NOT_SYNCED          NEW
331 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
332
333
334 Noteworthy changes in version 0.4 (2003-09-03)
335 ----------------------------------------------
336
337  * Fixed another bug that prevented that system errors were created
338    correctly in the first place.
339
340  * Use inline in public header file only on C99 compilers.
341
342
343 Noteworthy changes in version 0.3 (2003-07-31)
344 ----------------------------------------------
345
346  * Fixed bug that prevented that system errors were mapped to error
347    strings correctly.
348
349
350 Noteworthy changes in version 0.2 (2003-07-30)
351 ----------------------------------------------
352
353  * Value of the error code GPG_ERR_CANCELED was fixed.
354
355  * New error codes GPG_ERR_WRONG_CARD, GPG_ERR_HARDWARE,
356    GPG_ERR_PIN_BLOCKED and GPG_ERR_USE_CONDITIONS have been added.
357
358  * The header file has been made C++ clean.
359
360  * AM_PATH_GPG_ERR has been fixed to work without explicit version
361    number.
362
363  * The header file now uses inline instead __inline__ for non-GNU
364    compilers.
365
366
367 Noteworthy changes in version 0.1 (2003-06-06)
368 ----------------------------------------------
369
370  * Initial release.
371
372
373  Copyright 2003, 2004, 2005, 2010 g10 Code GmbH
374
375  This file is free software; as a special exception the author gives
376  unlimited permission to copy and/or distribute it, with or without
377  modifications, as long as this notice is preserved.
378
379  This file is distributed in the hope that it will be useful, but
380  WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
381  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.