summaryrefslogtreecommitdiffstats
path: root/common/ChangeLog.jnlib
blob: 6c0db130734dc004ea389b67dc3243a9c67b328b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
2011-12-01  Werner Koch  <wk@g10code.com>

	NB: ChangeLog files are no longer manually maintained.  Starting
	on December 1st, 2011 we put change information only in the GIT
	commit log, and generate a top-level ChangeLog file from logs at
	"make dist".  See doc/HACKING for details.

	[Update 2015-04-24: README.jnlib has been removed and all
	 references to JNLIB, except for this file, have been removed.]

2010-03-10  Werner Koch  <wk@g10code.com>

	See gnupg/common/ChangeLog for newer changes.

	JNLIB has been merged into GnuPG's common directory.  README.jnlib
	list the files making up JNLIB.

	* README: Rename to README.jnlib
	* ChangeLog: Rename to ChangeLog.jnlib.
	* Makefile.am: Remove.

2010-03-01  Werner Koch  <wk@g10code.com>

	* t-w32-reg.c: New.

	* w32-reg.c (read_w32_registry_string)
	(write_w32_registry_string): Support W32CE.

2010-02-26  Werner Koch  <wk@g10code.com>

	* t-timestuff.c: New.

	* dynload.h (dlopen, dlsym) [W32CE]: Map to wchar_t.

	* mischelp.c (_jnlib_free): New.
	(same_file_p) [W32CE]: Map to wchar_t.

	* utf8conv.c (set_native_charset) [W32CE]: Do not use
	GetConsoleOutputCP.
	(wchar_to_utf8, utf8_to_wchar) [W32]: New.

	* Makefile.am (t_jnlib_ldadd) [W32CE]: Add gpg-error.

	* t-support.h (getenv) [HAVE_GETENV]: Add getenv stub.
	[W32CE]: Include gpg-error.h
	* t-support.c (gpg_err_code_from_errno)
	(gpg_err_code_from_syserror) [GPG_ERROR_H]: Do not build.

	* t-stringhelp.c (gethome) [!HAVE_GETPWUID]: Keep result of getenv.

	* dotlock.c [!HAVE_SIGNAL_H]: Don't include signal.h.
	(create_dotlock) [W32CE]: Map filename top wchar_t.

	* libjnlib-config.h [USE_SIMPLE_GETTEXT]: Include gpg-error.h and
	remove w32help.h.
	(jnlib_set_errno): New.  Use it everywhere to set ERRNO.
	(getenv) [!HAVE_GETENV]: New.
	(getpid) [W32E]: New.

	* stringhelp.c (get_pwdir) [!HAVE_PWD_H]: Mark unused args.
	(w32_strerror) [W32CE]: Use a simple implementation.

	* w32help.h [USE_SIMPLE_GETTEXT]: Remove all definitions; we are
	now using the gpg-error included implementation.
	* w32-gettext.c: Remove.

	* mischelp.c (same_file_p): Fix bug in case the second file can't
	be opened.

2009-10-19  Werner Koch  <wk@g10code.com>

	* strlist.c (add_to_strlist_try): New.

2009-09-22  Werner Koch  <wk@g10code.com>

	* dotlock.h (DOTLOCK): Rename to dotlock_t.  Change all users.

2009-08-26  Werner Koch  <wk@g10code.com>

	* stringhelp.c (do_make_filename): Factor some code out to ..
	(get_pwdir): .. new.

2009-08-26  Werner Koch  <wk@g10code.com>

	* stringhelp.c [HAVE_PWD_H]: Include pwd.h.
	(do_make_filename): New.
	(make_filename, make_filename_try): Implement using the new
	function.
	* t-stringhelp.c (test_make_filename_try): New.
	* t-support.c (gcry_strdup): Fix.

	* stringhelp.h (make_filename, make_filename_try): Add sentinel
	attribute.

2009-08-25  Werner Koch  <wk@g10code.com>

	* stringhelp.c: Include errno.h.
	(do_strconcat): New.
	(strconcat, xstrconcat): New.
	* types.h (GNUPG_GCC_A_SENTINEL): New.
	* t-stringhelp.c (test_strconcat, test_xstrconcat): New.
	(main): Run them.

