Reworked the estream memory buffer allocation.
[gnupg.git] / common / ChangeLog
index 986041f..bd4be4f 100644 (file)
@@ -1,3 +1,109 @@
+2009-06-29  Werner Koch  <wk@g10code.com>
+
+       * estream.c (BUFFER_ROUND_TO_BLOCK): Remove unused macro.
+       (es_func_mem_write): Rewrite reallocation part.
+
+       * estream.c (es_write_sanitized_utf8_buffer): Typo typo fix.
+
+2009-06-25  Werner Koch  <wk@g10code.com>
+
+       * estream.c (es_write_sanitized_utf8_buffer): Typo fix.
+
+2009-06-24  Werner Koch  <wk@g10code.com>
+
+       * estream.c (es_read_line): In the malloc error case, set
+       MAX_LENGTH to 0 only if requested.
+       * xreadline.c (read_line): Ditto.
+       * estream.c (es_write_sanitized_utf8_buffer): Pass on error from
+       es_fputs.
+       * sexputil.c (get_rsa_pk_from_canon_sexp): Check for error after
+       the loop.  Reported by Fabian Keil.
+
+2009-06-22  Werner Koch  <wk@g10code.com>
+
+       * estream.c (es_pth_read, es_pth_write) [W32]: New.
+       (ESTREAM_SYS_READ, ESTREAM_SYS_WRITE) [HAVE_PTH]: Use them.
+
+2009-06-03  Werner Koch  <wk@g10code.com>
+
+       * estream.c (es_convert_mode): Rewrite and support the "x" flag.
+
+2009-05-28  David Shaw  <dshaw@jabberwocky.com>
+
+       From 1.4:
+       
+       * http.h, http.c (send_request) Pass in a STRLIST for additional
+       headers.  Change all callers.
+
+2009-05-27  David Shaw  <dshaw@jabberwocky.com>
+
+       From 1.4:
+       
+       * http.h, http.c (send_request): Pass in srvtag and make its
+       presence sufficient to turn the feature on.
+       (http_open): From here.
+       (http_document): And here.
+
+       * srv.c (getsrv): Raise maximum packet size to 2048, as PACKETSZ
+       is too small these days.
+
+2009-05-22  Werner Koch  <wk@g10code.com>
+
+       * ttyio.c (tty_cleanup_after_signal): New.
+
+2009-05-19  Werner Koch  <wk@g10code.com>
+
+       * simple-pwquery.c (agent_open): Use SUN_LEN
+       (JNLIB_NEED_AFLOCAL): Define and include mischelp.h.
+
+2009-05-07  Werner Koch  <wk@g10code.com>
+
+       * sexputil.c (get_rsa_pk_from_canon_sexp): New.
+       * t-sexputil.c (test_make_canon_sexp_from_rsa_pk): Extend the test.
+
+2009-04-28  Werner Koch  <wk@g10code.com>
+
+       * sexputil.c (make_canon_sexp_from_rsa_pk): New.
+       * t-sexputil.c (test_make_canon_sexp_from_rsa_pk): New.
+
+2009-04-01  Werner Koch  <wk@g10code.com>
+
+       * iobuf.c: Port David's changes from 1.4:
+       (fd_cache_invalidate): Pass return code from close back.
+       (direct_open, iobuf_ioctl): Check that eturn value.
+       (fd_cache_synchronize): New.
+       (iobuf_ioctl): Add new sub command 4 (fsync).
+
+       * iobuf.c (fd_cache_strcmp): New. Taken from 1.4.
+       (fd_cache_invalidate, fd_cache_close, fd_cache_open):  Use it.
+
+       * exechelp.c (gnupg_spawn_process): Implement new flag bit 6.
+       * sysutils.c (gnupg_allow_set_foregound_window): Allow the use of
+       ASFW_ANY.
+
+       * membuf.c (put_membuf, get_membuf): Wipe memory on out of core.
+
+2009-03-31  Werner Koch  <wk@g10code.com>
+
+       * percent.c (percent_unescape, percent_plus_unescape): New.
+       (percent_plus_unescape_inplace, percent_unescape_inplace): New.
+       (do_plus_or_plain_unescape, count_unescape, do_unescape): New.
+       (do_unescape_inplace): New.
+       * t-percent.c (test_percent_plus_escape): Test percent_plus_unescape.
+
+       * get-passphrase.c, get-passphrase.h: New.
+       * Makefile.am (without_pth_sources): New.
+
+2009-03-18  Werner Koch  <wk@g10code.com>
+
+       * exechelp.c: Include sys/resource.h and sys/stat.h.
+       (get_max_open_fds): New.
+       (do_exec): Use it.
+       (get_all_open_fds): New.
+       (close_all_fds): New.
+       (do_exec): Use close_all_fds.
+       * t-exechelp.c: New.
+
 2009-03-13  David Shaw  <dshaw@jabberwocky.com>
 
        * http.c (do_parse_uri): Properly handle IPv6 literal addresses as