1
2011-12-02 Werner Koch <wk@g10code.com>
3
NB: ChangeLog files are no longer manually maintained. Starting
4
on December 1st, 2011 we put change information only in the GIT
5
commit log, and generate a top-level ChangeLog file from logs at
6
"make dist". See doc/HACKING for details.
8
2011-08-04 Werner Koch <wk@g10code.com>
10
* ssh-utils.c, ssh-utils.h: New.
12
* Makefile.am (t_ssh_utils_LDADD): New.
13
(module_tests): Add t-ssh-utils.c
15
2011-08-04 Werner Koch <wk@g10code.com>
17
* pka.c (get_pka_info): Remove set but unused variables ARCOUNT
19
* estream.c (es_fwrite, es_fread): Remove set but unused variable
22
2011-04-29 Werner Koch <wk@g10code.com>
24
* estream.c (es_pth_kill): New.
25
(estream_pth_killed): New.
26
(ESTREAM_MUTEX_LOCK, ESTREAM_MUTEX_UNLOCK)
27
(ESTREAM_MUTEX_TRYLOCK, ESTREAM_MUTEX_INITIALIZE): Take care of
29
(ESTREAM_SYS_YIELD): Ditto.
30
(es_pth_read, es_pth_write): Ditto.
33
2011-01-20 Werner Koch <wk@g10code.com>
35
* estream.c (es_func_mem_write): Fix computation of NEWSIZE.
37
2011-01-11 Werner Koch <wk@g10code.com>
39
Estream changes as used by gnupg master from 2010-07-19.
41
* estream.c (es_fname_get, es_fname_set): New.
42
(fname_set_internal): New.
43
(struct estream_internal): Add fields printable_fname and
44
printable_fname_inuse.
45
(_es_get_std_stream): Set stream name.
46
(es_fopen, es_freopen, es_deinitialize): Set fname.
48
2011-01-10 Thomas Mraz <t8m@centrum.cz> (wk)
50
* pka.c (get_pka_info) [!USE_ADNS]: Turn ANSWER into a union to
51
avoid aliasing problems with modern compilers. See bug#1307.
52
Reported by Steve Grubb.
54
2011-01-10 Werner Koch <wk@g10code.com>
56
* session-env.c (update_var): Fix same value test. Fixes
59
2010-09-16 Werner Koch <wk@g10code.com>
61
* util.h: Add GPG_ERR_MISSING_ISSUER_CERT.
62
* status.c (get_inv_recpsgnr_code): Ditto.
64
2010-05-03 Werner Koch <wk@g10code.com>
66
* asshelp.c (lock_agent_spawning, unlock_agent_spawning): New.
67
(start_new_gpg_agent): Test for configured standard socket and
68
try to fire up the agent in this case.
70
* exechelp.c (gnupg_spawn_process_detached): Do not reuse PID for
72
(gnupg_wait_process): Do not log a message if EXITCODE is given.
74
2010-03-17 Werner Koch <wk@g10code.com>
76
* asshelp.c (start_new_gpg_agent) [W32]: Use a named mutex to
77
avoid starting two agents.
79
2010-03-12 Werner Koch <wk@g10code.com>
81
* status.h (STATUS_ENTER): New.
83
2010-02-11 Marcus Brinkmann <marcus@g10code.de>
85
From trunk 2009-10-16, 2009-11-02, 2009-11-05:
87
* Makefile.am (libcommon_a_CFLAGS): Use LIBASSUAN_CFLAGS instead
88
of LIBASSUAN_PTH_CFLAGS.
89
* get-passphrase.c (default_inq_cb, membuf_data_cb): Change return
91
* asshelp.c (start_new_gpg_agent): Update use of
92
assuan_socket_connect and assuan_pipe_connect. Convert posix FD
94
[HAVE_W32_SYSTEM]: Add missing argument in assuan_socket_connect
96
* iobuf.c (iobuf_open_fd_or_name): Fix type of FD in function
99
2009-10-13 Werner Koch <wk@g10code.com>
101
From trunk 2009-09-23:
103
* asshelp.c (start_new_gpg_agent): Allocate assuan context before
106
2009-12-21 Marcus Brinkmann <marcus@g10code.de> (wk)
108
* Makefile.am (audit-events.h, status.h) [!MAINTAINER_MODE]: No
109
longer include these rules if not in maintainer mode.
111
2009-12-08 Werner Koch <wk@g10code.com>
113
* dns-cert.c: Add support for ADNS.
115
2009-12-07 Werner Koch <wk@g10code.com>
117
* pka.c (get_pka_info): Add support for ADNS.
118
* src.v (getsrv): Add support for ADNS.
120
* srv.c (getsrv): s/xrealloc/xtryrealloc/.
122
2009-12-04 Werner Koch <wk@g10code.com>
124
* Makefile.am (audit-events.h, status-codes.h): Create files in
125
the source dir. Fixes bug#1164.
127
2009-12-03 Werner Koch <wk@g10code.com>
130
* audit.c (proc_type_decrypt, proc_type_sign): Implemented.
131
(proc_type_verify): Print hash algo infos.
132
* audit.h (AUDIT_DATA_CIPHER_ALGO, AUDIT_BAD_DATA_CIPHER_ALSO)
133
(AUDIT_NEW_RECP, AUDIT_DECRYPTION_RESULT, AUDIT_RECP_RESULT)
134
(AUDIT_ATTR_HASH_ALGO, AUDIT_SIGNED_BY, AUDIT_SIGNING_DONE):
136
2009-09-03 Werner Koch <wk@g10code.com>
138
Update from libestream:
139
* estream-printf.c: Include stdint.h only if HAVE_STDINT_H is
141
* estream-printf.c: Remove all test code. Use macro DEBUG instead
142
of TEST for debugging.
143
* estream-printf.c (pr_float): Make buffer larger for silly high
146
2009-08-11 David Shaw <dshaw@jabberwocky.com>
148
* ttyio.h, ttyio.c (tty_enable_completion): Some ifdefs around
149
HAVE_LIBREADLINE to allow building when readline isn't available.
151
2009-08-06 Werner Koch <wk@g10code.com>
153
* status.h (STATUS_INV_SGNR, STATUS_NO_SGNR): New.
154
* status.c (get_inv_recpsgnr_code): New.
156
2009-07-23 David Shaw <dshaw@jabberwocky.com>
158
* srv.c (getsrv): Fix type-punning warning.
160
2009-07-23 Werner Koch <wk@g10code.com>
162
* util.h (GPG_ERR_NOT_ENABLED): New.
163
* audit.h (enum): Add AUDIT_CRL_CHECK.
164
* audit.c (proc_type_verify): Show CRL check result.
166
2009-07-06 Werner Koch <wk@g10code.com>
168
* get-passphrase.c (struct agentargs): Add SESSION_ENV and remove
170
(gnupg_prepare_get_passphrase): Ditto.
172
* session-env.c, session-env.h: New.
173
* t-session-env.c: New.
174
* Makefile.am (common_sources, module_tests): Add them.
175
* asshelp.h: Include "session-env.h"
176
* asshelp.c (send_one_option): Add arg PUTENV.
177
(send_pinentry_environment): Replace most args by SESSION_ENV and
179
(start_new_gpg_agent): Likewise.
181
* t-exechelp.c (test_close_all_fds): Remove debug code.
183
2009-07-01 Werner Koch <wk@g10code.com>
185
* sexputil.c (get_pk_algo_from_canon_sexp): New.
187
2009-06-29 Werner Koch <wk@g10code.com>
189
* estream.c (BUFFER_ROUND_TO_BLOCK): Remove unused macro.
190
(es_func_mem_write): Rewrite reallocation part.
192
* estream.c (es_write_sanitized_utf8_buffer): Typo typo fix.
194
2009-06-25 Werner Koch <wk@g10code.com>
196
* estream.c (es_write_sanitized_utf8_buffer): Typo fix.
198
2009-06-24 Werner Koch <wk@g10code.com>
200
* estream.c (es_read_line): In the malloc error case, set
201
MAX_LENGTH to 0 only if requested.
202
* xreadline.c (read_line): Ditto.
203
* estream.c (es_write_sanitized_utf8_buffer): Pass on error from
205
* sexputil.c (get_rsa_pk_from_canon_sexp): Check for error after
206
the loop. Reported by Fabian Keil.
208
2009-06-22 Werner Koch <wk@g10code.com>
210
* estream.c (es_pth_read, es_pth_write) [W32]: New.
211
(ESTREAM_SYS_READ, ESTREAM_SYS_WRITE) [HAVE_PTH]: Use them.
213
2009-06-03 Werner Koch <wk@g10code.com>
215
* estream.c (es_convert_mode): Rewrite and support the "x" flag.
217
2009-05-28 David Shaw <dshaw@jabberwocky.com>
221
* http.h, http.c (send_request) Pass in a STRLIST for additional
222
headers. Change all callers.
224
2009-05-27 David Shaw <dshaw@jabberwocky.com>
228
* http.h, http.c (send_request): Pass in srvtag and make its
229
presence sufficient to turn the feature on.
230
(http_open): From here.
231
(http_document): And here.
233
* srv.c (getsrv): Raise maximum packet size to 2048, as PACKETSZ
234
is too small these days.
236
2009-05-22 Werner Koch <wk@g10code.com>
238
* ttyio.c (tty_cleanup_after_signal): New.
240
2009-05-19 Werner Koch <wk@g10code.com>
242
* simple-pwquery.c (agent_open): Use SUN_LEN
243
(JNLIB_NEED_AFLOCAL): Define and include mischelp.h.
245
2009-05-07 Werner Koch <wk@g10code.com>
247
* sexputil.c (get_rsa_pk_from_canon_sexp): New.
248
* t-sexputil.c (test_make_canon_sexp_from_rsa_pk): Extend the test.
250
2009-04-28 Werner Koch <wk@g10code.com>
252
* sexputil.c (make_canon_sexp_from_rsa_pk): New.
253
* t-sexputil.c (test_make_canon_sexp_from_rsa_pk): New.
255
2009-04-01 Werner Koch <wk@g10code.com>
257
* iobuf.c: Port David's changes from 1.4:
258
(fd_cache_invalidate): Pass return code from close back.
259
(direct_open, iobuf_ioctl): Check that eturn value.
260
(fd_cache_synchronize): New.
261
(iobuf_ioctl): Add new sub command 4 (fsync).
263
* iobuf.c (fd_cache_strcmp): New. Taken from 1.4.
264
(fd_cache_invalidate, fd_cache_close, fd_cache_open): Use it.
266
* exechelp.c (gnupg_spawn_process): Implement new flag bit 6.
267
* sysutils.c (gnupg_allow_set_foregound_window): Allow the use of
270
* membuf.c (put_membuf, get_membuf): Wipe memory on out of core.
272
2009-03-31 Werner Koch <wk@g10code.com>
274
* percent.c (percent_unescape, percent_plus_unescape): New.
275
(percent_plus_unescape_inplace, percent_unescape_inplace): New.
276
(do_plus_or_plain_unescape, count_unescape, do_unescape): New.
277
(do_unescape_inplace): New.
278
* t-percent.c (test_percent_plus_escape): Test percent_plus_unescape.
280
* get-passphrase.c, get-passphrase.h: New.
281
* Makefile.am (without_pth_sources): New.
283
2009-03-18 Werner Koch <wk@g10code.com>
285
* exechelp.c: Include sys/resource.h and sys/stat.h.
286
(get_max_open_fds): New.
288
(get_all_open_fds): New.
289
(close_all_fds): New.
290
(do_exec): Use close_all_fds.
293
2009-03-13 David Shaw <dshaw@jabberwocky.com>
295
* http.c (do_parse_uri): Properly handle IPv6 literal addresses as
296
per RFC-2732. Adapted from patch by Phil Pennock.
298
2009-03-12 Werner Koch <wk@g10code.com>
300
* gettime.c: Include i18n.h.
303
2009-03-06 Werner Koch <wk@g10code.com>
305
* sexputil.c (make_canon_sexp): New.
307
2009-03-03 Werner Koch <wk@g10code.com>
309
* exechelp.c (do_exec): Make sure that /dev/null connected FDs are
312
2009-01-19 Werner Koch <wk@g10code.com>
314
* audit.c (writeout_li): Translate a few more result strings.
317
* convert.c (hex2str): Fix optimization to append a nul character.
319
2008-12-05 Werner Koch <wk@g10code.com>
321
* percent.c, t-percent.c: New.
323
* exechelp.c (gnupg_spawn_process, gnupg_spawn_process_fd)
324
(gnupg_spawn_process_detached) [W32]: Remove debug output.
326
2008-11-20 Werner Koch <wk@g10code.com>
328
* audit.c (writeout_li): Translate OKTEXT.
330
2008-11-04 Werner Koch <wk@g10code.com>
332
* i18n.c (i18n_init) [USE_SIMPLE_GETTEXT]: Adjust for changed
334
* homedir.c (gnupg_localedir): New.
336
2008-10-20 Werner Koch <wk@g10code.com>
338
* http.c (http_register_tls_callback) [!HTTP_USE_GNUTLS]: Mark
340
* localename.c (do_nl_locale_name): Ditto.
341
* audit.c (event2str): Silent gcc warning.
342
* sysutils.c (translate_sys2libc_fd): Mark unused arg.
343
(translate_sys2libc_fd_int): Ditto.
344
* iobuf.c (translate_file_handle): Ditto.
345
* asshelp.c (send_one_option): Ditto.
346
* exechelp.c (gnupg_spawn_process): Ditto.
347
* signal.c (got_usr_signal): Ditto
348
* estream.c (es_func_fd_create) [!W32]: Ditto.
349
(es_func_fp_create) [!W32]: Ditto.
350
(es_write_hexstring): Ditto.
351
(dummy_mutex_call_void, dummy_mutex_call_int) [HAVE_PTH]: New.
352
(ESTREAM_MUTEX_LOCK, ESTREAM_MUTEX_UNLOCK, ESTREAM_MUTEX_TRYLOCK)
353
(ESTREAM_MUTEX_INITIALIZE) [HAVE_PTH]: Use dummy calls so to mark
356
2008-10-19 Werner Koch <wk@g10code.com>
358
* estream-printf.c (estream_vsnprintf): Fix return value.
359
(check_snprintf): Add a new test.
360
(one_test) [W32]: Disable test.
362
2008-10-17 Werner Koch <wk@g10code.com>
364
* util.h (snprintf) [W32]: Redefine to estream_snprintf.
366
2008-09-03 Werner Koch <wk@g10code.com>
368
* convert.c (hex2str): New.
369
(hex2str_alloc): New.
370
* t-convert.c (test_hex2str): New.
372
2008-08-19 Werner Koch <wk@g10code.com>
374
* iobuf.c: Avoid passing a NULL (iobuf_t)->desc to the log
375
function. Should in general never be NULL, but well. Reported by
378
2008-06-26 Werner Koch <wk@g10code.com>
380
* estream.c (es_write_sanitized): Loose check for control
381
characters to better cope with utf-8. The range 0x80..0x9f is
382
nowadays not anymore accidently used for control charaters.
384
2008-06-25 Marcus Brinkmann <marcus@g10code.de>
386
Revert last three changes related to handle translation.
388
(FD_TRANSLATE_MAX, fd_translate, fd_translate_len)
389
(translate_table_init, translate_table_lookup): Removed.
390
* iobuf.c (check_special_filename): Do not use
391
translate_table_lookup.
392
* sysutils.h (translate_table_init, translate_table_lookup):
395
2008-06-19 Werner Koch <wk@g10code.com>
397
* sysutils.c: Remove <ctype.h>.
398
(fd_translate_max): Use macro for the size.
399
(translate_table_init): Protect read against EINTR and replace
402
2008-06-18 Marcus Brinkmann <marcus@g10code.de>
404
* sysutils.c (TRANS_MAX): Bump up to 350 to be on the safe side.
406
* sysutils.h (translate_table_init, translate_table_lookup): New
408
* sysutils.c: Include <ctype.h>.
409
(FD_TRANSLATE_MAX): New macro.
410
(fd_translate, fd_translate_len): New static variables.
411
(translate_table_init, translate_table_lookup): New functions.
412
(translate_sys2libc_fd_int): Translate file descriptor.
413
* iobuf.c (check_special_filename): Translate handle values from
416
2008-06-16 Werner Koch <wk@g10code.com>
418
* homedir.c (w32_commondir): New.
419
(gnupg_sysconfdir): Use it.
421
2008-06-09 Werner Koch <wk@g10code.com>
425
2008-06-05 Werner Koch <wk@g10code.com>
427
* util.h (gnupg_copy_time): Replace strcpy by memcpy.
429
2008-05-26 Werner Koch <wk@g10code.com>
431
* asshelp.c (send_one_option, send_pinentry_environment): use
432
xfree and xtrystrdup.
434
* i18n.c (i18n_switchto_utf8) [USE_SIMPLE_GETTEXT]: Return NULL.
436
* homedir.c (gnupg_module_name): Add
437
GNUPG_MODULE_NAME_CONNECT_AGENT and GNUPG_MODULE_NAME_GPGCONF.
439
2008-04-21 Werner Koch <wk@g10code.com>
441
* http.c (http_wait_response) [W32]: Use DuplicateHandle because
443
(cookie_read) [W32]: Use recv in place of read.
445
2008-04-08 Werner Koch <wk@g10code.com>
447
* i18n.c (i18n_switchto_utf8, i18n_switchback)
448
[USE_SIMPLE_GETTEXT]: Implement.
450
2008-04-07 Werner Koch <wk@g10code.com>
452
* b64enc.c (b64enc_start): Detect PGP mode.
453
(b64enc_finish): Write PGP CRC.
454
* util.h (struct b64state): Add field CRC.
457
* pka.c (get_pka_info): Use xtrymalloc and check result.
459
2008-03-25 Werner Koch <wk@g10code.com>
461
* localename.c: Strip all W32 code. Include w32help.h.
462
(gnupg_messages_locale_name) [W32]: Use the gettext_localename.
464
2008-03-17 Werner Koch <wk@g10code.com>
466
* iobuf.c (IOBUF_BUFFER_SIZE): Actually use this macro.
468
* simple-pwquery.c (agent_send_all_options): Fix last change.
470
2008-03-06 Werner Koch <wk@g10code.com>
472
* simple-pwquery.c (agent_send_all_options): Add support for
473
XAUTHORITY and PINENTRY_USER_DATA.
475
2008-02-15 Marcus Brinkmann <marcus@g10code.de>
477
* exechelp.c (gnupg_spawn_process_fd): Add flag DETACHED_PROCESS
478
unconditionally (required for all callers at the moment).
480
2008-02-14 Werner Koch <wk@g10code.com>
482
* sysutils.c (gnupg_allow_set_foregound_window): New.
483
(WINVER) [W32]: Define.
485
2008-01-31 Werner Koch <wk@g10code.com>
487
* audit.c (audit_print_result): Make sure that the output is
490
2008-01-27 Werner Koch <wk@g10code.com>
492
* exechelp.c (gnupg_spawn_process): Add arg FLAGS and changed all
493
callers to pass 0 for it.
495
2007-12-13 Werner Koch <wk@g10code.com>
497
* sexputil.c (hash_algo_from_sigval): New.
499
* Makefile.am (module_tests): Add it.
501
2007-12-11 Werner Koch <wk@g10code.com>
503
* asshelp.c (send_pinentry_environment): Allow using of old
504
gpg-agents not capabale of the xauthority and pinentry_user_data
507
2007-12-04 Werner Koch <wk@g10code.com>
509
* Makefile.am (t_helpfile_LDADD, module_maint_tests): New.
512
* membuf.h (is_membuf_ready, MEMBUF_ZERO): New.
513
* localename.c: New. Taken from gettext with modifications as done
514
for GpgOL. Export one new function.
515
* util.h (gnupg_messages_locale_name, gnupg_get_help_string): Added.
517
* sysutils.c (gnupg_reopen_std): New. Taken from ../g10/gpg.c.
519
2007-11-27 Werner Koch <wk@g10code.com>
521
* Makefile.am (CLEANFILES): New.
523
* homedir.c (dirmngr_socket_name): Use CSIDL_WINDOWS.
525
2007-11-15 Werner Koch <wk@g10code.com>
527
* asshelp.c (send_pinentry_environment): Add args XAUTHORITY and
529
(start_new_gpg_agent): Ditto.
531
2007-11-07 Werner Koch <wk@g10code.com>
536
2007-11-05 Werner Koch <wk@g10code.com>
538
* audit.c, audit.h: New.
539
* Makefile.am: Add rules to build audit-events.h.
541
* mkstrtable.awk: New. Taken from libgpg-error.
543
2007-10-19 Werner Koch <wk@g10code.com>
545
* i18n.c (i18n_switchto_utf8, i18n_switchback): New.
547
2007-10-01 Werner Koch <wk@g10code.com>
549
* sysutils.h (FD2INT, INT2FD): New.
551
2007-09-21 Werner Koch <wk@g10code.com>
553
* homedir.c (default_homedir): Make registry work. Reported by
556
2007-08-29 Werner Koch <wk@g10code.com>
558
* exechelp.c (gnupg_wait_process): Add arg EXITCODE. Changed all
560
(gnupg_create_inbound_pipe): New.
561
* util.h (GNUPG_MODULE_NAME_GPGSM, GNUPG_MODULE_NAME_GPG): New.
562
* homedir.c (gnupg_module_name): Add them
564
2007-08-28 Werner Koch <wk@g10code.com>
566
* gettime.c (check_isotime, add_isotime): New. Originally written
568
(add_days_to_isotime): New.
569
(date2jd, jd2date, days_per_month, days_per_year): New. Taken from
570
my ancient (1988) code used in Wedit (time2.c).
572
2007-08-27 Werner Koch <wk@g10code.com>
574
* util.h (GNUPG_MODULE_NAME_CHECK_PATTERN): New.
575
* homedir.c (gnupg_module_name): Add it.
576
* exechelp.c (w32_fd_or_null) [W32]: New.
577
(gnupg_spawn_process_fd): New.
578
(gnupg_wait_process) [W32]: Close the handle after if the process has
581
2007-08-22 Werner Koch <wk@g10code.com>
583
Updated estream from libestream.
585
* estream.c (mem_malloc, mem_realloc, mem_free): New. Use them
586
instead of the ES_MEM_foo.
587
* estream.c (estream_cookie_mem): Remove members DONT_FREE,
588
APPEND_ZERO, PTR and SIZE. Add MEMORY_LIMIT. Put GROW into a new
590
(es_func_mem_create): Remove APPEND_ZERO, DONT_FREE, PTR and
591
SIZE. Add MEMORY_LIMIT.
592
(es_func_mem_write, es_func_mem_seek, es_func_mem_destroy): Revamp.
593
(es_open_memstream): Change API to just take a memory limit and a
594
mode argument. Rename to ..
595
(es_fopenmem): .. this.
596
(HAVE_W32_SYSTEM) [_WIN32]: Define if not defined.
597
(tmpfd) [W32]: Implement directly using the W32 API.
598
(es_fgets): Rewrite without using doreadline.
600
2007-08-21 Werner Koch <wk@g10code.com>
602
* sysutils.c (gnupg_tmpfile): New.
604
* Makefile.am (module_tests): Add t-sysutils.
606
2007-08-20 Werner Koch <wk@g10code.com>
608
* exechelp.c [W32]: Redefine X_OK to F_OK.
610
2007-08-16 Werner Koch <wk@g10code.com>
612
* Makefile.am (t_convert_DEPENDENCIES): Remove
613
($(PROGRAMS)): Remove.
614
(t_common_ldadd): Use libcommon.a and not the macro.
616
2007-08-14 Werner Koch <wk@g10code.com>
618
* homedir.c (dirmngr_socket_name): New.
620
2007-08-07 Werner Koch <wk@g10code.com>
622
* tlv.c, tlv.h: Move from ../scd/.
623
* tlv.c (parse_sexp, parse_ber_header): Add ERRSOURCE arg and prefix
625
* tlv.h: Use macro to convey ERRSOURCE.
627
2007-08-02 Werner Koch <wk@g10code.com>
629
* gc-opt-flags.h: New.
631
2007-08-01 Werner Koch <wk@g10code.com>
633
* estream-printf.c (read_dummy_value): Removed as it is useless now.
634
(read_values): Remove check on !vaargs which is not anymore needed
635
and anyway not portable. Reported by Peter O'Gorman.
637
2007-07-16 Werner Koch <wk@g10code.com>
639
* estream.c (es_func_file_create): Clear NO_CLOSE flag.
641
2007-07-12 Werner Koch <wk@g10code.com>
643
* sysutils.h (gnupg_fd_t): New.
644
* sysutils.c (translate_sys2libc_fd): Use that type instead of int.
645
(translate_sys2libc_fd_int): New.
647
2007-07-09 Werner Koch <wk@g10code.com>
649
* t-gettime.c (test_isotime2epoch): Use time_t and not u32.
651
2007-07-05 Werner Koch <wk@g10code.com>
654
* gettime.c (isotime2epoch, epoch2isotime): New.
656
2007-07-04 Werner Koch <wk@g10code.com>
658
* estream.c (es_init_do): Do not throw an error if pth has already
661
2007-06-26 Werner Koch <wk@g10code.com>
663
* Makefile.am ($(PROGRAMS)): New.
665
* util.h (init_common_subsystems): Moved to ..
667
* util.h: Include init.h.
669
* homedir.c (standard_homedir): New.
670
(default_homedir) [W32]: Reimplemented in terms of
671
standard_homedir. Fixed memory leak.
673
2007-06-25 Werner Koch <wk@g10code.com>
675
* iobuf.c: Add more documentation and slighly restructured macro
676
defintion for better readability.
677
(FILEP_OR_FD): Rename to fp_or_fd_t.
678
(CLOSE_CACHE): Rename to close_cache_t.
680
* sysutils.c (translate_sys2libc_fd): New using the code from iobuf.c.
681
* iobuf.c: Include sysutils.h.
682
(iobuf_translate_file_handle): Remove.
683
(translate_file_handle): Use new function.
685
* estream-printf.c [TEST]: Header including fixes.
686
(do_format): Do not append a trailing Nul. This avoids spurious
687
Nuls in the es_printf output.
688
(estream_vsnprintf, estream_vasprintf): Take this in account.
690
* estream.h (struct es__stream): Change FLAGS to a bit structure.
691
(ES__FLAG_WRITING): Replace by a bit from FLAGS. * estream.c
692
(struct estream_internal): Rename FLAGS to MODEFLAGS so that they
693
are not confused with the estream flags.
694
(es_initialize, es_create): Add arg MODEFLAGS so that we can setup
695
the intial writemode. Changed all callers to pass them.
696
(es_convert_mode): Set O_BINARY.
697
(es_func_fd_create, es_func_fp_create, es_func_file_create) [W32]:
698
Call setmode if requested.
700
2007-06-24 Werner Koch <wk@g10code.com>
702
* estream.c (do_fpopen, es_fpopen, es_fpopen_nc): New.
703
(es_func_fp_create, es_func_fp_read, es_func_fp_write)
704
(es_func_fp_seek, es_func_fp_destroy): New.
706
2007-06-22 Werner Koch <wk@g10code.com>
708
* estream.c (es_fdopen): Factored code out to..
711
(estream_cookie_fd): Add field NO_CLOSE.
712
(es_func_fd_create): Add arg NO_CLOSE and changed all callers.
713
(es_func_fd_destroy): Handle the new flag.
715
* homedir.c (gnupg_libexecdir) [W32]: Factor code out to ..
716
(w32_rootdir): .. new.
717
(gnupg_sysconfdir, gnupg_libdir, gnupg_datadir) [W32]: Return
718
name based on w32_rootdir().
720
2007-06-21 Werner Koch <wk@g10code.com>
722
* membuf.h (get_membuf_len): New.
724
* membuf.c (init_membuf_secure): Really allocate in secure memory.
725
(put_membuf_str): New.
727
* ttyio.c (tty_getf): New.
729
* util.h (ctrl_t): Declare it here.
731
* asshelp.c (start_new_gpg_agent): New. Based on code from
734
2007-06-20 Werner Koch <wk@g10code.com>
736
* sysutils.c (gnupg_sleep): New.
737
* sysutils.h [W32]: Remove _sleep wrapper. Changed all callers to
740
* exechelp.c (build_w32_commandline_copy): New.
741
(build_w32_commandline): Factored some code out to new function
742
and correctly process a PGMNAME with spaces.
743
(gnupg_spawn_process_detached) [W32]: Implement.
745
2007-06-14 Werner Koch <wk@g10code.com>
747
* simple-pwquery.h (MAP_SPWQ_ERROR_IMPL): New.
748
(SPWQ_NO_PIN_ENTRY): New.
749
* simple-pwquery.c (simple_pw_set_socket): New.
750
(agent_open): Use it if GPG_AGENT_INFO is not set.
751
(simple_pwquery): Extended to allow returning of otehyr error codes.
753
* util.h (GNUPG_MODULE_NAME_AGENT, GNUPG_MODULE_NAME_PINENTRY)
754
(GNUPG_MODULE_NAME_SCDAEMON, GNUPG_MODULE_NAME_DIRMNGR)
755
(GNUPG_MODULE_NAME_PROTECT_TOOL): New.
756
* homedir.c (gnupg_module_name): New.
759
2007-06-12 Werner Koch <wk@g10code.com>
761
* homedir.c (gnupg_sysconfdir): New.
762
(gnupg_libexecdir): New. Taken from g10/misc.c:get_libexecdir.
763
(gnupg_datadir): New.
766
* http.c (connect_server) [W32]: Do not call init_sockets if
767
HTTP_NO_WSASTARTUP is defined.
771
* estream.c (es_init_do): Init stream lock here because we can't
772
use a static initialization with W32pth.
774
2007-06-11 Werner Koch <wk@g10code.com>
776
* Makefile.am (t_common_ldadd): Use libcommonstd macro.
778
2007-06-06 Werner Koch <wk@g10code.com>
780
* Makefile.am: Include am/cmacros.am.
782
* sysutils.h [W32]: Remove prototypes for the registry access.
783
* w32reg.c: Move to ../jnlib/w32-reg.c.
785
* i18n.c (i18n_init): New.
787
* simple-gettext.c: Remove.
789
* iobuf.c (iobuf_get_filelength): Rename SIZE to EXSIZE to silent
792
2007-06-04 Werner Koch <wk@g10code.com>
794
* http.c [W32]: Include unistd.h also in this case.
795
(write_server) [W32]: Fixed error code.
796
(init_sockets): Fixed syntax error.
797
(cookie_close): Replace close by sock_close macro.
799
* estream.c [w32]: Do not init Mutex.
801
* Makefile.am (common_sources) [USE_SNS_SRV]: Build srv.c only
804
* ttyio.c (init_ttyfp) [W32]: Do not use TTYFP.
806
* util.h: Include ../jnlib/dynload.h.
808
* dynload.h: Move to ../jnlib.
810
2007-05-30 Werner Koch <wk@g10code.com>
812
* estream.c (MEM_FREE, MEM_ALLOC, MEM_REALLOC): Prefix with ES_ as
813
windows.h also has such definitions,
815
2007-05-15 Werner Koch <wk@g10code.com>
817
* util.h: Do not include gnulib's vasprintf. Redefine asprintf
820
* xasprintf.c (xasprintf, xtryasprintf): Use estream_vasprintf.
822
* estream-printf.h, estream-printf.c: New. Taken from current
824
* Makefile.am (common_sources): Add them.
826
2007-05-14 Werner Koch <wk@g10code.com>
828
* sexp-parse.h (smklen): New.
829
* sexputil.c: Include sexp-parse.h.
830
(make_simple_sexp_from_hexstr): Replace sprintf by smklen.
832
2007-05-07 Werner Koch <wk@g10code.com>
834
* signal.c (got_fatal_signal): Protect SIG from being clobbered by
835
a faulty signal implementaion. Suggested by James Juran.
837
2007-04-25 Werner Koch <wk@g10code.com>
839
* i18n.h (ngettext): New.
840
* simple-gettext.c (ngettext): New.
842
2007-04-20 Werner Koch <wk@g10code.com>
844
* miscellaneous.c (my_gcry_logger, my_gcry_outofcore_handler):
845
Moved from gpg-agent to here.
846
(my_gcry_fatalerror_handler): new.
847
(setup_libgcrypt_logging): New.
849
2007-03-19 Werner Koch <wk@g10code.com>
851
* miscellaneous.c (print_hexstring): New.
852
* estream.c (es_fprintf_unlocked): New.
853
(es_write_sanitized): New.
854
(es_write_hexstring): New.
855
(es_write_sanitized_utf8_buffer) [GNUPG_MAJOR_VERSION]: New.
857
2007-03-09 David Shaw <dshaw@jabberwocky.com>
859
From STABLE-BRANCH-1-4
861
* http.c (do_parse_uri): Remove the hkp port 11371 detection. We
862
implement hkp in the keyserver handler, and the support here makes
863
it appear like a bad hkp request actually succeeded.
865
2007-01-31 Werner Koch <wk@g10code.com>
867
* Makefile.am (t_common_ldadd): Add LIBINCONV and LIBINTL.
869
2007-01-25 Werner Koch <wk@g10code.com>
871
* simple-pwquery.c (simple_pwquery): New arg OPT_CHECK.
873
2006-12-13 David Shaw <dshaw@jabberwocky.com>
875
* Makefile.am (AM_CPPFLAGS): Include intl/ so we can reference the
878
2006-11-23 Werner Koch <wk@g10code.com>
880
* http.c: Include i18n.h
882
2006-11-21 Werner Koch <wk@g10code.com>
884
* estream.c: Remove explicit Pth soft mapping diabling becuase it
885
is now done in config.h.
887
2006-11-15 Werner Koch <wk@g10code.com>
889
* estream.c: Disabled Pth soft mapping.
890
(my_funopen_hook_ret_t): New.
891
(print_fun_writer): Use it here.
893
* iobuf.c (fd_cache_close): Use %d instead of %p for debug output.
895
2006-11-03 Werner Koch <wk@g10code.com>
897
* Makefile.am (t_convert_DEPENDENCIES): Add libcommon. From
900
2006-10-24 Marcus Brinkmann <marcus@g10code.de>
902
* Makefile.am (libcommon_a_CFLAGS): Add $(LIBASSUAN_CFLAGS).
903
(libsimple_pwquery_a_CFLAGS): New variable.
905
2006-10-20 Werner Koch <wk@g10code.com>
907
* convert.c (hex2bin): New.
909
2006-10-17 Werner Koch <wk@g10code.com>
911
* estream.c (struct estream_internal, es_initialize)
912
(es_deinitialize, print_fun_writer, es_print): New and modified
913
functions to avoid tempfiles for printf style printing.
915
* Makefile.am (libcommonpth_a_SOURCES): New. We now build a secon
916
version of the library with explicit Pth support.
917
* exechelp.c, estream.c: Make use of WITHOUT_GNU_PTH.
919
2006-10-08 Werner Koch <wk@g10code.com>
921
* gpgrlhelp.c: Trun all functions into dummies if readline is not
924
2006-10-06 Werner Koch <wk@g10code.com>
926
* Makefile.am (AM_CFLAGS): Use PTH version of libassuan.
928
* util.h (GNUPG_GCC_A_SENTINEL): Defined for gcc >= 4.
930
2006-10-04 David Shaw <dshaw@jabberwocky.com>
932
* gpgrlhelp.c: readline requires stdio.h.
934
2006-10-04 Werner Koch <wk@g10code.com>
936
* membuf.c (init_membuf_secure): New.
937
(put_membuf): Make sure that ERRNO is set even if the underlying
938
malloc code does not work properly.
939
(get_membuf): Set ERRNO on error.
940
(get_membuf): Allow to pass LEN as NULL.
942
2006-10-02 Werner Koch <wk@g10code.com>
944
* iobuf.c (iobuf_unread): Removed. This code is not required.
945
Also removed the entire unget buffer stuff.
947
2006-09-27 Werner Koch <wk@g10code.com>
949
* util.h: Do not include strsep.h and strpbrk.h.
950
(isascii): Removed as it is now in jnlib.
952
* iobuf.c (pop_filter, underflow, iobuf_close): Free the unget
955
2006-09-27 Florian Weimer <fweimer@bfk.de> (wk)
957
* iobuf.c (iobuf_unread): New.
959
2006-09-22 Werner Koch <wk@g10code.com>
961
* i18n.h: Changed license to an all permissive one.
963
* ttyio.c (tty_get): We need to use readline too. Added two more
966
2006-09-21 Werner Koch <wk@g10code.com>
968
* ttyio.c (tty_private_set_rl_hooks): New.
969
(tty_enable_completion, tty_disable_completion): Use a hook to
970
enable readline support. Now always available.
971
(tty_cleanup_rl_after_signal): New.
973
* ttyio.h: Removed readline specific stuff. Included util.h.
974
* common-defs.h: New.
976
2006-09-15 Werner Koch <wk@g10code.com>
980
(bin2hex, bin2hexcolon, do_binhex): New.
983
2006-09-14 Werner Koch <wk@g10code.com>
985
* util.h (out_of_core): Use new gpg_error_from_syserror function.
987
* http.c (init_sockets): Changed it to require 2.2 unless it is
988
build within gnupg 1 where we require 1.1 (and not anymore allow
991
2006-09-07 Werner Koch <wk@g10code.com>
993
* exechelp.c (gnupg_spawn_process): Factor out post fork code to ..
994
(do_exec): .. new function. Allow passing of -1 for the fds.
995
(gnupg_spawn_process): Terminate gcrypt's secure memory in the child.
996
(gnupg_spawn_process_detached): New.
998
2006-09-06 Werner Koch <wk@g10code.com>
1000
* maperror.c: Removed.
1002
* util.h (out_of_core): New.
1004
2006-09-04 Werner Koch <wk@g10code.com>
1006
* http.c (http_get_header): New.
1007
(capitalize_header_name, store_header): New.
1008
(parse_response): Store headers away.
1009
(send_request): Return GPG_ERR_NOT_FOUND if connect_server failed.
1010
* http.h: New flag HTTP_FLAG_NEED_HEADER.
1012
2006-08-21 Werner Koch <wk@g10code.com>
1014
* Makefile.am (libcommon_a_SOURCES): Added keyserver.h
1016
* openpgpdefs.h: New. Stripped from ..g10/packet.h.
1018
2006-08-16 Werner Koch <wk@g10code.com>
1020
* keyserver.h: Moved from ../include to here.
1022
* http.c: Include srv.h.
1024
* srv.c, srv.h: New. Taken from GnuPG 1.4
1026
2006-08-14 Werner Koch <wk@g10code.com>
1028
* http.h (struct http_context_s): Moved to implementation.
1029
* http.c (http_open): Changed call to return a context.
1030
(http_open_document): Ditto.
1031
(http_get_read_ptr, http_get_read_ptr, http_get_status_code): New.
1032
(do_parse_uri): Replaced strlwr by straight code to ease
1033
standalone use of this file.
1034
(http_wait_response): Removed arg STATUS_CODE as it is available
1035
through an accessor function. Adjusted caller.
1036
(http_escape_string): New.
1038
* estream.c (es_read_line): Renamed to ..
1039
(doreadline): .. this. Changed all callers.
1040
(es_read_line): New. This is theusual limited getline variabnt as
1041
used at several places. Here taken and adjusted from xreadline.c
1044
2006-08-11 Werner Koch <wk@g10code.com>
1046
* http.c: Major internal changes to optionallly support GNUTLS and
1048
(http_open): Move initialization of the stream ...
1049
(send_request): .. here.
1050
(http_register_tls_callback): New.
1052
* estream.c (es_writen): Try to seek only is a seek function has
1055
2006-08-09 Werner Koch <wk@g10code.com>
1057
* http.c, http.h: New. Taken from gnupg 1.4.5, merged with
1058
changes done for the Dirmngr project (by g10 Code) and cleaned up
1060
(make_header_line): New. Change all caller to make user of the new
1061
* Makefile.am (libcommon_a_SOURCES): Added http.c and http.h.
1063
2006-05-23 Werner Koch <wk@g10code.com>
1065
* gettime.c (isotimestamp): New.
1067
* ttyio.c (tty_get_ttyname): Posixly correct usage of ctermid.
1069
* dns-cert.c: New. Taken from 1.4.3's util/cert.c.
1072
2006-05-22 Werner Koch <wk@g10code.com>
1074
* pka.c: New. Taked from 1.4.3.
1076
* Makefile.am: Added pka.
1078
2006-05-19 Werner Koch <wk@g10code.com>
1080
* yesno.c (answer_is_yes_no_default, answer_is_yes_no_quit):
1082
(answer_is_okay_cancel): new. From 1.4.3.
1084
* miscellaneous.c (match_multistr): New. Taken from 1.4.3.
1086
* ttyio.c (tty_enable_completion, tty_disable_completion): New
1088
* ttyio.h: Add prototypes and stubs.
1090
2006-04-19 Werner Koch <wk@g10code.com>
1092
* iobuf.c (iobuf_get_fd): New. Taken from 1.4.3.
1093
(iobuf_is_pipe_filename): New.
1094
(pop_filter): Made static.
1095
(iobuf_skip_rest): New. Orginal patch by Florian
1096
Weimer. Added new argument PARTIAL.
1097
(block_filter): Remove the old gpg indeterminate length mode.
1098
(block_filter): Properly handle a partial body stream
1099
that ends with a 5-byte length that happens to be zero.
1100
(iobuf_set_block_mode, iobuf_in_block_mode): Removed as
1102
(iobuf_get_filelength): New arg OVERFLOW.
1103
(iobuf_get_filelength) [W32]: Use GetFileSizeEx if available
1104
* miscellaneous.c (is_file_compressed): Take care of OVERFLOW.
1106
2006-04-18 Werner Koch <wk@g10code.com>
1108
* homedir.c (w32_shgetfolderpath): New. Taken from gpg 1.4.3.
1109
(default_homedir): Use it.
1111
2005-10-08 Marcus Brinkmann <marcus@g10code.de>
1113
* signal.c (get_signal_name): Check value of HAVE_DECL_SYS_SIGLIST
1114
instead of just if it is defined.
1116
2005-09-28 Marcus Brinkmann <marcus@g10code.de>
1118
* Makefile.am (AM_CFLAGS): Add $(LIBASSUAN_CFLAGS).
1120
2005-07-04 Marcus Brinkmann <marcus@g10code.de>
1122
* simple-pwquery.h (simple_pwclear): New prototype.
1123
* simple-pwquery.c (simple_pwclear): New function.
1125
2005-06-15 Werner Koch <wk@g10code.com>
1127
* miscellaneous.c (make_printable_string): Made P a void*.
1129
* sexputil.c (keygrip_from_canon_sexp, cmp_simple_canon_sexp):
1130
Fixed signed/unsigned pointer mismatch.
1131
(make_simple_sexp_from_hexstr): Ditto. This is all too ugly; I
1132
wonder why gcc-4's default is to warn about them and forcing us to
1133
use cast the warning away.
1134
* iobuf.c (block_filter): Ditto.
1135
(iobuf_flush): Ditto.
1136
(iobuf_read_line): Ditto.
1137
(iobuf_read): Make BUFFER a void *.
1138
(iobuf_write): Make BUFFER a const void *.
1139
* ttyio.c (tty_print_utf8_string2): Ditto.
1140
* estream.c (estream_cookie_mem): Make MEMORY unsigned char*.
1141
(es_write): Make BUFFER a void *.
1143
(es_func_fd_read, es_func_fd_write, es_func_mem_read)
1144
(es_func_mem_write): Ditto.
1145
(es_read, es_readn): Ditto.
1146
(es_func_mem_write): Made MEMORY_NEW an unsigned char *.
1147
* estream.h (es_cookie_read_function_t)
1148
(es_cookie_write_function_t): Changed buffer arg to void*.
1150
2005-06-03 Werner Koch <wk@g10code.com>
1152
* estream.c: Use HAVE_CONFIG_H and not USE_CONFIG_H!
1153
(es_func_fd_read, es_func_fd_write): Protect against EINTR.
1155
2005-06-01 Werner Koch <wk@g10code.com>
1157
* Makefile.am (AM_CPPFLAGS): Added.
1159
* util.h: Add some includes for gnulib.
1160
(ttyname, isascii): Define them inline.
1161
* fseeko.c, ftello.c: Removed.
1162
* strsep.c, mkdtemp.c: Removed.
1163
* ttyname.c, isascii.c: Removed.
1165
2005-05-31 Werner Koch <wk@g10code.com>
1167
* dynload.h: s/__inline__/inline/.
1169
2005-05-13 Werner Koch <wk@g10code.com>
1171
* signal.c (got_fatal_signal): Print the signal number if we can't
1173
(get_signal_name): Return NULL if no name is available. Fixed
1174
conditional for sys_siglist to the correct one.
1176
2005-04-17 Werner Koch <wk@g10code.com>
1178
* sexputil.c (cmp_simple_canon_sexp): New.
1179
(make_simple_sexp_from_hexstr): New.
1181
2005-04-07 Werner Koch <wk@g10code.com>
1185
2005-04-11 Marcus Brinkmann <marcus@g10code.de>
1187
* simple-pwquery.c (simple_pwquery): Use spwq_secure_free.
1189
2005-03-03 Werner Koch <wk@g10code.com>
1191
* Makefile.am (AM_CFLAGS): Added PTH_CFLAGS. Noted by Kazu Yamamoto.
1193
2005-02-25 Werner Koch <wk@g10code.com>
1195
* xasprintf.c (xtryasprintf): New.
1197
2005-01-26 Moritz Schulte <moritz@g10code.com>
1199
* Makefile.am (libcommon_a_SOURCES): New source files: estream.c,
1201
* estream.c, estream.h: New files.
1203
2005-01-03 Werner Koch <wk@g10code.com>
1205
* asshelp.c (send_pinentry_environment): Fixed changed from
1206
2004-12-18; cut+paste error for lc-messages.
1208
2004-12-21 Werner Koch <wk@g10code.com>
1210
* simple-pwquery.c (agent_open) [W32]: Implement for W32.
1211
(readline) [W32]: Use recv instead of read.
1212
(writen) [W32]: Use send instead of write.
1213
(my_stpcpy): Define a stpcpy replacement so that this file
1214
continues to be self-contained.
1215
(agent_send_all_options) [W32]: Don't call ttyname.
1217
2004-12-21 Marcus Brinkmann <marcus@g10code.de>
1219
* simple-pwquery.h (simple_query): Add prototype.
1220
* simple-pwquery.c (simple_query): New function.
1222
2004-12-21 Werner Koch <wk@g10code.com>
1224
* signal.c (got_fatal_signal, got_usr_signal)
1225
(got_fatal_signal) [DOSISH]: Don't build.
1226
* simple-gettext.c: Include sysutils.h
1228
* homedir.c: New. Use CSIDL_APPDATA for W32 as the default home
1230
* Makefile.am (libcommon_a_SOURCES): Add it.
1231
(EXTRA_DIST): Removed mkerror and mkerrtok.
1233
2004-12-20 Werner Koch <wk@g10code.com>
1235
* sysutils.h [W32]: Define sleep.
1236
* util.h: Add prototype for mkdtemp.
1238
* membuf.c (put_membuf): Wipe out buffer after a failed realloc.
1240
2004-12-19 Werner Koch <wk@g10code.com>
1242
* maperror.c (map_assuan_err_with_source): Oops, args were swapped.
1244
2004-12-18 Werner Koch <wk@g10code.com>
1246
* maperror.c (map_assuan_err): Renamed to ..
1247
(map_assuan_err_with_source): .. this and add arg SOURCE.c
1248
* asshelp.c (send_pinentry_environment, send_one_option): Add arg
1251
2004-12-15 Werner Koch <wk@g10code.com>
1253
* sysutils.h [W32]: Prototypes for registry functions.
1254
* w32reg.c: Include sysutils.h
1256
* simple-pwquery.c [W32]: Dummy code to allow a build.
1258
* exechelp.c [W32]: Implemented for W32 .
1262
* asshelp.c (send_one_option): New.
1263
(send_pinentry_environment): Cleaned up and made sure that empty
1264
values are not send.
1266
2004-12-07 Werner Koch <wk@g10code.com>
1268
* asshelp.c (send_pinentry_environment) [W32]: Do not use ttyname.
1270
2004-12-06 Werner Koch <wk@g10code.com>
1272
* exechelp.h, exechelp.c: New. Based on code from ../sm/import.c.
1274
2004-12-03 Werner Koch <wk@g10code.com>
1276
* strsep.c: Fixed copyright comments.
1278
2004-11-26 Werner Koch <wk@g10code.com>
1280
* simple-gettext.c: New taken from gnupg 1.3.x
1282
* simple-pwquery.c [_WIN32]: Include winsock2.h.
1283
(agent_open): Disable it until we have our AF_UNIX implementation
1285
* fseeko.c, ftello.c: Include sys/types for the sake of W32.
1287
2004-11-23 Werner Koch <wk@g10code.com>
1289
* b64enc.c: Include stdio.h and string.h
1291
2004-08-18 Werner Koch <wk@g10code.de>
1293
* simple-pwquery.c (simple_pwquery): Handle gpg-error style return
1296
2004-07-20 Werner Koch <wk@g10code.de>
1298
* maperror.c: Removed header ksba.h. Not required anymore.
1300
2004-06-14 Werner Koch <wk@gnupg.org>
1302
* xreadline.c: New. Based on the iobuf_read_line function.
1304
2004-05-12 Werner Koch <wk@gnupg.org>
1306
* util.h (xtrycalloc_secure,xtrymalloc_secure): New.
1308
2004-05-11 Werner Koch <wk@gnupg.org>
1310
* sysutils.c (disable_core_dumps): Only set the current limit.
1311
(enable_core_dumps): New.
1313
2004-04-13 Werner Koch <wk@gnupg.org>
1315
* simple-pwquery.c (copy_and_escape): Relaxed quoting.
1317
2004-04-05 Werner Koch <wk@gnupg.org>
1319
* errors.h (STATUS_NEWSIG): New.
1321
2004-03-11 Werner Koch <wk@gnupg.org>
1323
* dynload.h [__MINGW32__]: Define RTLD_LAZY.
1325
2004-03-09 Werner Koch <wk@gnupg.org>
1327
* maperror.c (map_assuan_err): Map the Locale_Problem item.
1329
2004-03-03 Werner Koch <wk@gnupg.org>
1331
* asshelp.c, asshelp.h: New.
1332
(send_pinentry_environment): New. Code taken from ../sm/call-agent.c.
1334
2004-02-19 Werner Koch <wk@gnupg.org>
1336
* simple-pwquery.c (agent_open): Don't mangle INFOSTR.
1338
2004-02-17 Werner Koch <wk@gnupg.org>
1340
* simple-pwquery.c (agent_open): Ignore an empty GPG_AGENT_INFO.
1342
* errors.h: Added STATUS_IMPORT_OK.
1344
2004-02-10 Werner Koch <wk@gnupg.org>
1346
* b64enc.c: New. Based on code from ../sm/base64.c.
1348
2004-01-30 Marcus Brinkmann <marcus@g10code.de>
1350
* Makefile.am (libcommon_a_SOURCES): Add xasprintf.c.
1351
* miscellaneous.c (xasprintf): Moved to ...
1352
* xasprintf (xasprintf): ... here. New file.
1353
This allows to use xasprintf without sucking in gpg-error.
1355
2004-01-27 Werner Koch <wk@gnupg.org>
1357
* sexp-parse.h: New; moved from../agent.
1359
* util.h (xtoi_4): New.
1361
2003-12-23 Werner Koch <wk@gnupg.org>
1363
* maperror.c (map_assuan_err): Prepared for a new error code.
1365
2003-12-17 Werner Koch <wk@gnupg.org>
1367
* gettime.c (asctimestamp): Add a note on a non-avoidable gcc warning.
1369
* util.h [!HAVE_VASPRINTF]: Add printf format attribute to the
1370
replacement function.
1372
* miscellaneous.c (xasprintf): New.
1374
2003-11-14 Werner Koch <wk@gnupg.org>
1376
* mkdtemp.c (mkdtemp): Use gcry_create_nonce.
1378
* cryptmiss.c: Removed.
1380
2003-11-13 Werner Koch <wk@gnupg.org>
1382
* util.h (vasprintf): Also fixed the prototype.
1384
* vasprintf.c (vasprintf): ARGS should not be a pointer. Fixed
1385
segv on Solaris. Reported by Andrew J. Schorr.
1387
2003-11-12 Werner Koch <wk@gnupg.org>
1389
* maperror.c (map_ksba_err, map_gcry_err, map_kbx_err): Removed.
1391
2003-10-31 Werner Koch <wk@gnupg.org>
1393
* util.h (gnupg_isotime_t): New.
1394
(gnupg_copy_time): New.
1396
* gettime.c (gnupg_get_isotime): New.
1398
2003-09-23 Werner Koch <wk@gnupg.org>
1400
* iobuf.c (check_special_filename): Replaced is isdigit by digitp
1401
to avoid passing negative values and potential locale problems.
1402
Problem noted by Christian Biere.
1404
* util.h (ascii_isspace): New.
1406
2003-09-18 Werner Koch <wk@gnupg.org>
1408
* ttyio.c (tty_fprintf): New.
1409
(tty_print_string, tty_print_utf8_string2)
1410
(tty_print_utf8_string): Made P argument const byte*.
1412
2003-08-20 Marcus Brinkmann <marcus@g10code.de>
1414
* maperror.c (map_ksba_err): Map -1. Use gpg_err_make to set
1417
2003-08-14 Timo Schulz <twoaday@freakmail.de>
1419
* dynload.h. New. W32 wrapper around the dynload mechanism.
1421
2003-07-15 Werner Koch <wk@gnupg.org>
1423
* simple-pwquery.c, simple-pwquery.h: New; moved from ../agent.
1424
* Makefile.am (libsimple_pwquery_a_LIBADD): New.
1426
2003-06-25 Werner Koch <wk@gnupg.org>
1428
* maperror.c (map_to_assuan_status): Directly map 0 to 0.
1430
2003-06-17 Werner Koch <wk@gnupg.org>
1432
* gettime.c (scan_isodatestr,add_days_to_timestamp,strtimevalue)
1433
(strtimestamp,asctimestamp): New. Code taken from gnupg 1.3.2
1436
* yesno.c: New. Code taken from gnupg 1.3.2 mischelp.c
1438
* miscellaneous.c: New.
1440
* util.h: Include utf8conf.h
1442
2003-06-16 Werner Koch <wk@gnupg.org>
1444
* gettime.c (make_timestamp): New.
1446
* ttyio.c: New. Taken from gnupg 1.2.
1447
* ttyio.h: Move from ../include.
1449
2003-06-13 Werner Koch <wk@gnupg.org>
1451
* util.h (seterr): Removed macro.
1452
(xmalloc_secure,xcalloc_secure): New.
1454
2003-06-11 Werner Koch <wk@gnupg.org>
1456
* iobuf.c (iobuf_writebyte,iobuf_write): Return error code from
1458
(iobuf_writestr): Ditto.
1460
2003-06-10 Werner Koch <wk@gnupg.org>
1462
* iobuf.c, iobuf.h: New. Taken from current gnupg 1.3 CVS. Run
1463
indent on it and adjusted error handling to libgpg-error style.
1464
Replaced IOBUF by iobuf_t. Renamed malloc functions.
1466
2003-06-04 Werner Koch <wk@gnupg.org>
1468
* errors.h: Removed all error codes. We keep the status codes for
1470
* Makefile.am: Do not create errors.c anymore; remove it from the
1473
* maperror.c: Don't include error.h. Change all error codes to
1475
(map_assuan_err): Changed to new Assuan error code convention.
1476
(map_to_assuan_status): Likewise.
1477
(map_gcry_err,map_kbx_err): Not needed. For now dummy functions.
1479
* membuf.c, membuf.h: New. Code taken from ../sm/call-agent.h.
1480
* Makefile.am: Added above.
1482
2003-04-29 Werner Koch <wk@gnupg.org>
1484
* util.h (fopencokokie): Removed prototype and struct.
1486
* fopencookie.c: Removed.
1488
* maperror.c: Use system assuan.h
1490
2002-10-31 Neal H. Walfield <neal@g10code.de>
1492
* isascii.c: New file.
1493
* putc_unlocked.c: Likewise.
1495
2002-10-28 Neal H. Walfield <neal@g10code.de>
1497
* signal.c (caught_fatal_sig): Remove superfluous zero
1499
(caught_sigusr1): Likewise.
1501
2002-09-04 Neal H. Walfield <neal@g10code.de>
1503
* vasprintf.c (vasprintf) [va_copy]: Use va_copy.
1504
[!va_copy && __va_copy]: Use __va_copy.
1505
[!va_copy && !__va_copy]: Only now fall back to using memcpy.
1507
2002-08-21 Werner Koch <wk@gnupg.org>
1509
* errors.h: Added STATUS_IMPORT_PROBLEM.
1511
2002-08-20 Werner Koch <wk@gnupg.org>
1513
* vasprintf.c: Hack to handle NULL for %s.
1515
2002-08-09 Werner Koch <wk@gnupg.org>
1517
* signal.c: New. Taken from GnuPG 1.1.91.
1519
2002-07-23 Werner Koch <wk@gnupg.org>
1521
* util.h (_IO_cookie_io_functions_t): Fixed typo. Noted by
1524
2002-07-22 Werner Koch <wk@gnupg.org>
1526
* fseeko.c, ftello.c: New.
1528
2002-06-28 Werner Koch <wk@gnupg.org>
1530
* maperror.c (map_to_assuan_status): Map more errorcodes to Bad
1533
2002-06-26 Werner Koch <wk@gnupg.org>
1535
* maperror.c (map_to_assuan_status): Map EOF to No_Data_Available.
1537
2002-06-10 Werner Koch <wk@gnupg.org>
1539
* errors.h (gnupg_error_token): Add new prototype.
1540
(STATUS_ERROR): New.
1543
* Makefile.am: Use it to create the new error token function.
1545
2002-06-04 Werner Koch <wk@gnupg.org>
1547
* maperror.c (map_to_assuan_status): Map Bad_CA_Certificate.
1549
2002-05-23 Werner Koch <wk@gnupg.org>
1551
* no-pth.c, Makefile.am: Removed.
1553
2002-05-22 Werner Koch <wk@gnupg.org>
1555
* mkdtemp.c: Replaced byte by unsigned char because it is no longer
1556
defined in gcrypt.h.
1558
2002-05-21 Werner Koch <wk@gnupg.org>
1560
* maperror.c (map_gcry_err): Add libgcrypt's new S-expression errors.
1561
(map_ksba_err): Add a few mappings.
1563
2002-05-14 Werner Koch <wk@gnupg.org>
1567
2002-05-03 Werner Koch <wk@gnupg.org>
1569
* errors.h: Added STARUS_EXPSIG and STATUS_EXPKEYSIG.
1571
2002-04-15 Werner Koch <wk@gnupg.org>
1575
2002-02-14 Werner Koch <wk@gnupg.org>
1577
* maperror.c: Add more assuan<->gnupg mappings.
1579
2002-02-12 Werner Koch <wk@gnupg.org>
1581
* fopencookie.c: Dummy function.
1583
* vasprintf.c: New. Taken from binutils-2.9.1 and dropped all non
1584
ANSI-C stuff. Merged with asprintf version.
1588
2002-01-23 Werner Koch <wk@gnupg.org>
1590
* mkdtemp.c: Copied from gnupg-1.0.6c and changed to use libgcrypt.
1592
2002-01-19 Werner Koch <wk@gnupg.org>
1594
* sysutils.c: New. This is the misc.c file from gnupg 1.0.6 with
1595
the OpenPGP stuff removed.
1598
2002-01-15 Werner Koch <wk@gnupg.org>
1600
* maperror.c: Add mapping for Not_Trusted.
1602
2002-01-11 Werner Koch <wk@gnupg.org>
1604
* maperror.c (map_assuan_err): Codes for CRL
1606
2002-01-08 Werner Koch <wk@gnupg.org>
1608
* util.h (spacep): New.
1610
2002-01-02 Werner Koch <wk@gnupg.org>
1612
* maperror.c (map_to_assuan_status): New. Merged from ../agent
1615
2001-12-20 Werner Koch <wk@gnupg.org>
1617
* maperror.c (map_gcry_err): Add some mappings.
1619
2001-12-18 Werner Koch <wk@gnupg.org>
1621
* Makefile.am (AM_CPPFLAGS): Include flags for gcrypt and ksba
1623
2001-12-14 Werner Koch <wk@gnupg.org>
1625
* util.h (digitp, hexdigitp): New ctype like macros.
1626
(atoi_1,atoi_2,atoi_4,xtoi_1,xtoi_2): New.
1629
Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007,
1630
2008, 2009 Free Software Foundation, Inc.
1632
This file is free software; as a special exception the author gives
1633
unlimited permission to copy and/or distribute it, with or without
1634
modifications, as long as this notice is preserved.
1636
This file is distributed in the hope that it will be useful, but
1637
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
1638
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.