2009-07-07  Werner Koch  <wk@g10code.com>

	* stringhelp.c (make_filename_try): Use jnlib_malloc.

	* dotlock.c (read_lockfile): Replace jnlib_xmalloc by jnlib_malloc.

2009-06-04  Werner Koch  <wk@g10code.com>

	* mischelp.h: Include SUN_LEN etc also for W32.

2009-05-19  Werner Koch  <wk@g10code.com>

	* mischelp.h: Define PF_LOCAL, AF_LOCAL and SUN_LEN if requested.
	* logging.c (fun_writer): Use SUN_LEN to fix a Mac OS X freeze.

2009-03-25  Werner Koch  <wk@g10code.com>

	* logging.c (fun_closer): Never close fd 2.
	(set_file_fd): Close logstream early.

2009-02-25  Werner Koch  <wk@g10code.com>

	* logging.c (get_tid_callback): New.
	(do_logv): Use it.
	(log_set_get_tid_callback): New.

2009-01-22  Werner Koch  <wk@g10code.com>

	* t-support.c (gpg_err_code_from_errno)
	(gpg_err_code_from_syserror): New.

2008-11-20  Werner Koch  <wk@g10code.com>

	* argparse.c (arg_parse): Fix last change.

2008-11-11  Werner Koch  <wk@g10code.com>

	* argparse.h: Add a bunch of macros and constants.
	* argparse.c: Use the new macros.  Re-indent the code.  Change
	license back to LGPL 2.1.

2008-11-04  Werner Koch  <wk@g10code.com>

	* w32-gettext.c: Merged with code from libgpg-error and rewrote
	most parts.

	* Makefile.am (AM_CFLAGS): Add -DJNLIB_IN_JNLIB.

2008-10-29  Werner Koch  <wk@g10code.com>

	* stringhelp.c (make_filename): Implement using macros. Factor some
	code out to ..
	(change_slashes): New.
	(make_filename_try): New.

	* w32-gettext.c (gettext): Return if no domain is loaded.
	Reported by Tom Pegios.

2008-10-28  Werner Koch  <wk@g10code.com>

	* w32-gettext.c (gettext): Try the binary search if the string was
	not found in the hash table.

2008-10-20  Werner Koch  <wk@g10code.com>

	* w32-afunix.c (_w32_sock_connect): Mark ADDRLEN as unused.

	* dotlock.c (release_dotlock): Do not mix declaration and code.

	* stringhelp.c (make_basename): Silent gcc warning about unused arg.
	* argparse.c (store_alias): Ditto.
	(find_long_option):

2008-10-15  Werner Koch  <wk@g10code.com>

	* logging.c (do_logv) [W32]: Flush the log stream.

2008-09-29  Werner Koch  <wk@g10code.com>

	* argparse.c (ARGERR_): Use constants for error values.
	(optfile_parse): Prettify.  Replace xmalloc and xrealloc by malloc
	and realloc.
	* libjnlib-config.h (jnlib_strdup, jnlib_realloc): New.

2008-06-26  Werner Koch  <wk@g10code.com>

	* stringhelp.c (print_sanitized_buffer2): Loose check for control
	characters to better cope with utf-8.  The range 0x80..0x9f is
	nowadays not anymore accidently used for control charaters.

2008-06-13  Werner Koch  <wk@g10code.com>

	* dotlock.c: Reformat code and implement locking for W32.
	(create_dotlock): Use snprintf.

2008-06-11  Werner Koch  <wk@g10code.com>

	* utf8conv.c: Remove useless variable ACTIVE_CHARSET.  Suggested
	by Petr Uzel.

2008-05-26  Werner Koch  <wk@g10code.com>

	* argparse.c (usage): Make sure to print a trailing LF for usage(1).

2008-04-08  Werner Koch  <wk@g10code.com>

	* w32-gettext.c (gettext_select_utf8): New.
	(get_string): Support switching encodings.
	(load_domain): Allocate space for DATA_NATIVE.

2008-03-25  Werner Koch  <wk@g10code.com>

	* w32-gettext.c (_nl_locale_name): New.  Taken from
	../common/localename and GNU gettext's localename.c.
	(set_gettext_file): Rewritten.
	(gettext_localename): New.

