~ubuntu-branches/ubuntu/raring/gnupg2/raring-updates

« back to all changes in this revision

Viewing changes to common/ChangeLog-2011

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2012-11-06 11:25:58 UTC
  • mfrom: (1.1.16) (7.1.8 raring-proposed)
  • Revision ID: package-import@ubuntu.com-20121106112558-lkpndvv4gqthgrn4
Tags: 2.0.19-1ubuntu1
* Resynchronize on Debian, remaining changes:
  - Add udev rules to give gpg access to some smartcard readers;
    Debian #543217.
    . debian/gnupg2.dev: udev rules to set ACLs on SCM smartcard readers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
2011-12-02  Werner Koch  <wk@g10code.com>
 
2
 
 
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.
 
7
 
 
8
2011-08-04  Werner Koch  <wk@g10code.com>
 
9
 
 
10
        * ssh-utils.c, ssh-utils.h: New.
 
11
        * t-ssh-utils.c: New.
 
12
        * Makefile.am (t_ssh_utils_LDADD): New.
 
13
        (module_tests): Add t-ssh-utils.c
 
14
 
 
15
2011-08-04  Werner Koch  <wk@g10code.com>
 
16
 
 
17
        * pka.c (get_pka_info): Remove set but unused variables ARCOUNT
 
18
        and NSCOUNT.
 
19
        * estream.c (es_fwrite, es_fread): Remove set but unused variable
 
20
        ERR.
 
21
 
 
22
2011-04-29  Werner Koch  <wk@g10code.com>
 
23
 
 
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
 
28
        the killed status.
 
29
        (ESTREAM_SYS_YIELD): Ditto.
 
30
        (es_pth_read, es_pth_write): Ditto.
 
31
        (es_init_do): Ditto.
 
32
 
 
33
2011-01-20  Werner Koch  <wk@g10code.com>
 
34
 
 
35
        * estream.c (es_func_mem_write): Fix computation of NEWSIZE.
 
36
 
 
37
2011-01-11  Werner Koch  <wk@g10code.com>
 
38
 
 
39
        Estream changes as used by gnupg master from 2010-07-19.
 
40
 
 
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.
 
47
 
 
48
2011-01-10  Thomas Mraz  <t8m@centrum.cz>  (wk)
 
49
 
 
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.
 
53
 
 
54
2011-01-10  Werner Koch  <wk@g10code.com>
 
55
 
 
56
        * session-env.c (update_var): Fix same value test.  Fixes
 
57
        bug#1311.
 
58
 
 
59
2010-09-16  Werner Koch  <wk@g10code.com>
 
60
 
 
61
        * util.h: Add GPG_ERR_MISSING_ISSUER_CERT.
 
62
        * status.c (get_inv_recpsgnr_code): Ditto.
 
63
 
 
64
2010-05-03  Werner Koch  <wk@g10code.com>
 
65
 
 
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.
 
69
 
 
70
        * exechelp.c (gnupg_spawn_process_detached): Do not reuse PID for
 
71
        the second fork.
 
72
        (gnupg_wait_process): Do not log a message if EXITCODE is given.
 
73
 
 
74
2010-03-17  Werner Koch  <wk@g10code.com>
 
75
 
 
76
        * asshelp.c (start_new_gpg_agent) [W32]: Use a named mutex to
 
77
        avoid starting two agents.
 
78
 
 
79
2010-03-12  Werner Koch  <wk@g10code.com>
 
80
 
 
81
        * status.h (STATUS_ENTER): New.
 
82
 
 
83
2010-02-11  Marcus Brinkmann  <marcus@g10code.de>
 
84
 
 
85
        From trunk 2009-10-16, 2009-11-02, 2009-11-05:
 
86
 
 
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
 
90
        type to gpg_error_t.
 
91
        * asshelp.c (start_new_gpg_agent): Update use of
 
92
        assuan_socket_connect and assuan_pipe_connect.  Convert posix FD
 
93
        to assuan FD.
 
94
        [HAVE_W32_SYSTEM]: Add missing argument in assuan_socket_connect
 
95
        invocation.
 
96
        * iobuf.c (iobuf_open_fd_or_name): Fix type of FD in function
 
97
        declaration.
 
98
 
 
99
2009-10-13  Werner Koch  <wk@g10code.com>
 
100
 
 
101
        From trunk 2009-09-23:
 
102
 
 
103
        * asshelp.c (start_new_gpg_agent): Allocate assuan context before
 
104
        starting server.
 
105
 
 
106
2009-12-21  Marcus Brinkmann  <marcus@g10code.de>  (wk)
 
107
 
 
108
        * Makefile.am (audit-events.h, status.h) [!MAINTAINER_MODE]: No
 
109
        longer include these rules if not in maintainer mode.
 
110
 
 
111
2009-12-08  Werner Koch  <wk@g10code.com>
 
112
 
 
113
        * dns-cert.c: Add support for ADNS.
 
114
 
 
115
2009-12-07  Werner Koch  <wk@g10code.com>
 
116
 
 
117
        * pka.c (get_pka_info): Add support for ADNS.
 
118
        * src.v (getsrv): Add support for ADNS.
 
119
 
 
120
        * srv.c (getsrv): s/xrealloc/xtryrealloc/.
 
121
 
 
122
2009-12-04  Werner Koch  <wk@g10code.com>
 
123
 
 
124
        * Makefile.am (audit-events.h, status-codes.h): Create files in
 
125
        the source dir.  Fixes bug#1164.
 
126
 
 
127
2009-12-03  Werner Koch  <wk@g10code.com>
 
128
 
 
129
        From trunk:
 
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):
 
135
 
 
136
2009-09-03  Werner Koch  <wk@g10code.com>
 
137
 
 
138
        Update from libestream:
 
139
        * estream-printf.c: Include stdint.h only if HAVE_STDINT_H is
 
140
        defined.
 
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
 
144
        numbers.
 
145
 
 
146
2009-08-11  David Shaw  <dshaw@jabberwocky.com>
 
147
 
 
148
        * ttyio.h, ttyio.c (tty_enable_completion): Some ifdefs around
 
149
        HAVE_LIBREADLINE to allow building when readline isn't available.
 
150
 
 
151
2009-08-06  Werner Koch  <wk@g10code.com>
 
152
 
 
153
        * status.h (STATUS_INV_SGNR, STATUS_NO_SGNR): New.
 
154
        * status.c (get_inv_recpsgnr_code): New.
 
155
 
 
156
2009-07-23  David Shaw  <dshaw@jabberwocky.com>
 
157
 
 
158
        * srv.c (getsrv): Fix type-punning warning.
 
159
 
 
160
2009-07-23  Werner Koch  <wk@g10code.com>
 
161
 
 
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.
 
165
 
 
166
2009-07-06  Werner Koch  <wk@g10code.com>
 
167
 
 
168
        * get-passphrase.c (struct agentargs): Add SESSION_ENV and remove
 
169
        obsolete args.
 
170
        (gnupg_prepare_get_passphrase): Ditto.
 
171
 
 
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
 
178
        rewrite fucntion.
 
179
        (start_new_gpg_agent): Likewise.
 
180
 
 
181
        * t-exechelp.c (test_close_all_fds): Remove debug code.
 
182
 
 
183
2009-07-01  Werner Koch  <wk@g10code.com>
 
184
 
 
185
        * sexputil.c (get_pk_algo_from_canon_sexp): New.
 
186
 
 
187
2009-06-29  Werner Koch  <wk@g10code.com>
 
188
 
 
189
        * estream.c (BUFFER_ROUND_TO_BLOCK): Remove unused macro.
 
190
        (es_func_mem_write): Rewrite reallocation part.
 
191
 
 
192
        * estream.c (es_write_sanitized_utf8_buffer): Typo typo fix.
 
193
 
 
194
2009-06-25  Werner Koch  <wk@g10code.com>
 
