-
Notifications
You must be signed in to change notification settings - Fork 13
/
ChangeLog-old
2175 lines (1525 loc) · 70.3 KB
/
ChangeLog-old
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
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2012-08-08 Werner Koch <[email protected]>
NB: ChangeLog files are no longer manually maintained. Starting
on August 8, 2012 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.
2011-08-10 Werner Koch <[email protected]>
* configure.ac: Change bug report address to the BTS. Fix
autoconf warnings.
2011-06-28 Werner Koch <[email protected]>
* gtk+-2/gtksecentry.c (PROP_EDITING_CANCELED): New.
(gtk_secure_entry_class_init, gtk_secure_entry_set_property)
(gtk_secure_entry_get_property): Implement as dummy it to get rid
of a runtime warning.
2010-12-16 Werner Koch <[email protected]>
Release 0.8.1.
* doc/pinentry.texi: Remove the custom font setting for underscores.
Update to automake 1.10.
* missing, config.guess, config.sub: Update from GnuPG.
* w32/main.c (debugfp): Define to stderr.
(raise_sip) [!W32CE]: Make it a dummy function.
* qt4/pinentrydialog.cpp (raiseWindow): Use SetForegroundWindow
API directly.
(SetForegroundWindowEx): Comment out.
2010-10-19 Werner Koch <[email protected]>
* pinentry/pinentry.c (pinentry_have_display): Also detect
--display=DISPID.
2010-10-12 Werner Koch <[email protected]>
* qt/main.cpp (escape_accel): New. Adapt from from qt4/.
(qt_cmd_handler): Implement default-ok and default-cancel. Escape
accelerators.
2010-09-30 Werner Koch <[email protected]>
* pinentry/pinentry.h (struct pinentry): Add CLOSE_BUTTON.
* pinentry/pinentry.c (cmd_getpin, cmd_confirm, cmd_message): Send
BUTTON_INFO.
* gtk+-2/pinentry-gtk-2.c (delete_event): Set close_button.
2010-09-22 Werner Koch <[email protected]>
* gtk+-2/pinentry-gtk-2.c (create_window): Make use of
default_cancel and default_ok.
2010-08-19 Werner Koch <[email protected]>
* gtk+-2/Makefile.am (pinentry_gtk_2_SOURCES): Add gseal-gtk-compat.h.
* configure.ac (AH_TOP, AH_BOTTOM): New. Define
GPG_ERR_ENABLE_ERRNO_MACROS.
2010-06-08 Marc Mutz <[email protected]> (wk)
* qt4/pinentrydialog.cpp (PinEntryDialog): Add WindowStaysOnTopHint.
* qt/pinentrydialog.cpp (PinEntryDialog): Add WStyle_StaysOnTop.
2010-05-12 Guido Günther <[email protected]> (wk)
* gtk+-2/gtksecentry.c: Make -DSEAL safe.
* gtk+-2/gseal-gtk-compat.h: New.
* gtk+-2/gtksecentry.h: Include new header.
2010-05-07 Werner Koch <[email protected]>
* gtk+-2/pinentry-gtk-2.c (create_window): Keep the window above
and make sure it has the focus. Fixes bug#1162.
2010-05-03 Werner Koch <[email protected]>
* gtk+-2/pinentry-gtk-2.c (create_window): Use
visibility-notify-event instead of map-event. Suggested by Ed
Marten.
2010-04-26 Werner Koch <[email protected]>
* gtk+-2/pinentry-gtk-2.c (grab_failed): New.
(grab_keyboard): s/g_error/g_critical/. Set GRAB_FAILED.
(gtk_cmd_handler): Return Cancel if a grab failed.
2010-04-20 Marcus Brinkmann <[email protected]>
* pinentry/pinentry.c: Move include config.h to top!
2010-04-19 Werner Koch <[email protected]>
* gtk+-2/gtksecentry.c (gtk_secure_entry_delete_cb)
(gtk_secure_entry_toggle_overwrite, activate_cb)
(unichar_chosen_func): Comment out these unused functions.
(secentry_malloc): Fix format string error.
2010-04-19 Stanislav Ochotnicky <[email protected]> (wk)
* gtk+-2/pinentry-gtk-2.c (ungrab_keyboard): Fix segv when using
option -g.
2010-04-16 Marcus Brinkmann <[email protected]>
* secmem/util.c: Fix inverted test.
2010-04-12 Werner Koch <[email protected]>
* w32/main.c (dlg_proc): Act on VK_RETURN.
* w32/pinentry-w32.rc: Include config.h. Add basic support for
small screens as used with WindowsCE.
* w32/Makefile.am (pinentry-w32.o): Add -I.. to the command.
2010-04-08 Werner Koch <[email protected]>
* pinentry/pinentry.c [W32CE]: Do not include errno.h and
locale.h.
(pinentry_have_display) [W32CE]: Do not use getenv.
(pinentry_parse_opts) [W32CE]: No error diagnostics due to missing
errno.
(sleep) [W32CE]: New.
(option_handler) [W32CE]: Ignore option --debug-wait.
(getpid) [W32CE]: New.
(pinentry_loop): Use STDIN_FILENO and STDOUT_FILENO.
(pinentry_loop): Factor code out to ...
(pinentry_loop2): New.
* w32/main.c (w32_strerror) [W32CE]: Do not use FormatMessage.
(main) [W32CE]: Do not use LockSetForegroundWindow.
(set_dlg_item_text): Use wchar_t for static string.
* secmem/util.c [W32CE]: Do not include errno.h.
(xwrite) [W32CE]: Shortcut EINTR loop.
2010-04-07 Werner Koch <[email protected]>
* autogen.sh: Modernized.
2010-03-03 Werner Koch <[email protected]>
Release 0.8.0.
2010-03-02 Werner Koch <[email protected]>
* qt4/main.cpp (from_utf8): Add extra braces for clarity.
(main): Copy the fixed --display string.
2010-02-25 Marc Mutz <[email protected]> (wk)
* qt4/main.cpp (from_utf8): don't throw InvalidUtf8(); for now,
fall back to QString::fromLocal8Bit()
2010-02-22 Marc Mutz <[email protected]> (wk)
* qt4/main.cpp (InvalidUtf8): New exception class.
(from_utf8): wrapper around QString::fromUtf8 throwing
InvalidUtf8.
(qt_cmd_handler): Use from_utf8 instead of QString::fromUtf8.
(qt_cmd_handler_ex): New wrapper around qt_cmd_handler.
(pinentry_cmd_handler): Use qt_cmd_handler_ex.
* qt4/main.cpp (qt_cmd_handler): Also handle accels in
SET{OK,NOTOK,CANCEL} string.
2010-02-19 Marc Mutz <[email protected]> (wk)
* qt4/main.cpp (qt_cmd_handler), qt4/pinentrydialog.cpp
(PinentryDialog::PinEntryDialog): Use the button icons that come
with Qt.
* qt4/pinentry_qrc, qt4/qrc_pinentry.cpp: New.
* qt4/gtk-cancel.png, qt4/gtk-ok.png: Removed.
* qt4/Makefile.am (EXTRA_DIST): Remove the GTK icons, add
pinentry.qrc.
(pinentry_qt4_SOURCES): add qrc_pinentry.cpp.
* qt4/main.cpp (qt_cmd_handler): Remove i18n support again.
* qt4/pinentrydialog.cpp (PinentryDialog::PinentryDialog):
set PIN entry field as buddy of its prompt
* qt4/main.cpp (escape_accel): New.
(qt_cmd_handler): use it on default_cancel, default_ok, prompt.
* qt4/pinentrydialog.h, qt4/pinentrydialog.cpp
(PinEntryDialog::PinEntryDialog): don't use a nested vbox layout.
* qt4/pinentrydialog.h: replace include file with forward decl.
* qt4/pinentrydialog.cpp: add include file here.
* qt4/pinentrydialog.h, qt4/pinentrydialog.cpp
(PinentryDialog::keyPressEvent()): Removed.
* qt/4pinentrydialog.cpp (PinEntryDialog::PinEntryDialog): use
QLayout::SetFixedSize instead of rolling our own solution.
* qt4/pinentrydialog.h: (PinentryDialog::setFixedSize): Removed.
* qt4/pinentrydialog.moc: Re-created.
* qt4/main.cpp: (qt_cmd_handler) make Cancel the default button
for CONFIRM
* qt4/main.cpp: (qt_cmd_handler) implement the confirm/message
logic correctly
* qt4/pinentrydialog.h (accepted, rejected): Removed; already
provided by base class.
* qt4/pinentrydialog.cpp (PinEntryDialog::PinEntryDialog): Use
QDialog::{accepted,rejected}.
* qt4/pinentrydialog.moc: Re-created.
* qt4/pinentrydialog.moc, qt4/qsecurelineedit.moc: Make compatible
with newer Qt version.
2010-02-19 Werner Koch <[email protected]>
* gtk+-2/pinentry-gtk-2.c (create_window): Allow mnemonics in
button labels.
* pinentry/pinentry.h (struct pinentry): Add default_prompt.
* pinentry/pinentry.c (option_handler): Support "default-prompt".
(cmd_getpin): Use it.
(noprefix_strdup): Remove; should be done by caller.
2010-02-17 Werner Koch <[email protected]>
* pinentry/pinentry.h (struct pinentry): Add default_ok and
default_cancel.
* pinentry/pinentry.c (noprefix_strdup): New.
(option_handler): Support "default-ok" and "default-cancel".
(strcpy_escaped): Change second arg from unsigend char to char.
2010-02-16 Werner Koch <[email protected]>
* qt4/document-encrypt.png, qt4/gtk-cancel.png, qt4/gtk-ok.png: New.
* qt4/Makefile.am (EXTRA_DIST): Add them.
2010-02-15 Christoph Schleifenbaum <[email protected]> (wk)
Also attributed to Marc Mutz <[email protected]>.
* qt4/main.cpp, qt/pinentrydialog.cpp: If the style says so,
set (GTK) icons on OK and Cancel buttons.
2010-02-15 Christoph Schleifenbaum <[email protected]> (wk)
* qt4/main.cpp: Use an explicit QMessageBox instead of the
'information' convenience method. We do this for two reasons:
1. So we can set our own icon (icon()). 2. So we can call our
raiseWindow() function on it.
2010-02-15 Christoph Schleifenbaum <[email protected]>
* qt4/main.cpp: Use title. Use Qt translation of "OK" and "Cancel"
* qt4/pinentrydialog.cpp: Don't show the question-mark icon in the
window title.
2010-02-15 Christoph Schleifenbaum <[email protected]> (wk)
* qt4/pinentrydialog.h, qt4/pinentrydialog.cpp: Use the
document-encrypt icon instead of the
QMessageBox::{Information,Critical} ones.
2010-02-15 Christoph Schleifenbaum <[email protected]> (wk)
Also attributed to Marc Mutz <[email protected]>.
* qt4/pinentrydialog.cpp: Properly show/hide optional widgets.
2010-02-15 Christoph Schleifenbaum <[email protected]>
* qt4/pinentrydialog.cpp: Set text color or error label to red.
2010-02-15 Christoph Schleifenbaum <[email protected]> (wk)
Also attributed to Marc Mutz <[email protected]>.
* qt4/pinentrydialog.cpp: Gather scattered layouting code, use a
single gridlayout for all, and use QDialogButtonBox.
2010-02-15 Christoph Schleifenbaum <[email protected]> (wk)
* qt4/pinentrydialog.cpp: Call SetForegroundWindow on showEvent()
and set a fixed size on the dialog.
* qt4/main.cpp: Set document-encrypt as the window icon.
2010-02-15 Marc Mutz <[email protected]> (wk)
* qt4/main.cpp: Load the correct Qt translation file based on
either lc_messages or the current locale.
* qt4/main.cpp: Use pinentry_t->parent_wid also for message-box
case.
* qt4/main.cpp: Properly delete the QApplication.
2010-02-15 Christoph Schleifenbaum <[email protected]> (wk)
* qt4/main.cpp: Remove guard clause with impossible condition.
* qt4/main.cpp: Respect pinentry_t->title.
* qt4/main.cpp: Include config.h.
2009-12-16 Marcus Brinkmann <[email protected]>
* gtk+-2/gtksecentry.c: Don't translate properties.
Patch by Guido Guenther <[email protected]>.
2009-12-02 Werner Koch <[email protected]>
* secmem/util.c: Re-indent function names.
(TEMP_FAILURE_RETRY): Remove because it is non-portable.
(xwrite): Open code the EINTR retry.
* pinentry/pinentry-curses.c (dialog_run): Replace '\e' by a
standard escape. Reported by Wyllys Ingersoll.
2009-08-10 Marcus Brinkmann <[email protected]>
* pinentry/pinentry.c [!ENABLE_ENHANCED]: Remove option enhanced.
* pinentry/pinentry.h (struct pinentry) [!ENABLE_ENHANCED]: Remove
member enhanced.
* gtk+-2/pinentry-gtk-2.c: New macro.
(button_clicked, create_window) [!ENABLE_ENHANCED]: Disable code.
* gtk/pinentry-gtk.c (button_clicked, create_window): Likewise.
* doc/pinentry.texi (Using pinentry): Comment out enhanced option.
2009-07-10 Till Adam <[email protected]>
* qt4/pinentrydialog.cpp (PinEntryDialog): Redesign the dialog to
be prettier.
2009-06-19 Marcus Brinkmann <[email protected]>
* configure.ac: Post-release changes.
Release version 0.7.6.
* configure.ac: Bump version.
2009-01-29 Bernhard Reiter <[email protected]>
* doc/pinentry.texi (Using pinentry): Fix typo.
2009-04-24 Guido Guenther <[email protected]>
* gtk+-2/gtksecentry.c (gtk_secure_entry_class_init): Don't
install "gtk-entry-select-on-focus" settings property since it
clashes with the one from GtkEntry.
(gtk_secure_entry_grab_focus): Create a temporary GtkEntry widget
to read that value instead. Allows to have GtkEntry and
GtkSecureEntry in the same process.
2009-06-19 Marcus Brinkmann <[email protected]>
Suggested by Simon McVittie:
* gtk+-2/gtksecentry.c (g_malloc, g_realloc, g_free): Renamed to
secentry_malloc, secentry_realloc.
(g_malloc0): Removed.
(GMALLOC_SIZE): Move to ...
* gtk+-2/gtksecentry.h (GMALLOC_SIZE): ... here.
(secentry_malloc, secentry_realloc, secentry_free): New prototypes.
* gtk+-2/pinentry-gtk-2.c (main): Set memory allocation vtable.
2009-05-04 Till Adam <[email protected]>
* qt4/main.cpp (qt_cmd_handler): Use WId instead of HWND.
2009-04-14 Marcus Brinkmann <[email protected]>
* pinentry/pinentry.h (struct pinentry): New member NOTOK.
Rename member USER_CLOSED to CANCELED.
* pinentry/pinentry.c: Add initializer for NOTOK.
(register_commands): Add SETNOTOK.
* pinentry/pinentry-curses.c (STRING_NOTOK): New macro.
(dialog_pos_t): New value DIALOG_POS_NOTOK.
(struct dialog): New members notok, notok_x, notok_y.
(dialog_create): Implement NOTOK.
(dialog_switch_pos): Likewise.
(dialog_run): Likewise.
* gtk+-2/pinentry-gtk-2.c: Rename confirm_yes to confirm_value.
(confirm_value_t): New type. Use it for confirm_value.
(window_closed): Remove.
(confirm_button_clicked): Set confirm_value.
(create_window): Implement NOTOK.
(gtk_cmd_handler): Implement cancel behaviour a bit differently.
2009-04-09 Marcus Brinkmann <[email protected]>
* qt4/qsecurelineedit.h (QSecureLineEdit): Don't export.
2009-04-06 Marcus Brinkmann <[email protected]>
* configure.ac: Portability fixes.
2009-04-03 Marcus Brinkmann <[email protected]>
* qt4/Makefile.am (pinentry_qt4_SOURCES): Add qsecurelineedit_p.h.
* secmem/Makefile.am (libsecmem_a_SOURCES): Add secmem++.h.
* qt4/Makefile.am (pinentry_qt4_SOURCES): Add pinentrydialog.moc
and qsecurelineedit.
* configure.ac: Incorporate revision number in version string.
2009-04-02 Till Adam <[email protected]>
* qt4/qsecurelineedit.moc, qt4/main.cpp, qt4/pinentrydialog.moc,
qt4/qsecurelineedit.cpp, qt4/pinentrydialog.cpp,
qt4/pinentrydialog.h: Implement quality bar and grabbing.
* qt4/pinentrydialog.cpp (PinEntryDialog): Enable word wrapping.
2009-04-03 Marcus Brinkmann <[email protected]>
* qt4/main.cpp (qt_cmd_handler): Cast window handle ID.
2009-03-19 Werner Koch <[email protected]>
* pinentry/pinentry.h (struct pinentry): Add field user_closed.
* pinentry/pinentry.c (cmd_getpin, cmd_confirm, cmd_message):
Reset this field.
(cmd_confirm): Return cancel if the user closed the window.
* gtk+-2/pinentry-gtk-2.c (window_closed): New.
(gtk_cmd_handler, delete_event): Set it.
2009-02-19 Marcus Brinkmann <[email protected]>
* secmem/secmem++.h: New file.
* qt4/Makefile.am, qt4/main.cpp, qt4/pinentrydialog.cpp,
qt4/pinentrydialog.h: Changes to use secure memory.
* qt4/pinentrydialog.moc, qt4/qsecurelineedit.moc: New files.
* qt4/qsecurelineedit.cpp, qt4/qsecurelineedit.h,
qt4/qsecurelineedit_p.h, qt4/secstring.h, qt4/secstring.cpp: New
files.
Submitted by Marc Mutz <[email protected]>.
2008-12-08 Werner Koch <[email protected]>
* qt/main.cpp (qt_cmd_handler) <!want_pass>: Translate from utf8.
* qt4/main.cpp (qt_cmd_handler) <!want_pass>: Translate from utf8.
2008-11-12 Ludovic Rousseau <[email protected]> (wk)
* pinentry/pinentry.h (struct pinentry): Add field TITLE.
* pinentry/pinentry.c (cmd_settitle): New.
(register_commands): Add command SETTITLE.
* gtk+-2/pinentry-gtk-2.c (create_window): Set the title.
2008-10-17 Werner Koch <[email protected]>
* secmem/memory.h: Add C++ extern declaration.
* secmem/secmem.c (secmem_get_max_size): New.
2008-07-25 Marcus Brinkmann <[email protected]>
* qt4/Makefile.am (DISTCLEANFILES): Rename to CLEANFILES.
(BUILD_SOURCES): New.
2008-07-25 Marcus Brinkmann <[email protected]>
* configure.ac: Prefer pinentry gtk2 over gtk. Now also choose
qt4 (after qt and before w32 native).
* README: Document Qt.
2008-07-24 Marcus Brinkmann <[email protected]>
* qt4/pinentrydialog.h, qt4/pinentrydialog.cpp, qt4/main.cpp,
qt4/Makefile.am: New files.
* configure.ac: Add check for Qt4.
(AC_CONFIG_FILES): Add qt4/Makefile.am.
* Makefile.am (pinentry_qt4): New variable.
(SUBDIRS): Add ${pinentry_qt4}.
2008-07-23 Werner Koch <[email protected]>
* secmem/secmem.c (secmem_init): Fix apostrophe in error
message. Reported by Petr Uzel.
2008-05-05 Marcus Brinkmann <[email protected]>
* gtk+-2/gtksecentry.c (GMALLOC_SIZE): New symbol.
(g_malloc, g_malloc0, g_realloc): Use GMALLOC_SIZE instead of
gulong for size attribute.
2008-03-03 Marcus Brinkmann <[email protected]>
* gtk+-2/pinentry-gtk-2.c (create_window): Install realize callback.
(ungrab_keyboard): Unmake dialog transient.
(make_transient): New function.
Submitted by Joachim Breitner.
2008-02-15 Werner Koch <[email protected]>
Release 0.7.4.
2008-02-14 Werner Koch <[email protected]>
* configure.ac: Check for -Wno-pointer-sign.
* pinentry/pinentry.c (cmd_getinfo): New.
(register_commands): Register it.
2008-01-02 Marcus Brinkmann <[email protected]>
* configure.ac: Use PKG_CONFIG instead of PKGCONFIG and
pkg-config. Use AC_PATH_PROG instead of AC_CHECK_PROG.
* Makefile.am (install-exec-local): Add exe extension to link.
2007-11-29 Marcus Brinkmann <[email protected]>
Released 0.7.4.
2007-11-19 Werner Koch <[email protected]>
* doc/pinentry.texi (Protocol): Typo fixes by Bernhard Herzog.
Describe SETQUALITYBAR_TT.
2007-11-19 Bernhard Herzog <[email protected]> (wk)
* qt/pinentrydialog.cpp (PinEntryDialog): Fixed crash
2007-11-19 Werner Koch <[email protected]>
* gtk+-2/pinentry-gtk-2.c (create_window): Use again map-event and
unmap-event as this works on my setup far more reliable than
expose-event/no-expose-event.
* gtk+-2/gtksecentry.c (get_cursor_time): s/time/blinktime/ t
avoid shadowing warning.
* pinentry/pinentry.h (struct pinentry): Change QUALITY_BAR to a
char ptr.
(struct pinentry): Add QUALITY_BAR_TT.
* pinentry/pinentry.c (cmd_setqualitybar): Allow to set a label text.
(cmd_setqualitybar_tt): New.
* gtk+-2/pinentry-gtk-2.c (create_window): Take label and tooltip
from global.
* qt/pinentrydialog.h (setQualityBar, setQualityBarTT)
(_quality_bar_label): New.
* qt/pinentrydialog.cpp (setQualityBar, setQualityBarTT): New.
(PinEntryDialog): Remove setting of tooltip.
* qt/main.cpp (qt_cmd_handler): Propagate quality bar label and tootip.
2007-11-19 Bernhard Herzog <[email protected]> (wk)
* qt/pinentrydialog.cpp (PinEntryDialog): Move the quality bar
below the text entry and align them properly. Show a tooltip.
* gtk+-2/pinentry-gtk-2.c (create_window): Ditto. Don't let it
change its height.
(QUALITYBAR_EMPTY_TEXT): New.
2007-09-18 Werner Koch <[email protected]>
* qt/secqlineedit.h (SecQLineEdit): New signal textModified.
* qt/secqlineedit.cpp (finishChange): Emit it.
* qt/pinentrydialog.cpp (setPinentryInfo): New.
(PinEntryDialog): Add arg ENABLE_QUALITY_BAR.
* qt/pinentrydialog.h (setPinentryInfo): New.
(PinEntryDialog): Add arg ENABLE_QUALITY_BAR.
* pinentry/pinentry.h (struct pinentry): Add member QUALITY_BAR
and CTX_ASSUAN.
* pinentry/pinentry.c (cmd_setqualitybar): New.
(copy_and_escape): New.
(pinentry_inq_quality): New.
2007-07-09 Werner Koch <[email protected]>
* doc/pinentry.texi: Fixed direntry syntax.
* configure.ac: Add --without-libcap. From the Gentoo patch archive.
* gtk+-2/pinentry-gtk-2.c (create_window): Use expose-event
instead of map-event. From Alon Bar-Lev.
2007-07-06 Werner Koch <[email protected]>
Released 0.7.3.
* config.sub, config.guess: Updated from current Savannah CVS.
2007-06-27 Werner Koch <[email protected]>
* w32/main.c: Revamped the SetFocus stuff. It is all not that easy.
2007-06-26 Werner Koch <[email protected]>
* w32/Makefile.am (pinentry_w32_LDFLAGS): Add -mconsole again.
* w32/main.c (dlg_proc): Set focus.
(resize_button): New. No code yet.
(dlg_proc): Call it for the buttons.
(w32_cmd_handler): Restore old foreground window.
2007-06-20 Werner Koch <[email protected]>
* w32/Makefile.am (pinentry_w32_LDFLAGS): Remove -mconsole.
* w32/main.c (wchar_to_utf8): New.
(ok_button_clicked): Use it.
(utf8_to_wchar): New.
(set_dlg_item_text): New.
(dlg_proc): Use new function so that we are able to correctly
display all prompts.
(main): Load LockSetForegroundWindow.
(dlg_proc): Call LockSetForegroundWindow via its fnc ptr.
(center_window): New. Taken from GPGol.
(dlg_proc): Call it.
(w32_cmd_handler): Revamped the confirm mode.
2007-06-18 Werner Koch <[email protected]>
* w32/main.c (dlg_proc): Call LockSetForegroundWindow.
* Makefile.am (signed-dist, %.sig): Remove.
* autogen.sh: Modernized.
2007-05-10 Marcus Brinkmann <[email protected]>
* pinentry/pinentry.h (pinentry_color_t): New type.
(struct pinentry): New members COLOR_FG, COLOR_FG_BRIGHT,
COLOR_BG, COLOR_SO.
* pinentry/pinentry.c (pinentry_parse_opts): Support new option --colors.
(parse_color): New function.
* pinentry/pinentry-curses.c (USE_COLORS): New macro.
(pinentry_color): New static variable.
(dialog_create): Redo color management.
* pinentry/pinentry-curses.c (dialog_create): Re-add calculation
of cancel button position. Adjust calculation of OK button
position if it is the only one used.
2007-04-13 Marcus Brinkmann <[email protected]>
* qt/secqlineedit.h (SecQLineEdit::contextMenuEvent,
SecQLineEdit::createPopupMenu): Remove prototype.
* qt/secqlineedit.cpp (SecQLineEdit::contextMenuEvent,
SecQLineEdit::createPopupMenu): Remove implementation.
Submitted by Tobias Koenig <[email protected]>.
2007-02-14 Werner Koch <[email protected]>
* pinentry/pinentry.h (struct pinentry): Add TOUCH_FILE.
* pinentry/pinentry.c (option_handler): New option "touch-file".
(pinentry_have_display): Ignore an empty DISPLAY.
* pinentry/pinentry-curses.c (do_touch_file): New.
(curses_cmd_handler): Call it.
* configure.ac: Check for utime.h.
2007-01-24 Werner Koch <[email protected]>
* pinentry/pinentry.c (cmd_message): New.
(cmd_confirm): New command option --one-button.
(cmd_getpin): Zeroise ONE_BUTTON.
* pinentry/pinentry.h (struct pinentry): Add field ONE_BUTTON.
* gtk/pinentry-gtk.c (create_window): Take care of new option.
* gtk+-2/pinentry-gtk-2.c (create_window): Ditto.
* pinentry/pinentry-curses.c (dialog_create): Ditto.
(dialog_create, dialog_switch_pos): Allow CANCEL to be optional.
2006-07-29 Marcus Brinkmann <[email protected]>
* secmem/secmem.c (init_pool): Close FD after establishing the
mapping.
2005-09-28 Marcus Brinkmann <[email protected]>
* configure.ac (PINENTRY_GTK): Error out if iconv is not found but
needed.
* config.rpath: New file from gettext. Needed by iconv.m4.
2005-07-11 Marcus Brinkmann <[email protected]>
* pinentry/pinentry-curses.c (dialog_switch_pos): Set the cursor
state to invisible before moving around. Move the cursor to the
beginning of the dialog buttons for accessibility.
2005-06-16 Marcus Brinkmann <[email protected]>
* pinentry/pinentry-curses.c (dialog_run): Only convert pin if a
pin actually exists.
2005-01-27 Werner Koch <[email protected]>
Released 0.7.2.
* gtk+-2/Makefile.am: Removed padlock-keyhole.xpm.
* configure.ac: Use AC_GNU_SOURCE instead of the custom define.
Prefer gtk2 pinentry over qt.
2005-01-21 Marcus Brinkmann <[email protected]>
* doc/pinentry.texi: Fix spelling errors.
Submitted by Ville Skyttä.
2004-12-23 Werner Koch <[email protected]>
* w32/pinentry-w32.rc: Remove the default texts for description,
prompt and error. Make it system modal. Enlarge the description
field.
2004-12-22 Timo Schulz <[email protected]>
* w32/main.c: Remove all helper functions and use a callback
to set the dialog items directly.
(dlg_proc): Set 'result' to -1 to indicate cancel.
(ok_button_clicked): Adjusted. Set 'result' to the len of
the PIN to indicate success.
2004-12-22 Werner Koch <[email protected]>
* w32/main.c: Simplified.
* w32/dialog.h, w32/dialog.c, w32/controller.h, w32/controller.c:
Removed
* w32/resource.h, w32/pinentry-w32.rc, w32/main.c, w32/dialog.h
* w32/dialog.c, w32/controller.h, w32/controller.c
* w32/Makefile.am: New. Based on Timo's work.
Update to automake 1.9.
* autogen.sh (configure_ac): Add --build-w32 option.
* Makefile.am: Support for the W32 pinentry.
* configure.ac: Ditto. Reformatted some error messages.
Define the usual conditionals for W32.
Check for a couple of more usually required headers.
* pinentry/pinentry.h (sleep) [W32]: New.
* pinentry/pinentry.c: Include langinfo.h only if available.
(pinentry_loop) [DOSISH]: Don't do uid check.
* secmem/util.c [DOSISH]: Disable UID stuff.
2004-09-27 Marcus Brinkmann <[email protected]>
* acinclude.m4 (IU_LIB_NCURSES, IU_LIB_CURSES, IU_LIB_TERMCAP):
Moved to m4/curses.m4.
(AM_ICONV): Moved to m4/iconv.m4.
(AM_PATH_GLIB): Moved to m4/glib.m4.
(QT_FIND_FILE, QT_PATH_MOC, QT_PATH_X, QT_PRINT_PROGRAM,
QT_CHECK_VERSION, QT_PATH_1_3, QT_PATH, QT_CHECK_COMPILER_FLAG,
QT_REMOVE_FORBIDDEN, QT_VALIDIFY_CXXFLAGS, QT_CHECK_COMPILERS,
QT_CHECK_RPATH, QT_CHECK_LIBPTHREAD, QT_CHECK_PTHREAD_OPTION,
QT_CHECK_THREADING): Move to m4/qt.m4.
2004-09-21 Marcus Brinkmann <[email protected]>
* qt/Makefile.am (pinentry_qt_LDFLAGS): Add $(QT_RPATH).
Requested by Leo Savernik <[email protected]>.
2004-09-02 Marcus Brinkmann <[email protected]>
* gtk+-2/padlock-keyhole.xpm: File removed.
* gtk+-2/pinentry-gtk-2.c (create_window): Use stock icon.
* gtk+-2/gtksecentry.h, gtk+-2/gtksecentry.c: Fix copyright notice.
Submitted by Albrecht Dress [email protected].
2004-08-17 Marcus Brinkmann <[email protected]>
* configure.ac: Invoke AC_PROG_LN_S.
(PINENTRY_DEFAULT): New variable. Substitute it. Fail if no
default can be determined.
* Makefile.am (install-exec-local): Install pinentry default link.
* configure.ac: Check for Gtk+-2.
* gtk+-2: New directory with gtk+-2 pinentry.
* gtk+-2/Makefile.am, gtk+-2/gtksecentry.h, gtk+-2/gtksecentry.c,
gtk+-2/pinentry-gtk-2.c, gtk+-2/padlock-keyhole.xpm: New files.
* Makefile.am (pinentry_gtk_2): New variable.
(SUBDIRS): Add pinentry_gtk_2.
Submitted by Albrecht Dress [email protected].
2004-08-04 Werner Koch <[email protected]>
* pinentry/pinentry.c (usage): Print help to stdout.
2004-07-30 Moritz Schulte <[email protected]>
* qt/Makefile.am (ncurses_include): Removed
-I$(top_srcdir)/pinentry ...
(AM_CPPFLAGS): ... added: -I$(top_srcdir)/pinentry. Thanks to
Peter Eisentraut.
* pinentry/pinentry.c (pinentry_utf8_to_local): Declare INPUT
const.
(pinentry_local_to_utf8): Likewise.
(pinentry_utf8_to_local, pinentry_local_to_utf8): Compile only, if
either Curses or GTK+ support is enabled.
* configure.ac: Do also check for libiconv when the GTK+ version
of pinentry is to be build. Define PINENTRY_CURSES, PINENTRY_GTK,
PINENTRY_QT depending on which versions of pinentry should be
build.
2004-05-21 Marcus Brinkmann <[email protected]>
* acinclude.m4 (QT_CHECK_DIRECT): Removed.
(QT_PATH_1_3): Do never invoke QT_CHECK_DIRECT.
2004-04-21 Werner Koch <[email protected]>
Released 0.7.1.
2004-04-20 Werner Koch <[email protected]>
* secmem/secmem.c [!ORIGINAL_GPG_VERSION]: Include util.h for some
typedefs and protos.
(secmem_free, secmem_term): Use wipememory2 instead of memset.
* autogen.sh (configure_ac): Fixed version check (s/==/=/).
2004-04-02 Thomas Schwinge <[email protected]>
* autogen.sh: Added ACLOCAL_FLAGS.
2004-02-23 Marcus Brinkmann <[email protected]>
* qt/main.cpp: Include "pinentry.h", not <pinentry.h>.
2004-01-30 Werner Koch <[email protected]>
* configure.ac (fopencookie): Remove that test.
2004-01-28 Moritz Schulte <[email protected]>
* gtk/gtksecentry.c:
(gtk_secure_entry_key_press): Treat GDK_KP_Enter just like
GDK_Return.
2004-01-18 Marcus Brinkmann <[email protected]>
* qt/secqstring.cpp: Do not include "private/qunicodetables_p.h".
(isRightToLeft): De-optimize direction query.
* qt/secqinternal_p.h, qt/secqinternal.cpp: New files.
* qt/Makefile.am (pinentry_qt_SOURCES): Add secqinternal_p.h
and secqinternal.cpp.
(EXTRA_DIST): Add README.SecQ.
* qt/secqlineedit.cpp: Include "secqinternal_p.h".
(drawContents): Use SecQSharedDoubleBuffer.
2004-01-02 Werner Koch <[email protected]>
* configure.ac: Early check for a c++ compiler.
2003-12-23 Werner Koch <[email protected]>
Released 0.7.0.
Added Manifest files to all directories.
2003-12-22 Werner Koch <[email protected]>
* qt/main.cpp: Include errno.h.
(main): Translate the --display option to -display, so that the Qt
init code can grasp it.
* doc/ChangeLog: Removed and merged with this file.
* doc/pinentry.texi: Cleaned up.
* doc/fdl.texi: Removed.
* pinentry/pinentry.h (struct pinentry): Added LOCALE_ERR.
* gtk/pinentry-gtk.c (button_clicked): Set the LOCAE_ERR flag.
* pinentry/pinentry-curses.c (dialog_run): Ditto.
* pinentry/pinentry.c (cmd_getpin, cmd_confirm): Check this flag.
(pinentry_local_to_utf8): Release the correct buffer in the error
case. Print diagnostics.
(pinentry_utf8_to_local): Print diagnostics.
(pinentry_parse_opts): Make short options work.
(pinentry_utf8_to_local): Pass nl_langinfo to iconv_open.
* gtk/pinentry-gtk.c (button_clicked): Use the right value as
input for the conversion.
* pinentry/pinentry.c: New variable THIS_PGMNAME.
(pinentry_init): Add arg PGMNAME and store it. Use it at all
marked placed instead of the constant "pinentry".
(usage): Use it here too.
* curses/pinentry-curses.c (main): Call pinentry_init with our name.
* qt/main.cpp (main): Ditto.
* gtk/pinentry-gtk.c (main): Ditto.
* configure.ac: Check for mmap.
* secmem/util.h (wipememory2,wipememory,wipe): New.
* secmem/util.c (wipe): Removed.
* secmem/util.c (lower_privs, raise_privs): Commented out.
* pinentry/pinentry.c (pinentry_loop): Add paranoia check for
dropped privs.
* secmem/secmem.c (lock_pool): Cleanup syntax of cpp directives.
* gtk/pinentry-gtk.c (main): Print package name in the version line.
* curses/pinentry-curses.c (main): Ditto.
* qt/main.cpp (main): Ditto. Fixed typo.
* gtk/pinentry-gtk.c: Include memory.h.
2003-12-20 Marcus Brinkmann <[email protected]>
* pinentry/pinentry.h (struct pinentry): New member PARENT_WID.
* pinentry/pinentry.c (pinentry): Add new member here.
(usage): Add --parent-wid.
(pinentry_parse_opts): Add case for "parent-wid".
(option_handler): Same here.
2003-12-19 Marcus Brinkmann <[email protected]>
* pinentry/pinentry.c (cmd_setcancel): Use strcpy_escaped.
(cmd_setok): Likewise.
(cmd_setprompt): Likewise.
(pinentry_utf8_to_local): Don't use
nl_langinfo, but just lc_ctype directly.
* pinentry/pinentry.c (cmd_getpin): Do not convert passphrase to
UTF-8 here.
* gtk/pinentry-gtk.c (button_clicked): Convert passphrase to UTF8
here.
* pinentry/pinentry-curses.c (dialog_run): Likewise.
2003-12-14 Marcus Brinkmann <[email protected]>
* pinentry/pinentry.c (pinentry_init): Register secmem_term as
atexit function. Set assuan malloc hooks to secmem.
(pinentry_parse_opts): Add break statement to silence gcc warning.
* pinentry/pinentry.c (cmd_getpin): If canceled, release and clear
PINENTRY->pin nevertheless.
* acinclude.m4 (qt_incdirs): Add /usr/include/qt3.
* qt/Makefile.am (pinentry_qt_SOURCES): Remove cppmemory.h,
cppmemory.cpp, pinentrycontroller.h, pinentrycontroller.cpp.
(nodist_pinentry_qt_SOURCES): Remove pinentrycontroller.moc.cpp.
(libcurses): Move ../pinentry/libpinentry.a from here to ...
(pinentry_qt_LDADD): ... here. Change order a bit to make it
work.
* qt/cppmemory.h, qt/cppmemory.cpp, qt/pinentrycontroller.h,
qt/pinentrycontroller.cpp: Files removed.
* qt/secqstring.h, qt/secqstring.cpp, secqlineedit.h,
secqlineedit.cpp: New files.
* qt/Makefile.am (pinentry_qt_SOURCES): Add secqstring.h,
secqstring.cpp, secqlineedit.h, and secqlineedit.cpp.
(nodist_pinentry_qt_SOURCES): Add secqlineedit.moc.cpp.
* qt/main.cpp: Do not include "memory.h" or "secmem-util.h", nor
<new> or "pinentrycontroller.h". Include <qapplication.h>,
<qmessagebox.h>, <qwidget.h> and "secqstring.h". Always include
<pinentry.h>.
[USE_KDE]: Remove all instances.
(curses_main): Function removed.
(my_new_handler): Likewise.
(qt_main): Likewise.
(qt_cmd_handler): New function.
(pinentry_cmd_handler): Define always (to qt_cmd_handler).
(main): Rewritten.
* qt/pinentrydialog.cpp: Do not include <qlineedit.h>, but
"secqlineedit.h".
(PinEntryDialog::PinEntryDialog): Make _edit a SecQLineEdit
object. Connect accepted SIGNAL to accept SLOT, and rejected
SIGNAL to reject SLOT.
(PinEntryDialog::setText): Make argument SecQString rather than
QString.
(PinEntryDialog::text): Likewise for return value.
* qt/pinentrydialog.h: Declare SecQString and SecQLineEdit classes.
(class PinEntryDialog): Disable property text (for now). Adjust
argument of setText and return value of text, as well as type of
_edit.
2003-12-09 Werner Koch <[email protected]>
* README.CVS: New.
* Makefile.am (EXTRA_DIST): Add README.CVS
(ACLOCAL_AMFLAGS): New.
* configure.ac: Added min_automake_versions.
* autogen.sh: Revamped.
2003-04-23 Steffen Hansen <[email protected]>
* configure.ac: Version 0.6.10-cvs
2003-04-23 Steffen Hansen <[email protected]>
* configure.ac: Version 0.6.9