2008-03-17  Werner Koch  <wk@g10code.com>

	* logging.c (my_funopen_hook_size_t): New.
	(fun_writer): Use it to cope with fopencookie/funopen differences.
	* dotlock.c (read_lockfile): Initialize PID.  Reported by Stéphane
	Corthésy.

2008-02-22  Werner Koch  <wk@g10code.com>

	* argparse.c (strusage): Set copyright year to 2008.

2007-11-19  Werner Koch  <wk@g10code.com>

	* stringhelp.c (percent_escape): Factor code out to
	(do_percent_escape): .. new.
	(try_percent_escape): New.

2007-10-01  Werner Koch  <wk@g10code.com>

	* w32-afunix.c: Only keep the client related code.
	(read_port_and_nonce): New.  Taken from Assuan.
	(_w32_sock_connect): Rewritten.

2007-08-29  Werner Koch  <wk@g10code.com>

	* argparse.c (initialize): Make strings translatable and remove
	extra LF.

2007-08-24  Werner Koch  <wk@g10code.com>

	* mischelp.c (same_file_p): New.
	(libjnlib_dummy_mischelp_func): Remove as we now always have one
	function.

2007-08-09  Werner Koch  <wk@g10code.com>

	* argparse.c (show_help): Expand the @EMAIL@ macro in the package
	bug reporting address.

2007-08-02  Werner Koch  <wk@g10code.com>

	* t-stringhelp.c (test_compare_filenames): New.

	* stringhelp.c (compare_filenames) [HAVE_DRIVE_LETTERS]: Fixed
	comparison to take slash and backslash in account.
	(make_filename): Avoid mixing / and \.

2007-07-04  Werner Koch  <wk@g10code.com>

	* utf8conv.c (load_libiconv): Remove URL from translatble string.

	Switched JNLIB from LGPLv2.1 to LGPLv3.

2007-07-01  Werner Koch  <wk@g10code.com>

	* argparse.c (strusage): Use id 10 for the license string;
	default to GPL3+.  Change long note to version 3 or later.
	(show_version): Print the license info.

2007-06-19  Werner Koch  <wk@g10code.com>

	* Makefile.am: Add support for regression tests.
	* t-support.h, t-support.c: New.
	* t-stringhelp.c: New.

	* stringhelp.c (percent_escape): Add arg EXTRA to make it a more
	general function.  Changed all callers.

2007-06-18  Werner Koch  <wk@g10code.com>

	* w32-afunix.c (_w32_sock_bind): Changed to properly detect an
	already used socket.

2007-06-18  Marcus Brinkmann  <marcus@g10code.de>

	* stringhelp.h (percent_escape): New prototype.
	* stringhelp.c (percent_escape): New function.

2007-06-11  Werner Koch  <wk@g10code.com>

	* utf8conv.c (jnlib_iconv_open, jnlib_iconv, jnlib_iconv_close): New.

2007-06-06  Werner Koch  <wk@g10code.com>

	* w32help.h: New.
	* w32-gettext.c: New.  Taken from gnupg 1.4, added ngettext,
	changed to use jnlib malloc functions and put under the LGPL.
	* w32-reg.c: New.  Taken from../common/w32reg.c and changed to
	LGPL.  Changed API to use the jnlib malloc functions.
	* Makefile.am (libjnlib_a_SOURCES) [!W32]: Do not build the w32
	specific modules.

	* dotlock.c: Include stringhelp.h for stpcpy prototype.

2007-06-04  Werner Koch  <wk@g10code.com>

	* dynload.h: New.  Taken from ../common and changed to LGPL.

	* utf8conv.c (load_libiconv): New.  Taken from GnuPG 1.4

2007-05-30  Werner Koch  <wk@g10code.com>

	* w32-pth.h, w32-pth.c: Remove.

2007-04-25  Werner Koch  <wk@g10code.com>

	* argparse.c (long_opt_strlen): Fixed for utf-8.

2007-03-07  Werner Koch  <wk@g10code.com>

	* argparse.c (strusage): Set copyright year to 2007.

