-
Notifications
You must be signed in to change notification settings - Fork 2
/
ChangeLog-2011
2833 lines (2062 loc) · 92.2 KB
/
ChangeLog-2011
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
2010-07-21 Werner Koch <[email protected]>
Release 1.1.2.
2010-07-21 Marco A.G.Pinto <[email protected]> (wk)
* po/pt.po: New.
* po/LINGUAS: Add pt.
2010-07-21 Werner Koch <[email protected]>
* configure.ac: Require libgpg-error 1.9 due to gpg_err_deinit.
* src/main.c (DllMain): Init and deinit libgpg-error which is now
required due to our use of a static libgpg-error.
2010-04-21 Marcus Brinkmann <[email protected]>
* configure.ac (NEED_LIBASSUAN_API, NEED_LIBASSUAN_VERSION): Bump
to 2/2.0.0.
(_ASSUAN_ONLY_GPG_ERRORS): Remove.
* src/engine-assuan.c (connect_uiserver): Update to new libassuan
interface.
2010-01-13 Werner Koch <[email protected]>
Release 1.1.1.
* src/README.icons: Change instructions to better cope with alpha
channels.
2010-01-12 Werner Koch <[email protected]>
* src/decrypt-verify-16.bmp, decrypt-verify-16m.bmp: Update.
* src/decrypt-verify-32.bmp, decrypt-verify-32m.bmp: Update.
* src/verify-16.bmp, verify-16m.bmp: Update.
* src/verify-32m.bmp, verify-32.bmp: Update.
* po/POTFILES.in (explorers.cpp, inspectors.cpp, mailitem.cpp): New.
2010-01-08 Werner Koch <[email protected]>
* forms/encr-s.ico, forms/sign-s.ico: Fix them.
* src/README.icons: Fix instructions for forms icons.
2010-01-05 Werner Koch <[email protected]>
Release 1.1.0.
2009-12-22 Werner Koch <[email protected]>
* forms/encr-l.ico, forms/encr-s.ico: Update.
* forms/sign-l.ico, forms/encr-l.ico: Update.
* src/key-manager-16.bmp, key-manager-16m.bmp: Update.
* src/key-manager-32.bmp, key-manager-32m.bmp: Update.
* src/key-manager-64.bmp, key-manager-64m.bmp: New.
* src/verify-16.bmp, verify-16m.bmp: Update.
* src/verify-32.bmp, verify-32m.bmp: New.
* src/sign-16.bmp, sign-16m.bmp: Update.
* src/sign-32.bmp, sign-32m.bmp: New.
* src/encrypt-16.bmp, encrypt-16m.bmp: Update.
* src/encrypt-32.bmp, encrypt-32m.bmp: New.
* src/decrypt-16.bmp, decrypt-16m.bmp: Update.
* src/decrypt-32.bmp, decrypt-32m.bmp: New.
* src/decrypt-verify-16.bmp, decrypt-verify-16m.bmp: Update.
* src/decrypt-verify-32.bmp, decrypt-verify-32m.bmp: New.
* src/Makefile.am (EXTRA_DIST): Add new bitmaps.
* src/dialogs.rc: Add new bitmaps.
2009-12-01 Werner Koch <[email protected]>
* src/README.icons: New.
2009-12-08 Marcus Brinkmann <[email protected]>
* src/engine-assuan.c (getinfo_pid_cb, prep_foo_status_cb): Change
return type to gpg_error_t.
2009-11-30 Werner Koch <[email protected]>
* src/message-events.cpp (OnReadComplete): Use GetInspector if
none was found.
* src/display.cpp (update_display): Print the window hierarchy in case
of an error.
* src/ext-commands.cpp (get_inspector): Add arg HWND. First try
get_inspector_from_hwnd.
(get_crypto_flags, set_crypto_flags): Add arg HWND.
(InstallCommands, DoCommand): Pass HWND to crypt_flags functions.
2009-11-27 Werner Koch <[email protected]>
* src/message-events.cpp (get_crypto_flags): Replace EECB arg by HWND.
(OnRead): Pass HWND to get_crypto_flags. Change all callers.
(get_inspector): Remove.
(get_crypto_flags, OnReadComplete): Use get_inspector_from_hwnd.
* src/oomhelp.h (IID_IOleWindow): Define.
* src/inspectors.cpp (find_ole_window): New.
(struct inspector_info_s): Add field HWND.
(register_inspector): Store it..
(get_inspector_from_hwnd): New.
* src/common.h (DBG_OOM_EXTRA): New.
* src/main.c (read_options): Read new debug flag.
* src/eventsink.h (debug_oom_extra): Use it.
2009-11-03 Werner Koch <[email protected]>
* src/inspectors.cpp (deregister_inspector): Delete the buttons.
(set_one_button): New.
(set_inspector_composer_flags): Also set toolbar buttons.
(toggle_button): Use set_one_button.
(get_button_by_instid_and_tag): Remove.
* src/oomhelp.cpp (del_oom_button): New.
2009-11-02 Werner Koch <[email protected]>
* forms/Makefile.am (cfg_english): New.
* src/mailitem.cpp, mailitem.h: New.
* src/inspectors.cpp (get_message_from_button): New.
(get_inspector_from_instid): New.
(proc_inspector_button_click): Implement missing commands.
* src/message.cpp (message_display_handler): Change to take an
LPMESSAGE argument.
* src/display.cpp (update_display): Replace the eecb arg by an
inspector object.
* src/message-events.cpp (OnReadComplete): Adjust for changes.
* src/oomhelp.cpp (get_oom_iunknown): New.
* src/revert.cpp (gpgol_folder_revert): Change to work without an eecb.
2009-10-30 Werner Koch <[email protected]>
* forms/Makefile.am (icons): Udpate all icons.
* src/oomhelp.cpp (get_oom_control_bytag): Fix silly bug.
* src/inspectors.cpp (get_inspector_composer_flags): New.
(set_inspector_composer_flags): New.
* src/oomhelp.cpp (get_eecb_object): New.
* src/message-events.cpp (get_inspector): New.
(get_crypto_flags): New.
(OnWrite, OnWriteComplete): Use new functions instead of the class
members. Use the new oom property functions.
* src/ext-commands.cpp (get_inspector, get_crypto_flags): New.
(DoCommand): Use new function.
(set_crypto_flags): New.
(InstallCommands): Use set_crypto_flags.
(add_menu, check_menu, add_toolbar, struct toolbar_info_s): Remove.
(QueryButtonInfo): Remove all code.
(InstallCommands): Make use of get_eecb_object and put_oom_string.
(DoCommand): Use get_eecb_object.
* src/olflange.h (IExchExt): Remove m_protoSelection, m_gpgSign,
m_gpgEncrypt and all related code.
* src/olflange.cpp (Install): Use get_oom_string.
* src/display.cpp (update_display): Ditto.
* src/ol-ext-callback.h, ol-ext-callback.cpp: Remove.
2009-10-29 Werner Koch <[email protected]>
* src/ext-commands.cpp: Remove m_nCmdDebugN, m_nCmdRevertFolder,
m_nCmdSign, m_nCmdEncrypt and all related code. Now handled in
inspectors.cpp.
2009-10-28 Werner Koch <[email protected]>
* src/ext-commands.cpp: Remove m_nCmdCryptoState and all related code;
now handled in inspectors.cpp. Remove m_nCmdKeyManager and all
related code; now handled in cmdbarcontrols.cpp.
* src/oomhelp.cpp, oomhelp.h, eventsink.h: New.
* src/myexchext.h: Move generic COM+ stuff to oomhelp.h.
* src/explorers.cpp, explorers.h: New.
* src/inspectors.cpp, inspectors.h: New.
* src/cmdbarcontrols.cpp cmdbarcontrols.h: New.
* src/olflange.cpp (install_sinks): New.
(Install): Call install_sinks.
* src/main.c (DllMain): Call initialize_inspectors.
* src/common.c (fatal_error): New.
2009-10-20 Werner Koch <[email protected]>
* src/myexchext.h (IID_IConnectionPoint)
(IID_IConnectionPointContainer): Define. There are missing in
current wine From ReactOS.
2009-10-19 Werner Koch <[email protected]>
* src/message-events.cpp (show_event_object): Move to ..
* src/ol-ext-callback.cpp (show_event_object): .. here.
(show_preview_pane): Revert dispparms order to make it work.
* src/common.c (mem2str): New.
2009-10-08 Werner Koch <[email protected]>
* configure.ac (CFLAGS): Add -fno-strict-aliasing.
2009-10-07 Werner Koch <[email protected]>
* src/ext-commands.cpp (InstallCommands): Comment out the protocol
selection.
(DoCommand, Help, QueryHelpText, QueryButtonInfo): Ditto.
(update_protocol_menu): Comment out.
* src/main.c (write_options): Do not write the default protocol.
(read_options): Always set it to auto.
* src/dialogs.rc: Remove openpgp-by-default and smime-by-default check
boxes.
* src/olflange-dlgs.cpp (set_labels): Likewise.
(GPGOptionsDlgProc): Likewise.
2009-09-28 Werner Koch <[email protected]>
Release 1.0.1.
2009-09-25 Werner Koch <[email protected]>
* src/main.c (read_options): Enable Smime by default.
2009-08-28 Werner Koch <[email protected]>
* configure.ac [GCC]: Test for -Wno-pointer-sign.
* src/mimemaker.c (do_mime_sign): Comment cleanup.
2009-08-27 Werner Koch <[email protected]>
* src/mapihelp.cpp (mapi_get_sender): Add hack for Kleopatra.
2009-08-21 Werner Koch <[email protected]>
* src/engine-assuan.c (async_worker_thread): Disable the use of
MsgWaitForMultipleObjects.
* src/common.h (struct compat): Add USE_MWFMO.
* src/main.c (read_options): Read that flag.
2009-08-19 Werner Koch <[email protected]>
* src/message.cpp (ul_release): Add arg LNR. Change all callers.
* src/ol-ext-callback.cpp (ul_release): Add args FUNC and LNR. Change
all callers.
* src/item-events.cpp (ul_release): ditto.
* src/session-events.cpp (ul_release): Ditto.
2009-07-21 Werner Koch <[email protected]>
* src/mapihelp.cpp (create_gpgol_tag, get_internetcharsetbody_tag)
(mapi_set_header): Release data returned from GetIDsFromNames.
* src/engine.h (ENGINE_FLAG_SIGN_FOLLOWS): New macro.
* src/engine.c (engine_encrypt_prepare): Add arg flags. Change
callers.
* src/engine-assuan.c (op_assuan_encrypt): Ditto. send PREP_ENCRYPT
if the sign-follows flag is used.
* src/mimemaker.c (mime_sign_encrypt): Pass new flag.
2009-06-18 Werner Koch <[email protected]>
Release 1.0.0.
2009-06-18 Werner Koch <[email protected]>
* src/common.h (struct opt): Add ANNOUNCE_NUMBER.
* src/main.c (write_options, read_options): Store and load that number.
2009-02-27 Werner Koch <[email protected]>
Release 0.10.19.
2009-02-26 Werner Koch <[email protected]>
* src/mimeparser.c (start_attachment): Try to figure out a good file
name suffix for the FILENAME property.
* src/ext-commands.cpp (InstallCommands): Disable decrypt button for
non GpgOl messages.
* src/engine.c (engine_encrypt_prepare): Add arg SENDER.
* src/engine-assuan.c (op_assuan_encrypt): Ditto.
* src/mimemaker.c (do_mime_sign): Free sender string.
(mime_encrypt): Pass the sender address to the engine.
(mime_sign_encrypt): Ditto.
2009-02-25 Werner Koch <[email protected]>
* src/mapihelp.cpp (get_gpgoldraftinfo_tag): New.
(mapi_get_gpgol_draft_info, mapi_set_gpgol_draft_info): New.
* src/ext-commands.cpp (DoCommand): Save encryption selection.
(InstallCommands): Get encryption selection from the draft info.
* src/mimemaker.c (finalize_message): Delete the property.
2009-01-28 Werner Koch <[email protected]>
Release 0.10.18.
* po/de.po: s/Unterschrift/Signatur/.
* src/mimeparser.c (t2body): Take care of x-pkcs7-mime as used by
native OL signed messages.
(mime_decrypt): Ditto.
2009-01-16 Werner Koch <[email protected]>
* src/engine-assuan.c (attach_thread_input_wndw_proc)
(attach_thread_input): Enable code.
(async_worker_thread): Replace WFMO by MsgWaitForMultipleObjects
and add message dispatcher loops.
2008-11-27 Werner Koch <[email protected]>
* src/mapihelp.cpp (mapi_get_sender): Extract the CN name if available.
2008-11-26 Werner Koch <[email protected]>
* src/ext-commands.cpp (InstallCommands): Don't show status icon for
non-gpgol messages.
* src/config-dialog.c (start_key_manager): Remove.
* src/ext-commands.cpp (DoCommand): Do not use start_key_manager as a
fallback.
* src/olflange.cpp (GpgolExt): Show new version warning only once.
* src/dialogs.rc: Do not display the logo. Move version info around.
* src/dialogs.h (IDC_G10CODE_STRING): New.
* src/olflange-dlgs.cpp (GPGOptionsDlgProc): Active product page by a
click on IDC_G10CODE_STRING.
(set_labels): Remove the build date from the Version field.
2008-11-14 Werner Koch <[email protected]>
* src/dialogs.rc: Remove preview-decrypt check button.
* src/olflange-dlgs.cpp (set_labels): Ditto.
2008-11-13 Werner Koch <[email protected]>
* src/engine.c (FILTER_BUFFER_SIZE): Increase from 4k to 128k.
(switch_threads, clear_switch_threads): Remove.
(engine_filter): Pulse event only if anything happened. Break
loop if input data has been put completely into the buffer. Add a
short delay for an idle loop.
* src/engine-assuan.c (work_item_s): Increase buffer from 1k to 8k.
(switch_threads, clear_switch_threads): Remove.
2008-11-10 Werner Koch <[email protected]>
* src/engine.c (engine_init): Allow the user to try again if the
server did not come up.
* src/engine-assuan.c (connect_uiserver, op_assuan_init): Add a hack
to reset the retry counter.
2008-11-03 Werner Koch <[email protected]>
* src/mimemaker.c (do_mime_sign): Add arg SESSION_NUMBER and pass it
to the sign operation. Set session title.
(mime_sign): Create a new session number.
(mime_sign_encrypt): Pass a session number and title to the engine.
(mime_encrypt): Ditto.
* src/engine-assuan.c (op_assuan_encrypt, op_assuan_sign): Send
session info.
2008-10-29 Werner Koch <[email protected]>
* src/engine.c (engine_filter): Collect more data in the in buffer.
* src/mimemaker.c (write_b64): Buffer up to 2k of output.
2008-10-27 Werner Koch <[email protected]>
* src/mimemaker.c (mime_encrypt): Check for an empty message before
creating the filter. Return a suitable error code.
(do_mime_sign): Ditto.
(mime_sign_encrypt): Ditto.
(mime_sign): Return an error code.
* src/message.cpp (sign_encrypt): Show an error message for empty
messages.
(message_sign): Ditto.
* src/olflange.cpp (install_forms): Add gpgol-cs.
* src/mapihelp.cpp (get_internetcharsetbody_tag): New.
(mapi_get_body_as_stream): Try the new tag first.
(get_msgcls_from_pgp_lines): Ditto. Remove the simple access
method.
2008-10-24 Werner Koch <[email protected]>
* src/mimeparser.c (struct mime_context): Add flag
MAY_BE_OPAQUE_SIGNED.
(t2body): Set that flag.
(is_cms_signed_data): New.
(mime_decrypt): Try to verify if the content is opaque signed
without proper MIME headers.
2008-10-23 Werner Koch <[email protected]>
* src/mapihelp.cpp (mapi_delete_gpgol_body_attachment): New.
* src/message-events.cpp (OnWriteComplete): Remove a body attachment.
* src/message.cpp (message_display_handler): Do not display PGP
clearsigned messages.
(message_display_handler): Do not update GpgOLStatus; it is not
used anyway.
(pgp_mime_from_clearsigned): Fix bogus trailing white space
removal code. Insert an empty line.
* src/mimeparser.c (mime_verify): Add arg MIMEHACK.
(message_verify): Use it.
2008-10-17 Werner Koch <[email protected]>
* src/recipient-dialog.c (load_rsetbox): Remove superfluous check on
negativness for an unsigned variable.
* src/mimeparser.c (mime_verify_opaque): Remove extra semicolon which
shortcuted most of the code. Why didn't gcc notice that? Bug
was introduced on 2008-06-12.
* src/engine-assuan.c (create_io_pipe, send_options)
(op_assuan_encrypt, op_assuan_sign, op_assuan_decrypt)
(op_assuan_verify): Replace use of long in snprint by int to
workaround a bug in mingw32. Doesn't matter on w32 anyway.
2008-10-16 Werner Koch <[email protected]>
* src/mimeparser.c (start_attachment): Take care not to set the file
name "smime.p7m".
* src/mapihelp.cpp (is_really_cms_encrypted): Extend to detect unknown
message types.
(mapi_change_message_class): Adjust for this change.
(mapi_change_message_class): Factor code out to ...
(change_message_class_ipm_note)
(change_message_class_ipm_note_smime)
(change_message_class_ipm_note_smime_multipartsigned)
(change_message_class_ipm_note_secure_cex): New.
(get_first_attach_mime_tag): New.
(change_message_class_ipm_note_secure_cex): Use it here for CexSig.
(has_smime_filename): Also look at the long filename.
2008-10-15 Werner Koch <[email protected]>
* src/engine-assuan.c (op_assuan_sign): Send the new --protocol option
to the server.
2008-09-30 Werner Koch <[email protected]>
* src/mapihelp.cpp (mapi_change_message_class): Special handling for
MultipartSigned if S/MIME support is disabled.
2008-08-06 Werner Koch <[email protected]>
* src/olflange-dlgs.cpp (GPGOptionsDlgProc): Disable S/MIME notice.
2008-08-05 Werner Koch <[email protected]>
* src/ext-commands.cpp (InstallCommands): Display protocolicons only
for OL2007.
* src/olflange.cpp (get_ol_main_version): New.
* src/message.cpp (message_decrypt): Save a signature verification
result.
* src/mimeparser.c (mime_decrypt): Implement verification of included
signatures. This feature got lost during the removal of nested
crypto operations.
2008-08-04 Werner Koch <[email protected]>
* src/olflange.cpp (install_forms): New.
(GpgolExt): Install forms if needed.
* src/common.c (get_data_dir): New.
* src/common.h (struct): Add field FORMS_REVISION.
* src/main.c (read_options, write_options): Read and write that
option.
2008-07-31 Werner Koch <[email protected]>
* src/ext-commands.h (class GpgolExtCommands): Add m_nCmdRevertFolder.
* src/ext-commands.cpp (GpgolExtCommands, InstallCommands): Ditto.
(DoCommand): Implement RevertFolder command.
* src/common.h (struct): Add variable DISABLE_GPGOL.
* src/session-events.cpp (OnDelivery): Make use of that variable.
* src/message.cpp (message_incoming_handler): Ditto.
* src/user-events.cpp (OnSelectionChange): Ditto
* src/message-events.cpp (OnRead, OnReadComplete, OnWrite)
(OnWriteComplete): Ditto
* src/mapihelp.cpp (mapi_get_int_prop): New.
* src/olflange.cpp (Install): Improve version check.
* src/revert.cpp, revert.h: New.
* src/mapihelp.cpp (mapi_attachment_to_body): New.
(mapi_get_old_message_class): New.
(mapi_change_message_class): Do not release newvalue when saving
the old class.
* src/olflange.cpp (parse_version_number, parse_version_string)
(compare_versions, gpgol_check_version): New.
* src/ext-commands.cpp (DoCommand): Support a "revert message class"
debug command.
2008-06-27 Werner Koch <[email protected]>
* src/mapihelp.cpp (get_gpgololdmsgclass_tag): New.
(mapi_change_message_class): Save old message class.
2008-06-19 Werner Koch <[email protected]>
* src/olflange-dlgs.cpp (GPGOptionsDlgProc): Change S/MIME enabled
message icon.
* src/olflange.cpp (GpgolExt): Ditto for the new version installed
notice.
2008-06-12 Werner Koch <[email protected]>
* src/dialogs.rc: Add button for calling the engine's configuration.
* src/dialogs.h (IDC_GPG_CONF): New.
* src/engine.c (engine_start_confdialog): New.
* src/engine-assuan.c (op_assuan_start_confdialog): New.
* src/olflange-dlgs.cpp (GPGOptionsDlgProc): Act upon the button.
* src/mapihelp.cpp (mapi_get_from_address): New.
* src/engine.c (engine_decrypt_start, engine_verify_start): Add new
arg FROM_ADDRESS.
* src/engine-assuan.c (op_assuan_verify, op_assuan_decrypt): Ditto.
* src/mimeparser.c (mime_verify, mime_verify_opaque, mime_decrypt):
Pass FROM_ADDRESS to the backend.
* src/olflange.cpp (DllUnregisterServer): Delete CLSIDs.
2008-06-05 Werner Koch <[email protected]>
* src/mimeparser.c (mime_decrypt): Set session number and title.
(mime_verify_opaque, mime_verify): Ditto.
* src/mapihelp.cpp (mapi_get_subject): New.
* src/engine.c (engine_set_session_number, engine_set_session_title)
(engine_set_sender_address): New.
(struct engine_filter_s): Add fields session_number, session_title
and sender_address.
(engine_private_get_session_number): New.
(engine_private_get_session_title): New.
(release_filter): Release them.
(engine_new_session_number): New.
* src/engine-assuan.c (send_session_info): New
(op_assuan_decrypt, op_assuan_verify): Call it.
(op_assuan_sign): Use the end-of-option option for the SENDER command.
2008-05-28 Werner Koch <[email protected]>
* src/dialogs.h (IDC_BODY_AS_ATTACHMENT): New.
* src/dialogs.rc: Add body-as-attachemnt checkbox to the otpion
dialog.
* src/olflange-dlgs.cpp (set_labels, GPGOptionsDlgProc): Add it.
* src/main.c (write_options, read_options): Handle bodyAsAttachment
registry key.
* src/mimeparser.c (start_attachment): Do not set the hidden flag if
the new option is used.
* src/mapihelp.cpp (mapi_test_attach_hidden): New.
(mapi_get_gpgol_body_attachment): Make use of that flag.
2008-05-23 Werner Koch <[email protected]>
* src/mimemaker.c (struct sink_s): Add field ENC_COUNTER.
(write_buffer_for_cb): Update that.
(mime_encrypt): Bail out if no data has been encrypted.
(mime_sign_encrypt): Ditto.
2008-05-07 Werner Koch <[email protected]>
* src/mimeparser.c (t2body): Fix last change.
2008-05-02 Werner Koch <[email protected]>
* src/mimeparser.c (t2body): Detect non-inline text parts.
* src/rfc822parse.c (rfc822parse_query_parameter): Add special mode
for an ATTR of NULL.
2008-04-16 Werner Koch <[email protected]>
* src/message-events.h (class GpgolMessageEvents): Add M_GOTINSPECTOR.
* src/message.cpp (message_incoming_handler): Change return type.
* src/ext-commands.cpp (check_toolbar, check_menu_toolbar): New.
(update_protocol_menu): Explicitly update the toolbar.
2008-04-15 Werner Koch <[email protected]>
* src/Outlook.gpl: New.
2008-04-14 Werner Koch <[email protected]>
* src/display.cpp (is_inspector_display): New.
(find_message_window): Rewrote.
* src/message-events.cpp (OnRead): Use it.
* src/message.cpp (message_incoming_handler): Add arg FORCE.
* src/message-events.cpp (OnRead): Pass false for FORCE.
* src/item-events.cpp (OnOpen): Ditto.
* src/ext-commands.cpp (DoCommand): Let CmdCryptoState process and
display the current message again.
(GpgolExtCommands): Remove m_nCmdCheckSig and m_nCmdDecrypt.
2008-04-10 Werner Koch <[email protected]>
* src/ol-ext-callback.cpp (is_preview_pane_visible)
(show_preview_pane): New.
* src/display.cpp (update_display): Add arg IS_SENSITIVE and do not
use the OOM method if this is set.
* src/mapihelp.h (mapi_save_changes): New. Use if everywhere.
(mapi_delete_body_props): Use it to delete body parts.
* src/mapihelp.cpp (mapi_do_save_changes): New.
* src/mimemaker.c (finalize_message): Do no delete body parts because
mapi_save_changes does this now.
* src/mimeparser.c (finish_message): Remove the body property in
protect mode.
2008-04-04 Werner Koch <[email protected]>
* src/engine-assuan.c (worker_start_read, worker_check_read): Factor
common code out to ..
(write_to_callback): .. new.
(async_worker_thread): Better comments and minor changes.
(enqueue_callback): Add arg INACTIVE.
(set_items_active): New.
(start_command): Set items active.
(op_assuan_encrypt): Create input and output items as inactive.
(async_worker_thread): Handle the inactive flag.
* src/common.c (gpgol_spawn_detached): Do not inherit handles.
2008-04-02 Werner Koch <[email protected]>
* src/engine-assuan.c (destroy_command): Add arg FORCE.
(op_assuan_encrypt_bottom): Call destroy_command.
* src/mimeparser.c (struct mime_context): Use parser_error to return
gpg error codes.
* src/main.c (read_options): Allow names for debug flags.
* src/common.c (trim_spaces): New.
2008-03-31 Werner Koch <[email protected]>
* src/engine-assuan.c (struct work_item_s): Add SWITCH_COUNTER.
(switch_threads, clear_switch_threads): New.
(worker_start_write): Use it.
* src/engine.c (struct engine_filter_s): Add SWITCH_COUNTER.
(switch_threads, clear_switch_threads): New.
(filter_gpgme_read_cb): Use it.
* src/ext-commands.h (class GpgolExtCommands): Add m_nCmdCryptoState.
* src/ext-commands.cpp (InstallCommands): Add a toolbar crypto state
button.
(DoCommand): Show a message when trying to select the disabled
S/MIME protocol.
* src/message.cpp (message_sign, message_verify, message_decrypt)
(sign_encrypt): Display message boxes only in debug mode.
* src/olflange-dlgs.cpp: Remove G-Data 2001 copyright because all that
old code has gone.
* src/dialogs.rc (IDD_EXT_OPTIONS): Remove option to select the key
manager.
(IDD_GPG_OPTIONS): Remove caching time, reorder options, add group
boxes.
* src/olflange-dlgs.cpp (GPGOptionsDlgProc): Clean up accordingly.
* src/config-dialog.c (config_dlg_proc): Ditto.
(get_open_file_name, does_file_exist, error_box): Remove.
* src/ext-commands.cpp: Rename nCmdShowInfo to nCmdDebug0 and enable
it only in debug mode.
2008-03-26 Werner Koch <[email protected]>
* src/engine-gpgme.c (cleanup): Implement.
(op_gpgme_init): Save thread handle.
(waiter_thread): Check shutdown flags.
* src/engine-assuan.c (get_uiserver_name): Fallback to GPA.
2008-03-19 Werner Koch <[email protected]>
* src/mapihelp.cpp (mapi_change_message_class): Look into
multipart/mixed for PGP messages.
* src/mapihelp.cpp (mapi_get_attach): Add arg UNPROTECT and changed
all callers.
* src/common.h (DBG_MIME_PARSER, DBG_MIME_DATA): New.
* src/mimeparser.c (debug_mime_parser, debug_mime_data): New to
replace DEBUG_PARSER.
(struct mime_context): Add field is_opaque_signed.
(t2body): Set it.
(mime_decrypt): Handle an embedded opaque signed S/MIME part.
(mime_verify_opaque): Add arg INBUFER, INBUFFERLEN and
START_PART_COUNTER.
2008-03-18 Werner Koch <[email protected]>
* src/mimeparser.c (message_cb): Clear all mimestruct fields. Fixes
segv introduced 2008-03-07.
* src/engine-assuan.c (async_worker_thread): Handle broken pipe.
2008-03-13 Werner Koch <[email protected]>
* src/mimeparser.c (message_cb): Skip the OPEN event in non-MIME mode.
* src/rfc822parse.c (rfc822parse_open): Reset ERRNO.
2008-03-11 Werner Koch <[email protected]>
* src/engine-assuan.c (op_assuan_encrypt): Factor some code out to ..
(op_assuan_encrypt_bottom): .. new.
(engine_assuan_encstate_s): New.
* src/engine.c (engine_encrypt_start): Split some code into ..
(engine_encrypt_prepare): .. new.
(engine_cancel): Cancel prepared encryption.
* src/mimemaker.c (mime_encrypt): Use engine_encrypt_prepare and
_start.
(mime_sign_encrypt): Likewise, but do the _start only after
completing the signing.
2008-03-10 Werner Koch <[email protected]>
* src/engine.c (FILTER_BUFFER_SIZE): Increase to 4k.
(engine_filter, engine_wait, engine_wait): Replace Sleep by
SwitchToThread.
* src/engine-assuan.c (struct work_item_s): Increase buffer to 1k.
(worker_start_write, async_worker_thread): Replace Sleep by
SwitchToThread.
2008-03-07 Werner Koch <[email protected]>
* src/mapihelp.cpp (mapi_get_sender): New.
* src/mymapitags.h (PR_PRIMARY_SEND_ACCT): New.
* src/mimemaker.c (do_mime_sign): Pass the sender to the engine.
* src/common.h (opt): Add field SVN_REVISION.
* src/main.c (read_options, write_options): Set it.
* src/olflange.cpp (GpgolExt): Print a warning on program update.
* src/engine.c (struct engine_filter_s): Add field ADD_EXTRA_LF.
(engine_request_exra_lf): New.
(engine_wait): Implement that.
* src/mimeparser.c (mime_decrypt): Add arg SIMPLE_PGP and call
engine_request_exra_lf.
(struct mime_context): Add field NO_MAIL_HEADER.
(message_cb): Implement it.
* src/message.cpp (message_decrypt): Set that flag for old style PGP.
* src/common.h (DBG_COMMANDS, debug_commands): New.
* src/ext-commands.cpp: Use it.
2008-03-06 Werner Koch <[email protected]>
* src/mimemaker.c (do_mime_sign): Figure out the protocol to use.
* src/engine.c (engine_sign_start): Add new args SENDER and R_PROTOCOL.
* src/engine-assuan.c (op_assuan_sign): Ditto. Send SENDER command.
2008-03-05 Werner Koch <[email protected]>
* src/main.c (read_options): Insert the debug registry key.
(write_options): More debug output.
2008-02-28 Werner Koch <[email protected]>
* src/olflange-dlgs.cpp (GPGOptionsDlgProc): Fix initial setting of
openpgp and smime state. I wish C would haved used := for
assignments.
2008-02-26 Werner Koch <[email protected]>
* src/common.c (qp_decode): Add arg S_LBRK.
* src/mimeparser.c (plaintext_handler, ciphertext_handler): Handle
soft line breaks.
* src/mapihelp.cpp (mapi_change_message_class): Handle opaque S/MIME
messages without an smime-type parameter.
2008-02-25 Werner Koch <[email protected]>
* src/message.cpp (message_verify): Show message boxes for non-signed
messages.
(message_decrypt): Likewise.
2008-02-19 Marcus Brinkmann <[email protected]>
* src/engine-assuan.c (get_uiserver_name): Change default uiserver
path and remove work-around.
2008-02-18 Werner Koch <[email protected]>
* src/message.cpp (pgp_body_to_attachment): New.
(message_decrypt): Use it.
(message_wipe_body_cruft): Also wipe already processed PGP
encrypted messages. Factor common code out to ...
(do_wipe_body): .. new.
* src/mapihelp.h (ATTACHTYPE_PGPBODY): New.
2008-02-15 Werner Koch <[email protected]>
* src/olflange-dlgs.cpp: Remove code for IDC_ENCRYPT_WITH_STANDARD_KEY
and IDC_ENCRYPT_TO.
* src/dialogs.rc: Ditto.
2008-02-13 Werner Koch <[email protected]>
* src/mapihelp.cpp (get_gpgolcharset_tag, mapi_get_gpgol_charset)
(mapi_set_gpgol_charset): New.
(mapi_get_gpgol_body_attachment): Transcode from Latin-1.
* src/mimeparser.c (start_attachment): Set the charset property.
(struct mime_context): Remove is_utf8 field.
2008-02-11 Werner Koch <[email protected]>
* src/common.h (tlvinfo_t): New.
* src/common.c (parse_tlv): New. Based on code from libksba.
* src/mapihelp.cpp (has_smime_filename): New.
(is_really_cms_encrypted): New.
(mapi_change_message_class): Use this here to work around a
CryptoEx bug.
2008-02-08 Werner Koch <[email protected]>
* src/mapihelp.cpp (mapi_change_message_class): Improve detecion of
CryptoEx messages.
2008-02-07 Werner Koch <[email protected]>
* src/engine.c (engine_verify_start): Enable opaque signature for the
assuan backend.
* src/engine-assuan.c (op_assuan_verify): New arg OUTDATA. Add
support for opaque signatures.
* src/mimeparser.c (mime_verify_opaque): New.
* src/message.cpp (message_verify): Handle opaque signed S/MIME.
* src/message.cpp (message_wipe_body_cruft): Delete only encrypted
messages.
2008-02-06 Werner Koch <[email protected]>
* src/mimeparser.c (mime_decrypt): New arg IS_RFC822.
* src/message.cpp (message_decrypt): Add code to see whether to use
the new arg.
2008-02-01 Werner Koch <[email protected]>
* src/mimeparser.c (ciphertext_handler, ciphermessage_cb)
(ciphermessage_t2body): New.
(mime_decrypt): Use an rfc822 parser to pass the message to the
engine.
* src/mapihelp.cpp (mapi_get_attach_as_stream): Add arg R_ATTACH.
(mapi_set_attach_hidden): New.
2008-01-31 Werner Koch <[email protected]>
* src/message.cpp (message_verify): Check that the body attachment is
available before shortcutting the verification.
* src/user-events.cpp (OnSelectionChange): Change SMIME message
class.
* src/mapihelp.cpp (mapi_change_message_class): Add arg
SYNC_OVERRIDE. Changed all callers to pass false.
(mapi_test_sig_status): Take care of sent messages.
(mapi_get_gpgol_body_attachment): Change args to allow use as
testing fucntion too. Adjusted caller.
2008-01-29 Werner Koch <[email protected]>
* src/mimemaker.c (do_mime_sign): Set CTE for SMIME.
(delete_all_attachments): Remove extra semicolon accidently
inserted with revision 916.
2008-01-18 Marcus Brinkmann <[email protected]>
* src/mimeparser.c (mime_verify): New variable sig_len, and pass it on
to engine_verify_start.
* src/engine.h (engine_verify_start): Add new argument sig_len.
* src/engine.c (engine_verify_start): Add new argument sig_len and
pass it on to op_assuan_verify and op_gpgme_verify.
* src/engine-assuan.h (op_asssuan_verify): Add new argument sig_len.
* src/engine-gpgme.c (op_gpgme_verify): New argument sig_len and use
it instead of string length of signature.
* src/engine-assuan.c (op_assuan_verify): Likewise.
2008-01-11 Werner Koch <[email protected]>
* src/mimemaker.c (finalize_message): Add args PROTOCOL and ENCRYPT
and use them to set the override message class.
(mime_sign, mime_encrypt, mime_sign_encrypt): Pass this info via
the new args.
(do_mime_sign): Set micalg to sha1 for CMS.
* src/message.cpp (message_decrypt): Add hack fro seldgenerated
messages.
2008-01-10 Werner Koch <[email protected]>
* src/mapihelp.cpp (get_gpgolmsgclass_tag, mapi_set_gpgol_msg_class):
New.
(mapi_change_message_class, mapi_get_message_type): Try override
first.
* src/message.cpp (message_incoming_handler): Remove arg MSGTYE and
let the function retrieve it. Changed all callers. Retry after a
sucessful message class change.
* src/olflange.cpp (getMsgtype): Remove. The caching might lead to
problems and makes it all more complex. Changed all callers to
use mapi_get_message_type.
* src/mimemaker.c (create_top_encryption_header) <SMIME>: Write empty
line after header.
2008-01-09 Werner Koch <[email protected]>
* src/mimeparser.c (finish_saved_body): New.
(finish_attachment): Keep the body attachment open.
(mime_decrypt, mime_verify): Close the saved body data.
(t2body): Continue body attachments.
* src/message.cpp (message_verify): Save changes.
* src/mapihelp.cpp (mapi_change_message_class): Handle case of
PGP/MIME signed with IPM.Note. Save only of really needed, use
FORCE_SAVE and keep it open for read and write.
2008-01-07 Marcus Brinkmann <[email protected]>
* src/engine-assuan.c (replace_dollar_s): Remove obsolete function.
(get_quoted_socket_name): Remove obsolete function.
(get_uiserver_name): Invoke GUI server with --daemon. Fix buglet
in assignment.
(destroy_command): Change return type to void to suppress compiler
warning.
2008-01-04 Werner Koch <[email protected]>
* src/engine-assuan.c (send_options): Call AllowSetForegroundWindow.
* src/main.c (read_options): Allo other values than 1 for enableDebug.
* src/common.h (DBG_IOWORKER, DBG_IOWORKER_EXTRA, DBG_FILTER)
(DBG_FILTER): New.
* src/engine.c (debug_filter): Turn it into a macro.
(debug_filter_extra): New macro, used instead of checking the
value of debug_filter.
* src/engine-assuan.c (debug_ioworker, debug_ioworker_extra): new.
Use them all over the file to enable debugging.
* src/engine.c (engine_encrypt_start): Add arg HWND.
(engine_sign_start, engine_decrypt_start, engine_verify_start)
(engine_start_keymanager): Ditto.
* src/mimemaker.c (mime_encrypt, mime_sign_encrypt, mime_sign)
(do_mime_sign): Add arg HWND and pass it to the engine.
* src/mimeparser.c (mime_verify, mime_decrypt): Pass HWND.
* src/message.cpp (message_sign, sign_encrypt): Pass HWND.
(message_incoming_handler, message_verify, message_decrypt): Add
arg HWND and pass it on.
* src/message-events.cpp (OnRead): Pass HWND to message function.
* src/ext-commands.cpp (DoCommand): Ditto.
2008-01-03 Werner Koch <[email protected]>
* src/mimemaker.c (mime_sign_encrypt): Fix result test of do_mime_sign.
(write_tempsign_attachment): Remove.
(do_mime_sign): Change last ark to a sink_t.
(mime_sign_encrypt): Rework to use a temporary stream instead of a
temporary attachment.
(create_mapi_attachment): Remove arg TEMPSIGN.
2007-12-18 Werner Koch <[email protected]>
* src/mapihelp.cpp (get_msgcls_from_pgp_lines): Limit check to the
first 1 k and stop testing after the first PGP armor line.
(mapi_get_message_type): Return MSGTYPE_SMIME.
(mapi_change_message_class): Take care of CryptoEx signatures.
* src/mapihelp.h (MSGTYPE_SMIME): New.
* src/message.cpp (message_incoming_handler): Check message class for
unknown and unchecked messages. Take care MSGTYPE_SMIME.
* src/ext-commands.cpp (DoCommand): Add debug command change
message class.
2007-12-07 Werner Koch <[email protected]>
* src/ext-commands.cpp (InstallCommands): Removed toolbar button fro
decrypt as this is not anymore needed. Fixes bug#860.
(QueryHelpText): Ditto.
2007-11-12 Werner Koch <[email protected]>