195
 
 
196
        * estream.c (es_write_sanitized_utf8_buffer): Typo fix.
 
197
 
 
198
2009-06-24  Werner Koch  <wk@g10code.com>
 
199
 
 
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
 
204
        es_fputs.
 
205
        * sexputil.c (get_rsa_pk_from_canon_sexp): Check for error after
 
206
        the loop.  Reported by Fabian Keil.
 
207
 
 
208
2009-06-22  Werner Koch  <wk@g10code.com>
 
209
 
 
210
        * estream.c (es_pth_read, es_pth_write) [W32]: New.
 
211
        (ESTREAM_SYS_READ, ESTREAM_SYS_WRITE) [HAVE_PTH]: Use them.
 
212
 
 
213
2009-06-03  Werner Koch  <wk@g10code.com>
 
214
 
 
215
        * estream.c (es_convert_mode): Rewrite and support the "x" flag.
 
216
 
 
217
2009-05-28  David Shaw  <dshaw@jabberwocky.com>
 
218
 
 
219
        From 1.4:
 
220
 
 
221
        * http.h, http.c (send_request) Pass in a STRLIST for additional
 
222
        headers.  Change all callers.
 
223
 
 
224
2009-05-27  David Shaw  <dshaw@jabberwocky.com>
 
225
 
 
226
        From 1.4:
 
227
 
 
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.
 
232
 
 
233
        * srv.c (getsrv): Raise maximum packet size to 2048, as PACKETSZ
 
234
        is too small these days.
 
235
 
 
236
2009-05-22  Werner Koch  <wk@g10code.com>
 
237
 
 
238
        * ttyio.c (tty_cleanup_after_signal): New.
 
239
 
 
240
2009-05-19  Werner Koch  <wk@g10code.com>
 
241
 
 
242
        * simple-pwquery.c (agent_open): Use SUN_LEN
 
243
        (JNLIB_NEED_AFLOCAL): Define and include mischelp.h.
 
244
 
 
245
2009-05-07  Werner Koch  <wk@g10code.com>
 
246
 
 
247
        * sexputil.c (get_rsa_pk_from_canon_sexp): New.
 
248
        * t-sexputil.c (test_make_canon_sexp_from_rsa_pk): Extend the test.
 
249
 
 
250
2009-04-28  Werner Koch  <wk@g10code.com>
 
251
 
 
252
        * sexputil.c (make_canon_sexp_from_rsa_pk): New.
 
253
        * t-sexputil.c (test_make_canon_sexp_from_rsa_pk): New.
 
254
 
 
255
2009-04-01  Werner Koch  <wk@g10code.com>
 
256
 
 
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).
 
262
 
 
263
        * iobuf.c (fd_cache_strcmp): New. Taken from 1.4.
 
264
        (fd_cache_invalidate, fd_cache_close, fd_cache_open):  Use it.
 
265
 
 
266
        * exechelp.c (gnupg_spawn_process): Implement new flag bit 6.
 
267
        * sysutils.c (gnupg_allow_set_foregound_window): Allow the use of
 
268
        ASFW_ANY.
 
269
 
 
270
        * membuf.c (put_membuf, get_membuf): Wipe memory on out of core.
 
271
 
 
272
2009-03-31  Werner Koch  <wk@g10code.com>
 
273
 
 
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.
 
279
 
 
280
        * get-passphrase.c, get-passphrase.h: New.
 
281
        * Makefile.am (without_pth_sources): New.
 
282
 
 
283
2009-03-18  Werner Koch  <wk@g10code.com>
 
284
 
 
285
        * exechelp.c: Include sys/resource.h and sys/stat.h.
 
286
        (get_max_open_fds): New.
 
287
        (do_exec): Use it.
 
288
        (get_all_open_fds): New.
 
289
        (close_all_fds): New.
 
290
        (do_exec): Use close_all_fds.
 
291
        * t-exechelp.c: New.
 
292
 
 
293
2009-03-13  David Shaw  <dshaw@jabberwocky.com>
 
294
 
 
295
        * http.c (do_parse_uri): Properly handle IPv6 literal addresses as
 
296
        per RFC-2732.  Adapted from patch by Phil Pennock.
 
297
 
 
298
2009-03-12  Werner Koch  <wk@g10code.com>
 
299
 
 
300
        * gettime.c: Include i18n.h.
 
301
        (dump_isotime): New.
 
302
 
 
303
2009-03-06  Werner Koch  <wk@g10code.com>
 
304
 
 
305
        * sexputil.c (make_canon_sexp): New.
 
306
 
 
307
2009-03-03  Werner Koch  <wk@g10code.com>
 
308
 
 
309
        * exechelp.c (do_exec): Make sure that /dev/null connected FDs are
 
310
        not closed.
 
311
 
 
312
2009-01-19  Werner Koch  <wk@g10code.com>
 
313
 
 
314
        * audit.c (writeout_li): Translate a few more result strings.
 
315
        Fixes bug#970.
 
316
 
 
317
        * convert.c (hex2str): Fix optimization to append a nul character.
 
318
 
 
319
2008-12-05  Werner Koch  <wk@g10code.com>
 
320
 
 
321
        * percent.c, t-percent.c: New.
 
322
 
 
323
        * exechelp.c (gnupg_spawn_process, gnupg_spawn_process_fd)
 
324
        (gnupg_spawn_process_detached) [W32]: Remove debug output.
 
325
 
 
326
2008-11-20  Werner Koch  <wk@g10code.com>
 
327
 
 
328
        * audit.c (writeout_li): Translate OKTEXT.
 
329
 
 
330
2008-11-04  Werner Koch  <wk@g10code.com>
 
331
 
 
332
        * i18n.c (i18n_init) [USE_SIMPLE_GETTEXT]: Adjust for changed
 
333
        w32-gettext.c.
 
334
        * homedir.c (gnupg_localedir): New.
 
335
 
 
336
2008-10-20  Werner Koch  <wk@g10code.com>
 
337
 
 
338
        * http.c (http_register_tls_callback) [!HTTP_USE_GNUTLS]: Mark
 
339
        unused arg.
 
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
 
354
        unused arg.
 
355
 
 
356
2008-10-19  Werner Koch  <wk@g10code.com>
 
357
 
 
358
        * estream-printf.c (estream_vsnprintf): Fix return value.
 
359
        (check_snprintf): Add a new test.
 
360
        (one_test) [W32]: Disable test.
 
361
 
 
362
2008-10-17  Werner Koch  <wk@g10code.com>
 
363
 
 
364
        * util.h (snprintf) [W32]: Redefine to estream_snprintf.
 
365
 
 
366
2008-09-03  Werner Koch  <wk@g10code.com>
 
367
 
 
368
        * convert.c (hex2str): New.
 
369
        (hex2str_alloc): New.
 
370
        * t-convert.c (test_hex2str): New.
 
371
 
 
372
2008-08-19  Werner Koch  <wk@g10code.com>
 
373
 
 
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
 
376
        M. Heneka.
 
377
 
 
378
2008-06-26  Werner Koch  <wk@g10code.com>
 
379
 
 
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.
 
383
 
 
384
2008-06-25  Marcus Brinkmann  <marcus@g10code.de>
 
385
 
 
386
        Revert last three changes related to handle translation.
 
387
        * sysutils.c:
 
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):
 
393
        Remove prototypes.
 
394
 
 
395
2008-06-19  Werner Koch  <wk@g10code.com>
 
396
 
 
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
 
400
        isspace by spacep.
 
401
 
 
402
2008-06-18  Marcus Brinkmann  <marcus@g10code.de>
 
403
 
 
404
        * sysutils.c (TRANS_MAX): Bump up to 350 to be on the safe side.
 
405
 
 
406
        * sysutils.h (translate_table_init, translate_table_lookup): New
 
407
        prototypes.
 
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
 
414
        special filenames.
 
415
 
 
416
2008-06-16  Werner Koch  <wk@g10code.com>
 
