Add missing file.
[gnupg.git] / common / ChangeLog
blob1cf4f50fc232577e9c2f294b56fd77907a3fd545
1 2009-03-18  Werner Koch  <wk@g10code.com>
3         * exechelp.c: Include sys/resource.h and sys/stat.h.
4         (get_max_open_fds): New.
5         (do_exec): Use it.
6         (get_all_open_fds): New.
7         (close_all_fds): New.
8         (do_exec): Use close_all_fds.
9         * t-exechelp.c: New.
11 2009-03-13  David Shaw  <dshaw@jabberwocky.com>
13         * http.c (do_parse_uri): Properly handle IPv6 literal addresses as
14         per RFC-2732.  Adapted from patch by Phil Pennock.
16 2009-03-12  Werner Koch  <wk@g10code.com>
18         * gettime.c: Include i18n.h.
19         (dump_isotime): New.
21 2009-03-06  Werner Koch  <wk@g10code.com>
23         * sexputil.c (make_canon_sexp): New.
25 2009-03-03  Werner Koch  <wk@g10code.com>
27         * exechelp.c (do_exec): Make sure that /dev/null connected FDs are
28         not closed.
30 2009-01-19  Werner Koch  <wk@g10code.com>
32         * audit.c (writeout_li): Translate a few more result strings.
33         Fixes bug#970.
35         * convert.c (hex2str): Fix optimization to append a nul character.
37 2008-12-05  Werner Koch  <wk@g10code.com>
39         * percent.c, t-percent.c: New.
41         * exechelp.c (gnupg_spawn_process, gnupg_spawn_process_fd) 
42         (gnupg_spawn_process_detached) [W32]: Remove debug output.
44 2008-11-20  Werner Koch  <wk@g10code.com>
46         * audit.c (writeout_li): Translate OKTEXT.
48 2008-11-04  Werner Koch  <wk@g10code.com>
50         * i18n.c (i18n_init) [USE_SIMPLE_GETTEXT]: Adjust for changed
51         w32-gettext.c.
52         * homedir.c (gnupg_localedir): New.
54 2008-10-20  Werner Koch  <wk@g10code.com>
56         * http.c (http_register_tls_callback) [!HTTP_USE_GNUTLS]: Mark
57         unused arg.
58         * localename.c (do_nl_locale_name): Ditto.
59         * audit.c (event2str): Silent gcc warning.
60         * sysutils.c (translate_sys2libc_fd): Mark unused arg.
61         (translate_sys2libc_fd_int): Ditto.
62         * iobuf.c (translate_file_handle): Ditto.
63         * asshelp.c (send_one_option): Ditto.
64         * exechelp.c (gnupg_spawn_process): Ditto.
65         * signal.c (got_usr_signal): Ditto
66         * estream.c (es_func_fd_create) [!W32]: Ditto.
67         (es_func_fp_create) [!W32]: Ditto.
68         (es_write_hexstring): Ditto.
69         (dummy_mutex_call_void, dummy_mutex_call_int) [HAVE_PTH]: New.
70         (ESTREAM_MUTEX_LOCK, ESTREAM_MUTEX_UNLOCK, ESTREAM_MUTEX_TRYLOCK)
71         (ESTREAM_MUTEX_INITIALIZE) [HAVE_PTH]: Use dummy calls so to mark
72         unused arg.
74 2008-10-19  Werner Koch  <wk@g10code.com>
76         * estream-printf.c (estream_vsnprintf): Fix return value.
77         (check_snprintf): Add a new test.
78         (one_test) [W32]: Disable test.
80 2008-10-17  Werner Koch  <wk@g10code.com>
82         * util.h (snprintf) [W32]: Redefine to estream_snprintf.
84 2008-09-03  Werner Koch  <wk@g10code.com>
86         * convert.c (hex2str): New.
87         (hex2str_alloc): New.
88         * t-convert.c (test_hex2str): New.
90 2008-08-19  Werner Koch  <wk@g10code.com>
92         * iobuf.c: Avoid passing a NULL (iobuf_t)->desc to the log
93         function.  Should in general never be NULL, but well.  Reported by
94         M. Heneka.
96 2008-06-26  Werner Koch  <wk@g10code.com>
98         * estream.c (es_write_sanitized): Loose check for control
99         characters to better cope with utf-8.  The range 0x80..0x9f is
100         nowadays not anymore accidently used for control charaters.
102 2008-06-25  Marcus Brinkmann  <marcus@g10code.de>
104         Revert last three changes related to handle translation.
105         * sysutils.c:
106         (FD_TRANSLATE_MAX, fd_translate, fd_translate_len)
107         (translate_table_init, translate_table_lookup): Removed.
108         * iobuf.c (check_special_filename): Do not use
109         translate_table_lookup.
110         * sysutils.h (translate_table_init, translate_table_lookup):
111         Remove prototypes.
113 2008-06-19  Werner Koch  <wk@g10code.com>
115         * sysutils.c: Remove <ctype.h>.
116         (fd_translate_max): Use macro for the size.
117         (translate_table_init): Protect read against EINTR and replace
118         isspace by spacep.
120 2008-06-18  Marcus Brinkmann  <marcus@g10code.de>
122         * sysutils.c (TRANS_MAX): Bump up to 350 to be on the safe side.
124         * sysutils.h (translate_table_init, translate_table_lookup): New
125         prototypes.
126         * sysutils.c: Include <ctype.h>.
127         (FD_TRANSLATE_MAX): New macro.
128         (fd_translate, fd_translate_len): New static variables.
129         (translate_table_init, translate_table_lookup): New functions.
130         (translate_sys2libc_fd_int): Translate file descriptor.
131         * iobuf.c (check_special_filename): Translate handle values from
132         special filenames.
134 2008-06-16  Werner Koch  <wk@g10code.com>
136         * homedir.c (w32_commondir): New.
137         (gnupg_sysconfdir): Use it.
139 2008-06-09  Werner Koch  <wk@g10code.com>
141         * b64dec.c: New.
143 2008-06-05  Werner Koch  <wk@g10code.com>
145         * util.h (gnupg_copy_time): Replace strcpy by memcpy.
147 2008-05-26  Werner Koch  <wk@g10code.com>
149         * asshelp.c (send_one_option, send_pinentry_environment): use
150         xfree and xtrystrdup.
152         * i18n.c (i18n_switchto_utf8) [USE_SIMPLE_GETTEXT]: Return NULL.
154         * homedir.c (gnupg_module_name): Add
155         GNUPG_MODULE_NAME_CONNECT_AGENT and GNUPG_MODULE_NAME_GPGCONF.
157 2008-04-21  Werner Koch  <wk@g10code.com>
159         * http.c (http_wait_response) [W32]: Use DuplicateHandle because
160         it is a socket.
161         (cookie_read) [W32]: Use recv in place of read.
163 2008-04-08  Werner Koch  <wk@g10code.com>
165         * i18n.c (i18n_switchto_utf8, i18n_switchback)
166         [USE_SIMPLE_GETTEXT]: Implement.
168 2008-04-07  Werner Koch  <wk@g10code.com>
170         * b64enc.c (b64enc_start): Detect PGP mode.
171         (b64enc_finish): Write PGP CRC.
172         * util.h (struct b64state): Add field CRC.
173         * t-b64.c: New.
175         * pka.c (get_pka_info): Use xtrymalloc and check result.
177 2008-03-25  Werner Koch  <wk@g10code.com>
179         * localename.c: Strip all W32 code.  Include w32help.h.
180         (gnupg_messages_locale_name) [W32]: Use the gettext_localename.
182 2008-03-17  Werner Koch  <wk@g10code.com>
184         * iobuf.c (IOBUF_BUFFER_SIZE): Actually use this macro.
186         * simple-pwquery.c (agent_send_all_options): Fix last change.
188 2008-03-06  Werner Koch  <wk@g10code.com>
190         * simple-pwquery.c (agent_send_all_options): Add support for
191         XAUTHORITY and PINENTRY_USER_DATA.
193 2008-02-15  Marcus Brinkmann  <marcus@g10code.de>
195         * exechelp.c (gnupg_spawn_process_fd): Add flag DETACHED_PROCESS
196         unconditionally (required for all callers at the moment).
198 2008-02-14  Werner Koch  <wk@g10code.com>
200         * sysutils.c (gnupg_allow_set_foregound_window): New.
201         (WINVER) [W32]: Define.
203 2008-01-31  Werner Koch  <wk@g10code.com>
205         * audit.c (audit_print_result): Make sure that the output is
206         always UTF8.
208 2008-01-27  Werner Koch  <wk@g10code.com>
210         * exechelp.c (gnupg_spawn_process): Add arg FLAGS and changed all
211         callers to pass 0 for it.
213 2007-12-13  Werner Koch  <wk@g10code.com>
215         * sexputil.c (hash_algo_from_sigval): New.
216         * t-sexputil.c: New.
217         * Makefile.am (module_tests): Add it.
219 2007-12-11  Werner Koch  <wk@g10code.com>
221         * asshelp.c (send_pinentry_environment): Allow using of old
222         gpg-agents not capabale of the xauthority and pinentry_user_data
223         options.
225 2007-12-04  Werner Koch  <wk@g10code.com>
227         * Makefile.am (t_helpfile_LDADD, module_maint_tests): New.
228         * t-helpfile.c: New.
229         * helpfile.c: New.
230         * membuf.h (is_membuf_ready, MEMBUF_ZERO): New.
231         * localename.c: New.  Taken from gettext with modifications as done
232         for GpgOL.  Export one new function.
233         * util.h (gnupg_messages_locale_name, gnupg_get_help_string): Added.
235         * sysutils.c (gnupg_reopen_std): New.  Taken from ../g10/gpg.c.
237 2007-11-27  Werner Koch  <wk@g10code.com>
239         * Makefile.am (CLEANFILES): New.
241         * homedir.c (dirmngr_socket_name): Use CSIDL_WINDOWS.
243 2007-11-15  Werner Koch  <wk@g10code.com>
245         * asshelp.c (send_pinentry_environment): Add args XAUTHORITY and
246         PINENTRY_USER_DATA.
247         (start_new_gpg_agent): Ditto.
249 2007-11-07  Werner Koch  <wk@g10code.com>
251         * status.h: New.
252         * errors.h: Remove.
254 2007-11-05  Werner Koch  <wk@g10code.com>
256         * audit.c, audit.h: New. 
257         * Makefile.am: Add rules to build audit-events.h.
258         * exaudit.awk: New.
259         * mkstrtable.awk: New.  Taken from libgpg-error.
261 2007-10-19  Werner Koch  <wk@g10code.com>
263         * i18n.c (i18n_switchto_utf8, i18n_switchback): New.
265 2007-10-01  Werner Koch  <wk@g10code.com>
267         * sysutils.h (FD2INT, INT2FD): New.
269 2007-09-21  Werner Koch  <wk@g10code.com>
271         * homedir.c (default_homedir): Make registry work.  Reported by
272         Marc Mutz.
274 2007-08-29  Werner Koch  <wk@g10code.com>
276         * exechelp.c (gnupg_wait_process): Add arg EXITCODE.  Changed all
277         callers.
278         (gnupg_create_inbound_pipe): New.
279         * util.h (GNUPG_MODULE_NAME_GPGSM, GNUPG_MODULE_NAME_GPG): New.
280         * homedir.c (gnupg_module_name): Add them
281         
282 2007-08-28  Werner Koch  <wk@g10code.com>
284         * gettime.c (check_isotime, add_isotime): New.  Originally written
285         for DirMngr by me.
286         (add_days_to_isotime): New.
287         (date2jd, jd2date, days_per_month, days_per_year): New. Taken from
288         my ancient (1988) code used in Wedit (time2.c).
290 2007-08-27  Werner Koch  <wk@g10code.com>
292         * util.h (GNUPG_MODULE_NAME_CHECK_PATTERN): New.
293         * homedir.c (gnupg_module_name): Add it.
294         * exechelp.c (w32_fd_or_null) [W32]: New.
295         (gnupg_spawn_process_fd): New.
296         (gnupg_wait_process) [W32]: Close the handle after if the process has
297         returned.
299 2007-08-22  Werner Koch  <wk@g10code.com>
301         Updated estream from libestream.
302         
303         * estream.c (mem_malloc, mem_realloc, mem_free): New.  Use them
304         instead of the ES_MEM_foo.
305         * estream.c (estream_cookie_mem): Remove members DONT_FREE,
306         APPEND_ZERO, PTR and SIZE.  Add MEMORY_LIMIT.  Put GROW into a new
307         FLAGS struct.
308         (es_func_mem_create): Remove APPEND_ZERO, DONT_FREE, PTR and
309         SIZE.  Add MEMORY_LIMIT.
310         (es_func_mem_write, es_func_mem_seek, es_func_mem_destroy): Revamp.
311         (es_open_memstream): Change API to just take a memory limit and a
312         mode argument.  Rename to ..
313         (es_fopenmem): .. this.
314         (HAVE_W32_SYSTEM) [_WIN32]: Define if not defined.
315         (tmpfd) [W32]: Implement directly using the W32 API.
316         (es_fgets): Rewrite without using doreadline.
318 2007-08-21  Werner Koch  <wk@g10code.com>
320         * sysutils.c (gnupg_tmpfile): New.
321         * t-sysutils.c: New.
322         * Makefile.am (module_tests): Add t-sysutils.
324 2007-08-20  Werner Koch  <wk@g10code.com>
326         * exechelp.c [W32]: Redefine X_OK to F_OK.
328 2007-08-16  Werner Koch  <wk@g10code.com>
330         * Makefile.am (t_convert_DEPENDENCIES): Remove
331         ($(PROGRAMS)): Remove.
332         (t_common_ldadd): Use libcommon.a and not the macro.
334 2007-08-14  Werner Koch  <wk@g10code.com>
336         * homedir.c (dirmngr_socket_name): New.
338 2007-08-07  Werner Koch  <wk@g10code.com>
340         * tlv.c, tlv.h: Move from ../scd/.
341         * tlv.c (parse_sexp, parse_ber_header): Add ERRSOURCE arg and prefix
342         name with a _.
343         * tlv.h: Use macro to convey ERRSOURCE.
345 2007-08-02  Werner Koch  <wk@g10code.com>
347         * gc-opt-flags.h: New.
349 2007-08-01  Werner Koch  <wk@g10code.com>
351         * estream-printf.c (read_dummy_value): Removed as it is useless now.
352         (read_values): Remove check on !vaargs which is not anymore needed
353         and anyway not portable.  Reported by Peter O'Gorman.
355 2007-07-16  Werner Koch  <wk@g10code.com>
357         * estream.c (es_func_file_create): Clear NO_CLOSE flag.
359 2007-07-12  Werner Koch  <wk@g10code.com>
361         * sysutils.h (gnupg_fd_t): New.
362         * sysutils.c (translate_sys2libc_fd): Use that type instead of int.
363         (translate_sys2libc_fd_int): New.
365 2007-07-09  Werner Koch  <wk@g10code.com>
367         * t-gettime.c (test_isotime2epoch): Use time_t and not u32.
369 2007-07-05  Werner Koch  <wk@g10code.com>
371         * t-gettime.c: New. 
372         * gettime.c (isotime2epoch, epoch2isotime): New.
374 2007-07-04  Werner Koch  <wk@g10code.com>
376         * estream.c (es_init_do): Do not throw an error if pth has already
377         been initialized.
379 2007-06-26  Werner Koch  <wk@g10code.com>
381         * Makefile.am ($(PROGRAMS)): New.
383         * util.h (init_common_subsystems): Moved to ..
384         * init.h: .. New.
385         * util.h: Include init.h.
387         * homedir.c (standard_homedir): New.
388         (default_homedir) [W32]: Reimplemented in terms of
389         standard_homedir.  Fixed memory leak.
391 2007-06-25  Werner Koch  <wk@g10code.com>
393         * iobuf.c: Add more documentation and slighly restructured macro
394         defintion for better readability.
395         (FILEP_OR_FD): Rename to fp_or_fd_t.
396         (CLOSE_CACHE): Rename to close_cache_t.
398         * sysutils.c (translate_sys2libc_fd): New using the code from iobuf.c.
399         * iobuf.c: Include sysutils.h.
400         (iobuf_translate_file_handle): Remove.
401         (translate_file_handle): Use new function.
403         * estream-printf.c [TEST]: Header including fixes. 
404         (do_format): Do not append a trailing Nul.  This avoids spurious
405         Nuls in the es_printf output.
406         (estream_vsnprintf, estream_vasprintf): Take this in account.
408         * estream.h (struct es__stream): Change FLAGS to a bit structure.
409         (ES__FLAG_WRITING): Replace by a bit from FLAGS.  * estream.c
410         (struct estream_internal): Rename FLAGS to MODEFLAGS so that they
411         are not confused with the estream flags.
412         (es_initialize, es_create): Add arg MODEFLAGS so that we can setup
413         the intial writemode.  Changed all callers to pass them.
414         (es_convert_mode): Set O_BINARY.
415         (es_func_fd_create, es_func_fp_create, es_func_file_create) [W32]:
416         Call setmode if requested.
417         
418 2007-06-24  Werner Koch  <wk@g10code.com>
420         * estream.c (do_fpopen, es_fpopen, es_fpopen_nc): New.
421         (es_func_fp_create, es_func_fp_read, es_func_fp_write) 
422         (es_func_fp_seek, es_func_fp_destroy): New.
424 2007-06-22  Werner Koch  <wk@g10code.com>
426         * estream.c (es_fdopen): Factored code out to..
427         (do_fdopen): .. new.
428         (es_fdopen_nc): New.
429         (estream_cookie_fd): Add field NO_CLOSE. 
430         (es_func_fd_create): Add arg NO_CLOSE and changed all callers.
431         (es_func_fd_destroy): Handle the new flag.
433         * homedir.c (gnupg_libexecdir) [W32]: Factor code out to ..
434         (w32_rootdir): .. new.
435         (gnupg_sysconfdir, gnupg_libdir, gnupg_datadir) [W32]: Return
436         name based on w32_rootdir().
438 2007-06-21  Werner Koch  <wk@g10code.com>
440         * membuf.h (get_membuf_len): New.
442         * membuf.c (init_membuf_secure): Really allocate in secure memory.
443         (put_membuf_str): New.
445         * ttyio.c (tty_getf): New.
447         * util.h (ctrl_t): Declare it here.
449         * asshelp.c (start_new_gpg_agent): New.  Based on code from
450         ../sm/call-agent.c
452 2007-06-20  Werner Koch  <wk@g10code.com>
454         * sysutils.c (gnupg_sleep): New.
455         * sysutils.h [W32]: Remove _sleep wrapper.  Changed all callers to
456         use gnupg_sleep.
458         * exechelp.c (build_w32_commandline_copy): New.
459         (build_w32_commandline): Factored some code out to new function
460         and correctly process a PGMNAME with spaces.
461         (gnupg_spawn_process_detached) [W32]: Implement.
463 2007-06-14  Werner Koch  <wk@g10code.com>
465         * simple-pwquery.h (MAP_SPWQ_ERROR_IMPL): New.
466         (SPWQ_NO_PIN_ENTRY): New.
467         * simple-pwquery.c (simple_pw_set_socket): New.
468         (agent_open): Use it if GPG_AGENT_INFO is not set.
469         (simple_pwquery): Extended to allow returning of otehyr error codes.
471         * util.h (GNUPG_MODULE_NAME_AGENT, GNUPG_MODULE_NAME_PINENTRY) 
472         (GNUPG_MODULE_NAME_SCDAEMON, GNUPG_MODULE_NAME_DIRMNGR) 
473         (GNUPG_MODULE_NAME_PROTECT_TOOL): New.
474         * homedir.c (gnupg_module_name): New.
475         (gnupg_bindir): New.
477 2007-06-12  Werner Koch  <wk@g10code.com>
479         * homedir.c (gnupg_sysconfdir): New.
480         (gnupg_libexecdir): New.  Taken from g10/misc.c:get_libexecdir.
481         (gnupg_datadir): New.
482         (gnupg_libdir): New.
484         * http.c (connect_server) [W32]: Do not call init_sockets if
485         HTTP_NO_WSASTARTUP is defined.
487         * init.c: New.
489         * estream.c (es_init_do): Init stream lock here because we can't
490         use a static initialization with W32pth.
492 2007-06-11  Werner Koch  <wk@g10code.com>
494         * Makefile.am (t_common_ldadd): Use libcommonstd macro.
496 2007-06-06  Werner Koch  <wk@g10code.com>
498         * Makefile.am: Include am/cmacros.am.
500         * sysutils.h [W32]: Remove prototypes for the registry access.
501         * w32reg.c:  Move to ../jnlib/w32-reg.c.
503         * i18n.c (i18n_init): New.
505         * simple-gettext.c: Remove.
507         * iobuf.c (iobuf_get_filelength): Rename SIZE to EXSIZE to silent
508         shadowing warning.
510 2007-06-04  Werner Koch  <wk@g10code.com>
512         * http.c [W32]: Include unistd.h also in this case.
513         (write_server) [W32]: Fixed error code.
514         (init_sockets): Fixed syntax error.
515         (cookie_close): Replace close by sock_close macro.
517         * estream.c [w32]: Do not init Mutex.
519         * Makefile.am (common_sources) [USE_SNS_SRV]: Build srv.c only
520         when needed.
522         * ttyio.c (init_ttyfp) [W32]: Do not use TTYFP.
524         * util.h: Include ../jnlib/dynload.h.
526         * dynload.h:  Move to ../jnlib.
528 2007-05-30  Werner Koch  <wk@g10code.com>
530         * estream.c (MEM_FREE, MEM_ALLOC, MEM_REALLOC): Prefix with ES_ as
531         windows.h also has such definitions,
533 2007-05-15  Werner Koch  <wk@g10code.com>
535         * util.h: Do not include gnulib's vasprintf.  Redefine asprintf
536         and vasprintf.
538         * xasprintf.c (xasprintf, xtryasprintf): Use estream_vasprintf.
540         * estream-printf.h, estream-printf.c: New.  Taken from current
541         libestream SVN.
542         * Makefile.am (common_sources): Add them.
544 2007-05-14  Werner Koch  <wk@g10code.com>
546         * sexp-parse.h (smklen): New.
547         * sexputil.c: Include sexp-parse.h.
548         (make_simple_sexp_from_hexstr): Replace sprintf by smklen.
550 2007-05-07  Werner Koch  <wk@g10code.com>
552         * signal.c (got_fatal_signal): Protect SIG from being clobbered by
553         a faulty signal implementaion.  Suggested by James Juran. 
555 2007-04-25  Werner Koch  <wk@g10code.com>
557         * i18n.h (ngettext): New.
558         * simple-gettext.c (ngettext): New.
560 2007-04-20  Werner Koch  <wk@g10code.com>
562         * miscellaneous.c (my_gcry_logger, my_gcry_outofcore_handler):
563         Moved from gpg-agent to here.
564         (my_gcry_fatalerror_handler): new.
565         (setup_libgcrypt_logging): New.
567 2007-03-19  Werner Koch  <wk@g10code.com>
569         * miscellaneous.c (print_hexstring): New.
570         * estream.c (es_fprintf_unlocked): New.
571         (es_write_sanitized): New.
572         (es_write_hexstring): New.
573         (es_write_sanitized_utf8_buffer) [GNUPG_MAJOR_VERSION]: New.
575 2007-03-09  David Shaw  <dshaw@jabberwocky.com>
577         From STABLE-BRANCH-1-4
579         * http.c (do_parse_uri): Remove the hkp port 11371 detection.  We
580         implement hkp in the keyserver handler, and the support here makes
581         it appear like a bad hkp request actually succeeded.
583 2007-01-31  Werner Koch  <wk@g10code.com>
585         * Makefile.am (t_common_ldadd): Add LIBINCONV and LIBINTL.
587 2007-01-25  Werner Koch  <wk@g10code.com>
589         * simple-pwquery.c (simple_pwquery): New arg OPT_CHECK.
591 2006-12-13  David Shaw  <dshaw@jabberwocky.com>
593         * Makefile.am (AM_CPPFLAGS): Include intl/ so we can reference the
594         built-in headers.
596 2006-11-23  Werner Koch  <wk@g10code.com>
598         * http.c: Include i18n.h
600 2006-11-21  Werner Koch  <wk@g10code.com>
602         * estream.c: Remove explicit Pth soft mapping diabling becuase it
603         is now done in config.h.
605 2006-11-15  Werner Koch  <wk@g10code.com>
607         * estream.c: Disabled Pth soft mapping.
608         (my_funopen_hook_ret_t): New.
609         (print_fun_writer): Use it here.
611         * iobuf.c (fd_cache_close): Use %d instead of %p for debug output.
613 2006-11-03  Werner Koch  <wk@g10code.com>
615         * Makefile.am (t_convert_DEPENDENCIES): Add libcommon.  From
616         Gentoo.
618 2006-10-24  Marcus Brinkmann  <marcus@g10code.de>
620         * Makefile.am (libcommon_a_CFLAGS): Add $(LIBASSUAN_CFLAGS).
621         (libsimple_pwquery_a_CFLAGS): New variable.
623 2006-10-20  Werner Koch  <wk@g10code.com>
625         * convert.c (hex2bin): New.
627 2006-10-17  Werner Koch  <wk@g10code.com>
629         * estream.c (struct estream_internal, es_initialize) 
630         (es_deinitialize, print_fun_writer, es_print): New and modified
631         functions to avoid tempfiles for printf style printing. 
633         * Makefile.am (libcommonpth_a_SOURCES): New. We now build a secon
634         version of the library with explicit Pth support.
635         * exechelp.c, estream.c: Make use of WITHOUT_GNU_PTH.
637 2006-10-08  Werner Koch  <wk@g10code.com>
639         * gpgrlhelp.c: Trun all functions into dummies if readline is not
640         available.
642 2006-10-06  Werner Koch  <wk@g10code.com>
644         * Makefile.am (AM_CFLAGS): Use PTH version of libassuan.
646         * util.h (GNUPG_GCC_A_SENTINEL): Defined for gcc >= 4.
648 2006-10-04  David Shaw  <dshaw@jabberwocky.com>
650         * gpgrlhelp.c: readline requires stdio.h.
652 2006-10-04  Werner Koch  <wk@g10code.com>
654         * membuf.c (init_membuf_secure): New.
655         (put_membuf): Make sure that ERRNO is set even if the underlying
656         malloc code does not work properly.
657         (get_membuf): Set ERRNO on error.
658         (get_membuf): Allow to pass LEN as NULL.
660 2006-10-02  Werner Koch  <wk@g10code.com>
662         * iobuf.c (iobuf_unread): Removed.  This code is not required.
663         Also removed the entire unget buffer stuff.
665 2006-09-27  Werner Koch  <wk@g10code.com>
667         * util.h: Do not include strsep.h and strpbrk.h.
668         (isascii): Removed as it is now in jnlib.
670         * iobuf.c (pop_filter, underflow, iobuf_close): Free the unget
671         buffer.
673 2006-09-27  Florian Weimer <fweimer@bfk.de>  (wk)
674         
675         * iobuf.c (iobuf_unread): New.
677 2006-09-22  Werner Koch  <wk@g10code.com>
679         * i18n.h: Changed license to an all permissive one.
681         * ttyio.c (tty_get): We need to use readline too.  Added two more
682         hooks.
684 2006-09-21  Werner Koch  <wk@g10code.com>
686         * ttyio.c (tty_private_set_rl_hooks): New.
687         (tty_enable_completion, tty_disable_completion): Use a hook to
688         enable readline support.  Now always available.
689         (tty_cleanup_rl_after_signal): New.
691         * ttyio.h: Removed readline specific stuff.  Included util.h.
692         * common-defs.h: New.
694 2006-09-15  Werner Koch  <wk@g10code.com>
696         * convert.c: New.
697         (hexcolon2bin): New.
698         (bin2hex, bin2hexcolon, do_binhex): New.
699         * t-convert.c: New
701 2006-09-14  Werner Koch  <wk@g10code.com>
703         * util.h (out_of_core): Use new gpg_error_from_syserror function.
705         * http.c (init_sockets): Changed it to require 2.2 unless it is
706         build within gnupg 1 where we require 1.1 (and not anymore allow
707         for 1.0).
709 2006-09-07  Werner Koch  <wk@g10code.com>
711         * exechelp.c (gnupg_spawn_process): Factor out post fork code to ..
712         (do_exec): .. new function.  Allow passing of -1 for the fds.
713         (gnupg_spawn_process): Terminate gcrypt's secure memory in the child.
714         (gnupg_spawn_process_detached): New.
716 2006-09-06  Werner Koch  <wk@g10code.com>
718         * maperror.c: Removed.
720         * util.h (out_of_core): New.
722 2006-09-04  Werner Koch  <wk@g10code.com>
724         * http.c (http_get_header): New.
725         (capitalize_header_name, store_header): New.
726         (parse_response): Store headers away.
727         (send_request): Return GPG_ERR_NOT_FOUND if connect_server failed.
728         * http.h: New flag HTTP_FLAG_NEED_HEADER.
730 2006-08-21  Werner Koch  <wk@g10code.com>
732         * Makefile.am (libcommon_a_SOURCES): Added keyserver.h
734         * openpgpdefs.h: New.  Stripped from ..g10/packet.h.
736 2006-08-16  Werner Koch  <wk@g10code.com>
738         * keyserver.h: Moved from ../include to here.
740         * http.c: Include srv.h.
742         * srv.c, srv.h: New. Taken from GnuPG 1.4
744 2006-08-14  Werner Koch  <wk@g10code.com>
746         * http.h (struct http_context_s): Moved to implementation.
747         * http.c (http_open): Changed call to return a context.
748         (http_open_document): Ditto.
749         (http_get_read_ptr, http_get_read_ptr, http_get_status_code): New.
750         (do_parse_uri): Replaced strlwr by straight code to ease
751         standalone use of this file.
752         (http_wait_response): Removed arg STATUS_CODE as it is available
753         through an accessor function. Adjusted caller.
754         (http_escape_string): New.
756         * estream.c (es_read_line): Renamed to ..
757         (doreadline): .. this.  Changed all callers.
758         (es_read_line): New.  This is theusual limited getline variabnt as
759         used at several places.  Here taken and adjusted from xreadline.c
760         (es_free): New.
762 2006-08-11  Werner Koch  <wk@g10code.com>
764         * http.c: Major internal changes to optionallly support GNUTLS and
765         ESTREAM.
766         (http_open): Move initialization of the stream ...
767         (send_request): .. here.
768         (http_register_tls_callback): New.
770         * estream.c (es_writen): Try to seek only is a seek function has
771         been registered.
773 2006-08-09  Werner Koch  <wk@g10code.com>
775         * http.c, http.h: New.  Taken from gnupg 1.4.5, merged with
776         changes done for the Dirmngr project (by g10 Code) and cleaned up
777         some stuff.
778         (make_header_line): New. Change all caller to make user of the new
779         * Makefile.am (libcommon_a_SOURCES): Added http.c and http.h.
781 2006-05-23  Werner Koch  <wk@g10code.com>
783         * gettime.c (isotimestamp): New.
785         * ttyio.c (tty_get_ttyname): Posixly correct usage of ctermid.
787         * dns-cert.c: New.  Taken from 1.4.3's util/cert.c.
788         * dns-cert.h: New.
790 2006-05-22  Werner Koch  <wk@g10code.com>
792         * pka.c: New. Taked from 1.4.3.
793         * pka.h: New.
794         * Makefile.am: Added pka.
796 2006-05-19  Werner Koch  <wk@g10code.com>
798         * yesno.c (answer_is_yes_no_default, answer_is_yes_no_quit):
799         Updated from 1.4.3.
800         (answer_is_okay_cancel): new.  From 1.4.3.
802         * miscellaneous.c (match_multistr): New.  Taken from 1.4.3.
804         * ttyio.c (tty_enable_completion, tty_disable_completion): New
805         dummy functions.
806         * ttyio.h: Add prototypes and stubs.
808 2006-04-19  Werner Koch  <wk@g10code.com>
810         * iobuf.c (iobuf_get_fd): New.  Taken from 1.4.3.
811         (iobuf_is_pipe_filename): New.
812         (pop_filter): Made static.
813         (iobuf_skip_rest): New.  Orginal patch by Florian
814         Weimer.  Added new argument PARTIAL.
815         (block_filter): Remove the old gpg indeterminate length mode.
816         (block_filter): Properly handle a partial body stream
817         that ends with a 5-byte length that happens to be zero.
818         (iobuf_set_block_mode, iobuf_in_block_mode): Removed as
819         superfluous.
820         (iobuf_get_filelength): New arg OVERFLOW.
821         (iobuf_get_filelength) [W32]: Use GetFileSizeEx if available
822         * miscellaneous.c (is_file_compressed): Take care of OVERFLOW.
824 2006-04-18  Werner Koch  <wk@g10code.com>
826         * homedir.c (w32_shgetfolderpath): New.  Taken from gpg 1.4.3.
827         (default_homedir): Use it.
829 2005-10-08  Marcus Brinkmann  <marcus@g10code.de>
831         * signal.c (get_signal_name): Check value of HAVE_DECL_SYS_SIGLIST
832         instead of just if it is defined.
834 2005-09-28  Marcus Brinkmann  <marcus@g10code.de>
836         * Makefile.am (AM_CFLAGS): Add $(LIBASSUAN_CFLAGS).
838 2005-07-04  Marcus Brinkmann  <marcus@g10code.de>
840         * simple-pwquery.h (simple_pwclear): New prototype.
841         * simple-pwquery.c (simple_pwclear): New function.
843 2005-06-15  Werner Koch  <wk@g10code.com>
845         * miscellaneous.c (make_printable_string): Made P a void*.
847         * sexputil.c (keygrip_from_canon_sexp, cmp_simple_canon_sexp):
848         Fixed signed/unsigned pointer mismatch.
849         (make_simple_sexp_from_hexstr): Ditto.  This is all too ugly; I
850         wonder why gcc-4's default is to warn about them and forcing us to
851         use cast the warning away.
852         * iobuf.c (block_filter): Ditto.
853         (iobuf_flush): Ditto.
854         (iobuf_read_line): Ditto.
855         (iobuf_read): Make BUFFER a void *.
856         (iobuf_write): Make BUFFER a const void *.
857         * ttyio.c (tty_print_utf8_string2): Ditto.
858         * estream.c (estream_cookie_mem): Make MEMORY unsigned char*.
859         (es_write): Make BUFFER a void *.
860         (es_writen): Ditto.
861         (es_func_fd_read, es_func_fd_write, es_func_mem_read) 
862         (es_func_mem_write): Ditto.
863         (es_read, es_readn): Ditto.
864         (es_func_mem_write): Made MEMORY_NEW an unsigned char *.
865         * estream.h (es_cookie_read_function_t)
866         (es_cookie_write_function_t): Changed buffer arg to void*.
868 2005-06-03  Werner Koch  <wk@g10code.com>
870         * estream.c: Use HAVE_CONFIG_H and not USE_CONFIG_H!
871         (es_func_fd_read, es_func_fd_write): Protect against EINTR.
872         
873 2005-06-01  Werner Koch  <wk@g10code.com>
875         * Makefile.am (AM_CPPFLAGS): Added.
877         * util.h: Add some includes for gnulib.
878         (ttyname, isascii): Define them inline.
879         * fseeko.c, ftello.c: Removed.
880         * strsep.c, mkdtemp.c: Removed.
881         * ttyname.c, isascii.c: Removed.
883 2005-05-31  Werner Koch  <wk@g10code.com>
885         * dynload.h: s/__inline__/inline/.
887 2005-05-13  Werner Koch  <wk@g10code.com>
889         * signal.c (got_fatal_signal): Print the signal number if we can't
890         get a name for it.
891         (get_signal_name): Return NULL if no name is available. Fixed
892         conditional for sys_siglist to the correct one.
894 2005-04-17  Werner Koch  <wk@g10code.com>
896         * sexputil.c (cmp_simple_canon_sexp): New.
897         (make_simple_sexp_from_hexstr): New.
899 2005-04-07  Werner Koch  <wk@g10code.com>
901         * sexputil.c: New.
903 2005-04-11  Marcus Brinkmann  <marcus@g10code.de>
905         * simple-pwquery.c (simple_pwquery): Use spwq_secure_free.
907 2005-03-03  Werner Koch  <wk@g10code.com>
909         * Makefile.am (AM_CFLAGS): Added PTH_CFLAGS.  Noted by Kazu Yamamoto.
911 2005-02-25  Werner Koch  <wk@g10code.com>
913         * xasprintf.c (xtryasprintf): New.
915 2005-01-26  Moritz Schulte  <moritz@g10code.com>
917         * Makefile.am (libcommon_a_SOURCES): New source files: estream.c,
918         estream.h.
919         * estream.c, estream.h: New files.
921 2005-01-03  Werner Koch  <wk@g10code.com>
923         * asshelp.c (send_pinentry_environment): Fixed changed from
924         2004-12-18; cut+paste error for lc-messages.
926 2004-12-21  Werner Koch  <wk@g10code.com>
928         * simple-pwquery.c (agent_open) [W32]: Implement for W32.
929         (readline) [W32]: Use recv instead of read.
930         (writen) [W32]: Use send instead of write.
931         (my_stpcpy): Define a stpcpy replacement so that this file
932         continues to be self-contained.
933         (agent_send_all_options) [W32]: Don't call ttyname.
935 2004-12-21  Marcus Brinkmann  <marcus@g10code.de>
937         * simple-pwquery.h (simple_query): Add prototype.
938         * simple-pwquery.c (simple_query): New function.
940 2004-12-21  Werner Koch  <wk@g10code.com>
942         * signal.c (got_fatal_signal, got_usr_signal)
943         (got_fatal_signal) [DOSISH]: Don't build.
944         * simple-gettext.c: Include sysutils.h 
946         * homedir.c: New. Use CSIDL_APPDATA for W32 as the default home
947         directory.
948         * Makefile.am (libcommon_a_SOURCES): Add it.
949         (EXTRA_DIST): Removed mkerror and mkerrtok.
951 2004-12-20  Werner Koch  <wk@g10code.com>
953         * sysutils.h [W32]: Define sleep.
954         * util.h: Add prototype for mkdtemp.
956         * membuf.c (put_membuf): Wipe out buffer after a failed realloc.
958 2004-12-19  Werner Koch  <wk@g10code.com>
960         * maperror.c (map_assuan_err_with_source): Oops, args were swapped.
962 2004-12-18  Werner Koch  <wk@g10code.com>
964         * maperror.c (map_assuan_err): Renamed to ..
965         (map_assuan_err_with_source): .. this and add arg SOURCE.c
966         * asshelp.c (send_pinentry_environment, send_one_option): Add arg
967         ERRSOURCE.
969 2004-12-15  Werner Koch  <wk@g10code.com>
971         * sysutils.h [W32]: Prototypes for registry functions.
972         * w32reg.c: Include sysutils.h
974         * simple-pwquery.c [W32]: Dummy code to allow a build.
976         * exechelp.c [W32]: Implemented for W32 .
978         * ttyname.c: New.
980         * asshelp.c (send_one_option): New.
981         (send_pinentry_environment): Cleaned up and made sure that empty
982         values are not send.
984 2004-12-07  Werner Koch  <wk@g10code.com>
986         * asshelp.c (send_pinentry_environment) [W32]: Do not use ttyname.
988 2004-12-06  Werner Koch  <wk@g10code.com>
990         * exechelp.h, exechelp.c: New.  Based on code from ../sm/import.c.
992 2004-12-03  Werner Koch  <wk@g10code.com>
994         * strsep.c: Fixed copyright comments.
996 2004-11-26  Werner Koch  <wk@g10code.com>
998         * simple-gettext.c: New taken from gnupg 1.3.x
1000         * simple-pwquery.c [_WIN32]: Include winsock2.h.
1001         (agent_open): Disable it until we have our AF_UNIX implementation
1002         ready.
1003         * fseeko.c, ftello.c: Include sys/types for the sake of W32.
1005 2004-11-23  Werner Koch  <wk@g10code.com>
1007         * b64enc.c: Include stdio.h and string.h
1009 2004-08-18  Werner Koch  <wk@g10code.de>
1011         * simple-pwquery.c (simple_pwquery): Handle gpg-error style return
1012         code for canceled.
1014 2004-07-20  Werner Koch  <wk@g10code.de>
1016         * maperror.c: Removed header ksba.h.  Not required anymore.
1018 2004-06-14  Werner Koch  <wk@gnupg.org>
1020         * xreadline.c: New.  Based on the iobuf_read_line function.
1022 2004-05-12  Werner Koch  <wk@gnupg.org>
1024         * util.h (xtrycalloc_secure,xtrymalloc_secure): New.
1026 2004-05-11  Werner Koch  <wk@gnupg.org>
1028         * sysutils.c (disable_core_dumps): Only set the current limit.
1029         (enable_core_dumps): New.
1031 2004-04-13  Werner Koch  <wk@gnupg.org>
1033         * simple-pwquery.c (copy_and_escape): Relaxed quoting.
1035 2004-04-05  Werner Koch  <wk@gnupg.org>
1037         * errors.h (STATUS_NEWSIG): New.
1039 2004-03-11  Werner Koch  <wk@gnupg.org>
1041         * dynload.h [__MINGW32__]: Define RTLD_LAZY.
1043 2004-03-09  Werner Koch  <wk@gnupg.org>
1045         * maperror.c (map_assuan_err): Map the Locale_Problem item.
1047 2004-03-03  Werner Koch  <wk@gnupg.org>
1049         * asshelp.c, asshelp.h: New.
1050         (send_pinentry_environment): New. Code taken from ../sm/call-agent.c.
1052 2004-02-19  Werner Koch  <wk@gnupg.org>
1054         * simple-pwquery.c (agent_open): Don't mangle INFOSTR.
1056 2004-02-17  Werner Koch  <wk@gnupg.org>
1058         * simple-pwquery.c (agent_open): Ignore an empty GPG_AGENT_INFO.
1060         * errors.h: Added STATUS_IMPORT_OK.
1062 2004-02-10  Werner Koch  <wk@gnupg.org>
1064         * b64enc.c: New.  Based on code from ../sm/base64.c.
1066 2004-01-30  Marcus Brinkmann  <marcus@g10code.de>
1068         * Makefile.am (libcommon_a_SOURCES): Add xasprintf.c.
1069         * miscellaneous.c (xasprintf): Moved to ...
1070         * xasprintf (xasprintf): ... here.  New file.
1071         This allows to use xasprintf without sucking in gpg-error.
1073 2004-01-27  Werner Koch  <wk@gnupg.org>
1075         * sexp-parse.h: New; moved from../agent.
1077         * util.h (xtoi_4): New.
1079 2003-12-23  Werner Koch  <wk@gnupg.org>
1081         * maperror.c (map_assuan_err): Prepared for a new error code.
1083 2003-12-17  Werner Koch  <wk@gnupg.org>
1085         * gettime.c (asctimestamp): Add a note on a non-avoidable gcc warning.
1087         * util.h [!HAVE_VASPRINTF]: Add printf format attribute to the
1088         replacement function.
1090         * miscellaneous.c (xasprintf): New.
1092 2003-11-14  Werner Koch  <wk@gnupg.org>
1094         * mkdtemp.c (mkdtemp): Use gcry_create_nonce.
1096         * cryptmiss.c: Removed.
1098 2003-11-13  Werner Koch  <wk@gnupg.org>
1100         * util.h (vasprintf): Also fixed the prototype.
1102         * vasprintf.c (vasprintf): ARGS should not be a pointer.  Fixed
1103         segv on Solaris.  Reported by Andrew J. Schorr.
1105 2003-11-12  Werner Koch  <wk@gnupg.org>
1107         * maperror.c (map_ksba_err, map_gcry_err, map_kbx_err): Removed.
1109 2003-10-31  Werner Koch  <wk@gnupg.org>
1111         * util.h (gnupg_isotime_t): New.
1112         (gnupg_copy_time): New.
1114         * gettime.c (gnupg_get_isotime): New.
1116 2003-09-23  Werner Koch  <wk@gnupg.org>
1118         * iobuf.c (check_special_filename): Replaced is isdigit by digitp
1119         to avoid passing negative values and potential locale problems.
1120         Problem noted by Christian Biere.
1122         * util.h (ascii_isspace): New.
1124 2003-09-18  Werner Koch  <wk@gnupg.org>
1126         * ttyio.c (tty_fprintf): New.
1127         (tty_print_string, tty_print_utf8_string2)
1128         (tty_print_utf8_string): Made P argument const byte*.
1130 2003-08-20  Marcus Brinkmann  <marcus@g10code.de>
1132         * maperror.c (map_ksba_err): Map -1.  Use gpg_err_make to set
1133         the error source.
1135 2003-08-14  Timo Schulz  <twoaday@freakmail.de>
1137         * dynload.h. New. W32 wrapper around the dynload mechanism.
1138         
1139 2003-07-15  Werner Koch  <wk@gnupg.org>
1141         * simple-pwquery.c, simple-pwquery.h:  New; moved from ../agent.  
1142         * Makefile.am (libsimple_pwquery_a_LIBADD): New.
1144 2003-06-25  Werner Koch  <wk@gnupg.org>
1146         * maperror.c (map_to_assuan_status): Directly map 0 to 0.
1148 2003-06-17  Werner Koch  <wk@gnupg.org>
1150         * gettime.c (scan_isodatestr,add_days_to_timestamp,strtimevalue)
1151         (strtimestamp,asctimestamp): New.  Code taken from gnupg 1.3.2
1152         mischelp.c.
1154         * yesno.c: New.  Code taken from gnupg 1.3.2 mischelp.c
1156         * miscellaneous.c: New.
1158         * util.h: Include utf8conf.h
1160 2003-06-16  Werner Koch  <wk@gnupg.org>
1162         * gettime.c (make_timestamp): New.
1164         * ttyio.c: New. Taken from gnupg 1.2.
1165         * ttyio.h: Move from ../include.
1167 2003-06-13  Werner Koch  <wk@gnupg.org>
1169         * util.h (seterr): Removed macro.
1170         (xmalloc_secure,xcalloc_secure): New.
1172 2003-06-11  Werner Koch  <wk@gnupg.org>
1174         * iobuf.c (iobuf_writebyte,iobuf_write): Return error code from
1175         iobuf_flush.
1176         (iobuf_writestr): Ditto.
1178 2003-06-10  Werner Koch  <wk@gnupg.org>
1180         * iobuf.c, iobuf.h: New. Taken from current gnupg 1.3 CVS.  Run
1181         indent on it and adjusted error handling to libgpg-error style.
1182         Replaced IOBUF by iobuf_t. Renamed malloc functions.
1184 2003-06-04  Werner Koch  <wk@gnupg.org>
1186         * errors.h: Removed all error codes.  We keep the status codes for
1187         now.
1188         * Makefile.am: Do not create errors.c anymore; remove it from the
1189         sources.
1191         * maperror.c: Don't include error.h.  Change all error codes to
1192         libgpg-error style.
1193         (map_assuan_err): Changed to new Assuan error code convention.
1194         (map_to_assuan_status): Likewise.
1195         (map_gcry_err,map_kbx_err): Not needed.  For now dummy functions.
1197         * membuf.c, membuf.h: New.  Code taken from ../sm/call-agent.h.
1198         * Makefile.am: Added above.
1200 2003-04-29  Werner Koch  <wk@gnupg.org>
1202         * util.h (fopencokokie): Removed prototype and struct.
1204         * fopencookie.c: Removed.
1206         * maperror.c: Use system assuan.h
1208 2002-10-31  Neal H. Walfield  <neal@g10code.de>
1210         * isascii.c: New file.
1211         * putc_unlocked.c: Likewise.
1213 2002-10-28  Neal H. Walfield  <neal@g10code.de>
1215         * signal.c (caught_fatal_sig): Remove superfluous zero
1216         initializer.
1217         (caught_sigusr1): Likewise.
1219 2002-09-04  Neal H. Walfield  <neal@g10code.de>
1221         * vasprintf.c (vasprintf) [va_copy]: Use va_copy.
1222         [!va_copy && __va_copy]: Use __va_copy.
1223         [!va_copy && !__va_copy]: Only now fall back to using memcpy.
1225 2002-08-21  Werner Koch  <wk@gnupg.org>
1227         * errors.h: Added STATUS_IMPORT_PROBLEM.
1229 2002-08-20  Werner Koch  <wk@gnupg.org>
1231         * vasprintf.c: Hack to handle NULL for %s.
1233 2002-08-09  Werner Koch  <wk@gnupg.org>
1235         * signal.c: New. Taken from GnuPG 1.1.91.
1237 2002-07-23  Werner Koch  <wk@gnupg.org>
1239         * util.h (_IO_cookie_io_functions_t): Fixed typo.  Noted by
1240         Richard Lefebvre.
1242 2002-07-22  Werner Koch  <wk@gnupg.org>
1244         * fseeko.c, ftello.c: New.
1246 2002-06-28  Werner Koch  <wk@gnupg.org>
1248         * maperror.c (map_to_assuan_status): Map more errorcodes to Bad
1249         Certificate.
1251 2002-06-26  Werner Koch  <wk@gnupg.org>
1253         * maperror.c (map_to_assuan_status): Map EOF to No_Data_Available.
1255 2002-06-10  Werner Koch  <wk@gnupg.org>
1257         * errors.h (gnupg_error_token): Add new prototype.
1258         (STATUS_ERROR): New.
1260         * mkerrtok: New.
1261         * Makefile.am: Use it to create the new error token function.
1263 2002-06-04  Werner Koch  <wk@gnupg.org>
1265         * maperror.c (map_to_assuan_status): Map Bad_CA_Certificate.
1267 2002-05-23  Werner Koch  <wk@gnupg.org>
1269         * no-pth.c, Makefile.am: Removed.
1271 2002-05-22  Werner Koch  <wk@gnupg.org>
1273         * mkdtemp.c: Replaced byte by unsigned char because it is no longer
1274         defined in gcrypt.h.
1276 2002-05-21  Werner Koch  <wk@gnupg.org>
1278         * maperror.c (map_gcry_err): Add libgcrypt's new S-expression errors.
1279         (map_ksba_err): Add a few mappings.
1281 2002-05-14  Werner Koch  <wk@gnupg.org>
1283         * gettime.c: New.
1285 2002-05-03  Werner Koch  <wk@gnupg.org>
1287         * errors.h: Added STARUS_EXPSIG and STATUS_EXPKEYSIG.
1289 2002-04-15  Werner Koch  <wk@gnupg.org>
1291         * cryptmiss.c: New.
1293 2002-02-14  Werner Koch  <wk@gnupg.org>
1295         * maperror.c: Add more assuan<->gnupg mappings.
1297 2002-02-12  Werner Koch  <wk@gnupg.org>
1299         * fopencookie.c: Dummy function.
1301         * vasprintf.c: New.  Taken from binutils-2.9.1 and dropped all non
1302         ANSI-C stuff.  Merged with asprintf version.
1304         * no-pth.c: New.
1306 2002-01-23  Werner Koch  <wk@gnupg.org>
1308         * mkdtemp.c: Copied from gnupg-1.0.6c and changed to use libgcrypt.
1310 2002-01-19  Werner Koch  <wk@gnupg.org>
1312         * sysutils.c: New.  This is the misc.c file from gnupg 1.0.6 with
1313         the OpenPGP stuff removed.
1314         * sysutils.h: New.
1315         
1316 2002-01-15  Werner Koch  <wk@gnupg.org>
1318         * maperror.c: Add mapping for Not_Trusted. 
1320 2002-01-11  Werner Koch  <wk@gnupg.org>
1322         * maperror.c (map_assuan_err): Codes for CRL
1324 2002-01-08  Werner Koch  <wk@gnupg.org>
1326         * util.h (spacep): New.
1328 2002-01-02  Werner Koch  <wk@gnupg.org>
1330         * maperror.c (map_to_assuan_status): New.  Merged from ../agent
1331         and ../sm.
1333 2001-12-20  Werner Koch  <wk@gnupg.org>
1335         * maperror.c (map_gcry_err): Add some mappings.
1337 2001-12-18  Werner Koch  <wk@gnupg.org>
1339         * Makefile.am (AM_CPPFLAGS): Include flags for gcrypt and ksba
1341 2001-12-14  Werner Koch  <wk@gnupg.org>
1343         * util.h (digitp, hexdigitp): New ctype like macros.
1344         (atoi_1,atoi_2,atoi_4,xtoi_1,xtoi_2): New.
1345         
1346         
1347  Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007,
1348            2008, 2009 Free Software Foundation, Inc.
1350  This file is free software; as a special exception the author gives
1351  unlimited permission to copy and/or distribute it, with or without
1352  modifications, as long as this notice is preserved.
1354  This file is distributed in the hope that it will be useful, but
1355  WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
1356  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1357