2007-01-25  Werner Koch  <wk@g10code.com>

	* stringhelp.c (utf8_charcount): New.

2006-11-29  Werner Koch  <wk@g10code.com>

	* utf8conv.c (set_native_charset) [HAVE_W32_SYSTEM]: Fixed typo in
	macro name.

2006-11-15  Werner Koch  <wk@g10code.com>

	* logging.c (my_funopen_hook_ret_t): New.
	(fun_writer): Use it.

2006-10-19  Werner Koch  <wk@g10code.com>

	* stringhelp.c (memrchr) [!HAVE_MEMRCHR]: Provide a replacement.

2006-09-27  Werner Koch  <wk@g10code.com>

	* mischelp.c: New.
	(timegm): Copied from gnupg 1.4, changed from GPL to LGPL.  Fixed
	a memory leak.

	* stringhelp.h (isascii): New.

	* stringhelp.c (strsep): New. Copied from gnupg 1.4.5
	util/strgutil.c.

	* strlist.h (STRLIST): Removed deprecated typedef.

	* types.h: Made cpp commands work with old compilers.  Also shows
	up nicer with Emacs' font locking.

	* w32-afunix.c (_w32_sock_connect): Set ERRNO for an invalid port.

        Changed license from GPL to LGPL.  Note that all code has either
	been written by me, David, employees of g10 Code or taken from
	glibc.

	* libjnlib-config.h, stringhelp.c, stringhelp.h:
	* strlist.c, strlist.h,	utf8conv.c, utf8conv.h:
	* argparse.c, argparse.h, logging.c, logging.h:
	* dotlock.c, dotlock.h, types.h, mischelp.h:
        * xmalloc.c, xmalloc.h, w32-pth.c, w32-pth.h:
	* w32-afunix.c, w32-afunix.h: Tagged them to be long to jnlib
	which is a part of GnuPG but also used by other projetcs.

2006-09-22  Werner Koch  <wk@g10code.com>

	* utf8conv.c: Reworked to match the gnupg 1.4.5 code.  This now
	requires iconv support but this is reasonable for all modern
	systems.

2006-08-29  Werner Koch  <wk@g10code.com>

	* logging.c (do_logv): Emit a missing LF for fatal errors.

2006-06-28  Werner Koch  <wk@g10code.com>

	* dotlock.c (make_dotlock, release_dotlock, read_lockfile)
	(maybe_deadlock, destroy_dotlock, create_dotlock): Re-indented.
	(create_dotlock): Repalces some log_fatal by log_error as it was
	not intended that they should terminate.  Write the nodename to
	the locking file. Code cleanups.
	(read_lockfile): Reworked to read the node name.
	(make_dotlock): Test for identical node name and delete lock stale
	file.
	(release_dotlock): Likewise.

2006-05-23  Werner Koch  <wk@g10code.com>

	* libjnlib-config.h (JNLIB_NEED_UTF8CONV): Fixed typo in name.

	* dotlock.c (release_dotlock): Don't act if we don't have any
	locks at all.
	(destroy_dotlock): New.  From 1.4.3.
	(dotlock_remove_lockfiles): Make use of destroy function.

2006-05-19  Werner Koch  <wk@g10code.com>

	* strlist.c (append_to_strlist2): Enabled.

	* stringhelp.c (print_sanitized_buffer2): New.  Changed the rules
	to match the behaviour of print_string2 from gnupg 1.4.3.
	(print_sanitized_buffer): Use the new function.
	(print_sanitized_string2): New.
	(hextobyte): New.  Taken from gpg 1.4.3.

2006-04-28  Werner Koch  <wk@g10code.com>

	* stringhelp.c (print_sanitized_buffer): Fix bug where the count
	got wrong for the \xNN representation.
	(sanitize_buffer): Fix bug where some control characters lose part
	of their \xNN representation.

2006-04-20  Werner Koch  <wk@g10code.com>

	* stringhelp.c (make_basename): New arg INPUTPATH for future
	riscos compatibility.

2006-04-18  Werner Koch  <wk@g10code.com>

	* libjnlib-config.h (JNLIB_NEED_UTF8CONF): Defined.
	* strlist.c (add_to_strlist2) [JNLIB_NEED_UTF8CONV]: Enabled.

