summaryrefslogtreecommitdiff
path: root/NEWS
blob: 22418d2516ad37d31f52fa559dd0beee63b79634 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
Noteworthy changes in version 1.34 (2019-01-16) [C26/A26/R0]
-----------------------------------------------

 * Support for riscv32.

 * New API to allow emergency cleanup after internal fatal errors.

 * Minor bug and portability fixes. [#4286,#4298

 * Interface changes relative to the 1.33 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 gpgrt_abort                     NEW.
 gpgrt_add_emergency_cleanup     NEW.

 Release-info: https://dev.gnupg.org/T4296


Noteworthy changes in version 1.33 (2018-12-07) [C25/A25/R0]
-----------------------------------------------

 * New unified config script gpgrt-config which can now be used by all
   GnuPG related packages.

 * Support for ARC and arm64ilp32.

 * The log functions now sanitize strings printed with the "%s" format
   specifier.  All control characters are C-escaped in the output.
   Users of that function may want to remove their own escaping to
   avoid doubling of backslashes.

 * New fprintf style function to apply a custom filter for string
   arguments.

 * New function to compare version strings.

 * Interface changes relative to the 1.28 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 gpgrt_cmp_version               New.
 gpgrt_string_filter_t           New.
 gpgrt_fprintf_sf                New.
 gpgrt_fprintf_sf_unlocked       New.
 gpgrt_ftruncate                 New but limited functionality.
 gpgrt_w32_override_locale       New.

 Release-info: https://dev.gnupg.org/T4205


Noteworthy changes in version 1.32 (2018-07-12) [C24/A24/R3]
-----------------------------------------------

 * Fixes a problem with gpgrt_fflush and gpgrt_fopencookie.  [#4069]

 * Fixes a problem with the C11 header stdnoreturn.h.  [#4002]

 * The yat2m tool can now also be build on Windows.

 * Updates translations for Spanish, Russian and Ukrainian.


Noteworthy changes in version 1.31 (2018-05-02) [C24/A24/R2]
-----------------------------------------------

 * Fixes another problem with gpgrt_poll under Windows.  [#3937]

 * New translation for Spanish.


Noteworthy changes in version 1.30 (2018-04-30) [C24/A24/R1]
-----------------------------------------------

 * Fixes a hang on Windows when using gpgrt_poll under nPth.

 * Build fix for Solaris.  [#3869]


Noteworthy changes in version 1.29 (2018-04-11) [C24/A24/R0]
-----------------------------------------------

 * The yat2m tool is during cross-compile now also installed on the
   host platform.

 * New option parser and associated functions similar to the one used
   by GnuPG.

 * New Base-64 encoder.

 * Fixes regression in 1.28 for arm64 and w64 builds.

 * Interface changes relative to the 1.28 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 gpgrt_argparse                  New.
 gpgrt_usage                     New.
 gpgrt_strusage                  New.
 gpgrt_set_strusage              New.
 gpgrt_set_usage_outfnc          New.
 gpgrt_set_fixed_string_mapper   New.
 GPGRT_ENABLE_ARGPARSE_MACROS    New macro.
 gpgrt_b64enc_start              New.
 gpgrt_b64enc_write              New.
 gpgrt_b64enc_finish             New.


Noteworthy changes in version 1.28 (2018-03-13) [C23/A23/R0]
-----------------------------------------------

 * The formerly internal yat2m tool is now installed for a native
   build.

 * The new files gpgrt.m4 and gpgrt-config are now installed.  They
   can be used instead of gpg-error.m4 and gpg-error-config.

 * New logging functions similar to those used by GnuPG.

 * New helper functions for platform abstraction.

 * Interface changes relative to the 1.27 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 gpgrt_get_errorcount            New API.
 gpgrt_inc_errorcount            New API.
 gpgrt_log_set_sink              New API.
 gpgrt_log_set_socket_dir_cb     New API.
 gpgrt_log_set_pid_suffix_cb     New API.
 gpgrt_log_set_prefix            New API.
 gpgrt_log_get_prefix            New API.
 gpgrt_log_test_fd               New API.
 gpgrt_log_get_fd                New API.
 gpgrt_log_get_stream            New API.
 gpgrt_log                       New API.
 gpgrt_logv                      New API.
 gpgrt_logv_prefix               New API.
 gpgrt_log_string                New API.
 gpgrt_log_info                  New API.
 gpgrt_log_error                 New API.
 gpgrt_log_fatal                 New API.
 gpgrt_log_bug                   New API.
 gpgrt_log_debug                 New API.
 gpgrt_log_debug_string          New API.
 gpgrt_log_printf                New API.
 gpgrt_log_flush                 New API.
 gpgrt_log_printhex              New API.
 gpgrt_log_clock                 New API.
 gpgrt_assert                    New macro.
 _gpgrt_log_assert               New internal API.
 GPGRT_LOGLVL_BEGIN              New const.
 GPGRT_LOGLVL_CONT               New const.
 GPGRT_LOGLVL_INFO               New const.
 GPGRT_LOGLVL_WARN               New const.
 GPGRT_LOGLVL_ERROR              New const.
 GPGRT_LOGLVL_FATAL              New const.
 GPGRT_LOGLVL_BUG                New const.
 GPGRT_LOGLVL_DEBUG              New const.
 gpgrt_realloc                   New API.
 gpgrt_malloc                    New API.
 gpgrt_calloc                    New API.
 gpgrt_strdup                    New API.
 gpgrt_strconcat                 New API.
 gpgrt_w32_reg_query_string      New API.
 gpgrt_getenv                    New API.
 gpgrt_setenv                    New API.
 gpgrt_mkdir                     New API.
 gpgrt_chdir                     New API.
 gpgrt_getcwd                    New API.


Noteworthy changes in version 1.27 (2017-02-28) [C22/A22/R0]
-----------------------------------------------

 * Added a Base64 decoder.

 * Added support for the sh3 architecture.

 * Added header gpgrt.h as an alias for gpg-error.h.

 * Fixed macro GPGRT_GCC_VERSION.

 * Fixed a race in non-blocking I/O on Windows.

 * Interface changes relative to the 1.26 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 gpgrt_b64state_t                 NEW type.
 gpgrt_b64dec_start               NEW.
 gpgrt_b64dec_proc                NEW.
 gpgrt_b64dec_finish              NEW.
 GPG_ERR_WRONG_NAME               NEW.
 gpgrt.h                          NEW header.


Noteworthy changes in version 1.26 (2016-12-21) [C21/A21/R0]
-----------------------------------------------

 * New option --desc for gpg-error.

 * Interface changes relative to the 1.25 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 GPG_ERR_UNKNOWN_FLAG             NEW.
 GPG_ERR_INV_ORDER                NEW.
 GPG_ERR_ALREADY_FETCHED          NEW.
 GPG_ERR_TRY_LATER                NEW.
 GPG_ERR_SYSTEM_BUG               NEW.
 GPG_ERR_DNS_UNKNOWN	          NEW.
 GPG_ERR_DNS_SECTION	          NEW.
 GPG_ERR_DNS_ADDRESS	          NEW.
 GPG_ERR_DNS_NO_QUERY	          NEW.
 GPG_ERR_DNS_NO_ANSWER	          NEW.
 GPG_ERR_DNS_CLOSED	          NEW.
 GPG_ERR_DNS_VERIFY	          NEW.
 GPG_ERR_DNS_TIMEOUT	          NEW.


Noteworthy changes in version 1.25 (2016-11-14) [C20/A20/R0]
-----------------------------------------------

 * New interface gpgrt_get_syscall_clamp to allow libaries to make use
   of Libgpg-error's system call wrapper functions.

 * gpgrt_poll does now work under Windows.

 * Fixed bug in the locking code when used with the nPth threading
   library.

 * Added support for {i686,x86_64}-apple-darwin.

 * Added new error codes.

 * Interface changes relative to the 1.23 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 gpgrt_get_syscall_clamp          NEW.
 GPG_ERR_ENGINE_TOO_OLD	          NEW.
 GPG_ERR_WINDOW_TOO_SMALL         NEW.
 GPG_ERR_WINDOW_TOO_LARGE         NEW.
 GPG_ERR_MISSING_ENVVAR	          NEW.
 GPG_ERR_USER_ID_EXISTS           NEW.
 GPG_ERR_NAME_EXISTS              NEW.
 GPG_ERR_DUP_NAME                 NEW.
 GPG_ERR_TOO_OLD                  NEW.
 GPG_ERR_TOO_YOUNG                NEW.


Noteworthy changes in version 1.24 (2016-07-14) [C19/A19/R1]
-----------------------------------------------

 * Fixes a bug in es_fclose_snatch when used used after es_fseek.

 * Fixes building without thread support.

 * New configure option --disable-tests.


Noteworthy changes in version 1.23 (2016-06-15) [C19/A19/R0]
-----------------------------------------------

 * Fixes an assertion failure due to es_flush on read/write streams.

 * Fixes a bug with a too short memory limit is es_fopenmen.

 * Cross-build support for powerpc-unknown-linux-gnuspe and
   tilegx-unknown-linux-gnu architectures.

 * Interface changes relative to the 1.22 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 GPG_ERR_SUBKEYS_EXP_OR_REV       NEW.


Noteworthy changes in version 1.22 (2016-04-25) [C18/A18/R0]
-----------------------------------------------

 * New functions and macros to to provide iconv(3) on Windows.

 * Support for LeakSanitizer with the gpgrt_annotate_leaked_object
   inline function.

 * Interface changes relative to the 1.21 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 GPG_ERR_DB_CORRUPTED             NEW.
 gpgrt_annotate_leaked_object     NEW inline func.
 GPGRT_ENABLE_W32_ICONV_MACROS    NEW.
 gpgrt_w32_iconv_open             NEW.
 gpgrt_w32_iconv_close            NEW.
 gpgrt_w32_iconv                  NEW.


Noteworthy changes in version 1.21 (2015-12-12) [C17/A17/R0]
-----------------------------------------------

 * New functions gpgrt_poll and gpgrt_set_nonblock.  For now only
   pipes and sockets on Unix are supported.

 * Fixes gettext output encoding problems on Windows.

 * Interface changes relative to the 1.20 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 gpgrt_set_nonblock               NEW.
 gpgrt_get_nonblock               NEW.
 gpgrt_poll                       NEW.
 gpgrt_poll_t                     NEW type.
 es_poll_t                        NEW type.
 es_set_nonblock                  NEW macro.
 es_get_nonblock                  NEW macro.
 es_poll                          NEW macro.
 GPG_ERR_TRUE                     NEW.
 GPG_ERR_FALSE                    NEW.
 GPG_ERR_NO_NAME                  NEW.
 GPG_ERR_NO_KEY                   NEW.
 GPG_ERR_SERVER_FAILED            NEW.


Noteworthy changes in version 1.20 (2015-08-26) [C16/A16/R0]
-----------------------------------------------

 * New macros for GCC attributes.

 * Make es_set_binary actually work for Windows.

 * Allow building without thread support.

 * Build without a build timestamp by default.

 * Interface changes relative to the 1.19 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 GPGRT_VERSION                    NEW macro.
 GPGRT_VERSION_NUMBER             NEW macro.
 GPGRT_INLINE                     NEW macro.
 GPGRT_GCC_VERSION                NEW macro.
 GPGRT_ATTR_NORETURN              NEW macro.
 GPGRT_ATTR_PRINTF                NEW macro.
 GPGRT_ATTR_NR_PRINTF             NEW macro.
 GPGRT_ATTR_FORMAT_ARG            NEW macro.
 GPGRT_ATTR_SENTINEL              NEW macro.
 GPGRT_ATTR_USED                  NEW macro.
 GPGRT_ATTR_UNUSED                NEW macro.
 GPGRT_ATTR_DEPRECATED            NEW macro.
 GPGRT_ATTR_PURE                  NEW macro.
 GPGRT_ATTR_MALLOC                NEW macro.
 GPGRT_HAVE_MACRO_FUNCTION        NEW macro.
 GPGRT_HAVE_PRAGMA_GCC_PUSH       NEW macro.


Noteworthy changes in version 1.19 (2015-04-10) [C15/A15/R0]
-----------------------------------------------

 * New set of error codes for use with LDAP.

 * New options --help and --defines for gpg-error.

 * Allow building with gcc 5.

 * Interface changes relative to the 1.18 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 GPG_ERR_LDAP_*                   NEW.


Noteworthy changes in version 1.18 (2015-01-26) [C14/A14/R0]
-----------------------------------------------

 * New translations for Hungarian, Portuguese, Russian, and
   traditional Chinese.  Updated other translations.

 * New error codes.

 * Interface changes relative to the 1.17 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 GPG_ERR_FORBIDDEN                NEW.
 GPG_ERR_OBJ_TERM_STATE           NEW.
 GPG_ERR_REQUEST_TOO_SHORT        NEW.
 GPG_ERR_REQUEST_TOO_LONG         NEW.
 GPG_ERR_LEGACY_KEY               NEW.


Noteworthy changes in version 1.17 (2014-10-15) [C13/A13/R0]
-----------------------------------------------

 * New error codes for TLS protocol libraries.

 * New configure option --enable-build-timestamp.

 * New man page for gpg-error-config.

 * Interface changes relative to the 1.16 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 GPG_ERR_SOURCE_TLS               NEW.
 GPG_ERR_NO_CERT_CHAIN            NEW.
 GPG_ERR_CERT_TOO_LARGE	          NEW.
 GPG_ERR_INV_RECORD               NEW.
 GPG_ERR_BAD_MAC	          NEW.
 GPG_ERR_UNEXPECTED_MSG           NEW.
 GPG_ERR_COMPR_FAILED             NEW.
 GPG_ERR_WOULD_WRAP               NEW.
 GPG_ERR_FATAL_ALERT              NEW.
 GPG_ERR_NO_CIPHER                NEW.
 GPG_ERR_MISSING_CLIENT_CERT      NEW.
 GPG_ERR_CLOSE_NOTIFY             NEW.
 GPG_ERR_TICKET_EXPIRED           NEW.
 GPG_ERR_BAD_TICKET               NEW.
 GPG_ERR_UNKNOWN_IDENTITY         NEW.
 GPG_ERR_BAD_HS_CERT              NEW.
 GPG_ERR_BAD_HS_CERT_REQ          NEW.
 GPG_ERR_BAD_HS_CERT_VER          NEW.
 GPG_ERR_BAD_HS_CHANGE_CIPHER     NEW.
 GPG_ERR_BAD_HS_CLIENT_HELLO      NEW.
 GPG_ERR_BAD_HS_SERVER_HELLO      NEW.
 GPG_ERR_BAD_HS_SERVER_HELLO_DONE NEW.
 GPG_ERR_BAD_HS_FINISHED          NEW.
 GPG_ERR_BAD_HS_SERVER_KEX        NEW.
 GPG_ERR_BAD_HS_CLIENT_KEX        NEW.
 GPG_ERR_BOGUS_STRING             NEW.
 gpgrt_pending                    NEW.
 gpgrt_pending_unlocked           NEW.


Noteworthy changes in version 1.16 (2014-09-18) [C12/A12/R2]
-----------------------------------------------

 * Support building for iOS.

 * Fixed a prototype mismatch.

 * Fix es_fclose for streams opened with "samethread".


Noteworthy changes in version 1.15 (2014-09-11) [C12/A12/R1]
-----------------------------------------------

 * This releases fixes problems with the use of off_t and ssize_t by
   the estream functions introduced with 1.14.  Although this is
   technically an ABI break on some platforms, we take this as a
   simple bug fix for 1.14.  The new functions are very unlikely in
   use by any code and thus no breakage should happen.  The 1.14
   tarball will be removed from the archive.

 * Add type gpgrt_off_t which is guaranteed to be 64 bit.

 * Add type gpgrt_ssize_t to make use on Windows easier.  On Unix
   platforms this is an alias for ssize_t.


Noteworthy changes in version 1.14 (2014-09-08) [C12/A12/R0]
-----------------------------------------------

 * Added gpgrt_lock_trylock.

 * Added the estream library under the name gpgrt and a set of macros
   to use them with their "es_" names.

 * Interface changes relative to the 1.13 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 GPG_ERR_KEY_DISABLED         NEW.
 gpgrt_init                   NEW macro.
 gpgrt_check_version          NEW.
 gpgrt_lock_trylock           NEW.
 gpgrt_set_syscall_clamp      NEW.
 gpgrt_set_alloc_func         NEW.
 gpgrt_stream_t               NEW.
 gpgrt_cookie_io_functions_t  NEW.
 gpgrt_syshd_t                NEW.
 GPGRT_SYSHD_NONE             NEW.
 GPGRT_SYSHD_FD               NEW.
 GPGRT_SYSHD_SOCK             NEW.
 GPGRT_SYSHD_RVID             NEW.
 GPGRT_SYSHD_HANDLE           NEW.
 gpgrt_stdin                  NEW macro.
 gpgrt_stdout                 NEW macro.
 gpgrt_stderr                 NEW macro.
 gpgrt_fopen                  NEW.
 gpgrt_mopen                  NEW.
 gpgrt_fopenmem               NEW.
 gpgrt_fopenmem_init          NEW.
 gpgrt_fdopen                 NEW.
 gpgrt_fdopen_nc              NEW.
 gpgrt_sysopen                NEW.
 gpgrt_sysopen_nc             NEW.
 gpgrt_fpopen                 NEW.
 gpgrt_fpopen_nc              NEW.
 gpgrt_freopen                NEW.
 gpgrt_fopencookie            NEW.
 gpgrt_fclose                 NEW.
 gpgrt_fclose_snatch          NEW.
 gpgrt_onclose                NEW.
 gpgrt_fileno                 NEW.
 gpgrt_fileno_unlocked        NEW.
 gpgrt_syshd                  NEW.
 gpgrt_syshd_unlocked         NEW.
 gpgrt_flockfile              NEW.
 gpgrt_ftrylockfile           NEW.
 gpgrt_funlockfile            NEW.
 gpgrt_feof                   NEW.
 gpgrt_feof_unlocked          NEW.
 gpgrt_ferror                 NEW.
 gpgrt_ferror_unlocked        NEW.
 gpgrt_clearerr               NEW.
 gpgrt_clearerr_unlocked      NEW.
 gpgrt_fflush                 NEW.
 gpgrt_fseek                  NEW.
 gpgrt_fseeko                 NEW.
 gpgrt_ftell                  NEW.
 gpgrt_ftello                 NEW.
 gpgrt_rewind                 NEW.
 gpgrt_getc                   NEW macro.
 gpgrt_getc_unlocked          NEW macro.
 gpgrt_fgetc                  NEW.
 gpgrt_fputc                  NEW.
 gpgrt_ungetc                 NEW.
 gpgrt_read                   NEW.
 gpgrt_write                  NEW.
 gpgrt_write_sanitized        NEW.
 gpgrt_write_hexstring        NEW.
 gpgrt_fread                  NEW.
 gpgrt_fwrite                 NEW.
 gpgrt_fgets                  NEW.
 gpgrt_putc                   NEW macro.
 gpgrt_putc_unlocked          NEW macro.
 gpgrt_fputs                  NEW.
 gpgrt_fputs_unlocked         NEW.
 gpgrt_getline                NEW.
 gpgrt_read_line              NEW.
 gpgrt_free                   NEW.
 gpgrt_fprintf                NEW.
 gpgrt_fprintf_unlocked       NEW.
 gpgrt_printf                 NEW.
 gpgrt_printf_unlocked        NEW.
 gpgrt_vfprintf               NEW.
 gpgrt_vfprintf_unlocked      NEW.
 gpgrt_setvbuf                NEW.
 gpgrt_setbuf                 NEW.
 gpgrt_set_binary             NEW.
 gpgrt_tmpfile                NEW.
 gpgrt_opaque_set             NEW.
 gpgrt_opaque_get             NEW.
 gpgrt_fname_set              NEW.
 gpgrt_fname_get              NEW.
 gpgrt_asprintf               NEW.
 gpgrt_vasprintf              NEW.
 gpgrt_bsprintf               NEW.
 gpgrt_vbsprintf              NEW.
 gpgrt_snprintf               NEW.
 gpgrt_vsnprintf              NEW.


Noteworthy changes in version 1.13 (2014-04-15) [C11/A11/R0]
-----------------------------------------------

 * Added a portable mutex API.

 * The AM_PATH_GPG_ERROR macro now defines GPG_ERROR_MT_CFLAGS and
   GPG_ERROR_MT_LIBS autoconf output variables for use by programs
   which need gpgrt based thread support.  gpg-error-config has a new
   option --mt.

 * Interface changes relative to the 1.12 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 GPG_ERR_KEY_ON_CARD          NEW.
 GPG_ERR_MAC_ALGO             NEW.
 GPG_ERR_INV_LOCK_OBJ         NEW.
 gpgrt_lock_t                 NEW.
 GPGRT_LOCK_INITIALIZER       NEW.
 GPGRT_LOCK_DEFINE            NEW.
 gpgrt_lock_init              NEW.
 gpgrt_lock_lock              NEW.
 gpgrt_lock_unlock            NEW.
 gpgrt_lock_destroy           NEW.
 gpgrt_yield                  NEW.


Noteworthy changes in version 1.12 (2013-06-24)
-----------------------------------------------

 * Add support for 64 bit Windows (use ./autogen.sh --build-w64).

 * Fixed parsing and installing of the Windows .def file.

 * Interface changes relative to the 1.11 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 GPG_ERR_NO_CRYPT_CTX         NEW.
 GPG_ERR_WRONG_CRYPT_CTX      NEW.
 GPG_ERR_BAD_CRYPT_CTX        NEW.
 GPG_ERR_CRYPT_CTX_CONFLICT   NEW.
 GPG_ERR_BROKEN_PUBKEY        NEW.
 GPG_ERR_BROKEN_SECKEY        NEW.


Noteworthy changes in version 1.11 (2013-02-25)
-----------------------------------------------

 * New error source GPG_ERR_SOURCE_ASSUAN for Libassuan related
   errors.

 * New macros GPG_ERROR_VERSION and GPG_ERROR_VERSION_NUMBER.  New
   function gpg_error_check_version.

 * Interface changes relative to the 1.10 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 GPG_ERR_NO_KEYSERVER          NEW.
 GPG_ERR_INV_CURVE             NEW.
 GPG_ERR_UNKNOWN_CURVE         NEW.
 GPG_ERR_DUP_KEY               NEW.
 GPG_ERR_AMBIGUOUS             NEW.
 GPG_ERR_SOURCE_ASSUAN         NEW.
 gpg_error_check_version       NEW.
 GPG_ERROR_VERSION             NEW.
 GPG_ERROR_VERSION_NUMBER      NEW.


Noteworthy changes in version 1.10 (2010-10-26)
-----------------------------------------------

 * Using a static library on W32 does now work.

 * Interface changes relative to the 1.9 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 GPG_ERR_NOT_INITIALIZED       NEW.
 GPG_ERR_MISSING_ISSUER_CERT   NEW.
 GPG_ERR_FULLY_CANCELED        NEW.


Noteworthy changes in version 1.9 (2010-07-21)
----------------------------------------------

 * New function gpg_err_deinit.

 * Fix building of static lib under W32.

 * Interface changes relative to the 1.8 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 GPG_ERR_MISSING_KEY           NEW.
 GPG_ERR_TOO_MANY              NEW.
 GPG_ERR_LIMIT_REACHED         NEW.
 gpg_err_deinit                NEW.


Noteworthy changes in version 1.8 (2010-05-06)
----------------------------------------------

 * Support for WindowsCE.

 * New option --list for gpg-error.

 * Interface changes relative to the 1.7 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 GPG_ERR_NOT_ENABLED           NEW.
 GPG_ERR_SOURCE_G13            NEW.
 GPG_ERR_NO_ENGINE             NEW.
 gpg_err_set_errno             NEW.


Noteworthy changes in version 1.7 (2008-11-26)
----------------------------------------------

 * Minor fixes and a few new error codes.

 * Interface changes relative to the 1.6 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 GPG_ERR_NOT_OPERATIONAL       NEW
 GPG_ERR_NO_PASSPHRASE         NEW
 GPG_ERR_NO_PIN                NEW


Noteworthy changes in version 1.6 (2007-10-29)
----------------------------------------------

 * Fixed a build problem under Windows.

 * Interface changes relative to the 1.4 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 GPG_ERR_UNFINISHED            NEW
 GPG_ERR_SOURCE_GPA            NEW
 GPG_ERR_SOURCE_KLEO           NEW


Noteworthy changes in version 1.5 (2006-11-30)
----------------------------------------------

 * Minor build system fixes.

 * Updated gettext.  Removed included gettext copy.

 * gpg-error has a new option --version.


Noteworthy changes in version 1.4 (2006-09-14)
----------------------------------------------

 * Support for Common Lisp is included.

 * New error codes for the Assuan IPC library.

 * New error code GPG_ERR_MISSING_ERRNO to be used in cases when a
   system accidentally does not set errno but a system error
   definitely occurred.

 * New error source GPG_ERR_SOURCE_ANY to allow proper use of
   libgpg-error even if a specific source is not available.

 * New convenience functions gpg_err_code_from_syserror and
   gpg_error_from_syserror which make sure never to return 0.

 * Interface changes relative to the 1.2 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 gpg_err_code_from_syserror    NEW
 gpg_error_from_syserror       NEW
 GPG_ERR_SOURCE_ANY            NEW
 GPG_ERR_MISSING_ERRNO         NEW
 GPG_ERR_UNKNOWN_OPTION        NEW
 GPG_ERR_UNKNOWN_COMMAND       NEW
 GPG_ERR_ASS_GENERAL           NEW
 GPG_ERR_ASS_ACCEPT_FAILED     NEW
 GPG_ERR_ASS_CONNECT_FAILED    NEW
 GPG_ERR_ASS_INV_RESPONSE      NEW
 GPG_ERR_ASS_INV_VALUE         NEW
 GPG_ERR_ASS_INCOMPLETE_LINE   NEW
 GPG_ERR_ASS_LINE_TOO_LONG     NEW
 GPG_ERR_ASS_NESTED_COMMANDS   NEW
 GPG_ERR_ASS_NO_DATA_CB        NEW
 GPG_ERR_ASS_NO_INQUIRE_CB     NEW
 GPG_ERR_ASS_NOT_A_SERVER      NEW
 GPG_ERR_ASS_NOT_A_CLIENT      NEW
 GPG_ERR_ASS_SERVER_START      NEW
 GPG_ERR_ASS_READ_ERROR        NEW
 GPG_ERR_ASS_WRITE_ERROR       NEW
 GPG_ERR_ASS_TOO_MUCH_DATA     NEW
 GPG_ERR_ASS_UNEXPECTED_CMD    NEW
 GPG_ERR_ASS_UNKNOWN_CMD       NEW
 GPG_ERR_ASS_SYNTAX            NEW
 GPG_ERR_ASS_CANCELED          NEW
 GPG_ERR_ASS_NO_INPUT          NEW
 GPG_ERR_ASS_NO_OUTPUT         NEW
 GPG_ERR_ASS_PARAMETER         NEW
 GPG_ERR_ASS_UNKNOWN_INQUIRE   NEW
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Noteworthy changes in version 1.3 (2006-03-14)
----------------------------------------------

 * GNU gettext is included for systems that do not provide it.


Noteworthy changes in version 1.2 (2006-03-03)
----------------------------------------------

 * New function gpg_err_init, which binds the locale directory to
   the text domain.  This function is a constructor on GCC targets,
   so it does not need to be called explicitely.  The header file
   defines GPG_ERR_INITIALIZED in this case.  This is experimental for
   now.

 * "./autogen.sh --build-w32" does now also build a DLL for W32.
   Translations are not yet provided for this platform.

 * New error codes GPG_ERR_UNKNOWN_EXTN and GPG_ERR_UNKNOWN_CRIT_EXTN.

 * New error code GPG_ERR_LOCKED.

 * New translations included for France, Romania, and Vietnamese.

 * Interface changes relative to the 1.1 release:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GPG_ERR_UNKNOWN_EXTN		NEW
GPG_ERR_UNKNOWN_CRIT_EXTN	NEW
GPG_ERR_LOCKED			NEW
gpg_err_init			NEW
GPG_ERR_INITIALIZED		NEW
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Noteworthy changes in version 1.1 (2005-06-20)
----------------------------------------------

 * Bug fixes.


Noteworthy changes in version 1.0 (2004-07-30)
----------------------------------------------

 * Ported to Solaris 2.8.

 * Added a new error source GPG_ERR_SOURCE_GSTI, and new error
   codes GPG_ERR_PROTOCOL_VIOLATION and GPG_ERR_INV_MAC for this
   source.

 * Interface changes relative to the 0.7 release:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GPG_ERR_SOURCE_GSTI		NEW
GPG_ERR_PROTOCOL_VIOLATION	NEW
GPG_ERR_INV_MAC			NEW
GPG_ERR_INV_REQUEST             NEW
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Noteworthy changes in version 0.7 (2004-03-07)
----------------------------------------------

 * libgpg-error can be built on systems where the errno macros do not
   evaluate to plain numbers, but expressions.  If you want to
   cross-compile, you might have to set CC_FOR_BUILD, though.

 * A new tool gpg-error to convert error numbers into symbols into
   strings is provided.

 * Interface changes relative to the 0.6 release:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GPG_ERR_LOCALE_PROBLEM          NEW
GPG_ERR_NOT_LOCKED              NEW
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Noteworthy changes in version 0.6 (2003-11-14)
----------------------------------------------

 * German translation included.

 * It is now possible to use the inline functions even for non C99
   compliant compilers by given e.g. -DGPG_ERR_INLINE=inline when
   compiling an application using this library.  Note, that gcc will
   use inline anyway.

 * Interface changes relative to the 0.5 release:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GPG_ERR_SOURCE_KSBA             NEW
GPG_ERR_SOURCE_DIRMNGR          NEW
GPG_ERR_TRUNCATED		NEW
GPG_ERR_NO_ENCODING_METHOD      NEW
GPG_ERR_NO_ENCRYPTION_SCHEME    NEW
GPG_ERR_NO_SIGNATURE_SCHEME     NEW
GPG_ERR_INV_ATTR                NEW
GPG_ERR_NO_VALUE                NEW
GPG_ERR_NOT_FOUND               NEW
GPG_ERR_VALUE_NOT_FOUND         NEW
GPG_ERR_SYNTAX                  NEW
GPG_ERR_INV_CRL                 NEW
GPG_ERR_BAD_BER                 NEW
GPG_ERR_INV_BER                 NEW
GPG_ERR_ELEMENT_NOT_FOUND       NEW
GPG_ERR_IDENTIFIER_NOT_FOUND    NEW
GPG_ERR_INV_TAG                 NEW
GPG_ERR_INV_LENGTH              NEW
GPG_ERR_INV_KEYINFO             NEW
GPG_ERR_UNEXPECTED_TAG          NEW
GPG_ERR_NOT_DER_ENCODED,        NEW
GPG_ERR_NO_CMS_OBJ              NEW
GPG_ERR_INV_CMS_OBJ             NEW
GPG_ERR_UNKNOWN_CMS_OBJ,        NEW
GPG_ERR_UNSUPPORTED_CMS_OBJ     NEW
GPG_ERR_UNSUPPORTED_ENCODING,   NEW
GPG_ERR_UNSUPPORTED_CMS_VERSION NEW
GPG_ERR_UNKNOWN_ALGORITHM       NEW
GPG_ERR_ENCODING_PROBLEM        NEW
GPG_ERR_INV_STATE               NEW
GPG_ERR_DUP_VALUE,              NEW
GPG_ERR_MISSING_ACTION          NEW
GPG_ERR_MODULE_NOT_FOUND        NEW
GPG_ERR_INV_OID_STRING          NEW
GPG_ERR_INV_TIME                NEW
GPG_ERR_INV_CRL_OBJ             NEW
GPG_ERR_UNSUPPORTED_CRL_VERSION NEW
GPG_ERR_INV_CERT_OBJ            NEW
GPG_ERR_UNKNOWN_NAME            NEW
GPG_ERR_BUFFER_TOO_SHORT.       NEW
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Noteworthy changes in version 0.5 (2003-10-06)
----------------------------------------------

 * New thread safe interface gpg_strerror_r.

 * New error code GPG_ERR_PIN_NOT_SYNCED has been added.

 * Interface changes relative to the 0.4 release:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gpg_strerror_r			NEW
GPG_ERR_PIN_NOT_SYNCED		NEW
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Noteworthy changes in version 0.4 (2003-09-03)
----------------------------------------------

 * Fixed another bug that prevented that system errors were created
   correctly in the first place.

 * Use inline in public header file only on C99 compilers.


Noteworthy changes in version 0.3 (2003-07-31)
----------------------------------------------

 * Fixed bug that prevented that system errors were mapped to error
   strings correctly.


Noteworthy changes in version 0.2 (2003-07-30)
----------------------------------------------

 * Value of the error code GPG_ERR_CANCELED was fixed.

 * New error codes GPG_ERR_WRONG_CARD, GPG_ERR_HARDWARE,
   GPG_ERR_PIN_BLOCKED and GPG_ERR_USE_CONDITIONS have been added.

 * The header file has been made C++ clean.

 * AM_PATH_GPG_ERR has been fixed to work without explicit version
   number.

 * The header file now uses inline instead __inline__ for non-GNU
   compilers.


Noteworthy changes in version 0.1 (2003-06-06)
----------------------------------------------

 * Initial release.


 Copyright 2003, 2004, 2005, 2010 g10 Code GmbH

 This file is free software; as a special exception the author gives
 unlimited permission to copy and/or distribute it, with or without
 modifications, as long as this notice is preserved.

 This file is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.