1 2007-07-04 Werner Koch <wk@g10code.com>
3 * estream.c (es_init_do): Do not throw an error if pth as already
6 2007-06-26 Werner Koch <wk@g10code.com>
8 * Makefile.am ($(PROGRAMS)): New.
10 * util.h (init_common_subsystems): Moved to ..
12 * util.h: Include init.h.
14 * homedir.c (standard_homedir): New.
15 (default_homedir) [W32]: Reimplemented in terms of
16 standard_homedir. Fixed memory leak.
18 2007-06-25 Werner Koch <wk@g10code.com>
20 * iobuf.c: Add more documentation and slighly restructured macro
21 defintion for better readability.
22 (FILEP_OR_FD): Rename to fp_or_fd_t.
23 (CLOSE_CACHE): Rename to close_cache_t.
25 * sysutils.c (translate_sys2libc_fd): New using the code from iobuf.c.
26 * iobuf.c: Include sysutils.h.
27 (iobuf_translate_file_handle): Remove.
28 (translate_file_handle): Use new function.
30 * estream-printf.c [TEST]: Header including fixes.
31 (do_format): Do not append a trailing Nul. This avoids spurious
32 Nuls in the es_printf output.
33 (estream_vsnprintf, estream_vasprintf): Take this in account.
35 * estream.h (struct es__stream): Change FLAGS to a bit structure.
36 (ES__FLAG_WRITING): Replace by a bit from FLAGS. * estream.c
37 (struct estream_internal): Rename FLAGS to MODEFLAGS so that they
38 are not confused with the estream flags.
39 (es_initialize, es_create): Add arg MODEFLAGS so that we can setup
40 the intial writemode. Changed all callers to pass them.
41 (es_convert_mode): Set O_BINARY.
42 (es_func_fd_create, es_func_fp_create, es_func_file_create) [W32]:
43 Call setmode if requested.
45 2007-06-24 Werner Koch <wk@g10code.com>
47 * estream.c (do_fpopen, es_fpopen, es_fpopen_nc): New.
48 (es_func_fp_create, es_func_fp_read, es_func_fp_write)
49 (es_func_fp_seek, es_func_fp_destroy): New.
51 2007-06-22 Werner Koch <wk@g10code.com>
53 * estream.c (es_fdopen): Factored code out to..
56 (estream_cookie_fd): Add field NO_CLOSE.
57 (es_func_fd_create): Add arg NO_CLOSE and changed all callers.
58 (es_func_fd_destroy): Handle the new flag.
60 * homedir.c (gnupg_libexecdir) [W32]: Factor code out to ..
61 (w32_rootdir): .. new.
62 (gnupg_sysconfdir, gnupg_libdir, gnupg_datadir) [W32]: Return
63 name based on w32_rootdir().
65 2007-06-21 Werner Koch <wk@g10code.com>
67 * membuf.h (get_membuf_len): New.
69 * membuf.c (init_membuf_secure): Really allocate in secure memory.
70 (put_membuf_str): New.
72 * ttyio.c (tty_getf): New.
74 * util.h (ctrl_t): Declare it here.
76 * asshelp.c (start_new_gpg_agent): New. Based on code from
79 2007-06-20 Werner Koch <wk@g10code.com>
81 * sysutils.c (gnupg_sleep): New.
82 * sysutils.h [W32]: Remove _sleep wrapper. Changed all callers to
85 * exechelp.c (build_w32_commandline_copy): New.
86 (build_w32_commandline): Factored some code out to new function
87 and correctly process a PGMNAME with spaces.
88 (gnupg_spawn_process_detached) [W32]: Implement.
90 2007-06-14 Werner Koch <wk@g10code.com>
92 * simple-pwquery.h (MAP_SPWQ_ERROR_IMPL): New.
93 (SPWQ_NO_PIN_ENTRY): New.
94 * simple-pwquery.c (simple_pw_set_socket): New.
95 (agent_open): Use it if GPG_AGENT_INFO is not set.
96 (simple_pwquery): Extended to allow returning of otehyr error codes.
98 * util.h (GNUPG_MODULE_NAME_AGENT, GNUPG_MODULE_NAME_PINENTRY)
99 (GNUPG_MODULE_NAME_SCDAEMON, GNUPG_MODULE_NAME_DIRMNGR)
100 (GNUPG_MODULE_NAME_PROTECT_TOOL): New.
101 * homedir.c (gnupg_module_name): New.
104 2007-06-12 Werner Koch <wk@g10code.com>
106 * homedir.c (gnupg_sysconfdir): New.
107 (gnupg_libexecdir): New. Taken from g10/misc.c:get_libexecdir.
108 (gnupg_datadir): New.
111 * http.c (connect_server) [W32]: Do not call init_sockets if
112 HTTP_NO_WSASTARTUP is defined.
116 * estream.c (es_init_do): Init stream lock here because we can't
117 use a static initialization with W32pth.
119 2007-06-11 Werner Koch <wk@g10code.com>
121 * Makefile.am (t_common_ldadd): Use libcommonstd macro.
123 2007-06-06 Werner Koch <wk@g10code.com>
125 * Makefile.am: Include am/cmacros.am.
127 * sysutils.h [W32]: Remove prototypes for the registry access.
128 * w32reg.c: Move to ../jnlib/w32-reg.c.
130 * i18n.c (i18n_init): New.
132 * simple-gettext.c: Remove.
134 * iobuf.c (iobuf_get_filelength): Rename SIZE to EXSIZE to silent
137 2007-06-04 Werner Koch <wk@g10code.com>
139 * http.c [W32]: Include unistd.h also in this case.
140 (write_server) [W32]: Fixed error code.
141 (init_sockets): Fixed syntax error.
142 (cookie_close): Replace close by sock_close macro.
144 * estream.c [w32]: Do not init Mutex.
146 * Makefile.am (common_sources) [USE_SNS_SRV]: Build srv.c only
149 * ttyio.c (init_ttyfp) [W32]: Do not use TTYFP.
151 * util.h: Include ../jnlib/dynload.h.
153 * dynload.h: Move to ../jnlib.
155 2007-05-30 Werner Koch <wk@g10code.com>
157 * estream.c (MEM_FREE, MEM_ALLOC, MEM_REALLOC): Prefix with ES_ as
158 windows.h also has such definitions,
160 2007-05-15 Werner Koch <wk@g10code.com>
162 * util.h: Do not include gnulib's vasprintf. Redefine asprintf
165 * xasprintf.c (xasprintf, xtryasprintf): Use estream_vasprintf.
167 * estream-printf.h, estream-printf.c: New. Taken from current
169 * Makefile.am (common_sources): Add them.
171 2007-05-14 Werner Koch <wk@g10code.com>
173 * sexp-parse.h (smklen): New.
174 * sexputil.c: Include sexp-parse.h.
175 (make_simple_sexp_from_hexstr): Replace sprintf by smklen.
177 2007-05-07 Werner Koch <wk@g10code.com>
179 * signal.c (got_fatal_signal): Protect SIG from being clobbered by
180 a faulty signal implementaion. Suggested by James Juran.
182 2007-04-25 Werner Koch <wk@g10code.com>
184 * i18n.h (ngettext): New.
185 * simple-gettext.c (ngettext): New.
187 2007-04-20 Werner Koch <wk@g10code.com>
189 * miscellaneous.c (my_gcry_logger, my_gcry_outofcore_handler):
190 Moved from gpg-agent to here.
191 (my_gcry_fatalerror_handler): new.
192 (setup_libgcrypt_logging): New.
194 2007-03-19 Werner Koch <wk@g10code.com>
196 * miscellaneous.c (print_hexstring): New.
197 * estream.c (es_fprintf_unlocked): New.
198 (es_write_sanitized): New.
199 (es_write_hexstring): New.
200 (es_write_sanitized_utf8_buffer) [GNUPG_MAJOR_VERSION]: New.
202 2007-03-09 David Shaw <dshaw@jabberwocky.com>
204 From STABLE-BRANCH-1-4
206 * http.c (do_parse_uri): Remove the hkp port 11371 detection. We
207 implement hkp in the keyserver handler, and the support here makes
208 it appear like a bad hkp request actually succeeded.
210 2007-01-31 Werner Koch <wk@g10code.com>
212 * Makefile.am (t_common_ldadd): Add LIBINCONV and LIBINTL.
214 2007-01-25 Werner Koch <wk@g10code.com>
216 * simple-pwquery.c (simple_pwquery): New arg OPT_CHECK.
218 2006-12-13 David Shaw <dshaw@jabberwocky.com>
220 * Makefile.am (AM_CPPFLAGS): Include intl/ so we can reference the
223 2006-11-23 Werner Koch <wk@g10code.com>
225 * http.c: Include i18n.h
227 2006-11-21 Werner Koch <wk@g10code.com>
229 * estream.c: Remove explicit Pth soft mapping diabling becuase it
230 is now done in config.h.
232 2006-11-15 Werner Koch <wk@g10code.com>
234 * estream.c: Disabled Pth soft mapping.
235 (my_funopen_hook_ret_t): New.
236 (print_fun_writer): Use it here.
238 * iobuf.c (fd_cache_close): Use %d instead of %p for debug output.
240 2006-11-03 Werner Koch <wk@g10code.com>
242 * Makefile.am (t_convert_DEPENDENCIES): Add libcommon. From
245 2006-10-24 Marcus Brinkmann <marcus@g10code.de>
247 * Makefile.am (libcommon_a_CFLAGS): Add $(LIBASSUAN_CFLAGS).
248 (libsimple_pwquery_a_CFLAGS): New variable.
250 2006-10-20 Werner Koch <wk@g10code.com>
252 * convert.c (hex2bin): New.
254 2006-10-17 Werner Koch <wk@g10code.com>
256 * estream.c (struct estream_internal, es_initialize)
257 (es_deinitialize, print_fun_writer, es_print): New and modified
258 functions to avoid tempfiles for printf style printing.
260 * Makefile.am (libcommonpth_a_SOURCES): New. We now build a secon
261 version of the library with explicit Pth support.
262 * exechelp.c, estream.c: Make use of WITHOUT_GNU_PTH.
264 2006-10-08 Werner Koch <wk@g10code.com>
266 * gpgrlhelp.c: Trun all functions into dummies if readline is not
269 2006-10-06 Werner Koch <wk@g10code.com>
271 * Makefile.am (AM_CFLAGS): Use PTH version of libassuan.
273 * util.h (GNUPG_GCC_A_SENTINEL): Defined for gcc >= 4.
275 2006-10-04 David Shaw <dshaw@jabberwocky.com>
277 * gpgrlhelp.c: readline requires stdio.h.
279 2006-10-04 Werner Koch <wk@g10code.com>
281 * membuf.c (init_membuf_secure): New.
282 (put_membuf): Make sure that ERRNO is set even if the underlying
283 malloc code does not work properly.
284 (get_membuf): Set ERRNO on error.
285 (get_membuf): Allow to pass LEN as NULL.
287 2006-10-02 Werner Koch <wk@g10code.com>
289 * iobuf.c (iobuf_unread): Removed. This code is not required.
290 Also removed the entire unget buffer stuff.
292 2006-09-27 Werner Koch <wk@g10code.com>
294 * util.h: Do not include strsep.h and strpbrk.h.
295 (isascii): Removed as it is now in jnlib.
297 * iobuf.c (pop_filter, underflow, iobuf_close): Free the unget
300 2006-09-27 Florian Weimer <fweimer@bfk.de> (wk)
302 * iobuf.c (iobuf_unread): New.
304 2006-09-22 Werner Koch <wk@g10code.com>
306 * i18n.h: Changed license to an all permissive one.
308 * ttyio.c (tty_get): We need to use readline too. Added two more
311 2006-09-21 Werner Koch <wk@g10code.com>
313 * ttyio.c (tty_private_set_rl_hooks): New.
314 (tty_enable_completion, tty_disable_completion): Use a hook to
315 enable readline support. Now always available.
316 (tty_cleanup_rl_after_signal): New.
318 * ttyio.h: Removed readline specific stuff. Included util.h.
319 * common-defs.h: New.
321 2006-09-15 Werner Koch <wk@g10code.com>
325 (bin2hex, bin2hexcolon, do_binhex): New.
328 2006-09-14 Werner Koch <wk@g10code.com>
330 * util.h (out_of_core): Use new gpg_error_from_syserror function.
332 * http.c (init_sockets): Changed it to require 2.2 unless it is
333 build within gnupg 1 where we require 1.1 (and not anymore allow
336 2006-09-07 Werner Koch <wk@g10code.com>
338 * exechelp.c (gnupg_spawn_process): Factor out post fork code to ..
339 (do_exec): .. new function. Allow passing of -1 for the fds.
340 (gnupg_spawn_process): Terminate gcrypt's secure memory in the child.
341 (gnupg_spawn_process_detached): New.
343 2006-09-06 Werner Koch <wk@g10code.com>
345 * maperror.c: Removed.
347 * util.h (out_of_core): New.
349 2006-09-04 Werner Koch <wk@g10code.com>
351 * http.c (http_get_header): New.
352 (capitalize_header_name, store_header): New.
353 (parse_response): Store headers away.
354 (send_request): Return GPG_ERR_NOT_FOUND if connect_server failed.
355 * http.h: New flag HTTP_FLAG_NEED_HEADER.
357 2006-08-21 Werner Koch <wk@g10code.com>
359 * Makefile.am (libcommon_a_SOURCES): Added keyserver.h
361 * openpgpdefs.h: New. Stripped from ..g10/packet.h.
363 2006-08-16 Werner Koch <wk@g10code.com>
365 * keyserver.h: Moved from ../include to here.
367 * http.c: Include srv.h.
369 * srv.c, srv.h: New. Taken from GnuPG 1.4
371 2006-08-14 Werner Koch <wk@g10code.com>
373 * http.h (struct http_context_s): Moved to implementation.
374 * http.c (http_open): Changed call to return a context.
375 (http_open_document): Ditto.
376 (http_get_read_ptr, http_get_read_ptr, http_get_status_code): New.
377 (do_parse_uri): Replaced strlwr by straight code to ease
378 standalone use of this file.
379 (http_wait_response): Removed arg STATUS_CODE as it is available
380 through an accessor function. Adjusted caller.
381 (http_escape_string): New.
383 * estream.c (es_read_line): Renamed to ..
384 (doreadline): .. this. Changed all callers.
385 (es_read_line): New. This is theusual limited getline variabnt as
386 used at several places. Here taken and adjusted from xreadline.c
389 2006-08-11 Werner Koch <wk@g10code.com>
391 * http.c: Major internal changes to optionallly support GNUTLS and
393 (http_open): Move initialization of the stream ...
394 (send_request): .. here.
395 (http_register_tls_callback): New.
397 * estream.c (es_writen): Try to seek only is a seek function has
400 2006-08-09 Werner Koch <wk@g10code.com>
402 * http.c, http.h: New. Taken from gnupg 1.4.5, merged with
403 changes done for the Dirmngr project (by g10 Code) and cleaned up
405 (make_header_line): New. Change all caller to make user of the new
406 * Makefile.am (libcommon_a_SOURCES): Added http.c and http.h.
408 2006-05-23 Werner Koch <wk@g10code.com>
410 * gettime.c (isotimestamp): New.
412 * ttyio.c (tty_get_ttyname): Posixly correct usage of ctermid.
414 * dns-cert.c: New. Taken from 1.4.3's util/cert.c.
417 2006-05-22 Werner Koch <wk@g10code.com>
419 * pka.c: New. Taked from 1.4.3.
421 * Makefile.am: Added pka.
423 2006-05-19 Werner Koch <wk@g10code.com>
425 * yesno.c (answer_is_yes_no_default, answer_is_yes_no_quit):
427 (answer_is_okay_cancel): new. From 1.4.3.
429 * miscellaneous.c (match_multistr): New. Taken from 1.4.3.
431 * ttyio.c (tty_enable_completion, tty_disable_completion): New
433 * ttyio.h: Add prototypes and stubs.
435 2006-04-19 Werner Koch <wk@g10code.com>
437 * iobuf.c (iobuf_get_fd): New. Taken from 1.4.3.
438 (iobuf_is_pipe_filename): New.
439 (pop_filter): Made static.
440 (iobuf_skip_rest): New. Orginal patch by Florian
441 Weimer. Added new argument PARTIAL.
442 (block_filter): Remove the old gpg indeterminate length mode.
443 (block_filter): Properly handle a partial body stream
444 that ends with a 5-byte length that happens to be zero.
445 (iobuf_set_block_mode, iobuf_in_block_mode): Removed as
447 (iobuf_get_filelength): New arg OVERFLOW.
448 (iobuf_get_filelength) [W32]: Use GetFileSizeEx if available
449 * miscellaneous.c (is_file_compressed): Take care of OVERFLOW.
451 2006-04-18 Werner Koch <wk@g10code.com>
453 * homedir.c (w32_shgetfolderpath): New. Taken from gpg 1.4.3.
454 (default_homedir): Use it.
456 2005-10-08 Marcus Brinkmann <marcus@g10code.de>
458 * signal.c (get_signal_name): Check value of HAVE_DECL_SYS_SIGLIST
459 instead of just if it is defined.
461 2005-09-28 Marcus Brinkmann <marcus@g10code.de>
463 * Makefile.am (AM_CFLAGS): Add $(LIBASSUAN_CFLAGS).
465 2005-07-04 Marcus Brinkmann <marcus@g10code.de>
467 * simple-pwquery.h (simple_pwclear): New prototype.
468 * simple-pwquery.c (simple_pwclear): New function.
470 2005-06-15 Werner Koch <wk@g10code.com>
472 * miscellaneous.c (make_printable_string): Made P a void*.
474 * sexputil.c (keygrip_from_canon_sexp, cmp_simple_canon_sexp):
475 Fixed signed/unsigned pointer mismatch.
476 (make_simple_sexp_from_hexstr): Ditto. This is all too ugly; I
477 wonder why gcc-4's default is to warn about them and forcing us to
478 use cast the warning away.
479 * iobuf.c (block_filter): Ditto.
480 (iobuf_flush): Ditto.
481 (iobuf_read_line): Ditto.
482 (iobuf_read): Make BUFFER a void *.
483 (iobuf_write): Make BUFFER a const void *.
484 * ttyio.c (tty_print_utf8_string2): Ditto.
485 * estream.c (estream_cookie_mem): Make MEMORY unsigned char*.
486 (es_write): Make BUFFER a void *.
488 (es_func_fd_read, es_func_fd_write, es_func_mem_read)
489 (es_func_mem_write): Ditto.
490 (es_read, es_readn): Ditto.
491 (es_func_mem_write): Made MEMORY_NEW an unsigned char *.
492 * estream.h (es_cookie_read_function_t)
493 (es_cookie_write_function_t): Changed buffer arg to void*.
495 2005-06-03 Werner Koch <wk@g10code.com>
497 * estream.c: Use HAVE_CONFIG_H and not USE_CONFIG_H!
498 (es_func_fd_read, es_func_fd_write): Protect against EINTR.
500 2005-06-01 Werner Koch <wk@g10code.com>
502 * Makefile.am (AM_CPPFLAGS): Added.
504 * util.h: Add some includes for gnulib.
505 (ttyname, isascii): Define them inline.
506 * fseeko.c, ftello.c: Removed.
507 * strsep.c, mkdtemp.c: Removed.
508 * ttyname.c, isascii.c: Removed.
510 2005-05-31 Werner Koch <wk@g10code.com>
512 * dynload.h: s/__inline__/inline/.
514 2005-05-13 Werner Koch <wk@g10code.com>
516 * signal.c (got_fatal_signal): Print the signal number if we can't
518 (get_signal_name): Return NULL if no name is available. Fixed
519 conditional for sys_siglist to the correct one.
521 2005-04-17 Werner Koch <wk@g10code.com>
523 * sexputil.c (cmp_simple_canon_sexp): New.
524 (make_simple_sexp_from_hexstr): New.
526 2005-04-07 Werner Koch <wk@g10code.com>
530 2005-04-11 Marcus Brinkmann <marcus@g10code.de>
532 * simple-pwquery.c (simple_pwquery): Use spwq_secure_free.
534 2005-03-03 Werner Koch <wk@g10code.com>
536 * Makefile.am (AM_CFLAGS): Added PTH_CFLAGS. Noted by Kazu Yamamoto.
538 2005-02-25 Werner Koch <wk@g10code.com>
540 * xasprintf.c (xtryasprintf): New.
542 2005-01-26 Moritz Schulte <moritz@g10code.com>
544 * Makefile.am (libcommon_a_SOURCES): New source files: estream.c,
546 * estream.c, estream.h: New files.
548 2005-01-03 Werner Koch <wk@g10code.com>
550 * asshelp.c (send_pinentry_environment): Fixed changed from
551 2004-12-18; cut+paste error for lc-messages.
553 2004-12-21 Werner Koch <wk@g10code.com>
555 * simple-pwquery.c (agent_open) [W32]: Implement for W32.
556 (readline) [W32]: Use recv instead of read.
557 (writen) [W32]: Use send instead of write.
558 (my_stpcpy): Define a stpcpy replacement so that this file
559 continues to be self-contained.
560 (agent_send_all_options) [W32]: Don't call ttyname.
562 2004-12-21 Marcus Brinkmann <marcus@g10code.de>
564 * simple-pwquery.h (simple_query): Add prototype.
565 * simple-pwquery.c (simple_query): New function.
567 2004-12-21 Werner Koch <wk@g10code.com>
569 * signal.c (got_fatal_signal, got_usr_signal)
570 (got_fatal_signal) [DOSISH]: Don't build.
571 * simple-gettext.c: Include sysutils.h
573 * homedir.c: New. Use CSIDL_APPDATA for W32 as the default home
575 * Makefile.am (libcommon_a_SOURCES): Add it.
576 (EXTRA_DIST): Removed mkerror and mkerrtok.
578 2004-12-20 Werner Koch <wk@g10code.com>
580 * sysutils.h [W32]: Define sleep.
581 * util.h: Add prototype for mkdtemp.
583 * membuf.c (put_membuf): Wipe out buffer after a failed realloc.
585 2004-12-19 Werner Koch <wk@g10code.com>
587 * maperror.c (map_assuan_err_with_source): Oops, args were swapped.
589 2004-12-18 Werner Koch <wk@g10code.com>
591 * maperror.c (map_assuan_err): Renamed to ..
592 (map_assuan_err_with_source): .. this and add arg SOURCE.c
593 * asshelp.c (send_pinentry_environment, send_one_option): Add arg
596 2004-12-15 Werner Koch <wk@g10code.com>
598 * sysutils.h [W32]: Prototypes for registry functions.
599 * w32reg.c: Include sysutils.h
601 * simple-pwquery.c [W32]: Dummy code to allow a build.
603 * exechelp.c [W32]: Implemented for W32 .
607 * asshelp.c (send_one_option): New.
608 (send_pinentry_environment): Cleaned up and made sure that empty
611 2004-12-07 Werner Koch <wk@g10code.com>
613 * asshelp.c (send_pinentry_environment) [W32]: Do not use ttyname.
615 2004-12-06 Werner Koch <wk@g10code.com>
617 * exechelp.h, exechelp.c: New. Based on code from ../sm/import.c.
619 2004-12-03 Werner Koch <wk@g10code.com>
621 * strsep.c: Fixed copyright comments.
623 2004-11-26 Werner Koch <wk@g10code.com>
625 * simple-gettext.c: New taken from gnupg 1.3.x
627 * simple-pwquery.c [_WIN32]: Include winsock2.h.
628 (agent_open): Disable it until we have our AF_UNIX implementation
630 * fseeko.c, ftello.c: Include sys/types for the sake of W32.
632 2004-11-23 Werner Koch <wk@g10code.com>
634 * b64enc.c: Include stdio.h and string.h
636 2004-08-18 Werner Koch <wk@g10code.de>
638 * simple-pwquery.c (simple_pwquery): Handle gpg-error style return
641 2004-07-20 Werner Koch <wk@g10code.de>
643 * maperror.c: Removed header ksba.h. Not required anymore.
645 2004-06-14 Werner Koch <wk@gnupg.org>
647 * xreadline.c: New. Based on the iobuf_read_line function.
649 2004-05-12 Werner Koch <wk@gnupg.org>
651 * util.h (xtrycalloc_secure,xtrymalloc_secure): New.
653 2004-05-11 Werner Koch <wk@gnupg.org>
655 * sysutils.c (disable_core_dumps): Only set the current limit.
656 (enable_core_dumps): New.
658 2004-04-13 Werner Koch <wk@gnupg.org>
660 * simple-pwquery.c (copy_and_escape): Relaxed quoting.
662 2004-04-05 Werner Koch <wk@gnupg.org>
664 * errors.h (STATUS_NEWSIG): New.
666 2004-03-11 Werner Koch <wk@gnupg.org>
668 * dynload.h [__MINGW32__]: Define RTLD_LAZY.
670 2004-03-09 Werner Koch <wk@gnupg.org>
672 * maperror.c (map_assuan_err): Map the Locale_Problem item.
674 2004-03-03 Werner Koch <wk@gnupg.org>
676 * asshelp.c, asshelp.h: New.
677 (send_pinentry_environment): New. Code taken from ../sm/call-agent.c.
679 2004-02-19 Werner Koch <wk@gnupg.org>
681 * simple-pwquery.c (agent_open): Don't mangle INFOSTR.
683 2004-02-17 Werner Koch <wk@gnupg.org>
685 * simple-pwquery.c (agent_open): Ignore an empty GPG_AGENT_INFO.
687 * errors.h: Added STATUS_IMPORT_OK.
689 2004-02-10 Werner Koch <wk@gnupg.org>
691 * b64enc.c: New. Based on code from ../sm/base64.c.
693 2004-01-30 Marcus Brinkmann <marcus@g10code.de>
695 * Makefile.am (libcommon_a_SOURCES): Add xasprintf.c.
696 * miscellaneous.c (xasprintf): Moved to ...
697 * xasprintf (xasprintf): ... here. New file.
698 This allows to use xasprintf without sucking in gpg-error.
700 2004-01-27 Werner Koch <wk@gnupg.org>
702 * sexp-parse.h: New; moved from../agent.
704 * util.h (xtoi_4): New.
706 2003-12-23 Werner Koch <wk@gnupg.org>
708 * maperror.c (map_assuan_err): Prepared for a new error code.
710 2003-12-17 Werner Koch <wk@gnupg.org>
712 * gettime.c (asctimestamp): Add a note on a non-avoidable gcc warning.
714 * util.h [!HAVE_VASPRINTF]: Add printf format attribute to the
715 replacement function.
717 * miscellaneous.c (xasprintf): New.
719 2003-11-14 Werner Koch <wk@gnupg.org>
721 * mkdtemp.c (mkdtemp): Use gcry_create_nonce.
723 * cryptmiss.c: Removed.
725 2003-11-13 Werner Koch <wk@gnupg.org>
727 * util.h (vasprintf): Also fixed the prototype.
729 * vasprintf.c (vasprintf): ARGS should not be a pointer. Fixed
730 segv on Solaris. Reported by Andrew J. Schorr.
732 2003-11-12 Werner Koch <wk@gnupg.org>
734 * maperror.c (map_ksba_err, map_gcry_err, map_kbx_err): Removed.
736 2003-10-31 Werner Koch <wk@gnupg.org>
738 * util.h (gnupg_isotime_t): New.
739 (gnupg_copy_time): New.
741 * gettime.c (gnupg_get_isotime): New.
743 2003-09-23 Werner Koch <wk@gnupg.org>
745 * iobuf.c (check_special_filename): Replaced is isdigit by digitp
746 to avoid passing negative values and potential locale problems.
747 Problem noted by Christian Biere.
749 * util.h (ascii_isspace): New.
751 2003-09-18 Werner Koch <wk@gnupg.org>
753 * ttyio.c (tty_fprintf): New.
754 (tty_print_string, tty_print_utf8_string2)
755 (tty_print_utf8_string): Made P argument const byte*.
757 2003-08-20 Marcus Brinkmann <marcus@g10code.de>
759 * maperror.c (map_ksba_err): Map -1. Use gpg_err_make to set
762 2003-08-14 Timo Schulz <twoaday@freakmail.de>
764 * dynload.h. New. W32 wrapper around the dynload mechanism.
766 2003-07-15 Werner Koch <wk@gnupg.org>
768 * simple-pwquery.c, simple-pwquery.h: New; moved from ../agent.
769 * Makefile.am (libsimple_pwquery_a_LIBADD): New.
771 2003-06-25 Werner Koch <wk@gnupg.org>
773 * maperror.c (map_to_assuan_status): Directly map 0 to 0.
775 2003-06-17 Werner Koch <wk@gnupg.org>
777 * gettime.c (scan_isodatestr,add_days_to_timestamp,strtimevalue)
778 (strtimestamp,asctimestamp): New. Code taken from gnupg 1.3.2
781 * yesno.c: New. Code taken from gnupg 1.3.2 mischelp.c
783 * miscellaneous.c: New.
785 * util.h: Include utf8conf.h
787 2003-06-16 Werner Koch <wk@gnupg.org>
789 * gettime.c (make_timestamp): New.
791 * ttyio.c: New. Taken from gnupg 1.2.
792 * ttyio.h: Move from ../include.
794 2003-06-13 Werner Koch <wk@gnupg.org>
796 * util.h (seterr): Removed macro.
797 (xmalloc_secure,xcalloc_secure): New.
799 2003-06-11 Werner Koch <wk@gnupg.org>
801 * iobuf.c (iobuf_writebyte,iobuf_write): Return error code from
803 (iobuf_writestr): Ditto.
805 2003-06-10 Werner Koch <wk@gnupg.org>
807 * iobuf.c, iobuf.h: New. Taken from current gnupg 1.3 CVS. Run
808 indent on it and adjusted error handling to libgpg-error style.
809 Replaced IOBUF by iobuf_t. Renamed malloc functions.
811 2003-06-04 Werner Koch <wk@gnupg.org>
813 * errors.h: Removed all error codes. We keep the status codes for
815 * Makefile.am: Do not create errors.c anymore; remove it from the
818 * maperror.c: Don't include error.h. Change all error codes to
820 (map_assuan_err): Changed to new Assuan error code convention.
821 (map_to_assuan_status): Likewise.
822 (map_gcry_err,map_kbx_err): Not needed. For now dummy functions.
824 * membuf.c, membuf.h: New. Code taken from ../sm/call-agent.h.
825 * Makefile.am: Added above.
827 2003-04-29 Werner Koch <wk@gnupg.org>
829 * util.h (fopencokokie): Removed prototype and struct.
831 * fopencookie.c: Removed.
833 * maperror.c: Use system assuan.h
835 2002-10-31 Neal H. Walfield <neal@g10code.de>
837 * isascii.c: New file.
838 * putc_unlocked.c: Likewise.
840 2002-10-28 Neal H. Walfield <neal@g10code.de>
842 * signal.c (caught_fatal_sig): Remove superfluous zero
844 (caught_sigusr1): Likewise.
846 2002-09-04 Neal H. Walfield <neal@g10code.de>
848 * vasprintf.c (vasprintf) [va_copy]: Use va_copy.
849 [!va_copy && __va_copy]: Use __va_copy.
850 [!va_copy && !__va_copy]: Only now fall back to using memcpy.
852 2002-08-21 Werner Koch <wk@gnupg.org>
854 * errors.h: Added STATUS_IMPORT_PROBLEM.
856 2002-08-20 Werner Koch <wk@gnupg.org>
858 * vasprintf.c: Hack to handle NULL for %s.
860 2002-08-09 Werner Koch <wk@gnupg.org>
862 * signal.c: New. Taken from GnuPG 1.1.91.
864 2002-07-23 Werner Koch <wk@gnupg.org>
866 * util.h (_IO_cookie_io_functions_t): Fixed typo. Noted by
869 2002-07-22 Werner Koch <wk@gnupg.org>
871 * fseeko.c, ftello.c: New.
873 2002-06-28 Werner Koch <wk@gnupg.org>
875 * maperror.c (map_to_assuan_status): Map more errorcodes to Bad
878 2002-06-26 Werner Koch <wk@gnupg.org>
880 * maperror.c (map_to_assuan_status): Map EOF to No_Data_Available.
882 2002-06-10 Werner Koch <wk@gnupg.org>
884 * errors.h (gnupg_error_token): Add new prototype.
888 * Makefile.am: Use it to create the new error token function.
890 2002-06-04 Werner Koch <wk@gnupg.org>
892 * maperror.c (map_to_assuan_status): Map Bad_CA_Certificate.
894 2002-05-23 Werner Koch <wk@gnupg.org>
896 * no-pth.c, Makefile.am: Removed.
898 2002-05-22 Werner Koch <wk@gnupg.org>
900 * mkdtemp.c: Replaced byte by unsigned char because it is no longer
903 2002-05-21 Werner Koch <wk@gnupg.org>
905 * maperror.c (map_gcry_err): Add libgcrypt's new S-expression errors.
906 (map_ksba_err): Add a few mappings.
908 2002-05-14 Werner Koch <wk@gnupg.org>
912 2002-05-03 Werner Koch <wk@gnupg.org>
914 * errors.h: Added STARUS_EXPSIG and STATUS_EXPKEYSIG.
916 2002-04-15 Werner Koch <wk@gnupg.org>
920 2002-02-14 Werner Koch <wk@gnupg.org>
922 * maperror.c: Add more assuan<->gnupg mappings.
924 2002-02-12 Werner Koch <wk@gnupg.org>
926 * fopencookie.c: Dummy function.
928 * vasprintf.c: New. Taken from binutils-2.9.1 and dropped all non
929 ANSI-C stuff. Merged with asprintf version.
933 2002-01-23 Werner Koch <wk@gnupg.org>
935 * mkdtemp.c: Copied from gnupg-1.0.6c and changed to use libgcrypt.
937 2002-01-19 Werner Koch <wk@gnupg.org>
939 * sysutils.c: New. This is the misc.c file from gnupg 1.0.6 with
940 the OpenPGP stuff removed.
943 2002-01-15 Werner Koch <wk@gnupg.org>
945 * maperror.c: Add mapping for Not_Trusted.
947 2002-01-11 Werner Koch <wk@gnupg.org>
949 * maperror.c (map_assuan_err): Codes for CRL
951 2002-01-08 Werner Koch <wk@gnupg.org>
953 * util.h (spacep): New.
955 2002-01-02 Werner Koch <wk@gnupg.org>
957 * maperror.c (map_to_assuan_status): New. Merged from ../agent
960 2001-12-20 Werner Koch <wk@gnupg.org>
962 * maperror.c (map_gcry_err): Add some mappings.
964 2001-12-18 Werner Koch <wk@gnupg.org>
966 * Makefile.am (AM_CPPFLAGS): Include flags for gcrypt and ksba
968 2001-12-14 Werner Koch <wk@gnupg.org>
970 * util.h (digitp, hexdigitp): New ctype like macros.
971 (atoi_1,atoi_2,atoi_4,xtoi_1,xtoi_2): New.
974 Copyright 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
976 This file is free software; as a special exception the author gives
977 unlimited permission to copy and/or distribute it, with or without
978 modifications, as long as this notice is preserved.
980 This file is distributed in the hope that it will be useful, but
981 WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
982 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.