2005-06-15  Werner Koch  <wk@g10code.com>

	* stringhelp.c (sanitize_buffer): Make P a void*.
	(ascii_memistr, memistr): Ditto.
	(ascii_memcasecmp): Ditto.
	* logging.c (writen): Use void * for arg BUFFER.
	* stringhelp.c (memistr): Fixed unsigned/signed pointer conflict.
	(ascii_memistr): Ditto.
	(ascii_memcasemem): Ditto.
	* utf8conv.c (utf8_to_native): Ditto.
	(utf8_to_native): Ditto.
	* argparse.c (show_version): Removed non-required cast.

2005-01-19  Werner Koch  <wk@g10code.com>

	* logging.c (fun_writer): Don't fallback to stderr. Print to
	stderr only if connected to a tty.

2004-12-20  Werner Koch  <wk@g10code.com>

	* w32-pth.c (do_pth_event_free): The events are hold in a ring
	buffer.  Adjust for that.
	(do_pth_event_body): Ditto.
	(pth_event_isolate): Ditto.
	(do_pth_wait): Ditto.
	(_pth_event_count): Renamed to ..
	(event_count): .. and adjusted as above.
	(pth_init): Define 3 debug levels and change all debug calls to
	make use of them.  This makes the moule now silent.

2004-12-19  Werner Koch  <wk@g10code.com>

	* w32-pth.c (pth_init): Enable debugging depending on env var.
	(pth_self): New.
	(pth_mutex_release, pth_mutex_acquire): Implemented directly using
	the W32 API.

2004-12-18  Werner Koch  <wk@g10code.com>

	* w32-pth.c (pth_init): Reverse return values.  Use TRUE and FALSE
	constants.
	(pth_kill, pth_mutex_acquire, pth_attr_set, pth_join, pth_cancel):
	Ditto.

2004-12-15  Werner Koch  <wk@g10code.com>

	* logging.c [W32]: Don't include unavailable headers.

2004-12-14  Werner Koch  <wk@g10code.com>

	* w32-pth.c (_pth_strerror): Renamed to ...
	(w32_strerror): .. this. And let callers provide a buffer.
	(spawn_helper_thread): Removed HD arg and hardwire the stack size
	to 32k.
	(do_pth_wait): Removed use of ATTR; not needed for the helper
	threads.
	(helper_thread): Renamed to ..
	(launch_thread): .. this.  Release handle if not joinable.
	(struct pth_priv_hd_s): Renamed to ...
	(struct thread_info_s): .. this.  Add member JOINABLE and TH.

2004-12-14  Timo Schulz  <twoaday@g10code.com>

	* w32-pth.c (pth_kill): Just release the crit section if
	pth_init was really called. And set all handles to NULL.
	(_pth_strerror): New.
	(do_pth_wait): Before we enter the loop we check if there
	are too much events in the ring.

2004-12-14  Werner Koch  <wk@g10code.com>

	* w32-pth.h (pth_event_occured): Removed macro.
	* w32-pth.c: Fixed license statement; its under the LGPL.
	(enter_pth, leave_pth): Use them to bracket almost all public
	functions.

2004-12-13  Timo Schulz  <twoaday@g10code.com>

	* w32-pth.c (enter_pth, leave_pth): New.
	(pth_init): Initialize global mutex section.
	(pth_kill): Release global mutex section.
	(helper_thread): New.
	(pth_spawn): Make sure only one thread is running.

2004-12-13  Werner Koch  <wk@g10code.com>

	* stringhelp.c (w32_strerror) [W32]: New.

	* w32-pth.c, w32-pth.h: Added real code written by Timo	Schulz.
	Not finished, though.

2004-12-07  Werner Koch  <wk@g10code.com>

	* w32-pth.c, w32-pth.h: New.

2004-11-26  Werner Koch  <wk@g10code.com>

	* logging.c [_WIN32]: Don't include socket headers.

2004-11-30  Timo Schulz  <ts@g10code.com>

	* w32-afunix.c: New. AF_UNIX emulation for W32.
	* w32-afunix.h: Likewise.

