1 2009-08-06 Werner Koch <wk@g10code.com>
3 * status.h (STATUS_INV_SGNR, STATUS_NO_SGNR): New.
4 * status.c (get_inv_recpsgnr_code): New.
6 2009-07-23 David Shaw <dshaw@jabberwocky.com>
8 * srv.c (getsrv): Fix type-punning warning.
10 2009-07-23 Werner Koch <wk@g10code.com>
12 * util.h (GPG_ERR_NOT_ENABLED): New.
13 * audit.h (enum): Add AUDIT_CRL_CHECK.
14 * audit.c (proc_type_verify): Show CRL check result.
16 2009-07-06 Werner Koch <wk@g10code.com>
18 * get-passphrase.c (struct agentargs): Add SESSION_ENV and remove
20 (gnupg_prepare_get_passphrase): Ditto.
22 * session-env.c, session-env.h: New.
23 * t-session-env.c: New.
24 * Makefile.am (common_sources, module_tests): Add them.
25 * asshelp.h: Include "session-env.h"
26 * asshelp.c (send_one_option): Add arg PUTENV.
27 (send_pinentry_environment): Replace most args by SESSION_ENV and
29 (start_new_gpg_agent): Likewise.
31 * t-exechelp.c (test_close_all_fds): Remove debug code.
33 2009-07-01 Werner Koch <wk@g10code.com>
35 * sexputil.c (get_pk_algo_from_canon_sexp): New.
37 2009-06-29 Werner Koch <wk@g10code.com>
39 * estream.c (BUFFER_ROUND_TO_BLOCK): Remove unused macro.
40 (es_func_mem_write): Rewrite reallocation part.
42 * estream.c (es_write_sanitized_utf8_buffer): Typo typo fix.
44 2009-06-25 Werner Koch <wk@g10code.com>
46 * estream.c (es_write_sanitized_utf8_buffer): Typo fix.
48 2009-06-24 Werner Koch <wk@g10code.com>
50 * estream.c (es_read_line): In the malloc error case, set
51 MAX_LENGTH to 0 only if requested.
52 * xreadline.c (read_line): Ditto.
53 * estream.c (es_write_sanitized_utf8_buffer): Pass on error from
55 * sexputil.c (get_rsa_pk_from_canon_sexp): Check for error after
56 the loop. Reported by Fabian Keil.
58 2009-06-22 Werner Koch <wk@g10code.com>
60 * estream.c (es_pth_read, es_pth_write) [W32]: New.
61 (ESTREAM_SYS_READ, ESTREAM_SYS_WRITE) [HAVE_PTH]: Use them.
63 2009-06-03 Werner Koch <wk@g10code.com>
65 * estream.c (es_convert_mode): Rewrite and support the "x" flag.
67 2009-05-28 David Shaw <dshaw@jabberwocky.com>
71 * http.h, http.c (send_request) Pass in a STRLIST for additional
72 headers. Change all callers.
74 2009-05-27 David Shaw <dshaw@jabberwocky.com>
78 * http.h, http.c (send_request): Pass in srvtag and make its
79 presence sufficient to turn the feature on.
80 (http_open): From here.
81 (http_document): And here.
83 * srv.c (getsrv): Raise maximum packet size to 2048, as PACKETSZ
84 is too small these days.
86 2009-05-22 Werner Koch <wk@g10code.com>
88 * ttyio.c (tty_cleanup_after_signal): New.
90 2009-05-19 Werner Koch <wk@g10code.com>
92 * simple-pwquery.c (agent_open): Use SUN_LEN
93 (JNLIB_NEED_AFLOCAL): Define and include mischelp.h.
95 2009-05-07 Werner Koch <wk@g10code.com>
97 * sexputil.c (get_rsa_pk_from_canon_sexp): New.
98 * t-sexputil.c (test_make_canon_sexp_from_rsa_pk): Extend the test.
100 2009-04-28 Werner Koch <wk@g10code.com>
102 * sexputil.c (make_canon_sexp_from_rsa_pk): New.
103 * t-sexputil.c (test_make_canon_sexp_from_rsa_pk): New.
105 2009-04-01 Werner Koch <wk@g10code.com>
107 * iobuf.c: Port David's changes from 1.4:
108 (fd_cache_invalidate): Pass return code from close back.
109 (direct_open, iobuf_ioctl): Check that eturn value.
110 (fd_cache_synchronize): New.
111 (iobuf_ioctl): Add new sub command 4 (fsync).
113 * iobuf.c (fd_cache_strcmp): New. Taken from 1.4.
114 (fd_cache_invalidate, fd_cache_close, fd_cache_open): Use it.
116 * exechelp.c (gnupg_spawn_process): Implement new flag bit 6.
117 * sysutils.c (gnupg_allow_set_foregound_window): Allow the use of
120 * membuf.c (put_membuf, get_membuf): Wipe memory on out of core.
122 2009-03-31 Werner Koch <wk@g10code.com>
124 * percent.c (percent_unescape, percent_plus_unescape): New.
125 (percent_plus_unescape_inplace, percent_unescape_inplace): New.
126 (do_plus_or_plain_unescape, count_unescape, do_unescape): New.
127 (do_unescape_inplace): New.
128 * t-percent.c (test_percent_plus_escape): Test percent_plus_unescape.
130 * get-passphrase.c, get-passphrase.h: New.
131 * Makefile.am (without_pth_sources): New.
133 2009-03-18 Werner Koch <wk@g10code.com>
135 * exechelp.c: Include sys/resource.h and sys/stat.h.
136 (get_max_open_fds): New.
138 (get_all_open_fds): New.
139 (close_all_fds): New.
140 (do_exec): Use close_all_fds.
143 2009-03-13 David Shaw <dshaw@jabberwocky.com>
145 * http.c (do_parse_uri): Properly handle IPv6 literal addresses as
146 per RFC-2732. Adapted from patch by Phil Pennock.
148 2009-03-12 Werner Koch <wk@g10code.com>
150 * gettime.c: Include i18n.h.
153 2009-03-06 Werner Koch <wk@g10code.com>
155 * sexputil.c (make_canon_sexp): New.
157 2009-03-03 Werner Koch <wk@g10code.com>
159 * exechelp.c (do_exec): Make sure that /dev/null connected FDs are
162 2009-01-19 Werner Koch <wk@g10code.com>
164 * audit.c (writeout_li): Translate a few more result strings.
167 * convert.c (hex2str): Fix optimization to append a nul character.
169 2008-12-05 Werner Koch <wk@g10code.com>
171 * percent.c, t-percent.c: New.
173 * exechelp.c (gnupg_spawn_process, gnupg_spawn_process_fd)
174 (gnupg_spawn_process_detached) [W32]: Remove debug output.
176 2008-11-20 Werner Koch <wk@g10code.com>
178 * audit.c (writeout_li): Translate OKTEXT.
180 2008-11-04 Werner Koch <wk@g10code.com>
182 * i18n.c (i18n_init) [USE_SIMPLE_GETTEXT]: Adjust for changed
184 * homedir.c (gnupg_localedir): New.
186 2008-10-20 Werner Koch <wk@g10code.com>
188 * http.c (http_register_tls_callback) [!HTTP_USE_GNUTLS]: Mark
190 * localename.c (do_nl_locale_name): Ditto.
191 * audit.c (event2str): Silent gcc warning.
192 * sysutils.c (translate_sys2libc_fd): Mark unused arg.
193 (translate_sys2libc_fd_int): Ditto.
194 * iobuf.c (translate_file_handle): Ditto.
195 * asshelp.c (send_one_option): Ditto.
196 * exechelp.c (gnupg_spawn_process): Ditto.
197 * signal.c (got_usr_signal): Ditto
198 * estream.c (es_func_fd_create) [!W32]: Ditto.
199 (es_func_fp_create) [!W32]: Ditto.
200 (es_write_hexstring): Ditto.
201 (dummy_mutex_call_void, dummy_mutex_call_int) [HAVE_PTH]: New.
202 (ESTREAM_MUTEX_LOCK, ESTREAM_MUTEX_UNLOCK, ESTREAM_MUTEX_TRYLOCK)
203 (ESTREAM_MUTEX_INITIALIZE) [HAVE_PTH]: Use dummy calls so to mark
206 2008-10-19 Werner Koch <wk@g10code.com>
208 * estream-printf.c (estream_vsnprintf): Fix return value.
209 (check_snprintf): Add a new test.
210 (one_test) [W32]: Disable test.
212 2008-10-17 Werner Koch <wk@g10code.com>
214 * util.h (snprintf) [W32]: Redefine to estream_snprintf.
216 2008-09-03 Werner Koch <wk@g10code.com>
218 * convert.c (hex2str): New.
219 (hex2str_alloc): New.
220 * t-convert.c (test_hex2str): New.
222 2008-08-19 Werner Koch <wk@g10code.com>
224 * iobuf.c: Avoid passing a NULL (iobuf_t)->desc to the log
225 function. Should in general never be NULL, but well. Reported by
228 2008-06-26 Werner Koch <wk@g10code.com>
230 * estream.c (es_write_sanitized): Loose check for control
231 characters to better cope with utf-8. The range 0x80..0x9f is
232 nowadays not anymore accidently used for control charaters.
234 2008-06-25 Marcus Brinkmann <marcus@g10code.de>
236 Revert last three changes related to handle translation.
238 (FD_TRANSLATE_MAX, fd_translate, fd_translate_len)
239 (translate_table_init, translate_table_lookup): Removed.
240 * iobuf.c (check_special_filename): Do not use
241 translate_table_lookup.
242 * sysutils.h (translate_table_init, translate_table_lookup):
245 2008-06-19 Werner Koch <wk@g10code.com>
247 * sysutils.c: Remove <ctype.h>.
248 (fd_translate_max): Use macro for the size.
249 (translate_table_init): Protect read against EINTR and replace
252 2008-06-18 Marcus Brinkmann <marcus@g10code.de>
254 * sysutils.c (TRANS_MAX): Bump up to 350 to be on the safe side.
256 * sysutils.h (translate_table_init, translate_table_lookup): New
258 * sysutils.c: Include <ctype.h>.
259 (FD_TRANSLATE_MAX): New macro.
260 (fd_translate, fd_translate_len): New static variables.
261 (translate_table_init, translate_table_lookup): New functions.
262 (translate_sys2libc_fd_int): Translate file descriptor.
263 * iobuf.c (check_special_filename): Translate handle values from
266 2008-06-16 Werner Koch <wk@g10code.com>
268 * homedir.c (w32_commondir): New.
269 (gnupg_sysconfdir): Use it.
271 2008-06-09 Werner Koch <wk@g10code.com>
275 2008-06-05 Werner Koch <wk@g10code.com>
277 * util.h (gnupg_copy_time): Replace strcpy by memcpy.
279 2008-05-26 Werner Koch <wk@g10code.com>
281 * asshelp.c (send_one_option, send_pinentry_environment): use
282 xfree and xtrystrdup.
284 * i18n.c (i18n_switchto_utf8) [USE_SIMPLE_GETTEXT]: Return NULL.
286 * homedir.c (gnupg_module_name): Add
287 GNUPG_MODULE_NAME_CONNECT_AGENT and GNUPG_MODULE_NAME_GPGCONF.
289 2008-04-21 Werner Koch <wk@g10code.com>
291 * http.c (http_wait_response) [W32]: Use DuplicateHandle because
293 (cookie_read) [W32]: Use recv in place of read.
295 2008-04-08 Werner Koch <wk@g10code.com>
297 * i18n.c (i18n_switchto_utf8, i18n_switchback)
298 [USE_SIMPLE_GETTEXT]: Implement.
300 2008-04-07 Werner Koch <wk@g10code.com>
302 * b64enc.c (b64enc_start): Detect PGP mode.
303 (b64enc_finish): Write PGP CRC.
304 * util.h (struct b64state): Add field CRC.
307 * pka.c (get_pka_info): Use xtrymalloc and check result.
309 2008-03-25 Werner Koch <wk@g10code.com>
311 * localename.c: Strip all W32 code. Include w32help.h.
312 (gnupg_messages_locale_name) [W32]: Use the gettext_localename.
314 2008-03-17 Werner Koch <wk@g10code.com>
316 * iobuf.c (IOBUF_BUFFER_SIZE): Actually use this macro.
318 * simple-pwquery.c (agent_send_all_options): Fix last change.
320 2008-03-06 Werner Koch <wk@g10code.com>
322 * simple-pwquery.c (agent_send_all_options): Add support for
323 XAUTHORITY and PINENTRY_USER_DATA.
325 2008-02-15 Marcus Brinkmann <marcus@g10code.de>
327 * exechelp.c (gnupg_spawn_process_fd): Add flag DETACHED_PROCESS
328 unconditionally (required for all callers at the moment).
330 2008-02-14 Werner Koch <wk@g10code.com>
332 * sysutils.c (gnupg_allow_set_foregound_window): New.
333 (WINVER) [W32]: Define.
335 2008-01-31 Werner Koch <wk@g10code.com>
337 * audit.c (audit_print_result): Make sure that the output is
340 2008-01-27 Werner Koch <wk@g10code.com>
342 * exechelp.c (gnupg_spawn_process): Add arg FLAGS and changed all
343 callers to pass 0 for it.
345 2007-12-13 Werner Koch <wk@g10code.com>
347 * sexputil.c (hash_algo_from_sigval): New.
349 * Makefile.am (module_tests): Add it.
351 2007-12-11 Werner Koch <wk@g10code.com>
353 * asshelp.c (send_pinentry_environment): Allow using of old
354 gpg-agents not capabale of the xauthority and pinentry_user_data
357 2007-12-04 Werner Koch <wk@g10code.com>
359 * Makefile.am (t_helpfile_LDADD, module_maint_tests): New.
362 * membuf.h (is_membuf_ready, MEMBUF_ZERO): New.
363 * localename.c: New. Taken from gettext with modifications as done
364 for GpgOL. Export one new function.
365 * util.h (gnupg_messages_locale_name, gnupg_get_help_string): Added.
367 * sysutils.c (gnupg_reopen_std): New. Taken from ../g10/gpg.c.
369 2007-11-27 Werner Koch <wk@g10code.com>
371 * Makefile.am (CLEANFILES): New.
373 * homedir.c (dirmngr_socket_name): Use CSIDL_WINDOWS.
375 2007-11-15 Werner Koch <wk@g10code.com>
377 * asshelp.c (send_pinentry_environment): Add args XAUTHORITY and
379 (start_new_gpg_agent): Ditto.
381 2007-11-07 Werner Koch <wk@g10code.com>
386 2007-11-05 Werner Koch <wk@g10code.com>
388 * audit.c, audit.h: New.
389 * Makefile.am: Add rules to build audit-events.h.
391 * mkstrtable.awk: New. Taken from libgpg-error.
393 2007-10-19 Werner Koch <wk@g10code.com>
395 * i18n.c (i18n_switchto_utf8, i18n_switchback): New.
397 2007-10-01 Werner Koch <wk@g10code.com>
399 * sysutils.h (FD2INT, INT2FD): New.
401 2007-09-21 Werner Koch <wk@g10code.com>
403 * homedir.c (default_homedir): Make registry work. Reported by
406 2007-08-29 Werner Koch <wk@g10code.com>
408 * exechelp.c (gnupg_wait_process): Add arg EXITCODE. Changed all
410 (gnupg_create_inbound_pipe): New.
411 * util.h (GNUPG_MODULE_NAME_GPGSM, GNUPG_MODULE_NAME_GPG): New.
412 * homedir.c (gnupg_module_name): Add them
414 2007-08-28 Werner Koch <wk@g10code.com>
416 * gettime.c (check_isotime, add_isotime): New. Originally written
418 (add_days_to_isotime): New.
419 (date2jd, jd2date, days_per_month, days_per_year): New. Taken from
420 my ancient (1988) code used in Wedit (time2.c).
422 2007-08-27 Werner Koch <wk@g10code.com>
424 * util.h (GNUPG_MODULE_NAME_CHECK_PATTERN): New.
425 * homedir.c (gnupg_module_name): Add it.
426 * exechelp.c (w32_fd_or_null) [W32]: New.
427 (gnupg_spawn_process_fd): New.
428 (gnupg_wait_process) [W32]: Close the handle after if the process has
431 2007-08-22 Werner Koch <wk@g10code.com>
433 Updated estream from libestream.
435 * estream.c (mem_malloc, mem_realloc, mem_free): New. Use them
436 instead of the ES_MEM_foo.
437 * estream.c (estream_cookie_mem): Remove members DONT_FREE,
438 APPEND_ZERO, PTR and SIZE. Add MEMORY_LIMIT. Put GROW into a new
440 (es_func_mem_create): Remove APPEND_ZERO, DONT_FREE, PTR and
441 SIZE. Add MEMORY_LIMIT.
442 (es_func_mem_write, es_func_mem_seek, es_func_mem_destroy): Revamp.
443 (es_open_memstream): Change API to just take a memory limit and a
444 mode argument. Rename to ..
445 (es_fopenmem): .. this.
446 (HAVE_W32_SYSTEM) [_WIN32]: Define if not defined.
447 (tmpfd) [W32]: Implement directly using the W32 API.
448 (es_fgets): Rewrite without using doreadline.
450 2007-08-21 Werner Koch <wk@g10code.com>
452 * sysutils.c (gnupg_tmpfile): New.
454 * Makefile.am (module_tests): Add t-sysutils.
456 2007-08-20 Werner Koch <wk@g10code.com>
458 * exechelp.c [W32]: Redefine X_OK to F_OK.
460 2007-08-16 Werner Koch <wk@g10code.com>
462 * Makefile.am (t_convert_DEPENDENCIES): Remove
463 ($(PROGRAMS)): Remove.
464 (t_common_ldadd): Use libcommon.a and not the macro.
466 2007-08-14 Werner Koch <wk@g10code.com>
468 * homedir.c (dirmngr_socket_name): New.
470 2007-08-07 Werner Koch <wk@g10code.com>
472 * tlv.c, tlv.h: Move from ../scd/.
473 * tlv.c (parse_sexp, parse_ber_header): Add ERRSOURCE arg and prefix
475 * tlv.h: Use macro to convey ERRSOURCE.
477 2007-08-02 Werner Koch <wk@g10code.com>
479 * gc-opt-flags.h: New.
481 2007-08-01 Werner Koch <wk@g10code.com>
483 * estream-printf.c (read_dummy_value): Removed as it is useless now.
484 (read_values): Remove check on !vaargs which is not anymore needed
485 and anyway not portable. Reported by Peter O'Gorman.
487 2007-07-16 Werner Koch <wk@g10code.com>
489 * estream.c (es_func_file_create): Clear NO_CLOSE flag.
491 2007-07-12 Werner Koch <wk@g10code.com>
493 * sysutils.h (gnupg_fd_t): New.
494 * sysutils.c (translate_sys2libc_fd): Use that type instead of int.
495 (translate_sys2libc_fd_int): New.
497 2007-07-09 Werner Koch <wk@g10code.com>
499 * t-gettime.c (test_isotime2epoch): Use time_t and not u32.
501 2007-07-05 Werner Koch <wk@g10code.com>
504 * gettime.c (isotime2epoch, epoch2isotime): New.
506 2007-07-04 Werner Koch <wk@g10code.com>
508 * estream.c (es_init_do): Do not throw an error if pth has already
511 2007-06-26 Werner Koch <wk@g10code.com>
513 * Makefile.am ($(PROGRAMS)): New.
515 * util.h (init_common_subsystems): Moved to ..
517 * util.h: Include init.h.
519 * homedir.c (standard_homedir): New.
520 (default_homedir) [W32]: Reimplemented in terms of
521 standard_homedir. Fixed memory leak.
523 2007-06-25 Werner Koch <wk@g10code.com>
525 * iobuf.c: Add more documentation and slighly restructured macro
526 defintion for better readability.
527 (FILEP_OR_FD): Rename to fp_or_fd_t.
528 (CLOSE_CACHE): Rename to close_cache_t.
530 * sysutils.c (translate_sys2libc_fd): New using the code from iobuf.c.
531 * iobuf.c: Include sysutils.h.
532 (iobuf_translate_file_handle): Remove.
533 (translate_file_handle): Use new function.
535 * estream-printf.c [TEST]: Header including fixes.
536 (do_format): Do not append a trailing Nul. This avoids spurious
537 Nuls in the es_printf output.
538 (estream_vsnprintf, estream_vasprintf): Take this in account.
540 * estream.h (struct es__stream): Change FLAGS to a bit structure.
541 (ES__FLAG_WRITING): Replace by a bit from FLAGS. * estream.c
542 (struct estream_internal): Rename FLAGS to MODEFLAGS so that they
543 are not confused with the estream flags.
544 (es_initialize, es_create): Add arg MODEFLAGS so that we can setup
545 the intial writemode. Changed all callers to pass them.
546 (es_convert_mode): Set O_BINARY.
547 (es_func_fd_create, es_func_fp_create, es_func_file_create) [W32]:
548 Call setmode if requested.
550 2007-06-24 Werner Koch <wk@g10code.com>
552 * estream.c (do_fpopen, es_fpopen, es_fpopen_nc): New.
553 (es_func_fp_create, es_func_fp_read, es_func_fp_write)
554 (es_func_fp_seek, es_func_fp_destroy): New.
556 2007-06-22 Werner Koch <wk@g10code.com>
558 * estream.c (es_fdopen): Factored code out to..
561 (estream_cookie_fd): Add field NO_CLOSE.
562 (es_func_fd_create): Add arg NO_CLOSE and changed all callers.
563 (es_func_fd_destroy): Handle the new flag.
565 * homedir.c (gnupg_libexecdir) [W32]: Factor code out to ..
566 (w32_rootdir): .. new.
567 (gnupg_sysconfdir, gnupg_libdir, gnupg_datadir) [W32]: Return
568 name based on w32_rootdir().
570 2007-06-21 Werner Koch <wk@g10code.com>
572 * membuf.h (get_membuf_len): New.
574 * membuf.c (init_membuf_secure): Really allocate in secure memory.
575 (put_membuf_str): New.
577 * ttyio.c (tty_getf): New.
579 * util.h (ctrl_t): Declare it here.
581 * asshelp.c (start_new_gpg_agent): New. Based on code from
584 2007-06-20 Werner Koch <wk@g10code.com>
586 * sysutils.c (gnupg_sleep): New.
587 * sysutils.h [W32]: Remove _sleep wrapper. Changed all callers to
590 * exechelp.c (build_w32_commandline_copy): New.
591 (build_w32_commandline): Factored some code out to new function
592 and correctly process a PGMNAME with spaces.
593 (gnupg_spawn_process_detached) [W32]: Implement.
595 2007-06-14 Werner Koch <wk@g10code.com>
597 * simple-pwquery.h (MAP_SPWQ_ERROR_IMPL): New.
598 (SPWQ_NO_PIN_ENTRY): New.
599 * simple-pwquery.c (simple_pw_set_socket): New.
600 (agent_open): Use it if GPG_AGENT_INFO is not set.
601 (simple_pwquery): Extended to allow returning of otehyr error codes.
603 * util.h (GNUPG_MODULE_NAME_AGENT, GNUPG_MODULE_NAME_PINENTRY)
604 (GNUPG_MODULE_NAME_SCDAEMON, GNUPG_MODULE_NAME_DIRMNGR)
605 (GNUPG_MODULE_NAME_PROTECT_TOOL): New.
606 * homedir.c (gnupg_module_name): New.
609 2007-06-12 Werner Koch <wk@g10code.com>
611 * homedir.c (gnupg_sysconfdir): New.
612 (gnupg_libexecdir): New. Taken from g10/misc.c:get_libexecdir.
613 (gnupg_datadir): New.
616 * http.c (connect_server) [W32]: Do not call init_sockets if
617 HTTP_NO_WSASTARTUP is defined.
621 * estream.c (es_init_do): Init stream lock here because we can't
622 use a static initialization with W32pth.
624 2007-06-11 Werner Koch <wk@g10code.com>
626 * Makefile.am (t_common_ldadd): Use libcommonstd macro.
628 2007-06-06 Werner Koch <wk@g10code.com>
630 * Makefile.am: Include am/cmacros.am.
632 * sysutils.h [W32]: Remove prototypes for the registry access.
633 * w32reg.c: Move to ../jnlib/w32-reg.c.
635 * i18n.c (i18n_init): New.
637 * simple-gettext.c: Remove.
639 * iobuf.c (iobuf_get_filelength): Rename SIZE to EXSIZE to silent
642 2007-06-04 Werner Koch <wk@g10code.com>
644 * http.c [W32]: Include unistd.h also in this case.
645 (write_server) [W32]: Fixed error code.
646 (init_sockets): Fixed syntax error.
647 (cookie_close): Replace close by sock_close macro.
649 * estream.c [w32]: Do not init Mutex.
651 * Makefile.am (common_sources) [USE_SNS_SRV]: Build srv.c only
654 * ttyio.c (init_ttyfp) [W32]: Do not use TTYFP.
656 * util.h: Include ../jnlib/dynload.h.
658 * dynload.h: Move to ../jnlib.
660 2007-05-30 Werner Koch <wk@g10code.com>
662 * estream.c (MEM_FREE, MEM_ALLOC, MEM_REALLOC): Prefix with ES_ as
663 windows.h also has such definitions,
665 2007-05-15 Werner Koch <wk@g10code.com>
667 * util.h: Do not include gnulib's vasprintf. Redefine asprintf
670 * xasprintf.c (xasprintf, xtryasprintf): Use estream_vasprintf.
672 * estream-printf.h, estream-printf.c: New. Taken from current
674 * Makefile.am (common_sources): Add them.
676 2007-05-14 Werner Koch <wk@g10code.com>
678 * sexp-parse.h (smklen): New.
679 * sexputil.c: Include sexp-parse.h.
680 (make_simple_sexp_from_hexstr): Replace sprintf by smklen.
682 2007-05-07 Werner Koch <wk@g10code.com>
684 * signal.c (got_fatal_signal): Protect SIG from being clobbered by
685 a faulty signal implementaion. Suggested by James Juran.
687 2007-04-25 Werner Koch <wk@g10code.com>
689 * i18n.h (ngettext): New.
690 * simple-gettext.c (ngettext): New.
692 2007-04-20 Werner Koch <wk@g10code.com>
694 * miscellaneous.c (my_gcry_logger, my_gcry_outofcore_handler):
695 Moved from gpg-agent to here.
696 (my_gcry_fatalerror_handler): new.
697 (setup_libgcrypt_logging): New.
699 2007-03-19 Werner Koch <wk@g10code.com>
701 * miscellaneous.c (print_hexstring): New.
702 * estream.c (es_fprintf_unlocked): New.
703 (es_write_sanitized): New.
704 (es_write_hexstring): New.
705 (es_write_sanitized_utf8_buffer) [GNUPG_MAJOR_VERSION]: New.
707 2007-03-09 David Shaw <dshaw@jabberwocky.com>
709 From STABLE-BRANCH-1-4
711 * http.c (do_parse_uri): Remove the hkp port 11371 detection. We
712 implement hkp in the keyserver handler, and the support here makes
713 it appear like a bad hkp request actually succeeded.
715 2007-01-31 Werner Koch <wk@g10code.com>
717 * Makefile.am (t_common_ldadd): Add LIBINCONV and LIBINTL.
719 2007-01-25 Werner Koch <wk@g10code.com>
721 * simple-pwquery.c (simple_pwquery): New arg OPT_CHECK.
723 2006-12-13 David Shaw <dshaw@jabberwocky.com>
725 * Makefile.am (AM_CPPFLAGS): Include intl/ so we can reference the
728 2006-11-23 Werner Koch <wk@g10code.com>
730 * http.c: Include i18n.h
732 2006-11-21 Werner Koch <wk@g10code.com>
734 * estream.c: Remove explicit Pth soft mapping diabling becuase it
735 is now done in config.h.
737 2006-11-15 Werner Koch <wk@g10code.com>
739 * estream.c: Disabled Pth soft mapping.
740 (my_funopen_hook_ret_t): New.
741 (print_fun_writer): Use it here.
743 * iobuf.c (fd_cache_close): Use %d instead of %p for debug output.
745 2006-11-03 Werner Koch <wk@g10code.com>
747 * Makefile.am (t_convert_DEPENDENCIES): Add libcommon. From
750 2006-10-24 Marcus Brinkmann <marcus@g10code.de>
752 * Makefile.am (libcommon_a_CFLAGS): Add $(LIBASSUAN_CFLAGS).
753 (libsimple_pwquery_a_CFLAGS): New variable.
755 2006-10-20 Werner Koch <wk@g10code.com>
757 * convert.c (hex2bin): New.
759 2006-10-17 Werner Koch <wk@g10code.com>
761 * estream.c (struct estream_internal, es_initialize)
762 (es_deinitialize, print_fun_writer, es_print): New and modified
763 functions to avoid tempfiles for printf style printing.
765 * Makefile.am (libcommonpth_a_SOURCES): New. We now build a secon
766 version of the library with explicit Pth support.
767 * exechelp.c, estream.c: Make use of WITHOUT_GNU_PTH.
769 2006-10-08 Werner Koch <wk@g10code.com>
771 * gpgrlhelp.c: Trun all functions into dummies if readline is not
774 2006-10-06 Werner Koch <wk@g10code.com>
776 * Makefile.am (AM_CFLAGS): Use PTH version of libassuan.
778 * util.h (GNUPG_GCC_A_SENTINEL): Defined for gcc >= 4.
780 2006-10-04 David Shaw <dshaw@jabberwocky.com>
782 * gpgrlhelp.c: readline requires stdio.h.
784 2006-10-04 Werner Koch <wk@g10code.com>
786 * membuf.c (init_membuf_secure): New.
787 (put_membuf): Make sure that ERRNO is set even if the underlying
788 malloc code does not work properly.
789 (get_membuf): Set ERRNO on error.
790 (get_membuf): Allow to pass LEN as NULL.
792 2006-10-02 Werner Koch <wk@g10code.com>
794 * iobuf.c (iobuf_unread): Removed. This code is not required.
795 Also removed the entire unget buffer stuff.
797 2006-09-27 Werner Koch <wk@g10code.com>
799 * util.h: Do not include strsep.h and strpbrk.h.
800 (isascii): Removed as it is now in jnlib.
802 * iobuf.c (pop_filter, underflow, iobuf_close): Free the unget
805 2006-09-27 Florian Weimer <fweimer@bfk.de> (wk)
807 * iobuf.c (iobuf_unread): New.
809 2006-09-22 Werner Koch <wk@g10code.com>
811 * i18n.h: Changed license to an all permissive one.
813 * ttyio.c (tty_get): We need to use readline too. Added two more
816 2006-09-21 Werner Koch <wk@g10code.com>
818 * ttyio.c (tty_private_set_rl_hooks): New.
819 (tty_enable_completion, tty_disable_completion): Use a hook to
820 enable readline support. Now always available.
821 (tty_cleanup_rl_after_signal): New.
823 * ttyio.h: Removed readline specific stuff. Included util.h.
824 * common-defs.h: New.
826 2006-09-15 Werner Koch <wk@g10code.com>
830 (bin2hex, bin2hexcolon, do_binhex): New.
833 2006-09-14 Werner Koch <wk@g10code.com>
835 * util.h (out_of_core): Use new gpg_error_from_syserror function.
837 * http.c (init_sockets): Changed it to require 2.2 unless it is
838 build within gnupg 1 where we require 1.1 (and not anymore allow
841 2006-09-07 Werner Koch <wk@g10code.com>
843 * exechelp.c (gnupg_spawn_process): Factor out post fork code to ..
844 (do_exec): .. new function. Allow passing of -1 for the fds.
845 (gnupg_spawn_process): Terminate gcrypt's secure memory in the child.
846 (gnupg_spawn_process_detached): New.
848 2006-09-06 Werner Koch <wk@g10code.com>
850 * maperror.c: Removed.
852 * util.h (out_of_core): New.
854 2006-09-04 Werner Koch <wk@g10code.com>
856 * http.c (http_get_header): New.
857 (capitalize_header_name, store_header): New.
858 (parse_response): Store headers away.
859 (send_request): Return GPG_ERR_NOT_FOUND if connect_server failed.
860 * http.h: New flag HTTP_FLAG_NEED_HEADER.
862 2006-08-21 Werner Koch <wk@g10code.com>
864 * Makefile.am (libcommon_a_SOURCES): Added keyserver.h
866 * openpgpdefs.h: New. Stripped from ..g10/packet.h.
868 2006-08-16 Werner Koch <wk@g10code.com>
870 * keyserver.h: Moved from ../include to here.
872 * http.c: Include srv.h.
874 * srv.c, srv.h: New. Taken from GnuPG 1.4
876 2006-08-14 Werner Koch <wk@g10code.com>
878 * http.h (struct http_context_s): Moved to implementation.
879 * http.c (http_open): Changed call to return a context.
880 (http_open_document): Ditto.
881 (http_get_read_ptr, http_get_read_ptr, http_get_status_code): New.
882 (do_parse_uri): Replaced strlwr by straight code to ease
883 standalone use of this file.
884 (http_wait_response): Removed arg STATUS_CODE as it is available
885 through an accessor function. Adjusted caller.
886 (http_escape_string): New.
888 * estream.c (es_read_line): Renamed to ..
889 (doreadline): .. this. Changed all callers.
890 (es_read_line): New. This is theusual limited getline variabnt as
891 used at several places. Here taken and adjusted from xreadline.c
894 2006-08-11 Werner Koch <wk@g10code.com>
896 * http.c: Major internal changes to optionallly support GNUTLS and
898 (http_open): Move initialization of the stream ...
899 (send_request): .. here.
900 (http_register_tls_callback): New.
902 * estream.c (es_writen): Try to seek only is a seek function has
905 2006-08-09 Werner Koch <wk@g10code.com>
907 * http.c, http.h: New. Taken from gnupg 1.4.5, merged with
908 changes done for the Dirmngr project (by g10 Code) and cleaned up
910 (make_header_line): New. Change all caller to make user of the new
911 * Makefile.am (libcommon_a_SOURCES): Added http.c and http.h.
913 2006-05-23 Werner Koch <wk@g10code.com>
915 * gettime.c (isotimestamp): New.
917 * ttyio.c (tty_get_ttyname): Posixly correct usage of ctermid.
919 * dns-cert.c: New. Taken from 1.4.3's util/cert.c.
922 2006-05-22 Werner Koch <wk@g10code.com>
924 * pka.c: New. Taked from 1.4.3.
926 * Makefile.am: Added pka.
928 2006-05-19 Werner Koch <wk@g10code.com>
930 * yesno.c (answer_is_yes_no_default, answer_is_yes_no_quit):
932 (answer_is_okay_cancel): new. From 1.4.3.
934 * miscellaneous.c (match_multistr): New. Taken from 1.4.3.
936 * ttyio.c (tty_enable_completion, tty_disable_completion): New
938 * ttyio.h: Add prototypes and stubs.
940 2006-04-19 Werner Koch <wk@g10code.com>
942 * iobuf.c (iobuf_get_fd): New. Taken from 1.4.3.
943 (iobuf_is_pipe_filename): New.
944 (pop_filter): Made static.
945 (iobuf_skip_rest): New. Orginal patch by Florian
946 Weimer. Added new argument PARTIAL.
947 (block_filter): Remove the old gpg indeterminate length mode.
948 (block_filter): Properly handle a partial body stream
949 that ends with a 5-byte length that happens to be zero.
950 (iobuf_set_block_mode, iobuf_in_block_mode): Removed as
952 (iobuf_get_filelength): New arg OVERFLOW.
953 (iobuf_get_filelength) [W32]: Use GetFileSizeEx if available
954 * miscellaneous.c (is_file_compressed): Take care of OVERFLOW.
956 2006-04-18 Werner Koch <wk@g10code.com>
958 * homedir.c (w32_shgetfolderpath): New. Taken from gpg 1.4.3.
959 (default_homedir): Use it.
961 2005-10-08 Marcus Brinkmann <marcus@g10code.de>
963 * signal.c (get_signal_name): Check value of HAVE_DECL_SYS_SIGLIST
964 instead of just if it is defined.
966 2005-09-28 Marcus Brinkmann <marcus@g10code.de>
968 * Makefile.am (AM_CFLAGS): Add $(LIBASSUAN_CFLAGS).
970 2005-07-04 Marcus Brinkmann <marcus@g10code.de>
972 * simple-pwquery.h (simple_pwclear): New prototype.
973 * simple-pwquery.c (simple_pwclear): New function.
975 2005-06-15 Werner Koch <wk@g10code.com>
977 * miscellaneous.c (make_printable_string): Made P a void*.
979 * sexputil.c (keygrip_from_canon_sexp, cmp_simple_canon_sexp):
980 Fixed signed/unsigned pointer mismatch.
981 (make_simple_sexp_from_hexstr): Ditto. This is all too ugly; I
982 wonder why gcc-4's default is to warn about them and forcing us to
983 use cast the warning away.
984 * iobuf.c (block_filter): Ditto.
985 (iobuf_flush): Ditto.
986 (iobuf_read_line): Ditto.
987 (iobuf_read): Make BUFFER a void *.
988 (iobuf_write): Make BUFFER a const void *.
989 * ttyio.c (tty_print_utf8_string2): Ditto.
990 * estream.c (estream_cookie_mem): Make MEMORY unsigned char*.
991 (es_write): Make BUFFER a void *.
993 (es_func_fd_read, es_func_fd_write, es_func_mem_read)
994 (es_func_mem_write): Ditto.
995 (es_read, es_readn): Ditto.
996 (es_func_mem_write): Made MEMORY_NEW an unsigned char *.
997 * estream.h (es_cookie_read_function_t)
998 (es_cookie_write_function_t): Changed buffer arg to void*.
1000 2005-06-03 Werner Koch <wk@g10code.com>
1002 * estream.c: Use HAVE_CONFIG_H and not USE_CONFIG_H!
1003 (es_func_fd_read, es_func_fd_write): Protect against EINTR.
1005 2005-06-01 Werner Koch <wk@g10code.com>
1007 * Makefile.am (AM_CPPFLAGS): Added.
1009 * util.h: Add some includes for gnulib.
1010 (ttyname, isascii): Define them inline.
1011 * fseeko.c, ftello.c: Removed.
1012 * strsep.c, mkdtemp.c: Removed.
1013 * ttyname.c, isascii.c: Removed.
1015 2005-05-31 Werner Koch <wk@g10code.com>
1017 * dynload.h: s/__inline__/inline/.
1019 2005-05-13 Werner Koch <wk@g10code.com>
1021 * signal.c (got_fatal_signal): Print the signal number if we can't
1023 (get_signal_name): Return NULL if no name is available. Fixed
1024 conditional for sys_siglist to the correct one.
1026 2005-04-17 Werner Koch <wk@g10code.com>
1028 * sexputil.c (cmp_simple_canon_sexp): New.
1029 (make_simple_sexp_from_hexstr): New.
1031 2005-04-07 Werner Koch <wk@g10code.com>
1035 2005-04-11 Marcus Brinkmann <marcus@g10code.de>
1037 * simple-pwquery.c (simple_pwquery): Use spwq_secure_free.
1039 2005-03-03 Werner Koch <wk@g10code.com>
1041 * Makefile.am (AM_CFLAGS): Added PTH_CFLAGS. Noted by Kazu Yamamoto.
1043 2005-02-25 Werner Koch <wk@g10code.com>
1045 * xasprintf.c (xtryasprintf): New.
1047 2005-01-26 Moritz Schulte <moritz@g10code.com>
1049 * Makefile.am (libcommon_a_SOURCES): New source files: estream.c,
1051 * estream.c, estream.h: New files.
1053 2005-01-03 Werner Koch <wk@g10code.com>
1055 * asshelp.c (send_pinentry_environment): Fixed changed from
1056 2004-12-18; cut+paste error for lc-messages.
1058 2004-12-21 Werner Koch <wk@g10code.com>
1060 * simple-pwquery.c (agent_open) [W32]: Implement for W32.
1061 (readline) [W32]: Use recv instead of read.
1062 (writen) [W32]: Use send instead of write.
1063 (my_stpcpy): Define a stpcpy replacement so that this file
1064 continues to be self-contained.
1065 (agent_send_all_options) [W32]: Don't call ttyname.
1067 2004-12-21 Marcus Brinkmann <marcus@g10code.de>
1069 * simple-pwquery.h (simple_query): Add prototype.
1070 * simple-pwquery.c (simple_query): New function.
1072 2004-12-21 Werner Koch <wk@g10code.com>
1074 * signal.c (got_fatal_signal, got_usr_signal)
1075 (got_fatal_signal) [DOSISH]: Don't build.
1076 * simple-gettext.c: Include sysutils.h
1078 * homedir.c: New. Use CSIDL_APPDATA for W32 as the default home
1080 * Makefile.am (libcommon_a_SOURCES): Add it.
1081 (EXTRA_DIST): Removed mkerror and mkerrtok.
1083 2004-12-20 Werner Koch <wk@g10code.com>
1085 * sysutils.h [W32]: Define sleep.
1086 * util.h: Add prototype for mkdtemp.
1088 * membuf.c (put_membuf): Wipe out buffer after a failed realloc.
1090 2004-12-19 Werner Koch <wk@g10code.com>
1092 * maperror.c (map_assuan_err_with_source): Oops, args were swapped.
1094 2004-12-18 Werner Koch <wk@g10code.com>
1096 * maperror.c (map_assuan_err): Renamed to ..
1097 (map_assuan_err_with_source): .. this and add arg SOURCE.c
1098 * asshelp.c (send_pinentry_environment, send_one_option): Add arg
1101 2004-12-15 Werner Koch <wk@g10code.com>
1103 * sysutils.h [W32]: Prototypes for registry functions.
1104 * w32reg.c: Include sysutils.h
1106 * simple-pwquery.c [W32]: Dummy code to allow a build.
1108 * exechelp.c [W32]: Implemented for W32 .
1112 * asshelp.c (send_one_option): New.
1113 (send_pinentry_environment): Cleaned up and made sure that empty
1114 values are not send.
1116 2004-12-07 Werner Koch <wk@g10code.com>
1118 * asshelp.c (send_pinentry_environment) [W32]: Do not use ttyname.
1120 2004-12-06 Werner Koch <wk@g10code.com>
1122 * exechelp.h, exechelp.c: New. Based on code from ../sm/import.c.
1124 2004-12-03 Werner Koch <wk@g10code.com>
1126 * strsep.c: Fixed copyright comments.
1128 2004-11-26 Werner Koch <wk@g10code.com>
1130 * simple-gettext.c: New taken from gnupg 1.3.x
1132 * simple-pwquery.c [_WIN32]: Include winsock2.h.
1133 (agent_open): Disable it until we have our AF_UNIX implementation
1135 * fseeko.c, ftello.c: Include sys/types for the sake of W32.
1137 2004-11-23 Werner Koch <wk@g10code.com>
1139 * b64enc.c: Include stdio.h and string.h
1141 2004-08-18 Werner Koch <wk@g10code.de>
1143 * simple-pwquery.c (simple_pwquery): Handle gpg-error style return
1146 2004-07-20 Werner Koch <wk@g10code.de>
1148 * maperror.c: Removed header ksba.h. Not required anymore.
1150 2004-06-14 Werner Koch <wk@gnupg.org>
1152 * xreadline.c: New. Based on the iobuf_read_line function.
1154 2004-05-12 Werner Koch <wk@gnupg.org>
1156 * util.h (xtrycalloc_secure,xtrymalloc_secure): New.
1158 2004-05-11 Werner Koch <wk@gnupg.org>
1160 * sysutils.c (disable_core_dumps): Only set the current limit.
1161 (enable_core_dumps): New.
1163 2004-04-13 Werner Koch <wk@gnupg.org>
1165 * simple-pwquery.c (copy_and_escape): Relaxed quoting.
1167 2004-04-05 Werner Koch <wk@gnupg.org>
1169 * errors.h (STATUS_NEWSIG): New.
1171 2004-03-11 Werner Koch <wk@gnupg.org>
1173 * dynload.h [__MINGW32__]: Define RTLD_LAZY.
1175 2004-03-09 Werner Koch <wk@gnupg.org>
1177 * maperror.c (map_assuan_err): Map the Locale_Problem item.
1179 2004-03-03 Werner Koch <wk@gnupg.org>
1181 * asshelp.c, asshelp.h: New.
1182 (send_pinentry_environment): New. Code taken from ../sm/call-agent.c.
1184 2004-02-19 Werner Koch <wk@gnupg.org>
1186 * simple-pwquery.c (agent_open): Don't mangle INFOSTR.
1188 2004-02-17 Werner Koch <wk@gnupg.org>
1190 * simple-pwquery.c (agent_open): Ignore an empty GPG_AGENT_INFO.
1192 * errors.h: Added STATUS_IMPORT_OK.
1194 2004-02-10 Werner Koch <wk@gnupg.org>
1196 * b64enc.c: New. Based on code from ../sm/base64.c.
1198 2004-01-30 Marcus Brinkmann <marcus@g10code.de>
1200 * Makefile.am (libcommon_a_SOURCES): Add xasprintf.c.
1201 * miscellaneous.c (xasprintf): Moved to ...
1202 * xasprintf (xasprintf): ... here. New file.
1203 This allows to use xasprintf without sucking in gpg-error.
1205 2004-01-27 Werner Koch <wk@gnupg.org>
1207 * sexp-parse.h: New; moved from../agent.
1209 * util.h (xtoi_4): New.
1211 2003-12-23 Werner Koch <wk@gnupg.org>
1213 * maperror.c (map_assuan_err): Prepared for a new error code.
1215 2003-12-17 Werner Koch <wk@gnupg.org>
1217 * gettime.c (asctimestamp): Add a note on a non-avoidable gcc warning.
1219 * util.h [!HAVE_VASPRINTF]: Add printf format attribute to the
1220 replacement function.
1222 * miscellaneous.c (xasprintf): New.
1224 2003-11-14 Werner Koch <wk@gnupg.org>
1226 * mkdtemp.c (mkdtemp): Use gcry_create_nonce.
1228 * cryptmiss.c: Removed.
1230 2003-11-13 Werner Koch <wk@gnupg.org>
1232 * util.h (vasprintf): Also fixed the prototype.
1234 * vasprintf.c (vasprintf): ARGS should not be a pointer. Fixed
1235 segv on Solaris. Reported by Andrew J. Schorr.
1237 2003-11-12 Werner Koch <wk@gnupg.org>
1239 * maperror.c (map_ksba_err, map_gcry_err, map_kbx_err): Removed.
1241 2003-10-31 Werner Koch <wk@gnupg.org>
1243 * util.h (gnupg_isotime_t): New.
1244 (gnupg_copy_time): New.
1246 * gettime.c (gnupg_get_isotime): New.
1248 2003-09-23 Werner Koch <wk@gnupg.org>
1250 * iobuf.c (check_special_filename): Replaced is isdigit by digitp
1251 to avoid passing negative values and potential locale problems.
1252 Problem noted by Christian Biere.
1254 * util.h (ascii_isspace): New.
1256 2003-09-18 Werner Koch <wk@gnupg.org>
1258 * ttyio.c (tty_fprintf): New.
1259 (tty_print_string, tty_print_utf8_string2)
1260 (tty_print_utf8_string): Made P argument const byte*.
1262 2003-08-20 Marcus Brinkmann <marcus@g10code.de>
1264 * maperror.c (map_ksba_err): Map -1. Use gpg_err_make to set
1267 2003-08-14 Timo Schulz <twoaday@freakmail.de>
1269 * dynload.h. New. W32 wrapper around the dynload mechanism.
1271 2003-07-15 Werner Koch <wk@gnupg.org>
1273 * simple-pwquery.c, simple-pwquery.h: New; moved from ../agent.
1274 * Makefile.am (libsimple_pwquery_a_LIBADD): New.
1276 2003-06-25 Werner Koch <wk@gnupg.org>
1278 * maperror.c (map_to_assuan_status): Directly map 0 to 0.
1280 2003-06-17 Werner Koch <wk@gnupg.org>
1282 * gettime.c (scan_isodatestr,add_days_to_timestamp,strtimevalue)
1283 (strtimestamp,asctimestamp): New. Code taken from gnupg 1.3.2
1286 * yesno.c: New. Code taken from gnupg 1.3.2 mischelp.c
1288 * miscellaneous.c: New.
1290 * util.h: Include utf8conf.h
1292 2003-06-16 Werner Koch <wk@gnupg.org>
1294 * gettime.c (make_timestamp): New.
1296 * ttyio.c: New. Taken from gnupg 1.2.
1297 * ttyio.h: Move from ../include.
1299 2003-06-13 Werner Koch <wk@gnupg.org>
1301 * util.h (seterr): Removed macro.
1302 (xmalloc_secure,xcalloc_secure): New.
1304 2003-06-11 Werner Koch <wk@gnupg.org>
1306 * iobuf.c (iobuf_writebyte,iobuf_write): Return error code from
1308 (iobuf_writestr): Ditto.
1310 2003-06-10 Werner Koch <wk@gnupg.org>
1312 * iobuf.c, iobuf.h: New. Taken from current gnupg 1.3 CVS. Run
1313 indent on it and adjusted error handling to libgpg-error style.
1314 Replaced IOBUF by iobuf_t. Renamed malloc functions.
1316 2003-06-04 Werner Koch <wk@gnupg.org>
1318 * errors.h: Removed all error codes. We keep the status codes for
1320 * Makefile.am: Do not create errors.c anymore; remove it from the
1323 * maperror.c: Don't include error.h. Change all error codes to
1325 (map_assuan_err): Changed to new Assuan error code convention.
1326 (map_to_assuan_status): Likewise.
1327 (map_gcry_err,map_kbx_err): Not needed. For now dummy functions.
1329 * membuf.c, membuf.h: New. Code taken from ../sm/call-agent.h.
1330 * Makefile.am: Added above.
1332 2003-04-29 Werner Koch <wk@gnupg.org>
1334 * util.h (fopencokokie): Removed prototype and struct.
1336 * fopencookie.c: Removed.
1338 * maperror.c: Use system assuan.h
1340 2002-10-31 Neal H. Walfield <neal@g10code.de>
1342 * isascii.c: New file.
1343 * putc_unlocked.c: Likewise.
1345 2002-10-28 Neal H. Walfield <neal@g10code.de>
1347 * signal.c (caught_fatal_sig): Remove superfluous zero
1349 (caught_sigusr1): Likewise.
1351 2002-09-04 Neal H. Walfield <neal@g10code.de>
1353 * vasprintf.c (vasprintf) [va_copy]: Use va_copy.
1354 [!va_copy && __va_copy]: Use __va_copy.
1355 [!va_copy && !__va_copy]: Only now fall back to using memcpy.
1357 2002-08-21 Werner Koch <wk@gnupg.org>
1359 * errors.h: Added STATUS_IMPORT_PROBLEM.
1361 2002-08-20 Werner Koch <wk@gnupg.org>
1363 * vasprintf.c: Hack to handle NULL for %s.
1365 2002-08-09 Werner Koch <wk@gnupg.org>
1367 * signal.c: New. Taken from GnuPG 1.1.91.
1369 2002-07-23 Werner Koch <wk@gnupg.org>
1371 * util.h (_IO_cookie_io_functions_t): Fixed typo. Noted by
1374 2002-07-22 Werner Koch <wk@gnupg.org>
1376 * fseeko.c, ftello.c: New.
1378 2002-06-28 Werner Koch <wk@gnupg.org>
1380 * maperror.c (map_to_assuan_status): Map more errorcodes to Bad
1383 2002-06-26 Werner Koch <wk@gnupg.org>
1385 * maperror.c (map_to_assuan_status): Map EOF to No_Data_Available.
1387 2002-06-10 Werner Koch <wk@gnupg.org>
1389 * errors.h (gnupg_error_token): Add new prototype.
1390 (STATUS_ERROR): New.
1393 * Makefile.am: Use it to create the new error token function.
1395 2002-06-04 Werner Koch <wk@gnupg.org>
1397 * maperror.c (map_to_assuan_status): Map Bad_CA_Certificate.
1399 2002-05-23 Werner Koch <wk@gnupg.org>
1401 * no-pth.c, Makefile.am: Removed.
1403 2002-05-22 Werner Koch <wk@gnupg.org>
1405 * mkdtemp.c: Replaced byte by unsigned char because it is no longer
1406 defined in gcrypt.h.
1408 2002-05-21 Werner Koch <wk@gnupg.org>
1410 * maperror.c (map_gcry_err): Add libgcrypt's new S-expression errors.
1411 (map_ksba_err): Add a few mappings.
1413 2002-05-14 Werner Koch <wk@gnupg.org>
1417 2002-05-03 Werner Koch <wk@gnupg.org>
1419 * errors.h: Added STARUS_EXPSIG and STATUS_EXPKEYSIG.
1421 2002-04-15 Werner Koch <wk@gnupg.org>
1425 2002-02-14 Werner Koch <wk@gnupg.org>
1427 * maperror.c: Add more assuan<->gnupg mappings.
1429 2002-02-12 Werner Koch <wk@gnupg.org>
1431 * fopencookie.c: Dummy function.
1433 * vasprintf.c: New. Taken from binutils-2.9.1 and dropped all non
1434 ANSI-C stuff. Merged with asprintf version.
1438 2002-01-23 Werner Koch <wk@gnupg.org>
1440 * mkdtemp.c: Copied from gnupg-1.0.6c and changed to use libgcrypt.
1442 2002-01-19 Werner Koch <wk@gnupg.org>
1444 * sysutils.c: New. This is the misc.c file from gnupg 1.0.6 with
1445 the OpenPGP stuff removed.
1448 2002-01-15 Werner Koch <wk@gnupg.org>
1450 * maperror.c: Add mapping for Not_Trusted.
1452 2002-01-11 Werner Koch <wk@gnupg.org>
1454 * maperror.c (map_assuan_err): Codes for CRL
1456 2002-01-08 Werner Koch <wk@gnupg.org>
1458 * util.h (spacep): New.
1460 2002-01-02 Werner Koch <wk@gnupg.org>
1462 * maperror.c (map_to_assuan_status): New. Merged from ../agent
1465 2001-12-20 Werner Koch <wk@gnupg.org>
1467 * maperror.c (map_gcry_err): Add some mappings.
1469 2001-12-18 Werner Koch <wk@gnupg.org>
1471 * Makefile.am (AM_CPPFLAGS): Include flags for gcrypt and ksba
1473 2001-12-14 Werner Koch <wk@gnupg.org>
1475 * util.h (digitp, hexdigitp): New ctype like macros.
1476 (atoi_1,atoi_2,atoi_4,xtoi_1,xtoi_2): New.
1479 Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007,
1480 2008, 2009 Free Software Foundation, Inc.
1482 This file is free software; as a special exception the author gives
1483 unlimited permission to copy and/or distribute it, with or without
1484 modifications, as long as this notice is preserved.
1486 This file is distributed in the hope that it will be useful, but
1487 WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
1488 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.