1 2009-07-06 Werner Koch <wk@g10code.com>
3 * get-passphrase.c (struct agentargs): Add SESSION_ENV and remove
5 (gnupg_prepare_get_passphrase): Ditto.
7 * session-env.c, session-env.h: New.
8 * t-session-env.c: New.
9 * Makefile.am (common_sources, module_tests): Add them.
10 * asshelp.h: Include "session-env.h"
11 * asshelp.c (send_one_option): Add arg PUTENV.
12 (send_pinentry_environment): Replace most args by SESSION_ENV and
14 (start_new_gpg_agent): Likewise.
16 * t-exechelp.c (test_close_all_fds): Remove debug code.
18 2009-07-01 Werner Koch <wk@g10code.com>
20 * sexputil.c (get_pk_algo_from_canon_sexp): New.
22 2009-06-29 Werner Koch <wk@g10code.com>
24 * estream.c (BUFFER_ROUND_TO_BLOCK): Remove unused macro.
25 (es_func_mem_write): Rewrite reallocation part.
27 * estream.c (es_write_sanitized_utf8_buffer): Typo typo fix.
29 2009-06-25 Werner Koch <wk@g10code.com>
31 * estream.c (es_write_sanitized_utf8_buffer): Typo fix.
33 2009-06-24 Werner Koch <wk@g10code.com>
35 * estream.c (es_read_line): In the malloc error case, set
36 MAX_LENGTH to 0 only if requested.
37 * xreadline.c (read_line): Ditto.
38 * estream.c (es_write_sanitized_utf8_buffer): Pass on error from
40 * sexputil.c (get_rsa_pk_from_canon_sexp): Check for error after
41 the loop. Reported by Fabian Keil.
43 2009-06-22 Werner Koch <wk@g10code.com>
45 * estream.c (es_pth_read, es_pth_write) [W32]: New.
46 (ESTREAM_SYS_READ, ESTREAM_SYS_WRITE) [HAVE_PTH]: Use them.
48 2009-06-03 Werner Koch <wk@g10code.com>
50 * estream.c (es_convert_mode): Rewrite and support the "x" flag.
52 2009-05-28 David Shaw <dshaw@jabberwocky.com>
56 * http.h, http.c (send_request) Pass in a STRLIST for additional
57 headers. Change all callers.
59 2009-05-27 David Shaw <dshaw@jabberwocky.com>
63 * http.h, http.c (send_request): Pass in srvtag and make its
64 presence sufficient to turn the feature on.
65 (http_open): From here.
66 (http_document): And here.
68 * srv.c (getsrv): Raise maximum packet size to 2048, as PACKETSZ
69 is too small these days.
71 2009-05-22 Werner Koch <wk@g10code.com>
73 * ttyio.c (tty_cleanup_after_signal): New.
75 2009-05-19 Werner Koch <wk@g10code.com>
77 * simple-pwquery.c (agent_open): Use SUN_LEN
78 (JNLIB_NEED_AFLOCAL): Define and include mischelp.h.
80 2009-05-07 Werner Koch <wk@g10code.com>
82 * sexputil.c (get_rsa_pk_from_canon_sexp): New.
83 * t-sexputil.c (test_make_canon_sexp_from_rsa_pk): Extend the test.
85 2009-04-28 Werner Koch <wk@g10code.com>
87 * sexputil.c (make_canon_sexp_from_rsa_pk): New.
88 * t-sexputil.c (test_make_canon_sexp_from_rsa_pk): New.
90 2009-04-01 Werner Koch <wk@g10code.com>
92 * iobuf.c: Port David's changes from 1.4:
93 (fd_cache_invalidate): Pass return code from close back.
94 (direct_open, iobuf_ioctl): Check that eturn value.
95 (fd_cache_synchronize): New.
96 (iobuf_ioctl): Add new sub command 4 (fsync).
98 * iobuf.c (fd_cache_strcmp): New. Taken from 1.4.
99 (fd_cache_invalidate, fd_cache_close, fd_cache_open): Use it.
101 * exechelp.c (gnupg_spawn_process): Implement new flag bit 6.
102 * sysutils.c (gnupg_allow_set_foregound_window): Allow the use of
105 * membuf.c (put_membuf, get_membuf): Wipe memory on out of core.
107 2009-03-31 Werner Koch <wk@g10code.com>
109 * percent.c (percent_unescape, percent_plus_unescape): New.
110 (percent_plus_unescape_inplace, percent_unescape_inplace): New.
111 (do_plus_or_plain_unescape, count_unescape, do_unescape): New.
112 (do_unescape_inplace): New.
113 * t-percent.c (test_percent_plus_escape): Test percent_plus_unescape.
115 * get-passphrase.c, get-passphrase.h: New.
116 * Makefile.am (without_pth_sources): New.
118 2009-03-18 Werner Koch <wk@g10code.com>
120 * exechelp.c: Include sys/resource.h and sys/stat.h.
121 (get_max_open_fds): New.
123 (get_all_open_fds): New.
124 (close_all_fds): New.
125 (do_exec): Use close_all_fds.
128 2009-03-13 David Shaw <dshaw@jabberwocky.com>
130 * http.c (do_parse_uri): Properly handle IPv6 literal addresses as
131 per RFC-2732. Adapted from patch by Phil Pennock.
133 2009-03-12 Werner Koch <wk@g10code.com>
135 * gettime.c: Include i18n.h.
138 2009-03-06 Werner Koch <wk@g10code.com>
140 * sexputil.c (make_canon_sexp): New.
142 2009-03-03 Werner Koch <wk@g10code.com>
144 * exechelp.c (do_exec): Make sure that /dev/null connected FDs are
147 2009-01-19 Werner Koch <wk@g10code.com>
149 * audit.c (writeout_li): Translate a few more result strings.
152 * convert.c (hex2str): Fix optimization to append a nul character.
154 2008-12-05 Werner Koch <wk@g10code.com>
156 * percent.c, t-percent.c: New.
158 * exechelp.c (gnupg_spawn_process, gnupg_spawn_process_fd)
159 (gnupg_spawn_process_detached) [W32]: Remove debug output.
161 2008-11-20 Werner Koch <wk@g10code.com>
163 * audit.c (writeout_li): Translate OKTEXT.
165 2008-11-04 Werner Koch <wk@g10code.com>
167 * i18n.c (i18n_init) [USE_SIMPLE_GETTEXT]: Adjust for changed
169 * homedir.c (gnupg_localedir): New.
171 2008-10-20 Werner Koch <wk@g10code.com>
173 * http.c (http_register_tls_callback) [!HTTP_USE_GNUTLS]: Mark
175 * localename.c (do_nl_locale_name): Ditto.
176 * audit.c (event2str): Silent gcc warning.
177 * sysutils.c (translate_sys2libc_fd): Mark unused arg.
178 (translate_sys2libc_fd_int): Ditto.
179 * iobuf.c (translate_file_handle): Ditto.
180 * asshelp.c (send_one_option): Ditto.
181 * exechelp.c (gnupg_spawn_process): Ditto.
182 * signal.c (got_usr_signal): Ditto
183 * estream.c (es_func_fd_create) [!W32]: Ditto.
184 (es_func_fp_create) [!W32]: Ditto.
185 (es_write_hexstring): Ditto.
186 (dummy_mutex_call_void, dummy_mutex_call_int) [HAVE_PTH]: New.
187 (ESTREAM_MUTEX_LOCK, ESTREAM_MUTEX_UNLOCK, ESTREAM_MUTEX_TRYLOCK)
188 (ESTREAM_MUTEX_INITIALIZE) [HAVE_PTH]: Use dummy calls so to mark
191 2008-10-19 Werner Koch <wk@g10code.com>
193 * estream-printf.c (estream_vsnprintf): Fix return value.
194 (check_snprintf): Add a new test.
195 (one_test) [W32]: Disable test.
197 2008-10-17 Werner Koch <wk@g10code.com>
199 * util.h (snprintf) [W32]: Redefine to estream_snprintf.
201 2008-09-03 Werner Koch <wk@g10code.com>
203 * convert.c (hex2str): New.
204 (hex2str_alloc): New.
205 * t-convert.c (test_hex2str): New.
207 2008-08-19 Werner Koch <wk@g10code.com>
209 * iobuf.c: Avoid passing a NULL (iobuf_t)->desc to the log
210 function. Should in general never be NULL, but well. Reported by
213 2008-06-26 Werner Koch <wk@g10code.com>
215 * estream.c (es_write_sanitized): Loose check for control
216 characters to better cope with utf-8. The range 0x80..0x9f is
217 nowadays not anymore accidently used for control charaters.
219 2008-06-25 Marcus Brinkmann <marcus@g10code.de>
221 Revert last three changes related to handle translation.
223 (FD_TRANSLATE_MAX, fd_translate, fd_translate_len)
224 (translate_table_init, translate_table_lookup): Removed.
225 * iobuf.c (check_special_filename): Do not use
226 translate_table_lookup.
227 * sysutils.h (translate_table_init, translate_table_lookup):
230 2008-06-19 Werner Koch <wk@g10code.com>
232 * sysutils.c: Remove <ctype.h>.
233 (fd_translate_max): Use macro for the size.
234 (translate_table_init): Protect read against EINTR and replace
237 2008-06-18 Marcus Brinkmann <marcus@g10code.de>
239 * sysutils.c (TRANS_MAX): Bump up to 350 to be on the safe side.
241 * sysutils.h (translate_table_init, translate_table_lookup): New
243 * sysutils.c: Include <ctype.h>.
244 (FD_TRANSLATE_MAX): New macro.
245 (fd_translate, fd_translate_len): New static variables.
246 (translate_table_init, translate_table_lookup): New functions.
247 (translate_sys2libc_fd_int): Translate file descriptor.
248 * iobuf.c (check_special_filename): Translate handle values from
251 2008-06-16 Werner Koch <wk@g10code.com>
253 * homedir.c (w32_commondir): New.
254 (gnupg_sysconfdir): Use it.
256 2008-06-09 Werner Koch <wk@g10code.com>
260 2008-06-05 Werner Koch <wk@g10code.com>
262 * util.h (gnupg_copy_time): Replace strcpy by memcpy.
264 2008-05-26 Werner Koch <wk@g10code.com>
266 * asshelp.c (send_one_option, send_pinentry_environment): use
267 xfree and xtrystrdup.
269 * i18n.c (i18n_switchto_utf8) [USE_SIMPLE_GETTEXT]: Return NULL.
271 * homedir.c (gnupg_module_name): Add
272 GNUPG_MODULE_NAME_CONNECT_AGENT and GNUPG_MODULE_NAME_GPGCONF.
274 2008-04-21 Werner Koch <wk@g10code.com>
276 * http.c (http_wait_response) [W32]: Use DuplicateHandle because
278 (cookie_read) [W32]: Use recv in place of read.
280 2008-04-08 Werner Koch <wk@g10code.com>
282 * i18n.c (i18n_switchto_utf8, i18n_switchback)
283 [USE_SIMPLE_GETTEXT]: Implement.
285 2008-04-07 Werner Koch <wk@g10code.com>
287 * b64enc.c (b64enc_start): Detect PGP mode.
288 (b64enc_finish): Write PGP CRC.
289 * util.h (struct b64state): Add field CRC.
292 * pka.c (get_pka_info): Use xtrymalloc and check result.
294 2008-03-25 Werner Koch <wk@g10code.com>
296 * localename.c: Strip all W32 code. Include w32help.h.
297 (gnupg_messages_locale_name) [W32]: Use the gettext_localename.
299 2008-03-17 Werner Koch <wk@g10code.com>
301 * iobuf.c (IOBUF_BUFFER_SIZE): Actually use this macro.
303 * simple-pwquery.c (agent_send_all_options): Fix last change.
305 2008-03-06 Werner Koch <wk@g10code.com>
307 * simple-pwquery.c (agent_send_all_options): Add support for
308 XAUTHORITY and PINENTRY_USER_DATA.
310 2008-02-15 Marcus Brinkmann <marcus@g10code.de>
312 * exechelp.c (gnupg_spawn_process_fd): Add flag DETACHED_PROCESS
313 unconditionally (required for all callers at the moment).
315 2008-02-14 Werner Koch <wk@g10code.com>
317 * sysutils.c (gnupg_allow_set_foregound_window): New.
318 (WINVER) [W32]: Define.
320 2008-01-31 Werner Koch <wk@g10code.com>
322 * audit.c (audit_print_result): Make sure that the output is
325 2008-01-27 Werner Koch <wk@g10code.com>
327 * exechelp.c (gnupg_spawn_process): Add arg FLAGS and changed all
328 callers to pass 0 for it.
330 2007-12-13 Werner Koch <wk@g10code.com>
332 * sexputil.c (hash_algo_from_sigval): New.
334 * Makefile.am (module_tests): Add it.
336 2007-12-11 Werner Koch <wk@g10code.com>
338 * asshelp.c (send_pinentry_environment): Allow using of old
339 gpg-agents not capabale of the xauthority and pinentry_user_data
342 2007-12-04 Werner Koch <wk@g10code.com>
344 * Makefile.am (t_helpfile_LDADD, module_maint_tests): New.
347 * membuf.h (is_membuf_ready, MEMBUF_ZERO): New.
348 * localename.c: New. Taken from gettext with modifications as done
349 for GpgOL. Export one new function.
350 * util.h (gnupg_messages_locale_name, gnupg_get_help_string): Added.
352 * sysutils.c (gnupg_reopen_std): New. Taken from ../g10/gpg.c.
354 2007-11-27 Werner Koch <wk@g10code.com>
356 * Makefile.am (CLEANFILES): New.
358 * homedir.c (dirmngr_socket_name): Use CSIDL_WINDOWS.
360 2007-11-15 Werner Koch <wk@g10code.com>
362 * asshelp.c (send_pinentry_environment): Add args XAUTHORITY and
364 (start_new_gpg_agent): Ditto.
366 2007-11-07 Werner Koch <wk@g10code.com>
371 2007-11-05 Werner Koch <wk@g10code.com>
373 * audit.c, audit.h: New.
374 * Makefile.am: Add rules to build audit-events.h.
376 * mkstrtable.awk: New. Taken from libgpg-error.
378 2007-10-19 Werner Koch <wk@g10code.com>
380 * i18n.c (i18n_switchto_utf8, i18n_switchback): New.
382 2007-10-01 Werner Koch <wk@g10code.com>
384 * sysutils.h (FD2INT, INT2FD): New.
386 2007-09-21 Werner Koch <wk@g10code.com>
388 * homedir.c (default_homedir): Make registry work. Reported by
391 2007-08-29 Werner Koch <wk@g10code.com>
393 * exechelp.c (gnupg_wait_process): Add arg EXITCODE. Changed all
395 (gnupg_create_inbound_pipe): New.
396 * util.h (GNUPG_MODULE_NAME_GPGSM, GNUPG_MODULE_NAME_GPG): New.
397 * homedir.c (gnupg_module_name): Add them
399 2007-08-28 Werner Koch <wk@g10code.com>
401 * gettime.c (check_isotime, add_isotime): New. Originally written
403 (add_days_to_isotime): New.
404 (date2jd, jd2date, days_per_month, days_per_year): New. Taken from
405 my ancient (1988) code used in Wedit (time2.c).
407 2007-08-27 Werner Koch <wk@g10code.com>
409 * util.h (GNUPG_MODULE_NAME_CHECK_PATTERN): New.
410 * homedir.c (gnupg_module_name): Add it.
411 * exechelp.c (w32_fd_or_null) [W32]: New.
412 (gnupg_spawn_process_fd): New.
413 (gnupg_wait_process) [W32]: Close the handle after if the process has
416 2007-08-22 Werner Koch <wk@g10code.com>
418 Updated estream from libestream.
420 * estream.c (mem_malloc, mem_realloc, mem_free): New. Use them
421 instead of the ES_MEM_foo.
422 * estream.c (estream_cookie_mem): Remove members DONT_FREE,
423 APPEND_ZERO, PTR and SIZE. Add MEMORY_LIMIT. Put GROW into a new
425 (es_func_mem_create): Remove APPEND_ZERO, DONT_FREE, PTR and
426 SIZE. Add MEMORY_LIMIT.
427 (es_func_mem_write, es_func_mem_seek, es_func_mem_destroy): Revamp.
428 (es_open_memstream): Change API to just take a memory limit and a
429 mode argument. Rename to ..
430 (es_fopenmem): .. this.
431 (HAVE_W32_SYSTEM) [_WIN32]: Define if not defined.
432 (tmpfd) [W32]: Implement directly using the W32 API.
433 (es_fgets): Rewrite without using doreadline.
435 2007-08-21 Werner Koch <wk@g10code.com>
437 * sysutils.c (gnupg_tmpfile): New.
439 * Makefile.am (module_tests): Add t-sysutils.
441 2007-08-20 Werner Koch <wk@g10code.com>
443 * exechelp.c [W32]: Redefine X_OK to F_OK.
445 2007-08-16 Werner Koch <wk@g10code.com>
447 * Makefile.am (t_convert_DEPENDENCIES): Remove
448 ($(PROGRAMS)): Remove.
449 (t_common_ldadd): Use libcommon.a and not the macro.
451 2007-08-14 Werner Koch <wk@g10code.com>
453 * homedir.c (dirmngr_socket_name): New.
455 2007-08-07 Werner Koch <wk@g10code.com>
457 * tlv.c, tlv.h: Move from ../scd/.
458 * tlv.c (parse_sexp, parse_ber_header): Add ERRSOURCE arg and prefix
460 * tlv.h: Use macro to convey ERRSOURCE.
462 2007-08-02 Werner Koch <wk@g10code.com>
464 * gc-opt-flags.h: New.
466 2007-08-01 Werner Koch <wk@g10code.com>
468 * estream-printf.c (read_dummy_value): Removed as it is useless now.
469 (read_values): Remove check on !vaargs which is not anymore needed
470 and anyway not portable. Reported by Peter O'Gorman.
472 2007-07-16 Werner Koch <wk@g10code.com>
474 * estream.c (es_func_file_create): Clear NO_CLOSE flag.
476 2007-07-12 Werner Koch <wk@g10code.com>
478 * sysutils.h (gnupg_fd_t): New.
479 * sysutils.c (translate_sys2libc_fd): Use that type instead of int.
480 (translate_sys2libc_fd_int): New.
482 2007-07-09 Werner Koch <wk@g10code.com>
484 * t-gettime.c (test_isotime2epoch): Use time_t and not u32.
486 2007-07-05 Werner Koch <wk@g10code.com>
489 * gettime.c (isotime2epoch, epoch2isotime): New.
491 2007-07-04 Werner Koch <wk@g10code.com>
493 * estream.c (es_init_do): Do not throw an error if pth has already
496 2007-06-26 Werner Koch <wk@g10code.com>
498 * Makefile.am ($(PROGRAMS)): New.
500 * util.h (init_common_subsystems): Moved to ..
502 * util.h: Include init.h.
504 * homedir.c (standard_homedir): New.
505 (default_homedir) [W32]: Reimplemented in terms of
506 standard_homedir. Fixed memory leak.
508 2007-06-25 Werner Koch <wk@g10code.com>
510 * iobuf.c: Add more documentation and slighly restructured macro
511 defintion for better readability.
512 (FILEP_OR_FD): Rename to fp_or_fd_t.
513 (CLOSE_CACHE): Rename to close_cache_t.
515 * sysutils.c (translate_sys2libc_fd): New using the code from iobuf.c.
516 * iobuf.c: Include sysutils.h.
517 (iobuf_translate_file_handle): Remove.
518 (translate_file_handle): Use new function.
520 * estream-printf.c [TEST]: Header including fixes.
521 (do_format): Do not append a trailing Nul. This avoids spurious
522 Nuls in the es_printf output.
523 (estream_vsnprintf, estream_vasprintf): Take this in account.
525 * estream.h (struct es__stream): Change FLAGS to a bit structure.
526 (ES__FLAG_WRITING): Replace by a bit from FLAGS. * estream.c
527 (struct estream_internal): Rename FLAGS to MODEFLAGS so that they
528 are not confused with the estream flags.
529 (es_initialize, es_create): Add arg MODEFLAGS so that we can setup
530 the intial writemode. Changed all callers to pass them.
531 (es_convert_mode): Set O_BINARY.
532 (es_func_fd_create, es_func_fp_create, es_func_file_create) [W32]:
533 Call setmode if requested.
535 2007-06-24 Werner Koch <wk@g10code.com>
537 * estream.c (do_fpopen, es_fpopen, es_fpopen_nc): New.
538 (es_func_fp_create, es_func_fp_read, es_func_fp_write)
539 (es_func_fp_seek, es_func_fp_destroy): New.
541 2007-06-22 Werner Koch <wk@g10code.com>
543 * estream.c (es_fdopen): Factored code out to..
546 (estream_cookie_fd): Add field NO_CLOSE.
547 (es_func_fd_create): Add arg NO_CLOSE and changed all callers.
548 (es_func_fd_destroy): Handle the new flag.
550 * homedir.c (gnupg_libexecdir) [W32]: Factor code out to ..
551 (w32_rootdir): .. new.
552 (gnupg_sysconfdir, gnupg_libdir, gnupg_datadir) [W32]: Return
553 name based on w32_rootdir().
555 2007-06-21 Werner Koch <wk@g10code.com>
557 * membuf.h (get_membuf_len): New.
559 * membuf.c (init_membuf_secure): Really allocate in secure memory.
560 (put_membuf_str): New.
562 * ttyio.c (tty_getf): New.
564 * util.h (ctrl_t): Declare it here.
566 * asshelp.c (start_new_gpg_agent): New. Based on code from
569 2007-06-20 Werner Koch <wk@g10code.com>
571 * sysutils.c (gnupg_sleep): New.
572 * sysutils.h [W32]: Remove _sleep wrapper. Changed all callers to
575 * exechelp.c (build_w32_commandline_copy): New.
576 (build_w32_commandline): Factored some code out to new function
577 and correctly process a PGMNAME with spaces.
578 (gnupg_spawn_process_detached) [W32]: Implement.
580 2007-06-14 Werner Koch <wk@g10code.com>
582 * simple-pwquery.h (MAP_SPWQ_ERROR_IMPL): New.
583 (SPWQ_NO_PIN_ENTRY): New.
584 * simple-pwquery.c (simple_pw_set_socket): New.
585 (agent_open): Use it if GPG_AGENT_INFO is not set.
586 (simple_pwquery): Extended to allow returning of otehyr error codes.
588 * util.h (GNUPG_MODULE_NAME_AGENT, GNUPG_MODULE_NAME_PINENTRY)
589 (GNUPG_MODULE_NAME_SCDAEMON, GNUPG_MODULE_NAME_DIRMNGR)
590 (GNUPG_MODULE_NAME_PROTECT_TOOL): New.
591 * homedir.c (gnupg_module_name): New.
594 2007-06-12 Werner Koch <wk@g10code.com>
596 * homedir.c (gnupg_sysconfdir): New.
597 (gnupg_libexecdir): New. Taken from g10/misc.c:get_libexecdir.
598 (gnupg_datadir): New.
601 * http.c (connect_server) [W32]: Do not call init_sockets if
602 HTTP_NO_WSASTARTUP is defined.
606 * estream.c (es_init_do): Init stream lock here because we can't
607 use a static initialization with W32pth.
609 2007-06-11 Werner Koch <wk@g10code.com>
611 * Makefile.am (t_common_ldadd): Use libcommonstd macro.
613 2007-06-06 Werner Koch <wk@g10code.com>
615 * Makefile.am: Include am/cmacros.am.
617 * sysutils.h [W32]: Remove prototypes for the registry access.
618 * w32reg.c: Move to ../jnlib/w32-reg.c.
620 * i18n.c (i18n_init): New.
622 * simple-gettext.c: Remove.
624 * iobuf.c (iobuf_get_filelength): Rename SIZE to EXSIZE to silent
627 2007-06-04 Werner Koch <wk@g10code.com>
629 * http.c [W32]: Include unistd.h also in this case.
630 (write_server) [W32]: Fixed error code.
631 (init_sockets): Fixed syntax error.
632 (cookie_close): Replace close by sock_close macro.
634 * estream.c [w32]: Do not init Mutex.
636 * Makefile.am (common_sources) [USE_SNS_SRV]: Build srv.c only
639 * ttyio.c (init_ttyfp) [W32]: Do not use TTYFP.
641 * util.h: Include ../jnlib/dynload.h.
643 * dynload.h: Move to ../jnlib.
645 2007-05-30 Werner Koch <wk@g10code.com>
647 * estream.c (MEM_FREE, MEM_ALLOC, MEM_REALLOC): Prefix with ES_ as
648 windows.h also has such definitions,
650 2007-05-15 Werner Koch <wk@g10code.com>
652 * util.h: Do not include gnulib's vasprintf. Redefine asprintf
655 * xasprintf.c (xasprintf, xtryasprintf): Use estream_vasprintf.
657 * estream-printf.h, estream-printf.c: New. Taken from current
659 * Makefile.am (common_sources): Add them.
661 2007-05-14 Werner Koch <wk@g10code.com>
663 * sexp-parse.h (smklen): New.
664 * sexputil.c: Include sexp-parse.h.
665 (make_simple_sexp_from_hexstr): Replace sprintf by smklen.
667 2007-05-07 Werner Koch <wk@g10code.com>
669 * signal.c (got_fatal_signal): Protect SIG from being clobbered by
670 a faulty signal implementaion. Suggested by James Juran.
672 2007-04-25 Werner Koch <wk@g10code.com>
674 * i18n.h (ngettext): New.
675 * simple-gettext.c (ngettext): New.
677 2007-04-20 Werner Koch <wk@g10code.com>
679 * miscellaneous.c (my_gcry_logger, my_gcry_outofcore_handler):
680 Moved from gpg-agent to here.
681 (my_gcry_fatalerror_handler): new.
682 (setup_libgcrypt_logging): New.
684 2007-03-19 Werner Koch <wk@g10code.com>
686 * miscellaneous.c (print_hexstring): New.
687 * estream.c (es_fprintf_unlocked): New.
688 (es_write_sanitized): New.
689 (es_write_hexstring): New.
690 (es_write_sanitized_utf8_buffer) [GNUPG_MAJOR_VERSION]: New.
692 2007-03-09 David Shaw <dshaw@jabberwocky.com>
694 From STABLE-BRANCH-1-4
696 * http.c (do_parse_uri): Remove the hkp port 11371 detection. We
697 implement hkp in the keyserver handler, and the support here makes
698 it appear like a bad hkp request actually succeeded.
700 2007-01-31 Werner Koch <wk@g10code.com>
702 * Makefile.am (t_common_ldadd): Add LIBINCONV and LIBINTL.
704 2007-01-25 Werner Koch <wk@g10code.com>
706 * simple-pwquery.c (simple_pwquery): New arg OPT_CHECK.
708 2006-12-13 David Shaw <dshaw@jabberwocky.com>
710 * Makefile.am (AM_CPPFLAGS): Include intl/ so we can reference the
713 2006-11-23 Werner Koch <wk@g10code.com>
715 * http.c: Include i18n.h
717 2006-11-21 Werner Koch <wk@g10code.com>
719 * estream.c: Remove explicit Pth soft mapping diabling becuase it
720 is now done in config.h.
722 2006-11-15 Werner Koch <wk@g10code.com>
724 * estream.c: Disabled Pth soft mapping.
725 (my_funopen_hook_ret_t): New.
726 (print_fun_writer): Use it here.
728 * iobuf.c (fd_cache_close): Use %d instead of %p for debug output.
730 2006-11-03 Werner Koch <wk@g10code.com>
732 * Makefile.am (t_convert_DEPENDENCIES): Add libcommon. From
735 2006-10-24 Marcus Brinkmann <marcus@g10code.de>
737 * Makefile.am (libcommon_a_CFLAGS): Add $(LIBASSUAN_CFLAGS).
738 (libsimple_pwquery_a_CFLAGS): New variable.
740 2006-10-20 Werner Koch <wk@g10code.com>
742 * convert.c (hex2bin): New.
744 2006-10-17 Werner Koch <wk@g10code.com>
746 * estream.c (struct estream_internal, es_initialize)
747 (es_deinitialize, print_fun_writer, es_print): New and modified
748 functions to avoid tempfiles for printf style printing.
750 * Makefile.am (libcommonpth_a_SOURCES): New. We now build a secon
751 version of the library with explicit Pth support.
752 * exechelp.c, estream.c: Make use of WITHOUT_GNU_PTH.
754 2006-10-08 Werner Koch <wk@g10code.com>
756 * gpgrlhelp.c: Trun all functions into dummies if readline is not
759 2006-10-06 Werner Koch <wk@g10code.com>
761 * Makefile.am (AM_CFLAGS): Use PTH version of libassuan.
763 * util.h (GNUPG_GCC_A_SENTINEL): Defined for gcc >= 4.
765 2006-10-04 David Shaw <dshaw@jabberwocky.com>
767 * gpgrlhelp.c: readline requires stdio.h.
769 2006-10-04 Werner Koch <wk@g10code.com>
771 * membuf.c (init_membuf_secure): New.
772 (put_membuf): Make sure that ERRNO is set even if the underlying
773 malloc code does not work properly.
774 (get_membuf): Set ERRNO on error.
775 (get_membuf): Allow to pass LEN as NULL.
777 2006-10-02 Werner Koch <wk@g10code.com>
779 * iobuf.c (iobuf_unread): Removed. This code is not required.
780 Also removed the entire unget buffer stuff.
782 2006-09-27 Werner Koch <wk@g10code.com>
784 * util.h: Do not include strsep.h and strpbrk.h.
785 (isascii): Removed as it is now in jnlib.
787 * iobuf.c (pop_filter, underflow, iobuf_close): Free the unget
790 2006-09-27 Florian Weimer <fweimer@bfk.de> (wk)
792 * iobuf.c (iobuf_unread): New.
794 2006-09-22 Werner Koch <wk@g10code.com>
796 * i18n.h: Changed license to an all permissive one.
798 * ttyio.c (tty_get): We need to use readline too. Added two more
801 2006-09-21 Werner Koch <wk@g10code.com>
803 * ttyio.c (tty_private_set_rl_hooks): New.
804 (tty_enable_completion, tty_disable_completion): Use a hook to
805 enable readline support. Now always available.
806 (tty_cleanup_rl_after_signal): New.
808 * ttyio.h: Removed readline specific stuff. Included util.h.
809 * common-defs.h: New.
811 2006-09-15 Werner Koch <wk@g10code.com>
815 (bin2hex, bin2hexcolon, do_binhex): New.
818 2006-09-14 Werner Koch <wk@g10code.com>
820 * util.h (out_of_core): Use new gpg_error_from_syserror function.
822 * http.c (init_sockets): Changed it to require 2.2 unless it is
823 build within gnupg 1 where we require 1.1 (and not anymore allow
826 2006-09-07 Werner Koch <wk@g10code.com>
828 * exechelp.c (gnupg_spawn_process): Factor out post fork code to ..
829 (do_exec): .. new function. Allow passing of -1 for the fds.
830 (gnupg_spawn_process): Terminate gcrypt's secure memory in the child.
831 (gnupg_spawn_process_detached): New.
833 2006-09-06 Werner Koch <wk@g10code.com>
835 * maperror.c: Removed.
837 * util.h (out_of_core): New.
839 2006-09-04 Werner Koch <wk@g10code.com>
841 * http.c (http_get_header): New.
842 (capitalize_header_name, store_header): New.
843 (parse_response): Store headers away.
844 (send_request): Return GPG_ERR_NOT_FOUND if connect_server failed.
845 * http.h: New flag HTTP_FLAG_NEED_HEADER.
847 2006-08-21 Werner Koch <wk@g10code.com>
849 * Makefile.am (libcommon_a_SOURCES): Added keyserver.h
851 * openpgpdefs.h: New. Stripped from ..g10/packet.h.
853 2006-08-16 Werner Koch <wk@g10code.com>
855 * keyserver.h: Moved from ../include to here.
857 * http.c: Include srv.h.
859 * srv.c, srv.h: New. Taken from GnuPG 1.4
861 2006-08-14 Werner Koch <wk@g10code.com>
863 * http.h (struct http_context_s): Moved to implementation.
864 * http.c (http_open): Changed call to return a context.
865 (http_open_document): Ditto.
866 (http_get_read_ptr, http_get_read_ptr, http_get_status_code): New.
867 (do_parse_uri): Replaced strlwr by straight code to ease
868 standalone use of this file.
869 (http_wait_response): Removed arg STATUS_CODE as it is available
870 through an accessor function. Adjusted caller.
871 (http_escape_string): New.
873 * estream.c (es_read_line): Renamed to ..
874 (doreadline): .. this. Changed all callers.
875 (es_read_line): New. This is theusual limited getline variabnt as
876 used at several places. Here taken and adjusted from xreadline.c
879 2006-08-11 Werner Koch <wk@g10code.com>
881 * http.c: Major internal changes to optionallly support GNUTLS and
883 (http_open): Move initialization of the stream ...
884 (send_request): .. here.
885 (http_register_tls_callback): New.
887 * estream.c (es_writen): Try to seek only is a seek function has
890 2006-08-09 Werner Koch <wk@g10code.com>
892 * http.c, http.h: New. Taken from gnupg 1.4.5, merged with
893 changes done for the Dirmngr project (by g10 Code) and cleaned up
895 (make_header_line): New. Change all caller to make user of the new
896 * Makefile.am (libcommon_a_SOURCES): Added http.c and http.h.
898 2006-05-23 Werner Koch <wk@g10code.com>
900 * gettime.c (isotimestamp): New.
902 * ttyio.c (tty_get_ttyname): Posixly correct usage of ctermid.
904 * dns-cert.c: New. Taken from 1.4.3's util/cert.c.
907 2006-05-22 Werner Koch <wk@g10code.com>
909 * pka.c: New. Taked from 1.4.3.
911 * Makefile.am: Added pka.
913 2006-05-19 Werner Koch <wk@g10code.com>
915 * yesno.c (answer_is_yes_no_default, answer_is_yes_no_quit):
917 (answer_is_okay_cancel): new. From 1.4.3.
919 * miscellaneous.c (match_multistr): New. Taken from 1.4.3.
921 * ttyio.c (tty_enable_completion, tty_disable_completion): New
923 * ttyio.h: Add prototypes and stubs.
925 2006-04-19 Werner Koch <wk@g10code.com>
927 * iobuf.c (iobuf_get_fd): New. Taken from 1.4.3.
928 (iobuf_is_pipe_filename): New.
929 (pop_filter): Made static.
930 (iobuf_skip_rest): New. Orginal patch by Florian
931 Weimer. Added new argument PARTIAL.
932 (block_filter): Remove the old gpg indeterminate length mode.
933 (block_filter): Properly handle a partial body stream
934 that ends with a 5-byte length that happens to be zero.
935 (iobuf_set_block_mode, iobuf_in_block_mode): Removed as
937 (iobuf_get_filelength): New arg OVERFLOW.
938 (iobuf_get_filelength) [W32]: Use GetFileSizeEx if available
939 * miscellaneous.c (is_file_compressed): Take care of OVERFLOW.
941 2006-04-18 Werner Koch <wk@g10code.com>
943 * homedir.c (w32_shgetfolderpath): New. Taken from gpg 1.4.3.
944 (default_homedir): Use it.
946 2005-10-08 Marcus Brinkmann <marcus@g10code.de>
948 * signal.c (get_signal_name): Check value of HAVE_DECL_SYS_SIGLIST
949 instead of just if it is defined.
951 2005-09-28 Marcus Brinkmann <marcus@g10code.de>
953 * Makefile.am (AM_CFLAGS): Add $(LIBASSUAN_CFLAGS).
955 2005-07-04 Marcus Brinkmann <marcus@g10code.de>
957 * simple-pwquery.h (simple_pwclear): New prototype.
958 * simple-pwquery.c (simple_pwclear): New function.
960 2005-06-15 Werner Koch <wk@g10code.com>
962 * miscellaneous.c (make_printable_string): Made P a void*.
964 * sexputil.c (keygrip_from_canon_sexp, cmp_simple_canon_sexp):
965 Fixed signed/unsigned pointer mismatch.
966 (make_simple_sexp_from_hexstr): Ditto. This is all too ugly; I
967 wonder why gcc-4's default is to warn about them and forcing us to
968 use cast the warning away.
969 * iobuf.c (block_filter): Ditto.
970 (iobuf_flush): Ditto.
971 (iobuf_read_line): Ditto.
972 (iobuf_read): Make BUFFER a void *.
973 (iobuf_write): Make BUFFER a const void *.
974 * ttyio.c (tty_print_utf8_string2): Ditto.
975 * estream.c (estream_cookie_mem): Make MEMORY unsigned char*.
976 (es_write): Make BUFFER a void *.
978 (es_func_fd_read, es_func_fd_write, es_func_mem_read)
979 (es_func_mem_write): Ditto.
980 (es_read, es_readn): Ditto.
981 (es_func_mem_write): Made MEMORY_NEW an unsigned char *.
982 * estream.h (es_cookie_read_function_t)
983 (es_cookie_write_function_t): Changed buffer arg to void*.
985 2005-06-03 Werner Koch <wk@g10code.com>
987 * estream.c: Use HAVE_CONFIG_H and not USE_CONFIG_H!
988 (es_func_fd_read, es_func_fd_write): Protect against EINTR.
990 2005-06-01 Werner Koch <wk@g10code.com>
992 * Makefile.am (AM_CPPFLAGS): Added.
994 * util.h: Add some includes for gnulib.
995 (ttyname, isascii): Define them inline.
996 * fseeko.c, ftello.c: Removed.
997 * strsep.c, mkdtemp.c: Removed.
998 * ttyname.c, isascii.c: Removed.
1000 2005-05-31 Werner Koch <wk@g10code.com>
1002 * dynload.h: s/__inline__/inline/.
1004 2005-05-13 Werner Koch <wk@g10code.com>
1006 * signal.c (got_fatal_signal): Print the signal number if we can't
1008 (get_signal_name): Return NULL if no name is available. Fixed
1009 conditional for sys_siglist to the correct one.
1011 2005-04-17 Werner Koch <wk@g10code.com>
1013 * sexputil.c (cmp_simple_canon_sexp): New.
1014 (make_simple_sexp_from_hexstr): New.
1016 2005-04-07 Werner Koch <wk@g10code.com>
1020 2005-04-11 Marcus Brinkmann <marcus@g10code.de>
1022 * simple-pwquery.c (simple_pwquery): Use spwq_secure_free.
1024 2005-03-03 Werner Koch <wk@g10code.com>
1026 * Makefile.am (AM_CFLAGS): Added PTH_CFLAGS. Noted by Kazu Yamamoto.
1028 2005-02-25 Werner Koch <wk@g10code.com>
1030 * xasprintf.c (xtryasprintf): New.
1032 2005-01-26 Moritz Schulte <moritz@g10code.com>
1034 * Makefile.am (libcommon_a_SOURCES): New source files: estream.c,
1036 * estream.c, estream.h: New files.
1038 2005-01-03 Werner Koch <wk@g10code.com>
1040 * asshelp.c (send_pinentry_environment): Fixed changed from
1041 2004-12-18; cut+paste error for lc-messages.
1043 2004-12-21 Werner Koch <wk@g10code.com>
1045 * simple-pwquery.c (agent_open) [W32]: Implement for W32.
1046 (readline) [W32]: Use recv instead of read.
1047 (writen) [W32]: Use send instead of write.
1048 (my_stpcpy): Define a stpcpy replacement so that this file
1049 continues to be self-contained.
1050 (agent_send_all_options) [W32]: Don't call ttyname.
1052 2004-12-21 Marcus Brinkmann <marcus@g10code.de>
1054 * simple-pwquery.h (simple_query): Add prototype.
1055 * simple-pwquery.c (simple_query): New function.
1057 2004-12-21 Werner Koch <wk@g10code.com>
1059 * signal.c (got_fatal_signal, got_usr_signal)
1060 (got_fatal_signal) [DOSISH]: Don't build.
1061 * simple-gettext.c: Include sysutils.h
1063 * homedir.c: New. Use CSIDL_APPDATA for W32 as the default home
1065 * Makefile.am (libcommon_a_SOURCES): Add it.
1066 (EXTRA_DIST): Removed mkerror and mkerrtok.
1068 2004-12-20 Werner Koch <wk@g10code.com>
1070 * sysutils.h [W32]: Define sleep.
1071 * util.h: Add prototype for mkdtemp.
1073 * membuf.c (put_membuf): Wipe out buffer after a failed realloc.
1075 2004-12-19 Werner Koch <wk@g10code.com>
1077 * maperror.c (map_assuan_err_with_source): Oops, args were swapped.
1079 2004-12-18 Werner Koch <wk@g10code.com>
1081 * maperror.c (map_assuan_err): Renamed to ..
1082 (map_assuan_err_with_source): .. this and add arg SOURCE.c
1083 * asshelp.c (send_pinentry_environment, send_one_option): Add arg
1086 2004-12-15 Werner Koch <wk@g10code.com>
1088 * sysutils.h [W32]: Prototypes for registry functions.
1089 * w32reg.c: Include sysutils.h
1091 * simple-pwquery.c [W32]: Dummy code to allow a build.
1093 * exechelp.c [W32]: Implemented for W32 .
1097 * asshelp.c (send_one_option): New.
1098 (send_pinentry_environment): Cleaned up and made sure that empty
1099 values are not send.
1101 2004-12-07 Werner Koch <wk@g10code.com>
1103 * asshelp.c (send_pinentry_environment) [W32]: Do not use ttyname.
1105 2004-12-06 Werner Koch <wk@g10code.com>
1107 * exechelp.h, exechelp.c: New. Based on code from ../sm/import.c.
1109 2004-12-03 Werner Koch <wk@g10code.com>
1111 * strsep.c: Fixed copyright comments.
1113 2004-11-26 Werner Koch <wk@g10code.com>
1115 * simple-gettext.c: New taken from gnupg 1.3.x
1117 * simple-pwquery.c [_WIN32]: Include winsock2.h.
1118 (agent_open): Disable it until we have our AF_UNIX implementation
1120 * fseeko.c, ftello.c: Include sys/types for the sake of W32.
1122 2004-11-23 Werner Koch <wk@g10code.com>
1124 * b64enc.c: Include stdio.h and string.h
1126 2004-08-18 Werner Koch <wk@g10code.de>
1128 * simple-pwquery.c (simple_pwquery): Handle gpg-error style return
1131 2004-07-20 Werner Koch <wk@g10code.de>
1133 * maperror.c: Removed header ksba.h. Not required anymore.
1135 2004-06-14 Werner Koch <wk@gnupg.org>
1137 * xreadline.c: New. Based on the iobuf_read_line function.
1139 2004-05-12 Werner Koch <wk@gnupg.org>
1141 * util.h (xtrycalloc_secure,xtrymalloc_secure): New.
1143 2004-05-11 Werner Koch <wk@gnupg.org>
1145 * sysutils.c (disable_core_dumps): Only set the current limit.
1146 (enable_core_dumps): New.
1148 2004-04-13 Werner Koch <wk@gnupg.org>
1150 * simple-pwquery.c (copy_and_escape): Relaxed quoting.
1152 2004-04-05 Werner Koch <wk@gnupg.org>
1154 * errors.h (STATUS_NEWSIG): New.
1156 2004-03-11 Werner Koch <wk@gnupg.org>
1158 * dynload.h [__MINGW32__]: Define RTLD_LAZY.
1160 2004-03-09 Werner Koch <wk@gnupg.org>
1162 * maperror.c (map_assuan_err): Map the Locale_Problem item.
1164 2004-03-03 Werner Koch <wk@gnupg.org>
1166 * asshelp.c, asshelp.h: New.
1167 (send_pinentry_environment): New. Code taken from ../sm/call-agent.c.
1169 2004-02-19 Werner Koch <wk@gnupg.org>
1171 * simple-pwquery.c (agent_open): Don't mangle INFOSTR.
1173 2004-02-17 Werner Koch <wk@gnupg.org>
1175 * simple-pwquery.c (agent_open): Ignore an empty GPG_AGENT_INFO.
1177 * errors.h: Added STATUS_IMPORT_OK.
1179 2004-02-10 Werner Koch <wk@gnupg.org>
1181 * b64enc.c: New. Based on code from ../sm/base64.c.
1183 2004-01-30 Marcus Brinkmann <marcus@g10code.de>
1185 * Makefile.am (libcommon_a_SOURCES): Add xasprintf.c.
1186 * miscellaneous.c (xasprintf): Moved to ...
1187 * xasprintf (xasprintf): ... here. New file.
1188 This allows to use xasprintf without sucking in gpg-error.
1190 2004-01-27 Werner Koch <wk@gnupg.org>
1192 * sexp-parse.h: New; moved from../agent.
1194 * util.h (xtoi_4): New.
1196 2003-12-23 Werner Koch <wk@gnupg.org>
1198 * maperror.c (map_assuan_err): Prepared for a new error code.
1200 2003-12-17 Werner Koch <wk@gnupg.org>
1202 * gettime.c (asctimestamp): Add a note on a non-avoidable gcc warning.
1204 * util.h [!HAVE_VASPRINTF]: Add printf format attribute to the
1205 replacement function.
1207 * miscellaneous.c (xasprintf): New.
1209 2003-11-14 Werner Koch <wk@gnupg.org>
1211 * mkdtemp.c (mkdtemp): Use gcry_create_nonce.
1213 * cryptmiss.c: Removed.
1215 2003-11-13 Werner Koch <wk@gnupg.org>
1217 * util.h (vasprintf): Also fixed the prototype.
1219 * vasprintf.c (vasprintf): ARGS should not be a pointer. Fixed
1220 segv on Solaris. Reported by Andrew J. Schorr.
1222 2003-11-12 Werner Koch <wk@gnupg.org>
1224 * maperror.c (map_ksba_err, map_gcry_err, map_kbx_err): Removed.
1226 2003-10-31 Werner Koch <wk@gnupg.org>
1228 * util.h (gnupg_isotime_t): New.
1229 (gnupg_copy_time): New.
1231 * gettime.c (gnupg_get_isotime): New.
1233 2003-09-23 Werner Koch <wk@gnupg.org>
1235 * iobuf.c (check_special_filename): Replaced is isdigit by digitp
1236 to avoid passing negative values and potential locale problems.
1237 Problem noted by Christian Biere.
1239 * util.h (ascii_isspace): New.
1241 2003-09-18 Werner Koch <wk@gnupg.org>
1243 * ttyio.c (tty_fprintf): New.
1244 (tty_print_string, tty_print_utf8_string2)
1245 (tty_print_utf8_string): Made P argument const byte*.
1247 2003-08-20 Marcus Brinkmann <marcus@g10code.de>
1249 * maperror.c (map_ksba_err): Map -1. Use gpg_err_make to set
1252 2003-08-14 Timo Schulz <twoaday@freakmail.de>
1254 * dynload.h. New. W32 wrapper around the dynload mechanism.
1256 2003-07-15 Werner Koch <wk@gnupg.org>
1258 * simple-pwquery.c, simple-pwquery.h: New; moved from ../agent.
1259 * Makefile.am (libsimple_pwquery_a_LIBADD): New.
1261 2003-06-25 Werner Koch <wk@gnupg.org>
1263 * maperror.c (map_to_assuan_status): Directly map 0 to 0.
1265 2003-06-17 Werner Koch <wk@gnupg.org>
1267 * gettime.c (scan_isodatestr,add_days_to_timestamp,strtimevalue)
1268 (strtimestamp,asctimestamp): New. Code taken from gnupg 1.3.2
1271 * yesno.c: New. Code taken from gnupg 1.3.2 mischelp.c
1273 * miscellaneous.c: New.
1275 * util.h: Include utf8conf.h
1277 2003-06-16 Werner Koch <wk@gnupg.org>
1279 * gettime.c (make_timestamp): New.
1281 * ttyio.c: New. Taken from gnupg 1.2.
1282 * ttyio.h: Move from ../include.
1284 2003-06-13 Werner Koch <wk@gnupg.org>
1286 * util.h (seterr): Removed macro.
1287 (xmalloc_secure,xcalloc_secure): New.
1289 2003-06-11 Werner Koch <wk@gnupg.org>
1291 * iobuf.c (iobuf_writebyte,iobuf_write): Return error code from
1293 (iobuf_writestr): Ditto.
1295 2003-06-10 Werner Koch <wk@gnupg.org>
1297 * iobuf.c, iobuf.h: New. Taken from current gnupg 1.3 CVS. Run
1298 indent on it and adjusted error handling to libgpg-error style.
1299 Replaced IOBUF by iobuf_t. Renamed malloc functions.
1301 2003-06-04 Werner Koch <wk@gnupg.org>
1303 * errors.h: Removed all error codes. We keep the status codes for
1305 * Makefile.am: Do not create errors.c anymore; remove it from the
1308 * maperror.c: Don't include error.h. Change all error codes to
1310 (map_assuan_err): Changed to new Assuan error code convention.
1311 (map_to_assuan_status): Likewise.
1312 (map_gcry_err,map_kbx_err): Not needed. For now dummy functions.
1314 * membuf.c, membuf.h: New. Code taken from ../sm/call-agent.h.
1315 * Makefile.am: Added above.
1317 2003-04-29 Werner Koch <wk@gnupg.org>
1319 * util.h (fopencokokie): Removed prototype and struct.
1321 * fopencookie.c: Removed.
1323 * maperror.c: Use system assuan.h
1325 2002-10-31 Neal H. Walfield <neal@g10code.de>
1327 * isascii.c: New file.
1328 * putc_unlocked.c: Likewise.
1330 2002-10-28 Neal H. Walfield <neal@g10code.de>
1332 * signal.c (caught_fatal_sig): Remove superfluous zero
1334 (caught_sigusr1): Likewise.
1336 2002-09-04 Neal H. Walfield <neal@g10code.de>
1338 * vasprintf.c (vasprintf) [va_copy]: Use va_copy.
1339 [!va_copy && __va_copy]: Use __va_copy.
1340 [!va_copy && !__va_copy]: Only now fall back to using memcpy.
1342 2002-08-21 Werner Koch <wk@gnupg.org>
1344 * errors.h: Added STATUS_IMPORT_PROBLEM.
1346 2002-08-20 Werner Koch <wk@gnupg.org>
1348 * vasprintf.c: Hack to handle NULL for %s.
1350 2002-08-09 Werner Koch <wk@gnupg.org>
1352 * signal.c: New. Taken from GnuPG 1.1.91.
1354 2002-07-23 Werner Koch <wk@gnupg.org>
1356 * util.h (_IO_cookie_io_functions_t): Fixed typo. Noted by
1359 2002-07-22 Werner Koch <wk@gnupg.org>
1361 * fseeko.c, ftello.c: New.
1363 2002-06-28 Werner Koch <wk@gnupg.org>
1365 * maperror.c (map_to_assuan_status): Map more errorcodes to Bad
1368 2002-06-26 Werner Koch <wk@gnupg.org>
1370 * maperror.c (map_to_assuan_status): Map EOF to No_Data_Available.
1372 2002-06-10 Werner Koch <wk@gnupg.org>
1374 * errors.h (gnupg_error_token): Add new prototype.
1375 (STATUS_ERROR): New.
1378 * Makefile.am: Use it to create the new error token function.
1380 2002-06-04 Werner Koch <wk@gnupg.org>
1382 * maperror.c (map_to_assuan_status): Map Bad_CA_Certificate.
1384 2002-05-23 Werner Koch <wk@gnupg.org>
1386 * no-pth.c, Makefile.am: Removed.
1388 2002-05-22 Werner Koch <wk@gnupg.org>
1390 * mkdtemp.c: Replaced byte by unsigned char because it is no longer
1391 defined in gcrypt.h.
1393 2002-05-21 Werner Koch <wk@gnupg.org>
1395 * maperror.c (map_gcry_err): Add libgcrypt's new S-expression errors.
1396 (map_ksba_err): Add a few mappings.
1398 2002-05-14 Werner Koch <wk@gnupg.org>
1402 2002-05-03 Werner Koch <wk@gnupg.org>
1404 * errors.h: Added STARUS_EXPSIG and STATUS_EXPKEYSIG.
1406 2002-04-15 Werner Koch <wk@gnupg.org>
1410 2002-02-14 Werner Koch <wk@gnupg.org>
1412 * maperror.c: Add more assuan<->gnupg mappings.
1414 2002-02-12 Werner Koch <wk@gnupg.org>
1416 * fopencookie.c: Dummy function.
1418 * vasprintf.c: New. Taken from binutils-2.9.1 and dropped all non
1419 ANSI-C stuff. Merged with asprintf version.
1423 2002-01-23 Werner Koch <wk@gnupg.org>
1425 * mkdtemp.c: Copied from gnupg-1.0.6c and changed to use libgcrypt.
1427 2002-01-19 Werner Koch <wk@gnupg.org>
1429 * sysutils.c: New. This is the misc.c file from gnupg 1.0.6 with
1430 the OpenPGP stuff removed.
1433 2002-01-15 Werner Koch <wk@gnupg.org>
1435 * maperror.c: Add mapping for Not_Trusted.
1437 2002-01-11 Werner Koch <wk@gnupg.org>
1439 * maperror.c (map_assuan_err): Codes for CRL
1441 2002-01-08 Werner Koch <wk@gnupg.org>
1443 * util.h (spacep): New.
1445 2002-01-02 Werner Koch <wk@gnupg.org>
1447 * maperror.c (map_to_assuan_status): New. Merged from ../agent
1450 2001-12-20 Werner Koch <wk@gnupg.org>
1452 * maperror.c (map_gcry_err): Add some mappings.
1454 2001-12-18 Werner Koch <wk@gnupg.org>
1456 * Makefile.am (AM_CPPFLAGS): Include flags for gcrypt and ksba
1458 2001-12-14 Werner Koch <wk@gnupg.org>
1460 * util.h (digitp, hexdigitp): New ctype like macros.
1461 (atoi_1,atoi_2,atoi_4,xtoi_1,xtoi_2): New.
1464 Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007,
1465 2008, 2009 Free Software Foundation, Inc.
1467 This file is free software; as a special exception the author gives
1468 unlimited permission to copy and/or distribute it, with or without
1469 modifications, as long as this notice is preserved.
1471 This file is distributed in the hope that it will be useful, but
1472 WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
1473 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.