2004-11-22  Werner Koch  <wk@g10code.com>

	* logging.c (log_test_fd): Add test on LOGSTREAM.  Reported by
	Barry Schwartz.

2004-11-18  Werner Koch  <wk@g10code.com>

	* logging.c: Explicitly include sys/stat.h for the S_I* constants.

2004-10-21  Werner Koch  <wk@g10code.com>

	* logging.c (do_logv): Use set_log_stream to setup a default.
	(log_set_file): Factored code out to ..
	(set_file_fd): .. New function to allow using a file descriptor.
	(log_set_fd): Make use of new fucntion.
	(fun_writer): Reworked.

2004-08-18  Werner Koch  <wk@g10code.de>

	* stringhelp.c (print_sanitized_utf8_string): Actually implement
	it.

2004-06-21  Werner Koch  <wk@g10code.com>

	* logging.c (log_set_file): Do not close an old logstream if it
	used to be stderr or stdout.

2004-05-05  Werner Koch  <wk@gnupg.org>

	* logging.c (log_set_file): Oops, don't close if LOGSTREAM is NULL.

2004-04-30  Werner Koch  <wk@gnupg.org>

	* logging.c (log_set_file): Make sure the log stream will be
	closed even if the stderr fileno will be assigned to a new socket.

2004-04-16  Werner Koch  <wk@gnupg.org>

	* logging.h (JNLIB_LOG_WITH_PREFIX): Add constants for the flag
	values.
	* logging.c (log_set_prefix): New flag DETACHED.
	(fun_writer): Take care of this flag.
	(log_test_fd): New.

2004-02-18  Werner Koch  <wk@gnupg.org>

	* stringhelp.c (print_sanitized_buffer): Don't care about
	non-ASCII characaters.
	(sanitize_buffer): Ditto.

2004-02-12  Werner Koch  <wk@gnupg.org>

	* Makefile.am: Replaced INCLUDES by AM_CPPFLAGS.

2004-01-05  Werner Koch  <wk@gnupg.org>

	* argparse.c (strusage): Changed default copyright year to 2004.

2003-12-17  Werner Koch  <wk@gnupg.org>

	* argparse.c (initialize): Replaced use of non-literal format
	args.  Suggested by Florian Weimer.

2003-12-16  Werner Koch  <wk@gnupg.org>

	* logging.c (writen, fun_writer, fun_closer): New.
	(log_set_file): Add feature to log to a socket.
	(log_set_file, do_logv): Force printing with prefix and pid.

2003-11-13  Werner Koch  <wk@gnupg.org>

	* strlist.c (strlist_copy): New.

	* dotlock.c: Define DIRSEP_C et al. if not defined.

2003-11-06  Werner Koch  <wk@gnupg.org>

	* strlist.h (strlist_t): New. STRLIST is now deprecated.

2003-06-18  Werner Koch  <wk@gnupg.org>

	* strlist.c (strlist_pop): New.

	* dotlock.c (dotlock_remove_lockfiles): Prefixed with dotlock_ and
	made global.

2003-06-17  Werner Koch  <wk@gnupg.org>

	* stringhelp.c (length_sans_trailing_chars)
	(length_sans_trailing_ws): New.

	* logging.c (log_inc_errorcount): New.

	* stringhelp.c (print_sanitized_utf8_buffer): Implement utf8
	conversion.
	(sanitize_buffer): New. Based on gnupg 1.3.2 make_printable_string.

	* dotlock.c: Updated to match the version from 1.3.2
	* utf8conv.c: New.  Code taken from strgutil.c of gnupg 1.3.2.
	* utf8conv.h: New.

2003-06-16  Werner Koch  <wk@gnupg.org>

	* logging.c (do_logv): Hack to optionally suppress a leading space.

	* stringhelp.c (ascii_strncasecmp): New.  Taken from gnupg 1.3.
	(ascii_memistr): New. Taken from gnupg 1.3

2003-06-13  Werner Koch  <wk@gnupg.org>

	* mischelp.h (wipememory2,wipememory): New. Taken from GnuPG 1.3.2.

2002-06-04  Werner Koch  <wk@gnupg.org>

	* stringhelp.c (print_sanitized_utf8_string): New.  No real
	implementation for now.
	(print_sanitized_utf8_buffer): Ditto.