417
 
 
418
        * homedir.c (w32_commondir): New.
 
419
        (gnupg_sysconfdir): Use it.
 
420
 
 
421
2008-06-09  Werner Koch  <wk@g10code.com>
 
422
 
 
423
        * b64dec.c: New.
 
424
 
 
425
2008-06-05  Werner Koch  <wk@g10code.com>
 
426
 
 
427
        * util.h (gnupg_copy_time): Replace strcpy by memcpy.
 
428
 
 
429
2008-05-26  Werner Koch  <wk@g10code.com>
 
430
 
 
431
        * asshelp.c (send_one_option, send_pinentry_environment): use
 
432
        xfree and xtrystrdup.
 
433
 
 
434
        * i18n.c (i18n_switchto_utf8) [USE_SIMPLE_GETTEXT]: Return NULL.
 
435
 
 
436
        * homedir.c (gnupg_module_name): Add
 
437
        GNUPG_MODULE_NAME_CONNECT_AGENT and GNUPG_MODULE_NAME_GPGCONF.
 
438
 
 
439
2008-04-21  Werner Koch  <wk@g10code.com>
 
440
 
 
441
        * http.c (http_wait_response) [W32]: Use DuplicateHandle because
 
442
        it is a socket.
 
443
        (cookie_read) [W32]: Use recv in place of read.
 
444
 
 
445
2008-04-08  Werner Koch  <wk@g10code.com>
 
446
 
 
447
        * i18n.c (i18n_switchto_utf8, i18n_switchback)
 
448
        [USE_SIMPLE_GETTEXT]: Implement.
 
449
 
 
450
2008-04-07  Werner Koch  <wk@g10code.com>
 
451
 
 
452
        * b64enc.c (b64enc_start): Detect PGP mode.
 
453
        (b64enc_finish): Write PGP CRC.
 
454
        * util.h (struct b64state): Add field CRC.
 
455
        * t-b64.c: New.
 
456
 
 
457
        * pka.c (get_pka_info): Use xtrymalloc and check result.
 
458
 
 
459
2008-03-25  Werner Koch  <wk@g10code.com>
 
460
 
 
461
        * localename.c: Strip all W32 code.  Include w32help.h.
 
462
        (gnupg_messages_locale_name) [W32]: Use the gettext_localename.
 
463
 
 
464
2008-03-17  Werner Koch  <wk@g10code.com>
 
465
 
 
466
        * iobuf.c (IOBUF_BUFFER_SIZE): Actually use this macro.
 
467
 
 
468
        * simple-pwquery.c (agent_send_all_options): Fix last change.
 
469
 
 
470
2008-03-06  Werner Koch  <wk@g10code.com>
 
471
 
 
472
        * simple-pwquery.c (agent_send_all_options): Add support for
 
473
        XAUTHORITY and PINENTRY_USER_DATA.
 
474
 
 
475
2008-02-15  Marcus Brinkmann  <marcus@g10code.de>
 
476
 
 
477
        * exechelp.c (gnupg_spawn_process_fd): Add flag DETACHED_PROCESS
 
478
        unconditionally (required for all callers at the moment).
 
479
 
 
480
2008-02-14  Werner Koch  <wk@g10code.com>
 
481
 
 
482
        * sysutils.c (gnupg_allow_set_foregound_window): New.
 
483
        (WINVER) [W32]: Define.
 
484
 
 
485
2008-01-31  Werner Koch  <wk@g10code.com>
 
486
 
 
487
        * audit.c (audit_print_result): Make sure that the output is
 
488
        always UTF8.
 
489
 
 
490
2008-01-27  Werner Koch  <wk@g10code.com>
 
491
 
 
492
        * exechelp.c (gnupg_spawn_process): Add arg FLAGS and changed all
 
493
        callers to pass 0 for it.
 
494
 
 
495
2007-12-13  Werner Koch  <wk@g10code.com>
 
496
 
 
497
        * sexputil.c (hash_algo_from_sigval): New.
 
498
        * t-sexputil.c: New.
 
499
        * Makefile.am (module_tests): Add it.
 
500
 
 
501
2007-12-11  Werner Koch  <wk@g10code.com>
 
502
 
 
503
        * asshelp.c (send_pinentry_environment): Allow using of old
 
504
        gpg-agents not capabale of the xauthority and pinentry_user_data
 
505
        options.
 
506
 
 
507
2007-12-04  Werner Koch  <wk@g10code.com>
 
508
 
 
509
        * Makefile.am (t_helpfile_LDADD, module_maint_tests): New.
 
510
        * t-helpfile.c: New.
 
511
        * helpfile.c: 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.
 
516
 
 
517
        * sysutils.c (gnupg_reopen_std): New.  Taken from ../g10/gpg.c.
 
518
 
 
519
2007-11-27  Werner Koch  <wk@g10code.com>
 
520
 
 
521
        * Makefile.am (CLEANFILES): New.
 
522
 
 
523
        * homedir.c (dirmngr_socket_name): Use CSIDL_WINDOWS.
 
524
 
 
525
2007-11-15  Werner Koch  <wk@g10code.com>
 
526
 
 
527
        * asshelp.c (send_pinentry_environment): Add args XAUTHORITY and
 
528
        PINENTRY_USER_DATA.
 
529
        (start_new_gpg_agent): Ditto.
 
530
 
 
531
2007-11-07  Werner Koch  <wk@g10code.com>
 
532
 
 
533
        * status.h: New.
 
534
        * errors.h: Remove.
 
535
 
 
536
2007-11-05  Werner Koch  <wk@g10code.com>
 
537
 
 
538
        * audit.c, audit.h: New.
 
539
        * Makefile.am: Add rules to build audit-events.h.
 
540
        * exaudit.awk: New.
 
541
        * mkstrtable.awk: New.  Taken from libgpg-error.
 
542
 
 
543
2007-10-19  Werner Koch  <wk@g10code.com>
 
544
 
 
545
        * i18n.c (i18n_switchto_utf8, i18n_switchback): New.
 
546
 
 
547
2007-10-01  Werner Koch  <wk@g10code.com>
 
548
 
 
549
        * sysutils.h (FD2INT, INT2FD): New.
 
550
 
 
551
2007-09-21  Werner Koch  <wk@g10code.com>
 
552
 
 
553
        * homedir.c (default_homedir): Make registry work.  Reported by
 
554
        Marc Mutz.
 
555
 
 
556
2007-08-29  Werner Koch  <wk@g10code.com>
 
557
 
 
558
        * exechelp.c (gnupg_wait_process): Add arg EXITCODE.  Changed all
 
559
        callers.
 
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
 
563
 
 
564
2007-08-28  Werner Koch  <wk@g10code.com>
 
565
 
 
566
        * gettime.c (check_isotime, add_isotime): New.  Originally written
 
567
        for DirMngr by me.
 
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).
 
571
 
 
572
2007-08-27  Werner Koch  <wk@g10code.com>
 
573
 
 
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
 
579
        returned.
 
580
 
 
581
2007-08-22  Werner Koch  <wk@g10code.com>
 
582
 
 
583
        Updated estream from libestream.
 
584
 
 
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
 
589
        FLAGS struct.
 
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.
 
599
 
 
600
2007-08-21  Werner Koch  <wk@g10code.com>
 
601
 
 
602
        * sysutils.c (gnupg_tmpfile): New.
 
603
        * t-sysutils.c: New.
 
604
        * Makefile.am (module_tests): Add t-sysutils.
 
605
 
 
606
2007-08-20  Werner Koch  <wk@g10code.com>
 
607
 
 
608
        * exechelp.c [W32]: Redefine X_OK to F_OK.
 
609
 
 
610
2007-08-16  Werner Koch  <wk@g10code.com>
 
611
 
 
612
        * Makefile.am (t_convert_DEPENDENCIES): Remove
 
613
        ($(PROGRAMS)): Remove.
 
614
        (t_common_ldadd): Use libcommon.a and not the macro.
 
615
 
 
616
2007-08-14  Werner Koch  <wk@g10code.com>
 
617
 
 
618
        * homedir.c (dirmngr_socket_name): New.
 
619
 
 
620
2007-08-07  Werner Koch  <wk@g10code.com>
 
621
 
 
622
        * tlv.c, tlv.h: Move from ../scd/.
 
623
        * tlv.c (parse_sexp, parse_ber_header): Add ERRSOURCE arg and prefix
 
624
        name with a _.
 
625
        * tlv.h: Use macro to convey ERRSOURCE.
 
626
 
 
627
2007-08-02  Werner Koch  <wk@g10code.com>
 
628
 
 
629
        * gc-opt-flags.h: New.
 
630
 
 
631
2007-08-01  Werner Koch  <wk@g10code.com>
 
632
 
 
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.
 
636
 
 
637
2007-07-16  Werner Koch  <wk@g10code.com>
 
638
 
 
639
        * estream.c (es_func_file_create): Clear NO_CLOSE flag.
 
640
 
 
641
2007-07-12  Werner Koch  <wk@g10code.com>
 
642
 
 
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.
 
646
 
 
647
2007-07-09  Werner Koch  <wk@g10code.com>
 
648
 
 
649
        * t-gettime.c (test_isotime2epoch): Use time_t and not u32.
 
650
 
 
651
2007-07-05  Werner Koch  <wk@g10code.com>
 
652
 
 
653
        * t-gettime.c: New.
 
654
        * gettime.c (isotime2epoch, epoch2isotime): New.
 
655
 
 
656
2007-07-04  Werner Koch  <wk@g10code.com>
 
657
 
 
658
        * estream.c (es_init_do): Do not throw an error if pth has already
 
659
        been initialized.
 
660
 
 
661
2007-06-26  Werner Koch  <wk@g10code.com>
 
662
 
 
663
        * Makefile.am ($(PROGRAMS)): New.
 
664
 
 
665
        * util.h (init_common_subsystems): Moved to ..
 
666
        * init.h: .. New.
 
667
        * util.h: Include init.h.
 
668
 
 
669
        * homedir.c (standard_homedir): New.
 
670
        (default_homedir) [W32]: Reimplemented in terms of
 
671
        standard_homedir.  Fixed memory leak.
 
672
 
 
673
2007-06-25  Werner Koch  <wk@g10code.com>
 
674
 
 
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.
 
679
 
 
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.
 
684
 
 
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.
 
689
 
 
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.
 
699
 
 
700
2007-06-24  Werner Koch  <wk@g10code.com>
 
701
 
 
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.
 
705
 
 
706
2007-06-22  Werner Koch  <wk@g10code.com>
 
707
 
 
708
        * estream.c (es_fdopen): Factored code out to..
 
709
        (do_fdopen): .. new.
 
710
        (es_fdopen_nc): New.
 
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.
 
714
 
 
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().
 
719
 
 
720
2007-06-21  Werner Koch  <wk@g10code.com>
 
721
 
 
722
        * membuf.h (get_membuf_len): New.
 
723
 
 
724
        * membuf.c (init_membuf_secure): Really allocate in secure memory.
 
725
        (put_membuf_str): New.
 
726
 
 
727
        * ttyio.c (tty_getf): New.
 
728
 
 
729
        * util.h (ctrl_t): Declare it here.
 
730
 
 
731
        * asshelp.c (start_new_gpg_agent): New.  Based on code from
 
732
        ../sm/call-agent.c
 
733
 
 
734
2007-06-20  Werner Koch  <wk@g10code.com>
 
735
 
 
736
        * sysutils.c (gnupg_sleep): New.
 
737
        * sysutils.h [W32]: Remove _sleep wrapper.  Changed all callers to
 
738
        use gnupg_sleep.
 
739
 
 
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.
 
744
 
 
745
2007-06-14  Werner Koch  <wk@g10code.com>
 
746
 
 
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.
 
752
 
 
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.
 
757
        (gnupg_bindir): New.
 
758
 
 
759
2007-06-12  Werner Koch  <wk@g10code.com>
 
760
 
 
761
        * homedir.c (gnupg_sysconfdir): New.
 
762
        (gnupg_libexecdir): New.  Taken from g10/misc.c:get_libexecdir.
 
763
        (gnupg_datadir): New.
 
764
        (gnupg_libdir): New.
 
765
 
 
766
        * http.c (connect_server) [W32]: Do not call init_sockets if
 
767
        HTTP_NO_WSASTARTUP is defined.
 
768
 
 
769
        * init.c: New.
 
770
 
 
771
        * estream.c (es_init_do): Init stream lock here because we can't
 
772
        use a static initialization with W32pth.
 
773
 
 
774
2007-06-11  Werner Koch  <wk@g10code.com>
 
775
 
 
776
        * Makefile.am (t_common_ldadd): Use libcommonstd macro.
 
777
 
 
778
2007-06-06  Werner Koch  <wk@g10code.com>
 
779
 
 
780
        * Makefile.am: Include am/cmacros.am.
 
781
 
 
782
        * sysutils.h [W32]: Remove prototypes for the registry access.
 
783
        * w32reg.c:  Move to ../jnlib/w32-reg.c.
 
784
 
 
785
        * i18n.c (i18n_init): New.
 
786
 
 
787
        * simple-gettext.c: Remove.
 
788
 
 
789
        * iobuf.c (iobuf_get_filelength): Rename SIZE to EXSIZE to silent
 
790
        shadowing warning.
 
791
 
 
792
2007-06-04  Werner Koch  <wk@g10code.com>
 
793
 
 
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.
 
798
 
 
799
        * estream.c [w32]: Do not init Mutex.
 
800
 
 
801
        * Makefile.am (common_sources) [USE_SNS_SRV]: Build srv.c only
 
802
        when needed.
 
803
 
 
804
        * ttyio.c (init_ttyfp) [W32]: Do not use TTYFP.
 
805
 
 
806
        * util.h: Include ../jnlib/dynload.h.
 
807
 
 
808
        * dynload.h:  Move to ../jnlib.
 
809
 
 
810
2007-05-30  Werner Koch  <wk@g10code.com>
 
811
 
 
812
        * estream.c (MEM_FREE, MEM_ALLOC, MEM_REALLOC): Prefix with ES_ as
 
813
        windows.h also has such definitions,
 
814
 
 
815
2007-05-15  Werner Koch  <wk@g10code.com>
 
816
 
 
817
        * util.h: Do not include gnulib's vasprintf.  Redefine asprintf
 
818
        and vasprintf.
 
819
 
 
820
        * xasprintf.c (xasprintf, xtryasprintf): Use estream_vasprintf.
 
821
 
 
822
        * estream-printf.h, estream-printf.c: New.  Taken from current
 
823
        libestream SVN.
 
824
        * Makefile.am (common_sources): Add them.
 
825
 
 
826
2007-05-14  Werner Koch  <wk@g10code.com>
 
827
 
 
828
        * sexp-parse.h (smklen): New.
 
829
        * sexputil.c: Include sexp-parse.h.
 
830
        (make_simple_sexp_from_hexstr): Replace sprintf by smklen.
 
831
 
 
832
2007-05-07  Werner Koch  <wk@g10code.com>
 
833
 
 
834
        * signal.c (got_fatal_signal): Protect SIG from being clobbered by
 
835
        a faulty signal implementaion.  Suggested by James Juran.
 
836
 
 
837
2007-04-25  Werner Koch  <wk@g10code.com>
 
838
 
 
839
        * i18n.h (ngettext): New.
 
840
        * simple-gettext.c (ngettext): New.
 
841
 
 
842
2007-04-20  Werner Koch  <wk@g10code.com>
 
843
 
 
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.
 
848
 
 
849
2007-03-19  Werner Koch  <wk@g10code.com>
 
850
 
 
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.
 
856
 
 
857
2007-03-09  David Shaw  <dshaw@jabberwocky.com>
 
858
 
 
859
        From STABLE-BRANCH-1-4
 
860
 
 
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.
 
864
 
 
865
2007-01-31  Werner Koch  <wk@g10code.com>
 
866
 
 
867
        * Makefile.am (t_common_ldadd): Add LIBINCONV and LIBINTL.
 
868
 
 
869
2007-01-25  Werner Koch  <wk@g10code.com>
 
870
 
 
871
        * simple-pwquery.c (simple_pwquery): New arg OPT_CHECK.
 
872
 
 
873
2006-12-13  David Shaw  <dshaw@jabberwocky.com>
 
874
 
 
875
        * Makefile.am (AM_CPPFLAGS): Include intl/ so we can reference the
 
876
        built-in headers.
 
877
 
 
878
2006-11-23  Werner Koch  <wk@g10code.com>
 
879
 
 
880
        * http.c: Include i18n.h
 
881
 
 
882
2006-11-21  Werner Koch  <wk@g10code.com>
 
883
 
 
884
        * estream.c: Remove explicit Pth soft mapping diabling becuase it
 
885
        is now done in config.h.
 
886
 
 
887
2006-11-15  Werner Koch  <wk@g10code.com>
 
888
 
 
889
        * estream.c: Disabled Pth soft mapping.
 
890
        (my_funopen_hook_ret_t): New.
 
891
        (print_fun_writer): Use it here.
 
892
 
 
893
        * iobuf.c (fd_cache_close): Use %d instead of %p for debug output.
 
894
 
 
895
2006-11-03  Werner Koch  <wk@g10code.com>
 
896
 
 
897
        * Makefile.am (t_convert_DEPENDENCIES): Add libcommon.  From
 
898
        Gentoo.
 
899
 
 
900
2006-10-24  Marcus Brinkmann  <marcus@g10code.de>
 
901
 
 
902
        * Makefile.am (libcommon_a_CFLAGS): Add $(LIBASSUAN_CFLAGS).
 
903
        (libsimple_pwquery_a_CFLAGS): New variable.
 
904
 
 
905
2006-10-20  Werner Koch  <wk@g10code.com>
 
906
 
 
907
        * convert.c (hex2bin): New.
 
908
 
 
909
2006-10-17  Werner Koch  <wk@g10code.com>
 
910
 
 
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.
 
914
 
 
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.
 
918
 
 
919
2006-10-08  Werner Koch  <wk@g10code.com>
 
920
 
 
921
        * gpgrlhelp.c: Trun all functions into dummies if readline is not
 
922
        available.
 
923
 
 
924
2006-10-06  Werner Koch  <wk@g10code.com>
 
925
 
 
926
        * Makefile.am (AM_CFLAGS): Use PTH version of libassuan.
 
927
 
 
928
        * util.h (GNUPG_GCC_A_SENTINEL): Defined for gcc >= 4.
 
929
 
 
930
2006-10-04  David Shaw  <dshaw@jabberwocky.com>
 
931
 
 
932
        * gpgrlhelp.c: readline requires stdio.h.
 
933
 
 
934
2006-10-04  Werner Koch  <wk@g10code.com>
 
935
 
 
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.
 
941
 
 
942
2006-10-02  Werner Koch  <wk@g10code.com>
 
943
 
 
944
        * iobuf.c (iobuf_unread): Removed.  This code is not required.
 
945
        Also removed the entire unget buffer stuff.
 
946
 
 
947
2006-09-27  Werner Koch  <wk@g10code.com>
 
948
 
 
949
        * util.h: Do not include strsep.h and strpbrk.h.
 
950
        (isascii): Removed as it is now in jnlib.
 
951
 
 
952
        * iobuf.c (pop_filter, underflow, iobuf_close): Free the unget
 
953
        buffer.
 
954
 
 
955
2006-09-27  Florian Weimer <fweimer@bfk.de>  (wk)
 
956
 
 
957
        * iobuf.c (iobuf_unread): New.
 
958
 
 
959
2006-09-22  Werner Koch  <wk@g10code.com>
 
960
 
 
961
        * i18n.h: Changed license to an all permissive one.
 
962
 
 
963
        * ttyio.c (tty_get): We need to use readline too.  Added two more
 
964
        hooks.
 
965
 
 
966
2006-09-21  Werner Koch  <wk@g10code.com>
 
967
 
 
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.
 
972
 
 
973
        * ttyio.h: Removed readline specific stuff.  Included util.h.
 
974
        * common-defs.h: New.
 
975
 
 
976
2006-09-15  Werner Koch  <wk@g10code.com>
 
977
 
 
978
        * convert.c: New.
 
979
        (hexcolon2bin): New.
 
980
        (bin2hex, bin2hexcolon, do_binhex): New.
 
981
        * t-convert.c: New
 
982
 
 
983
2006-09-14  Werner Koch  <wk@g10code.com>
 
984
 
 
985
        * util.h (out_of_core): Use new gpg_error_from_syserror function.
 
986
 
 
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
 
989
        for 1.0).
 
990
 
 
991
2006-09-07  Werner Koch  <wk@g10code.com>
 
992
 
 
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.
 
997
 
 
998
2006-09-06  Werner Koch  <wk@g10code.com>
 
999
 
 
1000
        * maperror.c: Removed.
 
1001
 
 
1002
        * util.h (out_of_core): New.
 
1003
 
 
1004
2006-09-04  Werner Koch  <wk@g10code.com>
 
1005
 
 
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.
 
1011
 
 
1012
2006-08-21  Werner Koch  <wk@g10code.com>
 
1013
 
 
1014
        * Makefile.am (libcommon_a_SOURCES): Added keyserver.h
 
1015
 
 
1016
        * openpgpdefs.h: New.  Stripped from ..g10/packet.h.
 
1017
 
 
1018
2006-08-16  Werner Koch  <wk@g10code.com>
 
1019
 
 
1020
        * keyserver.h: Moved from ../include to here.
 
1021
 
 
1022
        * http.c: Include srv.h.
 
1023
 
 
1024
        * srv.c, srv.h: New. Taken from GnuPG 1.4
 
1025
 
 
1026
2006-08-14  Werner Koch  <wk@g10code.com>
 
1027
 
 
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.
 
1037
 
 
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
 
1042
        (es_free): New.
 
1043
 
 
1044
2006-08-11  Werner Koch  <wk@g10code.com>
 
1045
 
 
1046
        * http.c: Major internal changes to optionallly support GNUTLS and
 
1047
        ESTREAM.
 
1048
        (http_open): Move initialization of the stream ...
 
1049
        (send_request): .. here.
 
1050
        (http_register_tls_callback): New.
 
1051
 
 
1052
        * estream.c (es_writen): Try to seek only is a seek function has
 
1053
        been registered.
 
1054
 
 
1055
2006-08-09  Werner Koch  <wk@g10code.com>
 
1056
 
 
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
 
1059
        some stuff.
 
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.
 
1062
 
 
1063
2006-05-23  Werner Koch  <wk@g10code.com>
 
1064
 
 
1065
        * gettime.c (isotimestamp): New.
 
1066
 
 
1067
        * ttyio.c (tty_get_ttyname): Posixly correct usage of ctermid.
 
1068
 
 
1069
        * dns-cert.c: New.  Taken from 1.4.3's util/cert.c.
 
1070
        * dns-cert.h: New.
 
1071
 
 
1072
2006-05-22  Werner Koch  <wk@g10code.com>
 
1073
 
 
1074
        * pka.c: New. Taked from 1.4.3.
 
1075
        * pka.h: New.
 
1076
        * Makefile.am: Added pka.
 
1077
 
 
1078
2006-05-19  Werner Koch  <wk@g10code.com>
 
1079
 
 
1080
        * yesno.c (answer_is_yes_no_default, answer_is_yes_no_quit):
 
1081
        Updated from 1.4.3.
 
1082
        (answer_is_okay_cancel): new.  From 1.4.3.
 
1083
 
 
1084
        * miscellaneous.c (match_multistr): New.  Taken from 1.4.3.
 
1085
 
 
1086
        * ttyio.c (tty_enable_completion, tty_disable_completion): New
 
1087
        dummy functions.
 
1088
        * ttyio.h: Add prototypes and stubs.
 
1089
 
 
1090
2006-04-19  Werner Koch  <wk@g10code.com>
 
1091
 
 
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
 
1101
        superfluous.
 
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.
 
1105
 
 
1106
2006-04-18  Werner Koch  <wk@g10code.com>
 
1107
 
 
1108
        * homedir.c (w32_shgetfolderpath): New.  Taken from gpg 1.4.3.
 
1109
        (default_homedir): Use it.
 
1110
 
 
1111
2005-10-08  Marcus Brinkmann  <marcus@g10code.de>
 
1112
 
 
1113
        * signal.c (get_signal_name): Check value of HAVE_DECL_SYS_SIGLIST
 
1114
        instead of just if it is defined.
 
1115
 
 
1116
2005-09-28  Marcus Brinkmann  <marcus@g10code.de>
 
1117
 
 
1118
        * Makefile.am (AM_CFLAGS): Add $(LIBASSUAN_CFLAGS).
 
1119
 
 
1120
2005-07-04  Marcus Brinkmann  <marcus@g10code.de>
 
1121
 
 
1122
        * simple-pwquery.h (simple_pwclear): New prototype.
 
1123
        * simple-pwquery.c (simple_pwclear): New function.
 
1124
 
 
1125
2005-06-15  Werner Koch  <wk@g10code.com>
 
1126
 
 
1127
        * miscellaneous.c (make_printable_string): Made P a void*.
 
1128
 
 
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 *.
 
1142
        (es_writen): Ditto.
 
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*.
 
1149
 
 
1150
2005-06-03  Werner Koch  <wk@g10code.com>
 
1151
 
 
1152
        * estream.c: Use HAVE_CONFIG_H and not USE_CONFIG_H!
 
1153
        (es_func_fd_read, es_func_fd_write): Protect against EINTR.
 
1154
 
 
1155
2005-06-01  Werner Koch  <wk@g10code.com>
 
1156
 
 
1157
        * Makefile.am (AM_CPPFLAGS): Added.
 
1158
 
 
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.
 
1164
 
 
1165
2005-05-31  Werner Koch  <wk@g10code.com>
 
1166
 
 
1167
        * dynload.h: s/__inline__/inline/.
 
1168
 
 
1169
2005-05-13  Werner Koch  <wk@g10code.com>
 
1170
 
 
1171
        * signal.c (got_fatal_signal): Print the signal number if we can't
 
1172
        get a name for it.
 
1173
        (get_signal_name): Return NULL if no name is available. Fixed
 
1174
        conditional for sys_siglist to the correct one.
 
1175
 
 
1176
2005-04-17  Werner Koch  <wk@g10code.com>
 
1177
 
 
1178
        * sexputil.c (cmp_simple_canon_sexp): New.
 
1179
        (make_simple_sexp_from_hexstr): New.
 
1180
 
 
1181
2005-04-07  Werner Koch  <wk@g10code.com>
 
1182
 
 
1183
        * sexputil.c: New.
 
1184
 
 
1185
2005-04-11  Marcus Brinkmann  <marcus@g10code.de>
 
1186
 
 
1187
        * simple-pwquery.c (simple_pwquery): Use spwq_secure_free.
 
1188
 
 
1189
2005-03-03  Werner Koch  <wk@g10code.com>
 
1190
 
 
1191
        * Makefile.am (AM_CFLAGS): Added PTH_CFLAGS.  Noted by Kazu Yamamoto.
 
1192
 
 
1193
2005-02-25  Werner Koch  <wk@g10code.com>
 
1194
 
 
1195
        * xasprintf.c (xtryasprintf): New.
 
1196
 
 
1197
2005-01-26  Moritz Schulte  <moritz@g10code.com>
 
1198
 
 
1199
        * Makefile.am (libcommon_a_SOURCES): New source files: estream.c,
 
1200
        estream.h.
 
1201
        * estream.c, estream.h: New files.
 
1202
 
 
1203
2005-01-03  Werner Koch  <wk@g10code.com>
 
1204
 
 
1205
        * asshelp.c (send_pinentry_environment): Fixed changed from
 
1206
        2004-12-18; cut+paste error for lc-messages.
 
1207
 
 
1208
2004-12-21  Werner Koch  <wk@g10code.com>
 
1209
 
 
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.
 
1216
 
 
1217
2004-12-21  Marcus Brinkmann  <marcus@g10code.de>
 
1218
 
 
1219
        * simple-pwquery.h (simple_query): Add prototype.
 
1220
        * simple-pwquery.c (simple_query): New function.
 
1221
 
 
1222
2004-12-21  Werner Koch  <wk@g10code.com>
 
1223
 
 
1224
        * signal.c (got_fatal_signal, got_usr_signal)
 
1225
        (got_fatal_signal) [DOSISH]: Don't build.
 
1226
        * simple-gettext.c: Include sysutils.h
 
1227
 
 
1228
        * homedir.c: New. Use CSIDL_APPDATA for W32 as the default home
 
1229
        directory.
 
1230
        * Makefile.am (libcommon_a_SOURCES): Add it.
 
1231
        (EXTRA_DIST): Removed mkerror and mkerrtok.
 
1232
 
 
1233
2004-12-20  Werner Koch  <wk@g10code.com>
 
1234
 
 
1235
        * sysutils.h [W32]: Define sleep.
 
1236
        * util.h: Add prototype for mkdtemp.
 
1237
 
 
1238
        * membuf.c (put_membuf): Wipe out buffer after a failed realloc.
 
1239
 
 
1240
2004-12-19  Werner Koch  <wk@g10code.com>
 
1241
 
 
1242
        * maperror.c (map_assuan_err_with_source): Oops, args were swapped.
 
1243
 
 
1244
2004-12-18  Werner Koch  <wk@g10code.com>
 
1245
 
 
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
 
1249
        ERRSOURCE.
 
1250
 
 
1251
2004-12-15  Werner Koch  <wk@g10code.com>
 
1252
 
 
1253
        * sysutils.h [W32]: Prototypes for registry functions.
 
1254
        * w32reg.c: Include sysutils.h
 
1255
 
 
1256
        * simple-pwquery.c [W32]: Dummy code to allow a build.
 
1257
 
 
1258
        * exechelp.c [W32]: Implemented for W32 .
 
1259
 
 
1260
        * ttyname.c: New.
 
1261
 
 
1262
        * asshelp.c (send_one_option): New.
 
1263
        (send_pinentry_environment): Cleaned up and made sure that empty
 
1264
        values are not send.
 
1265
 
 
1266
2004-12-07  Werner Koch  <wk@g10code.com>
 
1267
 
 
1268
        * asshelp.c (send_pinentry_environment) [W32]: Do not use ttyname.
 
1269
 
 
1270
2004-12-06  Werner Koch  <wk@g10code.com>
 
1271
 
 
1272
        * exechelp.h, exechelp.c: New.  Based on code from ../sm/import.c.
 
1273
 
 
1274
2004-12-03  Werner Koch  <wk@g10code.com>
 
1275
 
 
1276
        * strsep.c: Fixed copyright comments.
 
1277
 
 
1278
2004-11-26  Werner Koch  <wk@g10code.com>
 
1279
 
 
1280
        * simple-gettext.c: New taken from gnupg 1.3.x
 
1281
 
 
1282
        * simple-pwquery.c [_WIN32]: Include winsock2.h.
 
1283
        (agent_open): Disable it until we have our AF_UNIX implementation
 
1284
        ready.
 
1285
        * fseeko.c, ftello.c: Include sys/types for the sake of W32.
 
1286
 
 
1287
2004-11-23  Werner Koch  <wk@g10code.com>
 
1288
 
 
1289
        * b64enc.c: Include stdio.h and string.h
 
1290
 
 
1291
2004-08-18  Werner Koch  <wk@g10code.de>
 
1292
 
 
1293
        * simple-pwquery.c (simple_pwquery): Handle gpg-error style return
 
1294
        code for canceled.
 
1295
 
 
1296
2004-07-20  Werner Koch  <wk@g10code.de>
 
1297
 
 
1298
        * maperror.c: Removed header ksba.h.  Not required anymore.
 
1299
 
 
1300
2004-06-14  Werner Koch  <wk@gnupg.org>
 
1301
 
 
1302
        * xreadline.c: New.  Based on the iobuf_read_line function.
 
1303
 
 
1304
2004-05-12  Werner Koch  <wk@gnupg.org>
 
1305
 
 
1306
        * util.h (xtrycalloc_secure,xtrymalloc_secure): New.
 
1307
 
 
1308
2004-05-11  Werner Koch  <wk@gnupg.org>
 
1309
 
 
1310
        * sysutils.c (disable_core_dumps): Only set the current limit.
 
1311
        (enable_core_dumps): New.
 
1312
 
 
1313
2004-04-13  Werner Koch  <wk@gnupg.org>
 
1314
 
 
1315
        * simple-pwquery.c (copy_and_escape): Relaxed quoting.
 
1316
 
 
1317
2004-04-05  Werner Koch  <wk@gnupg.org>
 
1318
 
 
1319
        * errors.h (STATUS_NEWSIG): New.
 
1320
 
 
1321
2004-03-11  Werner Koch  <wk@gnupg.org>
 
1322
 
 
1323
        * dynload.h [__MINGW32__]: Define RTLD_LAZY.
 
1324
 
 
1325
2004-03-09  Werner Koch  <wk@gnupg.org>
 
1326
 
 
1327
        * maperror.c (map_assuan_err): Map the Locale_Problem item.
 
1328
 
 
1329
2004-03-03  Werner Koch  <wk@gnupg.org>
 
1330
 
 
1331
        * asshelp.c, asshelp.h: New.
 
1332
        (send_pinentry_environment): New. Code taken from ../sm/call-agent.c.
 
1333
 
 
1334
2004-02-19  Werner Koch  <wk@gnupg.org>
 
1335
 
 
1336
        * simple-pwquery.c (agent_open): Don't mangle INFOSTR.
 
1337
 
 
1338
2004-02-17  Werner Koch  <wk@gnupg.org>
 
1339
 
 
1340
        * simple-pwquery.c (agent_open): Ignore an empty GPG_AGENT_INFO.
 
1341
 
 
1342
        * errors.h: Added STATUS_IMPORT_OK.
 
1343
 
 
1344
2004-02-10  Werner Koch  <wk@gnupg.org>
 
1345
 
 
1346
        * b64enc.c: New.  Based on code from ../sm/base64.c.
 
1347
 
 
1348
2004-01-30  Marcus Brinkmann  <marcus@g10code.de>
 
1349
 
 
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.
 
1354
 
 
1355
2004-01-27  Werner Koch  <wk@gnupg.org>
 
1356
 
 
1357
        * sexp-parse.h: New; moved from../agent.
 
1358
 
 
1359
        * util.h (xtoi_4): New.
 
1360
 
 
1361
2003-12-23  Werner Koch  <wk@gnupg.org>
 
1362
 
 
1363
        * maperror.c (map_assuan_err): Prepared for a new error code.
 
1364
 
 
1365
2003-12-17  Werner Koch  <wk@gnupg.org>
 
1366
 
 
1367
        * gettime.c (asctimestamp): Add a note on a non-avoidable gcc warning.
 
1368
 
 
1369
        * util.h [!HAVE_VASPRINTF]: Add printf format attribute to the
 
1370
        replacement function.
 
1371
 
 
1372
        * miscellaneous.c (xasprintf): New.
 
1373
 
 
1374
2003-11-14  Werner Koch  <wk@gnupg.org>
 
1375
 
 
1376
        * mkdtemp.c (mkdtemp): Use gcry_create_nonce.
 
1377
 
 
1378
        * cryptmiss.c: Removed.
 
1379
 
 
1380
2003-11-13  Werner Koch  <wk@gnupg.org>
 
1381
 
 
1382
        * util.h (vasprintf): Also fixed the prototype.
 
1383
 
 
1384
        * vasprintf.c (vasprintf): ARGS should not be a pointer.  Fixed
 
1385
        segv on Solaris.  Reported by Andrew J. Schorr.
 
1386
 
 
1387
2003-11-12  Werner Koch  <wk@gnupg.org>
 
1388
 
 
1389
        * maperror.c (map_ksba_err, map_gcry_err, map_kbx_err): Removed.
 
1390
 
 
1391
2003-10-31  Werner Koch  <wk@gnupg.org>
 
1392
 
 
1393
        * util.h (gnupg_isotime_t): New.
 
1394
        (gnupg_copy_time): New.
 
1395
 
 
1396
        * gettime.c (gnupg_get_isotime): New.
 
1397
 
 
1398
2003-09-23  Werner Koch  <wk@gnupg.org>
 
1399
 
 
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.
 
1403
 
 
1404
        * util.h (ascii_isspace): New.
 
1405
 
 
1406
2003-09-18  Werner Koch  <wk@gnupg.org>
 
1407
 
 
1408
        * ttyio.c (tty_fprintf): New.
 
1409
        (tty_print_string, tty_print_utf8_string2)
 
1410
        (tty_print_utf8_string): Made P argument const byte*.
 
1411
 
 
1412
2003-08-20  Marcus Brinkmann  <marcus@g10code.de>
 
1413
 
 
1414
        * maperror.c (map_ksba_err): Map -1.  Use gpg_err_make to set
 
1415
        the error source.
 
1416
 
 
1417
2003-08-14  Timo Schulz  <twoaday@freakmail.de>
 
1418
 
 
1419
        * dynload.h. New. W32 wrapper around the dynload mechanism.
 
1420
 
 
1421
2003-07-15  Werner Koch  <wk@gnupg.org>
 
1422
 
 
1423
        * simple-pwquery.c, simple-pwquery.h:  New; moved from ../agent.
 
1424
        * Makefile.am (libsimple_pwquery_a_LIBADD): New.
 
1425
 
 
1426
2003-06-25  Werner Koch  <wk@gnupg.org>
 
1427
 
 
1428
        * maperror.c (map_to_assuan_status): Directly map 0 to 0.
 
1429
 
 
1430
2003-06-17  Werner Koch  <wk@gnupg.org>
 
1431
 
 
1432
        * gettime.c (scan_isodatestr,add_days_to_timestamp,strtimevalue)
 
1433
        (strtimestamp,asctimestamp): New.  Code taken from gnupg 1.3.2
 
1434
        mischelp.c.
 
1435
 
 
1436
        * yesno.c: New.  Code taken from gnupg 1.3.2 mischelp.c
 
1437
 
 
1438
        * miscellaneous.c: New.
 
1439
 
 
1440
        * util.h: Include utf8conf.h
 
1441
 
 
1442
2003-06-16  Werner Koch  <wk@gnupg.org>
 
1443
 
 
1444
        * gettime.c (make_timestamp): New.
 
1445
 
 
1446
        * ttyio.c: New. Taken from gnupg 1.2.
 
1447
        * ttyio.h: Move from ../include.
 
1448
 
 
1449
2003-06-13  Werner Koch  <wk@gnupg.org>
 
1450
 
 
1451
        * util.h (seterr): Removed macro.
 
1452
        (xmalloc_secure,xcalloc_secure): New.
 
1453
 
 
1454
2003-06-11  Werner Koch  <wk@gnupg.org>
 
1455
 
 
1456
        * iobuf.c (iobuf_writebyte,iobuf_write): Return error code from
 
1457
        iobuf_flush.
 
1458
        (iobuf_writestr): Ditto.
 
1459
 
 
1460
2003-06-10  Werner Koch  <wk@gnupg.org>
 
1461
 
 
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.
 
1465
 
 
1466
2003-06-04  Werner Koch  <wk@gnupg.org>
 
1467
 
 
1468
        * errors.h: Removed all error codes.  We keep the status codes for
 
1469
        now.
 
1470
        * Makefile.am: Do not create errors.c anymore; remove it from the
 
1471
        sources.
 
1472
 
 
1473
        * maperror.c: Don't include error.h.  Change all error codes to
 
1474
        libgpg-error style.
 
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.
 
1478
 
 
1479
        * membuf.c, membuf.h: New.  Code taken from ../sm/call-agent.h.
 
1480
        * Makefile.am: Added above.
 
1481
 
 
1482
2003-04-29  Werner Koch  <wk@gnupg.org>
 
1483
 
 
1484
        * util.h (fopencokokie): Removed prototype and struct.
 
1485
 
 
1486
        * fopencookie.c: Removed.
 
1487
 
 
1488
        * maperror.c: Use system assuan.h
 
1489
 
 
1490
2002-10-31  Neal H. Walfield  <neal@g10code.de>
 
1491
 
 
1492
        * isascii.c: New file.
 
1493
        * putc_unlocked.c: Likewise.
 
1494
 
 
1495
2002-10-28  Neal H. Walfield  <neal@g10code.de>
 
1496
 
 
1497
        * signal.c (caught_fatal_sig): Remove superfluous zero
 
1498
        initializer.
 
1499
        (caught_sigusr1): Likewise.
 
1500
 
 
1501
2002-09-04  Neal H. Walfield  <neal@g10code.de>
 
1502
 
 
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.
 
1506
 
 
1507
2002-08-21  Werner Koch  <wk@gnupg.org>
 
1508
 
 
1509
        * errors.h: Added STATUS_IMPORT_PROBLEM.
 
1510
 
 
1511
2002-08-20  Werner Koch  <wk@gnupg.org>
 
1512
 
 
1513
        * vasprintf.c: Hack to handle NULL for %s.
 
1514
 
 
1515
2002-08-09  Werner Koch  <wk@gnupg.org>
 
1516
 
 
1517
        * signal.c: New. Taken from GnuPG 1.1.91.
 
1518
 
 
1519
2002-07-23  Werner Koch  <wk@gnupg.org>
 
1520
 
 
1521
        * util.h (_IO_cookie_io_functions_t): Fixed typo.  Noted by
 
1522
        Richard Lefebvre.
 
1523
 
 
1524
2002-07-22  Werner Koch  <wk@gnupg.org>
 
1525
 
 
1526
        * fseeko.c, ftello.c: New.
 
1527
 
 
1528
2002-06-28  Werner Koch  <wk@gnupg.org>
 
1529
 
 
1530
        * maperror.c (map_to_assuan_status): Map more errorcodes to Bad
 
1531
        Certificate.
 
1532
 
 
1533
2002-06-26  Werner Koch  <wk@gnupg.org>
 
1534
 
 
1535
        * maperror.c (map_to_assuan_status): Map EOF to No_Data_Available.
 
1536
 
 
1537
2002-06-10  Werner Koch  <wk@gnupg.org>
 
1538
 
 
1539
        * errors.h (gnupg_error_token): Add new prototype.
 
1540
        (STATUS_ERROR): New.
 
1541
 
 
1542
        * mkerrtok: New.
 
1543
        * Makefile.am: Use it to create the new error token function.
 
1544
 
 
1545
2002-06-04  Werner Koch  <wk@gnupg.org>
 
1546
 
 
1547
        * maperror.c (map_to_assuan_status): Map Bad_CA_Certificate.
 
1548
 
 
1549
2002-05-23  Werner Koch  <wk@gnupg.org>
 
1550
 
 
1551
        * no-pth.c, Makefile.am: Removed.
 
1552
 
 
1553
2002-05-22  Werner Koch  <wk@gnupg.org>
 
1554
 
 
1555
        * mkdtemp.c: Replaced byte by unsigned char because it is no longer
 
1556
        defined in gcrypt.h.
 
1557
 
 
1558
2002-05-21  Werner Koch  <wk@gnupg.org>
 
1559
 
 
1560
        * maperror.c (map_gcry_err): Add libgcrypt's new S-expression errors.
 
1561
        (map_ksba_err): Add a few mappings.
 
1562
 
 
1563
2002-05-14  Werner Koch  <wk@gnupg.org>
 
1564
 
 
1565
        * gettime.c: New.
 
1566
 
 
1567
2002-05-03  Werner Koch  <wk@gnupg.org>
 
1568
 
 
1569
        * errors.h: Added STARUS_EXPSIG and STATUS_EXPKEYSIG.
 
1570
 
 
1571
2002-04-15  Werner Koch  <wk@gnupg.org>
 
1572
 
 
1573
        * cryptmiss.c: New.
 
1574
 
 
1575
2002-02-14  Werner Koch  <wk@gnupg.org>
 
1576
 
 
1577
        * maperror.c: Add more assuan<->gnupg mappings.
 
1578
 
 
1579
2002-02-12  Werner Koch  <wk@gnupg.org>
 
1580
 
 
1581
        * fopencookie.c: Dummy function.
 
1582
 
 
1583
        * vasprintf.c: New.  Taken from binutils-2.9.1 and dropped all non
 
1584
        ANSI-C stuff.  Merged with asprintf version.
 
1585
 
 
1586
        * no-pth.c: New.
 
1587
 
 
1588
2002-01-23  Werner Koch  <wk@gnupg.org>
 
1589
 
 
1590
        * mkdtemp.c: Copied from gnupg-1.0.6c and changed to use libgcrypt.
 
1591
 
 
1592
2002-01-19  Werner Koch  <wk@gnupg.org>
 
1593
 
 
1594
        * sysutils.c: New.  This is the misc.c file from gnupg 1.0.6 with
 
1595
        the OpenPGP stuff removed.
 
1596
        * sysutils.h: New.
 
1597
 
 
1598
2002-01-15  Werner Koch  <wk@gnupg.org>
 
1599
 
 
1600
        * maperror.c: Add mapping for Not_Trusted.
 
1601
 
 
1602
2002-01-11  Werner Koch  <wk@gnupg.org>
 
1603
 
 
1604
        * maperror.c (map_assuan_err): Codes for CRL
 
1605
 
 
1606
2002-01-08  Werner Koch  <wk@gnupg.org>
 
1607
 
 
1608
        * util.h (spacep): New.
 
1609
 
 
1610
2002-01-02  Werner Koch  <wk@gnupg.org>
 
1611
 
 
1612
        * maperror.c (map_to_assuan_status): New.  Merged from ../agent
 
1613
        and ../sm.
 
1614
 
 
1615
2001-12-20  Werner Koch  <wk@gnupg.org>
 
1616
 
 
1617
        * maperror.c (map_gcry_err): Add some mappings.
 
1618
 
 
1619
2001-12-18  Werner Koch  <wk@gnupg.org>
 
1620
 
 
1621
        * Makefile.am (AM_CPPFLAGS): Include flags for gcrypt and ksba
 
1622
 
 
1623
2001-12-14  Werner Koch  <wk@gnupg.org>
 
1624
 
 
1625
        * util.h (digitp, hexdigitp): New ctype like macros.
 
1626
        (atoi_1,atoi_2,atoi_4,xtoi_1,xtoi_2): New.
 
1627
 
 
1628
 
 
1629
 Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007,
 
1630
           2008, 2009 Free Software Foundation, Inc.
 
1631
 
 
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.
 
1635
 
 
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.