2002-04-04  Werner Koch  <wk@gnupg.org>

	* logging.c (log_get_prefix): New.

2002-03-15  Werner Koch  <wk@gnupg.org>

	* argparse.c (optfile_parse): Fixed missing argument handling.

2002-02-25  Werner Koch  <wk@gnupg.org>

	* stringhelp.c (ascii_memcasemem): New.

2002-02-14  Werner Koch  <wk@gnupg.org>

	* Makefile.am (INCLUDES): Add cflags for libgcrypt.

2002-02-07  Werner Koch  <wk@gnupg.org>

	* logging.c (log_set_fd): New.

	* stringhelp.c (print_sanitized_buffer): New.
	(print_sanitized_string): New.

2002-01-24  Werner Koch  <wk@gnupg.org>

	* argparse.c (strusage): Set default copyright notice year to 2002.

	Fixed the copyright notice of this file, as it has always been
	part of GnuPG and therefore belongs to the FSF.

2001-11-01  Marcus Brinkmann  <marcus@g10code.de>

	* logging.c (log_printf): Do not initialize ARG_PTR with 0, we
	don't know the correct type.  Instead, run va_start and va_end
	unconditionally.
	Reported by Jose Carlos Garcia Sogo <jsogo@debian.org>.

2002-01-19  Werner Koch  <wk@gnupg.org>

	* logging.c (log_get_stream): New.

2001-12-05  Werner Koch  <wk@gnupg.org>

	* logging.c (log_set_prefix): New.
	(do_logv): Include prefix and pid only if enabled. Print time only
	when explicitly enabled.
	(log_logv): New.
	* logging.h: Include log_logv() only when requested.

2001-11-06  Werner Koch  <wk@gnupg.org>

	* strlist.c, strlist.h: New. Taken from pgnupg/util/strgutil.c

2001-08-30  Werner Koch  <wk@gnupg.org>

	* logging.c (log_printf): Don't pass NULL instead of arg_ptr.

2001-07-19  Werner Koch  <wk@gnupg.org>

	* stringhelp.c (ascii_memistr,ascii_isupper,ascii_islower,
	ascii_toupper,ascii_tolower, ascii_strcasecmp, ascii_memcasecmp): New.

2000-07-26 10:02:51  Werner Koch  (wk@habibti.openit.de)

	* stringhelp.c.: Add stdarg.h
	* argparse.h: s/ulong/unsigned long/ although this should be defined
        by types.h.

2000-06-28 19:40:23  Werner Koch  (wk@habibti.openit.de)

	* Makefile.am: Replaced second logging.c by .h

2000-05-24 08:58:15  Werner Koch  (wk@habibti.openit.de)

	* logging.c (log_get_errorcount): New.

2000-05-24 08:44:47  Werner Koch  (wk@habibti.openit.de)

	* stringhelp.c: Added a few filename related helper functions.

2000-05-11 18:04:43  Werner Koch  (wk@habibti.openit.de)

	* xmalloc.c (xstrcat2): Replaced stpcpy to quickly address W32
	problems.

2000-05-02 19:43:38  Werner Koch  (wk@habibti.openit.de)

	* xmalloc.c (xstrcat2): New.

Mon Jan 24 13:04:28 CET 2000  Werner Koch  <wk@gnupg.de>

	* README: New.
	* Makefile.am: new.
	* argparse.c, argparse.h, logging.c, logging.h:
	* mischelp.h, stringhelp.c, stringhelp.h, xmalloc.c:
	* xmalloc.h, dotlock.c: Moved from ../util to here.
	* dotlock.h: New.
	* libjnlib-config.h: New.

	* logging.c (log_set_file): New.
	(log_printf): New.
	(do_logv): Add kludge to insert LFs.


     ***********************************************************
     * Please note that JNLIB is maintained as part of GnuPG.  *
     * You may find it source-copied in other packages.        *
     ***********************************************************

 Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
	   2010 Free Software Foundation, Inc.

 This file is free software; as a special exception the author gives
 unlimited permission to copy and/or distribute it, with or without
 modifications, as long as this notice is preserved.

 This file is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Local Variables:
buffer-read-only: t
End: