/[winpt]/trunk/Src/ChangeLog
ViewVC logotype

Annotation of /trunk/Src/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 451 - (hide annotations)
Sat May 5 14:06:10 2012 UTC (12 years, 9 months ago) by twoaday
File size: 244195 byte(s)
2012-05-05  Timo Schulz  <twoaday@gmx.net>

        * wptListview.cpp (keylist_listview_notify): Cleanups.
	* wptClipSignDlg.cpp (clip_sign_dlg_proc): Fixed a race condition
        that could cause a segfault.
        * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
        * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Likewise and
        enabled the 'redraw' code again.        
	

1 twoaday 451 2012-05-05 Timo Schulz <[email protected]>
2    
3     * wptListview.cpp (keylist_listview_notify): Cleanups.
4     * wptClipSignDlg.cpp (clip_sign_dlg_proc): Fixed a race condition
5     that could cause a segfault.
6     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
7     * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Likewise and
8     enabled the 'redraw' code again.
9    
10 twoaday 447 2012-04-16 Timo Schulz <[email protected]>
11    
12     * wptListview.cpp (listview_set_image_list): Set background
13     color after the icons haven been added.
14    
15 twoaday 441 2012-04-14 Timo Schulz <[email protected]>
16    
17     * wptBalloonPop.cpp (window_proc): Removed unused variable.
18     * wptCardDlg.cpp (do_askpin): Corrected generation of PIN
19 twoaday 442 info text.
20     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Removed unused
21     variable.
22     * wptKeylist.cpp (get_key_pubalgo): Extra handling for '0'.
23     * wptGPG.cpp (default_key_from_cache): Removed unused variable.
24 twoaday 444 * wptTrayPop.cpp (show_msg): Minor cleanups.
25     * wptFileCBS.cpp (read_cb, write_cb): Changed return type to 'ssize_t'.
26     * wptKeyEditDlg.cpp (showpref_dlg_proc): Removed unused variable.
27 twoaday 441
28 twoaday 442 Thanks to Grzesiek from the patches.
29    
30    
31 twoaday 432 2012-04-09 Timo Schulz <[email protected]>
32    
33     * wptKeylist.cpp (keylist_build): New icon for
34     expired public keys.
35    
36 twoaday 426 2012-04-07 Timo Schulz <[email protected]>
37    
38 twoaday 427 * wptFileManager.cpp (fm_add_dir_files): Limited scope of
39     local vars.
40 twoaday 428 * wptImageList.cpp (km_imagelist_load): Use COLOR16 and
41 twoaday 427 a larger icon size.
42 twoaday 428 * wptKeylist.cpp (keylist_build): Likewise.
43     * wptListView.cpp (listview_set_image_list): Likewise.
44     * wptNLS.cpp: New translation (Polish).
45 twoaday 427
46     2012-04-07 Timo Schulz <[email protected]>
47    
48 twoaday 426 * wptSigTreeDlg.cpp (treeview_set_image_list): Use ICON16.
49     * wptVerifyList.cpp (verlist_build): Adjusted column widths.
50    
51 twoaday 419 2012-03-03 Timo Schulz <[email protected]>
52    
53     * WinPT.cpp (get_file_version): Improved error checking.
54     (gpg_set_debug_mode): Likewise.
55 twoaday 420 * wptMainProc.cpp (add_taskbar_icon): Limit tooltip size.
56 twoaday 419
57 twoaday 418 2012-02-26 Timo Schulz <[email protected]>
58    
59     * WinPT.cpp (WinMain): Check for possible errors
60     during the file verification process.
61    
62 twoaday 417 2012-02-16 Timo Schulz <[email protected]>
63    
64     * wptErrors.cpp (setup_logfile): New. Factored out the
65     code to create the debug logging file.
66     (log_debug): Use it here and disable debugging in case
67     of any file problems.
68    
69 twoaday 414 2012-02-11 Timo Schulz <[email protected]>
70    
71     * wptCurrWnd.cpp (get_current_wnd): store thread ID
72     pair to avoid side-effects.
73     (paste_window_content): Likewise.
74     (copy_window_content): Likewise.
75 twoaday 415 * WinPT.cpp (WinMain): Switch to disable hooking.
76     * wptMainProc.cpp (winpt_main_proc): Handle it here.
77 twoaday 414
78 twoaday 407 2012-02-06 Timo Schulz <[email protected]>
79    
80     * wptNLS.cpp (gettext_free_current_domain): Replace free()
81     with safe_free():
82     * WinPT.cpp: Use log_debug to improve bug tracking capabilities.
83 twoaday 409 * wptGPG.cpp (check_keyring): Improved error checking.
84     * wptFileManager.cpp: Removed obsolete code.
85 twoaday 407
86 twoaday 398 2012-01-29 Timo Schulz <[email protected]>
87    
88     * wptNLS.cpp: Added 'Dutch' as a valid language.
89 twoaday 400 * wptSigTreeDlg.cpp (sigtree_load): Fixed gcc warning.
90     * wptKeyserver.cpp (kserver_connect): Likewise.
91 twoaday 398
92 twoaday 392 2012-01-15 Timo Schulz <[email protected]>
93    
94     * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc):
95     Invert logic to disable the calendar control for the
96     key expiration date.
97     * wptKeyPropsDialog.cpp (on_init_dialog): Localized missing string.
98    
99 twoaday 384 2011-12-13 Timo Schulz <[email protected]>
100    
101     * Makefile.am: Enable SSP and corrected dependencies.
102     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Redraw control after
103     a key was updated from a keyserver.
104    
105 twoaday 381 2011-12-12 Timo Schulz <[email protected]>
106    
107     * WinPT-en.rc: Remove winpt.org strings. Thanks to Ralf.
108    
109 twoaday 372 2011-12-09 Timo Schulz <[email protected]>
110    
111     * wptNLS.cpp (gettext_set_user_domain): Changed return type to
112     void.
113    
114 twoaday 366 2011-12-06 Timo Schulz <[email protected]>
115    
116 twoaday 368 * wptNLS.cpp (get_user_langid): Removed.
117     Use gettext_get_langid() instead. Changed all callers.
118     (gettext_set_file): Removed.
119     (w32_stpcpy): Likewise.
120     * StringBuffer.cpp: Overload '=' operator for 'char*'.
121    
122     2011-12-06 Timo Schulz <[email protected]>
123    
124 twoaday 366 * wptKeyPropsDlg.cpp (on_init_dialog): Extra hint in
125     the title that the key has been revoked.
126     * wptKeyManagerDlg.cpp (keymanger_dlg_proc): Redraw
127     list view in case a modal client dialog has been closed.
128    
129 twoaday 355 2011-12-04 Timo Schulz <[email protected]>
130    
131     * WinPT.cpp (get_file_version): New.
132     Improved error handling.
133    
134 twoaday 349 2011-12-01 Timo Schulz <[email protected]>
135    
136     * wptGroupsDlg.cpp: Removed.
137     * wptGroupManager.cpp: Likewise.
138 twoaday 350 * wptKeyTrustPathDlg.cpp: Removed.
139 twoaday 349
140 twoaday 346 2011-11-30 Timo Schulz <[email protected]>
141    
142     * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Adjusted
143     positions for GPG menu entries.
144    
145 twoaday 340 2011-11-25 Timo Schulz <[email protected]>
146    
147     * WinPT.cpp (check_os_version): New. Separated
148     function to check the OS verson.
149     Removed emulate utf8 bug legacy code.
150 twoaday 344 * wptKeygenDlg.cpp (gpg_genkey_params): Use the bits
151     also for the primary key since we are now supporting DSAv2.
152     (keygen_wizard_dlg_proc): Adjusted for DSAv2.
153     * wptKeyEditDlgs.cpp (is_jpg_file): Modernized.
154     (keyedit_addsubkey_dlg_proc): Removed 1024-bit DSA check
155     and rewrote index to gpg menu mapping. Fixed wrong text label.
156 twoaday 345 * wptProxySettingsDlg.cpp (keyserver_proxy_dlg_proc): Use balloon
157     error boxes.
158 twoaday 344
159     * Integrated patches from Remi FAVIER.
160 twoaday 340
161 twoaday 320 2007-08-03 Timo Schulz <[email protected]>
162    
163     * wptMainproc.cpp (wpt_main_proc): A single click
164     with the mouse, left button, also shows the menu.
165     * wptKeyEdit.cpp (uid_inf_colon_handler): uid is always
166     allocated and thus remove the additional check before free().
167    
168    
169 twoaday 315 2007-05-25 Timo Schulz <[email protected]>
170    
171     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Issue a warning
172     if the gpgProgram entry will be modified. Suggested by Werner.
173    
174 twoaday 306 2007-03-23 Timo Schulz <[email protected]>
175    
176     * wptCardDlg.cpp (card_keygen_dlg_proc): Use dynamic
177     variables to avoid heap operations.
178 twoaday 308 * wptKeyManager.cpp (km_http_import): Adjust the http class.
179 twoaday 306
180 twoaday 303 2007-03-21 Timo Schulz <[email protected]>
181    
182     * wptKeyManager.cpp (gpg_keylist_to_pattern): Return allocated
183     array of strings.
184     (km_clip_export): Really export all selected keys.
185     (km_file_export): Likewise.
186    
187 twoaday 297 2007-03-17 Timo Schulz <[email protected]>
188    
189     * wptErrors.cpp (debug_end): Reset FP pointer.
190     (printf_box): Fix buffer calculation.
191     * wptOwnertrustDlg.cpp (gpg_import_ownertrust): Actually
192     return the error.
193    
194 twoaday 295 2007-03-13 Timo Schulz <[email protected]>
195    
196     * wptGPG.cpp (gpg_check_file_permissions): New.
197     (my_access): Renamed to..
198     (check_file_access): ..this.
199    
200 twoaday 291 2007-03-12 Timo Schulz <[email protected]>
201    
202     * wptVerifyList.cpp (extract_filename): Simplified.
203 twoaday 293 * wptKeyserverSearchDlg.cpp (fetch_keys): Avoid possible memory
204     leak for some error cases.
205 twoaday 291
206 twoaday 288 2007-03-10 Timo Schulz <[email protected]>
207    
208     * wptKeyserver.cpp (kserver_recvkey): Use StringBuffer to
209     avoid possible allocation problems.
210     (kserver_seararch_begin): Likewise.
211 twoaday 290 (parse_pub_record): Double check fpr to key ID problem.
212     Noted by Mike Culbertson.
213 twoaday 288
214 twoaday 286 2007-03-09 Timo Schulz <[email protected]>
215    
216     * wptClipImportDlg.cpp (print_import_status): Use the fingerprint
217     instead of the key ID to avoid problems with v3 keys.
218     * wptClipDecryptDlg.cpp (verify_get_clip_info): Use key ID
219     in case of v3 keys. Noted by Raphael
220     (verify_show_signature_state): Likewise.
221     * wptVerifyList.cpp (verlist_add_sig_log): Likewise.
222     (verlist_add_sig): Likewise.
223    
224 twoaday 278 2006-12-30 Timo Schulz <[email protected]>
225    
226     * StringBuffer.cpp (StringBuffer): New.
227     * wptPassphraseDlg.cpp (set_passphrase_hint): Replace error prone
228     sprintf code with the new string buffer implementation.
229     * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
230    
231     2006-12-28 Timo Schulz <[email protected]>
232    
233     * wptKeylist.cpp (get_key_desc): Avoid possible overflow.
234     * wptW32API.cpp (get_locale_time): New.
235     (get_locale_timedate): New.
236     * wptVerifyList.cpp (strtimestamp): Deleted. Changed all
237     callers to get_locale_timedate.
238     * wptMainProc.cpp (winpt_main_proc): Cleanup gettext resources.
239     * wptNLS.cpp (gettext_free_current_domain): New.
240     (gettext_set_file): Removed all '/' code.
241     * wptPassphraseCb.cpp (passphrase_callback_proc): Make sprintf
242     code more robust.
243    
244 twoaday 276 2006-12-21 Timo Schulz <[email protected]>
245    
246     * wptCryptDisk.cpp, wptCryptDiskSrv.cpp: Deleted.
247     The Code will be possibly used in a separate project.
248    
249 twoaday 273 2006-12-05 Timo Schulz <[email protected]>
250    
251     * wptClipDecryptDlg.cpp (verify_get_clip_info): If
252     there is no pubkey available, issue a hint and not BUG.
253    
254     2006-12-02 Timo Schulz <[email protected]>
255    
256     * WinPT-en.rc: Remove wipe free space menu item.
257     * wptRegistry.cpp (get_reg_winpt_prefs): Remove wipemode.
258     * wptFileManageRDlg.cpp (file_secdel_confirm_dlg_proc):
259     Allow to set the passes here.
260     * wptFileManager.cpp (fm_encrypt): change all callers
261     for the wipe functions.
262     * wptListview.cpp (listview_sort_items): Extract code
263     to change the column image.
264     * wptKeylist.cpp (key_get_image_id): New.
265     (keylist_build): Change return type and all callers.
266     * wptGPG.cpp (gnupg_load_config): Kludge to detect
267     the 'textmode' option.
268     * wptPassCache.cpp (wipe_data): replaced with wipememory().
269    
270     2006-11-12 Timo Schulz <[email protected]>
271    
272     * wptGPG.cpp (check_gnupg_options): Fix sizeof != DIM problem.
273     * wptGPGOptDlg.cpp (gpg_opt_dlg_proc): Better checks to
274     avoid invalid gpg.conf entries.
275     Thanks to Ralf Latz.
276    
277 twoaday 271 2006-11-04 Timo Schulz <[email protected]>
278    
279     * wptW32API.cpp (set_clip_text2): Make sure enough memory
280     will be allocated.
281     * wptFileManagerDlg.cpp (file_manager_dlg_proc): Delete list
282     view entries for none existing files.
283     * wptKeySignDlg.cpp (keysign_dlg_proc): Simplified.
284     * wptClipboard.cpp (gpg_data_change_version): Be more liberal.
285     * wptKeyserver.cpp (parse_pub_record): Convert FPR entries
286     into KEYID entries.
287     * wptGPG.cpp (gnupg_backup_keyrings): Release memory in case
288     of errors.
289     (get_backup_name): Use constant formant spec.
290     (extract_keyid): Simplified.
291     * wptKeyserver.cpp (kserver_connect): Return proxy error if
292     approriate.
293     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Correct memory
294     handling to avoid possible segfaults.
295     (fetch_key_from_keyserver): Real error handling.
296     * wptFileManager.cpp (fm_gpg_verify): New.
297     (fm_verify): Support to fetch key here to avoid problems later.
298     * wptFileCBS.cpp (file_data_rewind): New.
299    
300    
301     2006-10-27 Timo Schulz <[email protected]>
302    
303     * wptGPG.cpp (get_backup_name): Make sure enough memory
304     will be allocated.
305     (gnupg_backup_keyrings): Release memory in case of errors.
306    
307 twoaday 270 2006-10-21 Timo Schulz <[email protected]>
308    
309     * wptKeyserver.cpp (get_reg_proxy_prefs): Load the protocol
310     and store it.
311 twoaday 271 * wptKeyCache.cpp (parse_attr_data): Avoid zombie temp files.
312 twoaday 270
313     2006-10-04 Timo Schulz <[email protected]>
314    
315     * wptFileManager.cpp (fm_check_armor_type): Remove space in
316     search pattern string.
317     (fm_check_for_entry): Case insentensive search.
318     (fm_add_dir_files): Use W32 API directly.
319     * wptVerifyList.cpp (verlist_add_sig_log): Use proper icon.
320     * wptGPGUtil.cpp (get_gpg_version): Cleanups.
321    
322 twoaday 262 2006-08-30 Timo Schulz <[email protected]>
323    
324     * wptRegistry.cpp (get_reg_entry): Do not use static buffers.
325     * wptKeyserverDlg.cpp (add_pattern_to_combox): New.
326     (save_pattern_from_combox): New.
327     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Solve icon problem.
328     * wptGPGMEWrapper.c (importFromBuffer): New.
329     * WinPT.cpp (check_crypto_engine): Only enable PC/SC when the
330     system really has smart card services enabled.
331     * wptKeyManger.cpp (km_http_import): Stricter error checking.
332     * wptFileManager.cpp (fm_send_file): Use at least MAX_PATH
333     for the file name.
334    
335     2006-08-24 Timo Schulz <[email protected]>
336    
337     * wptHTTP.cpp (extraHostInfo): Handle case when no doc were given.
338     (get): Better error handling.
339     (head): Likewise.
340     * wptGPGME.cpp (sigsum_to_index): Just map the index without
341     any checks.
342     * wptCommonDlg.cpp (check_URL): Be more strict.
343    
344 twoaday 260 2006-08-11 Timo Schulz <[email protected]>
345    
346     * wptGPGMEWrapper.cpp (importFromFile): New.
347     (importFromClipboard): New.
348     (importGetResult): New.
349     * wptKeyManager.cpp (km_file_import): Use gpgme wrapper.
350     (km_clip_import): Ditto.
351     * wptKeyEdit.cpp (addCardKey): New.
352     * wptKeyEditCB.cpp (cmd_addcardkey_handler): New.
353     * wptCardEdit.cpp (get_str_timestamp): Use locale date format.
354     * wptCardDlg.cpp (card_edit_dlg_proc): Began to localize dialog.
355     * wptKeyCache.cpp (key_divert_to_card): Adjusted for 'addcardkey'.
356    
357     2006-08-10 Timo Schulz <[email protected]>
358    
359     * wptFileManager.cpp (fm_verify_pasted_detsig): '=' should be
360     '=='.
361     * wptGPGME.cpp (sigsum_to_index): Correctly handle expired
362     keys and signatures.
363     (get_gpg_sigstat): Adjusted code.
364     * wptCardDlg.cpp (card_changepin_dlg_proc): Cleanups.
365     (gpg_card_load): Improved card detection code.
366     * wptFirstRunDlg.cpp (first_run_dlg_proc): Allow to generate
367     a key on a card. Suggested by Achim.
368     * wptUtil.cpp (check_email_address): Add sanity check for
369     the length.
370     * WinPT.cpp (WinMain): Handle cardgen request.
371    
372 twoaday 256 2006-08-04 Timo Schulz <[email protected]>
373    
374     * wptKeysignDlg.cpp (display_keyinfo): Skip revoked user IDs.
375     * wptKeyManagerDlg.cpp (reload_keylist): Use updated ptr.
376     * wptKeyCache.cpp (gpg_keycache_delete_key): Correct handling
377     for the situation that the last key in the cache is deleted.
378     * wptFileManagerDlg.cpp (update_ui_items): Fix file name
379     detection.
380    
381     2006-08-02 Timo Schulz <[email protected]>
382    
383     * wptClipDecryptDlg.cpp (verify_get_clip_info): Fix problem
384     with static data.
385     (clip_decrypt_dlg_proc): Prefix keyid with 0x.
386     (get_key_userid): Fix problem when key was not found.
387     * wptClipVerifyDlg.cpp (fetch_key_from_keyserver): Correct
388     fingerprint to short keyid conversion.
389     * wptVerifyList.cpp (verlist_set_additional_info): Handle bad
390     sigs.
391     * wptKeyManagerDlg.cpp (update_status_bar): Faster update code.
392    
393    
394 twoaday 255 2006-08-01 Timo Schulz <[email protected]>
395 twoaday 248
396 twoaday 255 * wptGPG.cpp (get_last_gnupg_access): Enhanced.
397     (gnupg_display_error): Removed unused code.
398     * wptPassphraseCB.cpp (parse_gpg_description): Text output
399     is now more human readable.
400     * wptKeyManager.cpp (km_refresh_from_keyserver): Return an
401     error code in all cases.
402    
403     2006-07-31 Timo Schulz <[email protected]>
404    
405     * wptMainProc.cpp (clip_gpg_dlg): Merge in the current window
406     handling code.
407     * wptCurrWnd.cpp (wnd_msg_em_set_pos): Reset pos to 0, not 1.
408     * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Disable sorting
409     for list view controls.
410    
411     2006-07-30 Timo Schulz <[email protected]>
412    
413     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Change menu style.
414     * wptKeySignDlg.cpp (keysign_dlg_proc): List all user IDs.
415     (display_keyinfo): New.
416     * wptKeySigDlg.cpp (init_datepicker_from_time): New.
417     (keysig_dlg_proc): List creation time.
418     * wptKeyManager.cpp (km_send_to_mail_recipient): Fix file
419     handling.
420    
421     2006-07-28 Timo Schulz <[email protected]>
422    
423 twoaday 248 * wptKeyManager.cpp (lv_del_confirmed_keys): New.
424     * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Automatically
425     adjust key size.
426     * wptKeygenDlg.cpp (keygend_dlg_proc): Likewise.
427    
428     2006-07-25 Timo Schulz <[email protected]>
429    
430     Applied spelling corrections from Anthony Bryan.
431     * wptKeyserverDlg.cpp (keyserver_dlg_proc): Changed design.
432     * wptKeygenDlg.cpp (backup_keyrings): Change default keyring.
433    
434     2006-07-22 Timo Schulz <[email protected]>
435    
436     * wptMainProc.cpp (elgamal_warn_dlg_proc): Properly handle
437     utf8 encoded user ids.
438     (winpt_main_proc): Cleanups.
439     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Allow to copy
440     email address to the clipboard.
441    
442     2006-07-15 Timo Schulz <[email protected]>
443    
444     * WinPT.cpp (WinMain): Compare PTD and WinPT version to avoid
445     any compatibility problems.
446     * wptW32API.cpp (get_file_version): Cleanups.
447    
448 twoaday 247 2006-07-10 Timo Schulz <[email protected]>
449    
450     * wptUtil.cpp (check_file_name): New.
451     * wptKeyRevokeDlg.cpp (mk_cert_name): Avoid illegal chars.
452     (key_revoke_dlg_proc): Likewise.
453     * wptMDSumDlg.cpp (mdsum_dlg_proc): Corrected file handling.
454     * wptImportList.cpp (implist_load): Likewise.
455     * wptFileSaveDlg.cpp (file_save_dlg_proc): Likewise.
456     * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Hide dialog item.
457    
458 twoaday 246 2006-07-05 Timo Schulz <[email protected]>
459 twoaday 236
460 twoaday 246 * wptMainProc.cpp (winpt_main_proc): Change menu texts.
461     * wptClipEditDlg.cpp (clip_edit_dlg_proc): More lightweight
462     with a menu instead of dozen of buttons.
463    
464 twoaday 244 2006-07-01 Timo Schulz <[email protected]>
465    
466     * wptFileManager.cpp (fm_sort): Rewritten.
467     (fm_build): Modify param type. Change all callers.
468     (fm_cmp_cb): Adjusted for the new code.
469     * wptMDSumDlg.cpp (mdsum_dlg_proc): Minor changes and model
470     for the list view.
471     * wptFileManagerDlg.cpp (file_manager_dlg_proc): Use info
472     context and model for the list view.
473     (update_status_bar): Fix calculation of the size of the
474     selected files.
475     * wptProgressDlg.cpp (wait_for_progress_cb): Changed semantic
476     and return type.
477    
478 twoaday 241 2006-06-28 Timo Schulz <[email protected]>
479    
480     * wptGPGPrefsDlg.cpp (load_gpg4win_values): Fix control logic
481     and memory leak.
482     * wptListView.cpp (listview_find_substr): New.
483     (listview_sort_items): Use symbolic ids.
484     * wptKeyManager.cpp (km_find_key): Allow substring search.
485    
486 twoaday 236 2006-06-27 Timo Schulz <[email protected]>
487    
488     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Also call viewer
489     when no sig has been found (if requested).
490     * wptClipEditDlg.cpp (clip_edit_dlg_proc): Use a button to
491     quote instead of the check box. Cleanups.
492     * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Correct
493     sorting problem and wrong icon display.
494     * wptListView.cpp (listview_sort_items): Correct code for
495     checkbox based lists.
496     * wptKeylist.cpp (keylist_build): Add sorting icons.
497     * wptKeyEditDlgs.cpp (create_header_tooltip): New.
498    
499 twoaday 234 2006-06-24 Timo Schulz <[email protected]>
500    
501     * wptMainProc.cpp (winpt_main_proc): Localize missing string.
502     * wptKeyEditDlgs.cpp (do_add_new_subkey): Better fpr to keyid
503     conversion.
504     (subkey_list_init): Simplified.
505    
506     2006-06-22 Timo Schulz <[email protected]>
507    
508     * WinPT-en.rc: Include versioninfo.rc to generate
509     the version info automatically.
510    
511 twoaday 231 2006-06-19 Timo Schulz <[email protected]>
512    
513     * wptClipDecryptDlg.cpp (verify_get_clip_info): Improved
514     format of the sig info text.
515     * wptKeyserver.cpp (check_hkp_response): Invert error logic.
516     * wptKeyserverDlg.cpp (keyserver_recv_key): Corrected error
517     handling.
518 twoaday 233 * wptPassphraseDlg.cpp (request_key_passphrase): Return
519     utf8 encoded passphrase.
520 twoaday 231
521 twoaday 229 2006-06-18 Timo Schulz <[email protected]>
522    
523     * wptKeygenDlg.cpp (keygen_dlg_proc): Fix typo.
524     * wptClipDecryptDlg.cpp (verify_get_clip_info): New.
525     (verify_get_key_ownertrust): New.
526     (clip_decrypt_dlg_proc): New argument. Change all callers.
527     * wptClipEditDlg.cpp (clip_edit_dlg_proc): Handle the case
528     that the dialog was called with a param.
529     * wptMainProc.cpp (winpt_main_proc): Wait for thread in
530     case of dbl-click.
531    
532     2006-06-16 Timo Schulz <[email protected]>
533    
534     * wptProgressDlg.cpp (wait_for_progress_cb): New.
535     * wptMainProc.cpp (winpt_main_proc): Use this function
536     to disallow to access the cache during synchronisation.
537     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
538     * wptKeyserver.cpp (check_hkp_response): Improved text
539     extraction.
540     (parse_keyserver_error): New.
541     * wptPassphraseDlg.cpp (request_passphrase): Support utf8
542     encoding.
543     * wptKeyEditDlgs.cpp (keyedit_change_passwd): Warn if passhrase
544     needs to be utf8 encoded but still allow it.
545     * wptPassphraseCBDlg.cpp (passphrase_callback_proc): Utf8 support.
546     * wptKeygenDlg.cpp (keygen_dlg_proc): Likewise.
547     * wptKeyRevokeDlg.cpp (keyrevoke_dlg_proc): Likewise.
548    
549 twoaday 228 2006-06-15 Timo Schulz <[email protected]>
550    
551     * wptVerList.cpp (verlist_build): Use icons.
552     (verlist_add_sig): Set image number according to sig state.
553    
554     2006-06-14 Timo Schulz <[email protected]>
555    
556     * wptAboutDlgs.cpp (about_winpt_dlg_proc): Translate
557     authors string here. Noted by Eduardo.
558     * wptSymEnc.cpp (gpg_clip_sym_encrypt): Check all return codes.
559    
560 twoaday 226 2006-06-09 Timo Schulz <[email protected]>
561    
562     * wptKeyEditDlgs.cpp (do_add_new_subkey): Properly handle
563     RSA_E and RSA_S.
564     * wptFileManager.cpp (fm_sym_encrypt): Better dialog title.
565    
566     2006-06-08 Timo Schulz <[email protected]>
567    
568     * wptKeyserver.cpp (parse_keyserver_url): Handle special case.
569     * wptKeySignDlg.cpp (keysign_dlg_proc): Show photo if possible.
570     (showphoto_dlg_proc): New.
571     * wptKeyManagerDlg.cpp (restore_window_size): New.
572     (keymanager_dlg_proc): Restore original window size on startup.
573     (copy_key_info): Allow to copy multiple key items.
574    
575 twoaday 225 2006-06-06 Timo Schulz <[email protected]>
576    
577     * wptKeyEditCB.cpp (cmd_sign_handler): Return 0 by default
578     if no expire date were given.
579    
580     2006-06-05 Timo Schulz <[email protected]>
581    
582     * wptPassphraseDlg.cpp (request_passphrase): Release mem
583     in case of errors.
584     (request_key_passphrase): New.
585     (set_passphrase_hint): New.
586     * wptKeyEditDlgs.cpp (do_editkey_sign_userid): Show passphrase
587     hint. Suggested by vedaal.
588    
589     2006-06-03 Timo Schulz <[email protected]>
590    
591     * wptPINDlg.cpp (pin_dlg_proc): Remove static var.
592     * wptClipEncryptDlg.cpp (show_invalid_recipients): Handle
593     the case that 'encrypt-to' points to a non-existing item.
594     * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Do not close
595     the dialog if an error occurred.
596     * wptKeygenDlg.cpp (keygn_dlg_proc): Check expirate date.
597     * wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Release mem
598     in case of errors.
599     * wptKeyserverDlg.cpp (check_pattern): Improved code.
600     (keyserver_dlg_proc): All comparisons are case insentensive.
601     * wptKeyserver.cpp (parse_uid_record): utf8 decode user id.
602    
603 twoaday 223 2006-06-02 Timo Schulz <[email protected]>
604    
605     * wptKeygenDlg.cpp (keygen_dlg_proc): Forgot to apply patch.
606    
607 twoaday 222 2006-06-01 Timo Schulz <[email protected]>
608    
609     * wptKeyserver.cpp (check_URL): change semantic.
610     (skip_type_prefix): Use check_URL().
611     * wptGPG.cpp (gnupg_backup_keyrings): New argument to
612     include secret keyring backups. Change all callers.
613     * wptRegistry.cpp (get_reg_winpt_prefs): Support new option.
614     (set_reg_winpt_prefs): Likewise.
615     * wptPreferencesDlg.cpp (on_init_dialog): Adjust the code.
616    
617 twoaday 220 2006-05-29 Timo Schulz <[email protected]>
618    
619     * wptKeyserver.cpp (keyserver_set_default): Also set default port.
620    
621     2006-05-27 Timo Schulz <[email protected]>
622    
623     * wptKeyEditDlgs.cpp (keyedit_change_passwd): Handle empty
624     passphrase requests.
625     * wptClipDecryptDlg.cpp (verify_show_signature_state): Modified
626     for global use.
627     * wptFileManager.cpp (fm_decrypt): Use it here.
628     * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Simplified.
629    
630 twoaday 219 2006-05-25 Timo Schulz <[email protected]>
631    
632     * wptGPGUtil.cpp (gpg_rebuild_cache): Return error code.
633     * wptGPGME.cpp (winpt_get_seckey): Fix off-by-one bug.
634     * wptVerifyList.cpp (verlist_build): New argument type.
635     Change all callers.
636     (verlist_set_info_control): New.
637     (verlist_set_additional_info): New.
638     * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Adjust code.
639     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise.
640     * wptFileCBS.cpp (read_cb, write_cb): Add logging.
641    
642 twoaday 218 2006-05-23 Timo Schulz <[email protected]>
643 twoaday 217
644 twoaday 218 * wptKeyEditDlgs.cpp (do_add_new_userid): Fix re-introduced
645     problem.
646     (keyedit_main_dlg_proc): Popup menu for the user ID list
647     with common commands.
648     * wptKeyserverDlg.cpp (keyserver_dlg_proc): Automatically
649     disable search for ldap servers.
650     Use subkeys.pgp.net by default when no server was selected.
651    
652     2006-05-22 Timo Schulz <[email protected]>
653    
654     * wptRegistry.cpp (set_reg_winpt_prefs, get_reg_winpt_prefs):
655     Support for the new 'default ext' value.
656     * wptPreferencesDlg.cpp (on_init_dialog): Likewise.
657     (prefs_dlg_proc): Likewise.
658     * wptFileManager.cpp (file_get_extension): Likewise.
659     (get_output_file): Likewise.
660     (fm_export): Likewise.
661    
662     2006-05-20 Timo Schulz <[email protected]>
663    
664 twoaday 217 * wptKeyPropsDlg.cpp (keyprops_load_photo): avoid expensive
665     process call when no photo is available.
666     (keyprops_dlg_proc): avoid static data.
667     * wptFileManager.cpp (fm_add_sig_stat): Free memory in case
668     of on demand key requests.
669     (show_verify_result): Likewise.
670     (secret_key_available): Likewise.
671     (fm_decrypt, fm_sign): Handle the new on demand key request
672     mode and free all memory.
673    
674 twoaday 215 2006-05-15 Timo Schulz <[email protected]>
675    
676     * wptKeyEditDlgs.cpp (userid_list_init): Forgot to
677     apply patch. Thanks to vedaal.
678    
679 twoaday 214 2006-05-14 Timo Schulz <[email protected]>
680    
681     * wptKeyCache.cpp (gpg_keycache_update_attr): Parse
682     preferred keyserver URL.
683     * wptHTTP.cpp (extractHostInfo): Fix segv.
684     * wptGPGUtil.cpp (gpg_find_key_subpacket): Ignore default
685     gpg.conf.
686     * wptKeyserverSearchDlg.cpp (search_hkp_keys): Do not
687     assume an existing user id.
688     * wptPassphraseCB.cpp (passphrase_cb): Automatic cancel
689     if no passphrase is available.
690    
691     2006-05-13 Timo Schulz <[email protected]>
692    
693     * wpMainProc.cpp (secret_key_available): Move it...
694     * wptGPGME.cpp: ..to this file.
695     (check_ultimate_trusted_key): Handle the case there
696     is no secret key available.
697     * wptFileManagerDlg.cpp (update_ui_items): Improved.
698     * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Deactive
699     some functions when no secret key is available.
700     * wptKeyserverSearchDlg.cpp (search_hkp_keys): Adjust
701     code and also display pubkey algorithm.
702     * wptKeyserver.cpp (safe_alloc): New.
703     (count_keys_in_response): New.
704     (parse_pub_record): New.
705     (parse_uid_record): New.
706     (kserver_release_key): New.
707     (kserver_search_begin, kserver_search_next_key):
708     Adjust for the machine readable output. Removed old code.
709     (parse_keyserver_url): New.
710     * wptUtil.cpp (substr): New.
711     * wptKeyManager.cpp (km_refresh_one_key): Properly
712     parse the keyserver URL.
713    
714     2006-05-11 Timo Schulz <[email protected]>
715    
716     * wptPassphraseCB.cpp (release_gpg_recipients): New.
717     (release_gpg_recipients): Use it here.
718     * wptFileManager.cpp (fm_decrypt): List all recipients.
719     Thanks to vedaal.
720     * wptGPG.cpp (extract_keyid): New.
721     (get_gnupg_default_key): Use it here.
722     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Allow to verify
723     one-pass-sigs again.
724    
725 twoaday 212 2006-05-09 Timo Schulz <[email protected]>
726    
727     * wptKeyRevokersDlg.cpp (revokelist_build): Store key ptr.
728 twoaday 213 * wptClipSignDlg.cpp (gpg_clip_sign): Improve error handling.
729     * wptKeysigDlg.cpp (sigprops_dlg_proc): Correct expire date.
730 twoaday 212
731 twoaday 211 2006-05-07 Timo Schulz <[email protected]>
732    
733     * wptKeyserverDlg.cpp (hkp_err_box): Improved.
734     * wptKeyserver.cpp (wsock_strerror): Likewise.
735     * wptKeygenCBDlg.cpp (keygen_cb_dlg_destroy): New param.
736     Change all callers.
737 twoaday 212 * wptKeysigDlg.cpp (do_load_keyprops): Correct key update
738     problem.
739 twoaday 211
740     2006-05-06 Timo Schulz <[email protected]>
741    
742     * wptKeyManagerDlg.cpp (reload_keycache): Use pre-defined
743     sorting order if available.
744     * wptKeyPropsDlg.cpp (key_props_dlg_proc): Use 0x prefix
745     for the key ID.
746     (get_pref_cipher): Differ between the AES algorithm IDs.
747     (key_is_valid): New.
748     * wptKeyserverDlg.cpp (check_pattern): Simplified.
749    
750 twoaday 210 2006-05-03 Timo Schulz <[email protected]>
751    
752     * wptKeyCache.cpp (keycache_prepare2): Fix possible segv.
753     Thanks to Mathias.
754    
755 twoaday 209 2006-05-02 Timo Schulz <[email protected]>
756    
757     * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Use a
758     caption for the radio button group.
759     * wptKeyserverDlg.cpp (keyserver_recv_key): Use new code.
760     * wptKeyserver.cpp (kserver_recvkey, finger_recvkey,
761     ldap_recvkey): Avoid fixed buffers.
762     (do_spawn_ldap_helper): New.
763     (ldap_recvkey): Factor out code into helper function.
764     * wptPassphraseCBDlg.cpp (passphrase_callback_proc):
765     Increase width of the list box to make sure even large
766     user IDs will be completly displayed.
767    
768 twoaday 208 2006-05-01 Timo Schulz <[email protected]>
769    
770     * WinPT.cpp (WinMain): Check if the user has admin privileges.
771     * wptW32API.cpp (user_is_admin): New.
772     * wptKeysigDlg.cpp (sigprops_dlg_proc): Cosmetical changes.
773     * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Use timer
774     to re-activate the window again.
775     * wptKeylist.cpp (get_key_trust2): Differ between "full"
776     and "ultimate".
777     * wptKeyCache.cpp (keycache_prepare2): Primary user-id
778     has now highest priority.
779     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Use new utf8
780     system.
781    
782     2006-04-30 Timo Schulz <[email protected]>
783    
784     * wptKeyCache.cpp (gpg_keycache_release): Release revoker
785     list if needed.
786     * wptKeyRevokersDlg.cpp (key_get_revokers): New.
787     (key_revokers_dlg_proc): Expect winpt_key_t. Change all callers.
788     * wptKeyEditDlgs.cpp (check_desig_rev): New.
789     (do_editkey_minimize): New.
790     * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Support to
791     generate a revoc cert as a desig revoker.
792    
793     2006-04-29 Timo Schulz <[email protected]>
794    
795     * wptVerifyList.cpp (verlist_build): Adjusted code for new
796     list view interface.
797     * wptSigList.cpp (siglist_build): Likewise.
798     * wptKeyEditDlgs.cpp (showpref_dlg_proc): Correct code
799     to display the preferences of the selected UID. Thanks to Mathias.
800     * wptKeyCacheDlg.cpp (keycache_dlg_proc): Return 1 in case
801     of an error.
802     * wptKeyCache.cpp (gpg_keycache_update_key): Always update
803     the utf8 decoded uid list.
804     * wptImportList.cpp (decode_userid): Do utf8 decoding here.
805     * wptListView.cpp (listview_new): New param for HWND handle.
806     Change all callers.
807     * wptFileManager.cpp (fm_add_sig_stat): Use utf8 decoding.
808     * wptGPGUtil.cpp (gpg_revoke_cert): Support --desig-revoker.
809     * wptClipVerifyDlg.cpp (wptClipVerifyDlg.cpp): Correct
810     keyid extraction.
811    
812 twoaday 207 2006-04-28 Timo Schulz <[email protected]>
813    
814     * wptMAPI.cpp (mapi_send_pubkey): Use new key struct.
815     * wptKeysigDlg.cpp (sigprops_dlg_proc): Prepare dialog
816     for handling policy URLs.
817     * wptKeyManagerDlg.cpp (save_column_info, restore_column_info):
818     New option KMSortBy.
819     * wptKeylist.cpp (get_key_algo): Lower priority for revoked keys.
820     * wptKeyEdit.cpp (minimizeKey): New.
821     * wptKeyCache.cpp (gpg_keycache_update_key): Reload utf8 uid list.
822    
823 twoaday 205 2006-04-27 Timo Schulz <[email protected]>
824    
825     * wptKeyManager.cpp (km_get_key_ptr): New.
826     * wptListview.cpp (listview_get_item_text): Drop utf8 support.
827     * wptKeyCache.cpp (keycache_decode_uids): New.
828     (free_native_uids): New.
829     * wptKeyEdit.cpp (uid_inf_colon_handler): Do utf8 decodig here.
830    
831     2006-04-26 Timo Schulz <[email protected]>
832    
833     * wptKeylist.cpp (get_keyid_from_fpr): New.
834     * wptDecryptClipDlg.cpp (clip_decrypt_dlg): Use it here.
835     * wptVerifyList.cpp (verlist_add_sig): Likewise.
836    
837 twoaday 204 2006-04-25 Timo Schulz <[email protected]>
838    
839     * wptFileManagerDlg.cpp (file_manager_dlg_proc): Handle IDCANCEL.
840     * wptMDSumDlg.cpp (hash_selected_files): New.
841     (mdsum_dlg_proc): Cleanups.
842     * wptKeysignDlg.cpp (keysign_dlg_proc): Fix segv.
843    
844     2006-04-23 Timo Schulz <[email protected]>
845    
846     * wptW32API.cpp (SetDlgItemText_utf8): New.
847     (SetWindowText_utf8): New.
848     (GetDlgItemText_utf8): New.
849     * wptListView.cpp (listview_add_sub_item): Internal
850     utf8 support.
851    
852 twoaday 201 2006-04-22 Timo Schulz <[email protected]>
853    
854     * wptKeyEditDlgs.cpp (addrevoker_dlg_proc): Encode
855     revoker name in UTF8.
856     * wptKeysigDlg.cpp (keysig_dlg_proc): Fix utf8 problem
857     with the window title.
858    
859     2006-04-20 Timo Schulz <[email protected]>
860    
861     * wptUTF8.cpp (native_to_utf8): Use c++ alloc.
862     * wptKeygenDlg.cpp (keygen_dlg_proc): Do not mix c and
863     c++ memory allocation.
864     * wptFileManager.cpp (show_verify_result): Show PKA status
865     if possible.
866     * wptClipVerifyDlg.cpp (get_pka_status): New.
867     (clip_verify_dlg_proc): Show PKA status if possible.
868     * wptClipEditDlg.cpp (clip_edit_dlg_proc): Handle IDCANCEL
869     to use ESC to quit the dialog.
870     * wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Also
871     encode the comment in UTF8. Thanks to Werner and Jan.
872    
873 twoaday 200 2006-04-16 Timo Schulz <[email protected]>
874    
875     * wptHTTP.cpp (getErrorCode): New.
876     (connect): Store winsock error code.
877     * wptGPGMEData.cpp (is_armor_header): New.
878     * wptGPG.cpp (check_gnupg_engine): Free context.
879     (gnupg_backup_keyrings): Do not use global vars.
880     * wptGPGUtil.cpp (gpg_export_seckey): Export in ascii format.
881    
882     2006-04-15 Timo Schulz <[email protected]>
883    
884     * wptKeyManager.cpp (km_get_key): New.
885     (km_key_show_revoc_info): New.
886     * wptKeyRevokeDlg.cpp (key_revoke_dlg): Cleanups.
887     (on_init_dialog): New.
888     * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Factour
889     out some common code and use km_get_key() instead.
890     * wptKeyEditDlgs.cpp (do_init_keylist): Change second
891     param type. Change all callers.
892     * wptKeyEdit.cpp (addNotation): New.
893     * wptKeyEditCB.cpp (editkey_command_handler): Remove 'step'
894     param everywhere. Change all callers.
895    
896 twoaday 197 2006-04-09 Timo Schulz <[email protected]>
897    
898     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Only return true
899     if the homedir value was changed.
900     * wptGPG.cpp (default_key_from_cache): Only return secret key
901     if public part is available.
902     (set_gnupg_default_key): Fix NULL problem.
903     * wptKeyEditDlgs.cpp (do_editkey_clean): Set update flag.
904     * wptFileCBS.cpp (write_cb, read_cb): Better error handling.
905     * wptFileManagerDlg.cpp (file_manager_dlg_proc): Handle
906     'always-on-top' correctly.
907     * wptKeylist.cpp (keylist_get_recipients): Allocate enough
908     mem to hold all possible keys.
909     (keylist_enum_keys): Likewise.
910    
911     2006-04-08 Timo Schulz <[email protected]>
912    
913     * wptKeylist.cpp (keylist_get_recipients): Always use utf8 output.
914     * wptKeyserver.cpp (kserver_connect): Fixed proxy support.
915     * wptKeyserverSearchDlg.cpp (fetch_keys): New.
916     * WinPT.cpp (WinMain): if the default key was not found, reset
917     the gpg.conf entry.
918     * wptFileManager.cpp (fm_encrypt_into_zip): Use correct output
919     file name.
920     (show_verify_result): Always use utf8 output.
921     (get_output_file): Case in-sentensive comparison.
922     (fm_assume_onepass_sig): Fixed temp file handling.
923     * wptClipEncryptDlg.cpp (show_invalid_recipients): Fix utf8
924     output.
925     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Fix possible segv.
926    
927 twoaday 196 2006-04-07 Timo Schulz <[email protected]>
928    
929     * wptW32API.cpp (set_clip_text): Change code so it also
930     works again with non-XP systems.
931    
932 twoaday 195 2006-04-02 Timo Schulz <[email protected]>
933    
934     * wptKeyserver.cpp: decrease general threshold for timeout.
935     * wptKeyEditDlgs.cpp (do_editkey_clean): New.
936    
937     2006-04-01 Timo Schulz <[email protected]>
938    
939     * wptFileVerifyDlg.cpp (file_verify_use_event): Removed.
940     * wptFileManager.cpp (restore_original_name): New.
941     (fm_decrypt): Restore original file name from literal
942     packet if possible.
943    
944 twoaday 193 2006-03-31 Timo Schulz <[email protected]>
945    
946     * wptCommonDlg.cpp (nls_load_langlist): New.
947     (nsl_set_language): New.
948     (nls_dlg_proc): New.
949     (select_language): New. Allow user to select the language.
950     * wptNLS.c (get_gettext_langid): Updated available languages.
951     * WinPT.cpp (WinMain): Allow to select the languag on first
952     start in non-installer environments.
953     * wptVerifyList.cpp (verlist_build): Simplified.
954     (verlist_add_sig_log): Likewise.
955     * wptListview.cpp (listview_set_column_width,
956     listview_get_selected_item): New.
957     * wptKeyManager.cpp (gpg_clip_export): Merged into..
958     (km_clip_export): ..this function.
959    
960     2006-03-30 Timo Schulz <[email protected]>
961    
962     * wptW32API.cpp (insert_menu_item): New.
963     * wptSigTreeDlg.cpp (create_popup): Use it.
964     (sigtree_dlg_proc): Only show the name of the owner in the title.
965     * wptMainProc.cpp (init_common_controls): Initialize all
966     common controls here.
967     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Drop static
968     keyserver menu concept. Add all keyservers dynamically.
969    
970     2006-03-29 Timo Schulz <[email protected]>
971    
972     * wptKeyManager.cpp (km_refresh_one_key): Fix problem
973     with preferred keyserver.
974     * wptCommonDlg.cpp (check_URL): Allow non-http URL.
975     * wptKeyEditDlgs.cpp (subkey_subclass_proc,
976     uid_subclass_proc): Disable shortcuts for non keypairs.
977     * wptMainProc.cpp (winpt_main_proc): No user interaction
978     on automatic shutdown. Thanks to Werner.
979     * wptGPGUtil.cpp (xcalloc): New.
980     (gpg_rebuild_cache): Use --batch.
981    
982 twoaday 190 2006-03-26 Timo Schulz <[email protected]>
983    
984     * wptSigTreeDlg.cpp (sigtree_load): Always use UTF8.
985     * wptMainProc.cpp (winpt_main_proc): Reload key cache
986     when the GPG settings were changed.
987     * wptKeygenDlg.cpp (keygen_wizard_dlg_proc,
988     keygen_dlg_proc): Improved check for the email address.
989     * wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Likewise.
990     * wptKeyserverDlg.cpp (keyserver_dlg_proc): Modified design.
991    
992 twoaday 188 2006-03-22 Timo Schulz <[email protected]>
993    
994     * wptClipSignDlg.cpp (on_init_dialog): New.
995     Check that there is at least one useable signing key.
996     * wptSigTreeDlg.cpp (sigtree_load): Correct UTF8 handling.
997     * wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): Show error
998     if needed.
999    
1000 twoaday 187 2006-03-21 Timo Schulz <[email protected]>
1001    
1002     * wptUTF8.cpp (native_to_utf8): Use directly W32 API.
1003     (utf8_to_native): Likewise. Remove cp850 conversion.
1004     * wptKeyEditDlgs.cpp (do_find_userid): Correct UTF8 handling.
1005     * wptKeyManager.cpp (km_delete_keys): Do not reset 'with_seckey'
1006     flag.
1007    
1008 twoaday 185 2006-03-20 Timo Schulz <[email protected]>
1009    
1010     * wptUTF8.cpp (get_native_charset): Removed.
1011     (utf8_to_native): Rewritten.
1012     * wptKeyEditDlgs.cpp (do_add_new_userid): Correct charset
1013     handling.
1014     * wptKeygenCBDlg.cpp (keygen_cb): Do proper reset if needed.
1015    
1016     2006-03-16 Timo Schulz <[email protected]>
1017    
1018     * wptMainProc.cpp (winpt_main_proc): Disable all CryptDisk code.
1019     * wptCryptDisk.cpp: Disable code.
1020     * wptProxySettingsDlg.cpp (proxy_settings_dlg_proc): Support for
1021     NONE proxy protocol.
1022     (init_proxy_procotol): Likewise.
1023     (read_proxy): Likewise.
1024     * wptKeyserverSearchDlg.cpp (on_init_dialog): New.
1025     (keyserver_search_dlg_proc): Use it here.
1026     * wptKeyserverDlg.cpp (hkp_send_key): Use GPGME wrapper.
1027     * wptKeyserver.cpp (kserver_search_end): New.
1028     (kserver_search_begin): Be more strict on mem allocation.
1029     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Fix 'redraw'
1030     problem.
1031     * wptAboutDlgs.cpp (about_dlg_proc): Hide 'Help' button.
1032    
1033 twoaday 181 2006-03-12 Timo Schulz <[email protected]>
1034    
1035     * wptGPG.cpp (gnupg_load_config): Search for 'ask-cert-expire'.
1036     * wptKeyPropsDlg.cpp (display_key_info): Automatically update
1037     sym algorithm preferences if needed.
1038     * wptKeysignDlg.cpp (date_is_today): New.
1039     (keysign_dlg_proc): Only allow to set cert expire date if
1040     the option was found.
1041     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Allow to set
1042     'ask-cert-expire'.
1043    
1044     2006-03-10 Timo Schulz <[email protected]>
1045    
1046     * wptHTTP.c: deleted.
1047     * wptHTTP.cpp (wHTTP): Transformed old code into an object.
1048     * wptKeyManager.cpp (km_http_import): Use new code.
1049     (km_refresh_one_key): Use preferred keyserver if possible.
1050     * wptComonDlg.cpp (check_URL): Better conformance checking.
1051     * wptKeyEditCB.cpp (cmd_keyserver_handler): By default
1052     set keyserver for all userids.
1053     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Enable code
1054     to set preferred keyserver.
1055     * wptKeyCache.cpp (decode_subpacket): New.
1056     (gpg_keycache_update_attr): New.
1057     * wptGPGUtil.cpp (gpg_find_key_subpacket): New.
1058     * wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): Use
1059     -1 as an index for all userids.
1060    
1061     2006-03-07 Timo Schulz <[email protected]>
1062    
1063     * WinPT.cpp (set_default_keyserver): New.
1064     * wptKeyserver.cpp (kserver_set_socket_timeout): New.
1065     (kserver_set_default_keyserver): Initialize default settings
1066     if needed.
1067     * wptSymEnc.cpp (gpg_encrypt_symmetric): Disallow empty passwords.
1068     * wptPassphraseDlg.cpp (request_passphrase): Handle new flag.
1069     (passphrase_dlg_proc): Support new safe edit window procedure.
1070     * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
1071     * wptPreferencesDlg.cpp (prefs_dlg_proc): Flush passphrase cache
1072     if user disable it.
1073     * wptKeylist.cpp (keylist_build): Do not scale images but use
1074     original size.
1075     * wptListView.cpp (listview_set_image_list): New size params.
1076     Change all callers.
1077    
1078     2006-03-01 Timo Schulz <[email protected]>
1079    
1080     * wptW32API.cpp (set_clip_text): Free all memory.
1081    
1082 twoaday 180 2006-02-27 Timo Schulz <[email protected]>
1083    
1084     * wptSOCKS.cpp (socks_handshake): New.
1085     * wptMainProc.cpp (winpt_main_proc): A dbl-click forces
1086     the key manager in teh foreground if possible.
1087     * wptHotkey.cpp (hotkey_unregister): Unregister all hotkeys.
1088     * wptRegistry.cpp (get_reg_proxy_prefs,
1089     set_reg_proxy_prefs): Use directly the proxy context.
1090     Changed all callers.
1091     * wptProxySettingsDlg.cpp (init_proxy_protocols): New.
1092     (keyserver_proxy_dlg_proc): Use directly the proxy context.
1093     * wptKeyserver.cpp (kserver_connect): Better proxy support.
1094     (kserver_send_request, kserver_recvkey_request): Likewise.
1095     * wptKeyserverDlg.cpp (name_from_proto): New.
1096     (set_proxy): Adjusted for the new code.
1097    
1098     2006-02-26 Timo Schulz <[email protected]>
1099    
1100     * WinPT.cpp (WinMain): Removed hotkey_modify() code.
1101     * wptKeyEditDlgs.cpp (is_idea_protect_algo): Better support
1102     v4 keys.
1103     * wptKeyserver.cpp (sock_getline): Skip '\r'.
1104     (base64_encode): Remove @maxlen param. Changed all callers.
1105     (finger_readline): Removed.
1106     (finger_recvkey): Use internal functions.
1107     * wptSigTreeDlg.cpp (sigtree_dlg_proc): Support a context menu.
1108     (show_sigprops): New.
1109     (create_popup): New.
1110     * wptPreferenceDlg.cpp (prefs_dlg_proc): Cache amount is
1111     now in minutes.
1112     * wptRegistry.cpp (get_winpt_reg_prefs, set_winpt_reg_prefs):
1113     Change code to use hotkeys directly.
1114     * wptHotkeys.cpp (hotkeys_enable, hotkey_disable): Likewise.
1115    
1116 twoaday 179 2006-02-24 Timo Schulz <[email protected]>
1117    
1118     * wptGPG.cpp (set_gnupg_default_key): Allow to remove entry
1119     when parameter is NULL.
1120     * wptKeyManager.cpp (check_exist_default_key): New.
1121     (km_delete_keys): Check if the default key is still valid,
1122     if not delete entry.
1123     * wptSigTreeDlg.cpp (sigtree_dlg_proc): Forgot to localize
1124     button.
1125    
1126     2006-02-21 Timo Schulz <[email protected]>
1127    
1128     * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Minor
1129     cleanups.
1130     * wptGPGUtil.cpp (file_extract_recipients): New.
1131     (clip_extract_recipients): New.
1132     (gpg_get_recipients): New.
1133     * wptPassphraseCB.cpp (passphrase_callback_proc): Support
1134     external recipient listings.
1135    
1136 twoaday 178 2006-02-15 Timo Schulz <[email protected]>
1137    
1138     * wptKeysignDlg.cpp (keysign_dlg_proc): Localize new checkbox.
1139     * wptFileStatDlg.cpp (get_s2k_algo): New.
1140     * wptFileManagerDlg.cpp (update_status_bar): Use human readable
1141     formats.
1142    
1143 twoaday 177 2006-02-14 Timo Schulz <[email protected]>
1144    
1145     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Localize 'Cancel'.
1146     * wptKeysignDlg.cpp (keysign_dlg_proc): Implement 'Hide Typing'.
1147     * wptFileManager.cpp (fm_sym_encrypt): Set cancel.
1148     (fm_parse_files): Handle cancel.
1149    
1150 twoaday 176 2006-02-10 Timo Schulz <[email protected]>
1151    
1152     * wptKeyPropsDlg.cpp (props_dlg_proc): Removed unused vars.
1153     * wptKeyEditDlgs.cpp (do_editkey_check): Use winpt_key_t
1154     for the dialog param.
1155     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use new list
1156     signature dialog by default.
1157     * wptKeysigDlg.cpp (sigprops_dlg_proc): Use directly
1158     gpgme_key_sig_t as param.
1159     (keysig_dlg_proc): Change param for property dialog.
1160     * wptSigTreeDlg.cpp (sigtree_load): Skip revoked user-ids
1161     and use icons.
1162     (sigtree_dlg_proc): Allow to execute old list dialog to
1163     edit the signatures.
1164    
1165     2006-02-09 Timo Schulz <[email protected]>
1166    
1167     * wptRegistry.cpp (set_winpt_reg_prefs): Removed keylist mode.
1168     * wptNLS.c (gettext_localize_dialog): New.
1169     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Add 'Cancel' button
1170     to avoid to reload the key cache.
1171     * wptClipEncryptDlg.cpp (clipenc_dlg_proc): Drop old 'normal'
1172     list mode.
1173     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
1174     * wptPreferencesDlg.cpp (on_init_dialog): New. Move dialog
1175     initiation code to this function.
1176     (prefs_dlg_proc): Use it here.
1177    
1178     2006-02-07 Timo Schulz <[email protected]>
1179    
1180     * wptKeyEdit.cpp (setNoPassphrase): New.
1181     (getValidDays): New.
1182     * wptKeysignDlg.cpp (keysign_dlg_proc): Check on init
1183     if the key is protected.
1184     * wptKeyEditDlgs.cpp (keyedit_addphoto_dlg_proc): Handle
1185     keys without a passphrase.
1186     (keyedit_addrevoker_dlg_proc): Likewise.
1187    
1188 twoaday 175 2006-02-04 Timo Schulz <[email protected]>
1189    
1190     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Check for
1191     at least one ultimately trusted key.
1192     * wptKeyManager.cpp (km_refresh_key_from_keyserver):
1193     Only check inet connection if we refresh all keys.
1194     * wptGPGUtil.cpp (gpg_extract_keys): New.
1195     * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Use textmode.
1196     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
1197     * wptClipSignDlg.cpp (get_selected_key): New.
1198     (one_key_proc): Use it here.
1199     (count_useable_seckeys): New.
1200     * wptSigTreeDlg.cpp (sigtree_dlg_proc): New.
1201     * wptKeyEditDlgs.cpp (diff_time): Removed.
1202     (w32_mktime): New.
1203     (keyedit_addsubkey_dlg_proc): Use it here.
1204    
1205     2006-02-02 Timo Schulz <[email protected]>
1206    
1207     * wptW32API.cpp (get_temp_name): New.
1208     * wptKeyserver.cpp (ldap_recvkey): Use it here.
1209     * wptKeyPropsDlg.cpp (get_photo_tmpname): Likewise.
1210     * wptGPGUtil.cpp (create_tempfile): Likewise.
1211     * wptImportList.cpp (implist_load): Likewise.
1212     * wptKeyCache.cpp (parse_attr_data): Likewise.
1213     (w32_tempfile): Removed.
1214     * wptGPGME.cpp (check_ultimate_trusted_key): New.
1215    
1216 twoaday 174 2006-01-31 Timo Schulz <[email protected]>
1217    
1218     * wptMainProc.cpp (winpt_main_proc): Fix usage of the
1219     help system.
1220     * wptListView.cpp (listview_set_chkbox_style): New.
1221     (listview_get_item_state): Support new checkbox style.
1222     (listview_new): Reset flag var.
1223     * wptKeylist.cpp (keylist_build): Support new checkbox style.
1224    
1225 twoaday 172 2006-01-30 Timo Schulz <[email protected]>
1226    
1227     * WinPT.cpp (check_readonly_attr): New.
1228     (load_gpg_env): Use it here.
1229 twoaday 174 (WinPT): Make the the default key is searched in the
1230     secret key cache.
1231     Change error message.
1232 twoaday 172 * wptRegistry.cpp (regist_int_winpt): Make sure
1233 twoaday 174 the register extension is only offered once to the user.
1234     * wptKeyPropsDlg.cpp (get_photo_tmpname): Always use
1235     temp directory. Fixed a privilege problem.
1236 twoaday 172
1237 twoaday 170 2006-01-29 Timo Schulz <[email protected]>
1238    
1239     * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Allow to use ESC
1240     to quit dialog.
1241     * wptKeysignDlg.cpp (sig_class_dlg_proc): More space for
1242     translations. Directly return sig class.
1243     (keysign_dlg_proc): Change msgbox title.
1244     * wptKeyEdit.cpp (signUserid): New.
1245     (getUseridIndex): New.
1246     (getKeyIndex): New.
1247     (getSigIndex): New.
1248     (clear): New.
1249     * wptKeyEditCB.cpp (cmd_sign_handler): Allow to select
1250     user-id first.
1251     * wptKeyEditDlgs.cpp (lookup_cmd): New.
1252     (do_editkey_sign_userid): New.
1253     (do_init_cmdlist): Differ between key pairs and public keys
1254     and allowed actions.
1255     (keyedit_change_ownertrust): Show msgbox on success.
1256     (get_default_key): New.
1257     * wptPassphraseDlg.cpp (request_passphrase): Reset @cancel.
1258    
1259 twoaday 168 2006-01-27 Timo Schulz <[email protected]>
1260    
1261     * WinPT.cpp (WinMain): Set minimal list mode as default.
1262     * wptKeyCache.cpp (gpg_keycache_sync): Handle special v3 keys.
1263    
1264 twoaday 167 2006-01-25 Timo Schulz <[email protected]>
1265    
1266     * wptRegistry.cpp (get_reg_entry_gpg): Return NULL if
1267     the key exist with no value.
1268     * wptMDSumDlg.cpp (mdsum_dlg_proc): Translate string.
1269     * wptKeysignDlg.cpp (do_fill_seclist): Select the
1270     default key if possible.
1271     * wptFirstRunDlg.cpp (firstrun_dlg_proc): Directly
1272     return the choice.
1273     * wptKeylist.cpp (get_key_desc): New.
1274     (keylist_upd_key): Free memory.
1275     * wptKeyCache.cpp (gpg_keycache_get_default_key): New.
1276     (gpg_keycache_set_default_key): New.
1277     * WinPT.cpp (gpg_prefs_ok): New.
1278     (WinMain): Only start gpg prefs if needed.
1279    
1280 twoaday 166 2006-01-24 Timo Schulz <[email protected]>
1281    
1282     * wptKeyManager.cpp (km_dropped_file_import): New.
1283     * wptKeyManagerDlg.cpp (keylist_subclass_proc): Allow
1284     to drop files and try to import them.
1285     (keymanager_dlg_proc): Pass kmi as opaque to the subclass
1286     proc.
1287    
1288 twoaday 165 2006-01-23 Timo Schulz <[email protected]>
1289    
1290     * wptMDSumDlg.cpp (mdsum_dlg_proc): Allow to send output
1291     to the clipboard.
1292     * wptKeyEditDlgs.cpp (keyedit_change_ownertrust): New.
1293     (do_editkey_enable_disable): New.
1294     * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Usability fix. Do not
1295     close the dialog if the user cancelled the ownertrust dialog.
1296     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Return TRUE to indicate
1297     an update of any value.
1298    
1299     2006-01-21 Timo Schulz <[email protected]>
1300    
1301     * wptKeyCache.cpp (keycache_next_key): Handle the case
1302     that there is a secret key without a public part.
1303     * wptKeyserver.cpp (kserver_save_conf): Save ports.
1304     * wptKeyserverDlg.cpp (keyserver_modify_dlg_proc):
1305     Reset keyserver name.
1306     * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Just indicate
1307     an update, do not update the cache.
1308     * wptFileManagerDlg.cpp (file_import_dlg_proc): Use one
1309     dialog for both clipboard and file imports.
1310     * wptKeyManager.cpp (km_file_import, km_clip_import):
1311     Changes to support new update system.
1312     (gpg_clip_import): New.
1313     * wptKeyManagerDlg.cpp (km_gui_import): New.
1314     (find_keypos): Rewritten.
1315     (refresh_keylist): Improved error checking.
1316    
1317 twoaday 164 2006-01-20 Timo Schulz <[email protected]>
1318    
1319     * wptKeyCache.cpp (w32_tmpfile): New.
1320     (parse_attr_data): Use it here.
1321     * wptGPGUtil.cpp (gpg_get_photoid_data): Reset @ndata var.
1322    
1323 twoaday 161 2006-01-19 Timo Schulz <[email protected]>
1324    
1325     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Do not
1326     reload the entire cache, just update the key.
1327     * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Likewise.
1328     * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Set update flag.
1329     * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise.
1330     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Update key
1331     if need after showing the properties.
1332 twoaday 162 * wptGPGMEData.cpp (gpg_data_putc): Fix off-by-one bug.
1333 twoaday 164 * wptKeyManager.cpp (km_import_file): New param. Changed
1334     all callers.
1335     (km_import_clip): Likewise.
1336     (delete_keys_from_cache): Delete secret part if available.
1337     * wptClipImportDlg.cpp (print_import_status): If there
1338     are too many new keys, use reload code.
1339 twoaday 161
1340 twoaday 150 2006-01-18 Timo Schulz <[email protected]>
1341    
1342 twoaday 160 * wptKeyEditCB.cpp (cmd_delsig_handler): Do not assume
1343     the self sig is always index 0. Noted by Kurt.
1344     * wptPassphraseCB.cpp (passphrase_dlg_proc): Do not assume
1345     the key user-ID contains an email address.
1346     * wptKeyEditDlgs.cpp (do_find_userid): Likewise.
1347     (do_editkey_deluid): Likewise.
1348     (do_editkey_revuid): Likewise.
1349    
1350     2006-01-18 Timo Schulz <[email protected]>
1351    
1352 twoaday 150 * wptListview.cpp (listview_del_sel_items): Fixed index
1353     calculation. This fixed a lot of problems with the KM listview
1354     update.
1355     (listview_del_all): Renamed to...
1356     (listview_del_all_items): ..this. Changed all callers.
1357     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Just refresh
1358     list when file import contained new/updated keys.
1359     * wptKeyManager.cpp (km_file_import): Indicate if the
1360     import contained any new/update keys.
1361     * wptClipImportDlg.cpp (print_import_status): Just mark
1362     keys which actually changed.
1363    
1364     2006-01-17 Timo Schulz <[email protected]>
1365    
1366     * wptMAPI.cpp (mapi_send_pubkey_ext): New.
1367     * wptKeysigDlg.cpp (do_delsig): Just flag the key, do not
1368     update it.
1369     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Be more
1370     careful about const pointers.
1371     * wptKeyEditDlgs.cpp (get_subkey_fingerprint): Renamed to..
1372     (get_subkey_keyid): ..this. Fix problem that key was updated
1373     twice and this corrupted.
1374     (keyedit_add_subkey): Set @lv item in the callback context.
1375    
1376     2006-01-16 Timo Schulz <[email protected]>
1377    
1378     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Restore
1379     window if it lost focus during the operation. Thanks to Kurt.
1380     Update keylist when the window is enabled.
1381     (find_keypos): New.
1382     * wptKeyCache.cpp (keycache_next_key): Reset update status.
1383     (gpg_keycache_next_updated_key): New arg @r_status. Change all
1384     callers.
1385     (gpg_keycache_update_key): Different status for new and updated.
1386     Include key signatures.
1387     * wptClipImportDlg.cpp (print_import_status): Mark all
1388     imported keys.
1389     * wptMainProc.cpp (clip_gpg_dlg): On import refresh KM keylist.
1390     Thanks to Kurt.
1391     * wptKeysigDlg.cpp (recv_missing_keys): Mark all received keys.
1392     (do_delsig): Directly reload key. Thanks to Kurt.
1393     * wptGPGME.cpp (keycache_set_reload, keycache_get_reload):
1394     Removed.
1395     * wptKeygenDlg.cpp (keygen_dlg_proc): Use new update system.
1396     * wptClipImportDlg.cpp (clip_import_dlg_proc): Return
1397     FALSE if no keys were updated or operation was cancelled.
1398     * wptCommonDlg.cpp (http_dlg_proc): Fix title selection code.
1399     * wptKeylist.cpp (get_ext_validity): Handle disabled keys.
1400     * wptKeyPropsDlg.cpp (keyprops_dlg_proc):
1401     Do not allow to change ownertrust of invalid keys.
1402     Changed translation.
1403     Slightly different user interface.
1404    
1405     2006-11-14 Timo Schulz <[email protected]>
1406    
1407     * wptW32API.cpp (make_special_filename): New.
1408     * wptRegistry.cpp (set_winpt_reg_prefs, get_winpt_reg_prefs):
1409     Removed 'KeyServer' item.
1410     * wptPreferencesDlg.cpp (prefs_dlg_proc): Remove keyserver
1411     config item.
1412     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Disable group
1413     window until we really use it.
1414     * wptKeyserver.cpp (kserver_save_conf): New.
1415     (wsock_end): Save keyserver config file.
1416     * wptKeyserverDlg.cpp (keyserver_edit): New.
1417     (keyserver_remove): New.
1418     (keyserver_add): New.
1419     (fill_keyserv_types): New.
1420     (keyserver_modify_dlg_proc): New.
1421     (keyserver_dlg_proc): Provide context menu to modify the
1422     keyserver list.
1423     (keyserver_build_list): Remove 'proto' column because it is
1424     not really useful.
1425     * WinPT.cpp (load_keyserver_conf): Store keyserver.conf at
1426     $APPDATA\winpt. If keyserver.conf exists in the current folder
1427     move it to the new destination.
1428    
1429 twoaday 147 2006-11-13 Timo Schulz <[email protected]>
1430    
1431     * wptPreferencesDlg.cpp (prefs_dlg_proc): Changed translation.
1432     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Likewise.
1433     * wptAboutDlgs.cpp (about_dlg_proc): Make sure GPG about
1434     dialog isn't shown twice.
1435     * wptKeyCache.cpp (gpg_keycache_next_updated_key): New.
1436     (gpg_keycache_update_key): Set update flag.
1437     * wptKeyManagerDlg.cpp (refresh_keylist): New.
1438     (keymanager_dlg_proc): Use new refresh system for keyservers.
1439     * wptKeyserverSearchDlg.cpp (kserver_search_dlg_proc):
1440     Update keycache.
1441     * wptKeyserverDlg.cpp (hkp_dlg_proc): Likewise.
1442     * wptKeyserver.cpp (socket_read_ext): New.
1443     (kserver_recv_key_ext): New.
1444     (kserver_read_config, kserver_write_config): Removed.
1445    
1446 twoaday 144 2006-01-12 Timo Schulz <[email protected]>
1447    
1448     * wptListView.cpp (listview_set_image_list): Make icons
1449     always transparent.
1450     * wptImageList.cpp (imagelist_load): New icons.
1451     * wptGPGMEData.cpp (gpg_data_putc): New.
1452     * wptKeyManagerDlg.cpp (load_toolbar): Include new icons.
1453     (keymanager_dlg_proc): Add tooltips.
1454     * wptKeyserverDlg.cpp (keyserver_list_build): Use icons.
1455     * wptKeyserver.cpp (URL_encode): New.
1456     (URL_must_encode): New.
1457     (kserver_search_init): Properly encode pattern.
1458     (parse_iso_date): New.
1459     (keyserver_search): Be more strict to prevent buffer overflows.
1460    
1461     2006-01-11 Timo Schulz <[email protected]>
1462    
1463     * wptKeyManagerDlg.cpp (load_toolbar): 2 new icons.
1464     (keymanager_dlg_proc): Adjust tooltips.
1465     (update_ui_items): Handle new icons.
1466     * wptImageList.cpp (imagelist_load): New icons.
1467    
1468 twoaday 139 2006-01-10 Timo Schulz <[email protected]>
1469    
1470     * wptMainProc.cpp (winpt_main_proc): Restore iconic
1471     File/Key Manager windows if needed.
1472     * wptGPGPrefsDlg.cpp (gpg_prefs_dlg_proc): Disable button.
1473     * wptSiglist.cpp (init_cmp): New.
1474     (siglist_sort): New.
1475     (siglist_cmp_cb): New.
1476     (siglist_add_key): Force NOKEY status when key was not found.
1477     * wptKeysigDlg.cpp (recv_single_key): New.
1478     (recv_missing_keys): Reload entire key when more than one key
1479     was fetched.
1480     (keysig_dlg_proc): Support sorting the listview items.
1481    
1482 twoaday 137 2006-01-09 Timo Schulz <[email protected]>
1483    
1484     * WinPT.cpp (load_gettext): Remove file locking.
1485     (WinMain): Use pre-defined autoconf constants.
1486     * wptW32API.cpp (init_file_lock, release_file_lock): Deleted.
1487     * wptGPG.cpp (check_gnupg_engine): Add param @need_gpg_ver.
1488     Change all callers.
1489    
1490 twoaday 133 2006-01-07 Timo Schulz <[email protected]>
1491    
1492     * wptKeyManager.cpp (km_refresh_from_keyserver): Summarize
1493     import status if just one key was selected.
1494    
1495     2006-01-04 Timo Schulz <[email protected]>
1496    
1497     * wptGPGMEWrapper.c (setChangeVersion): New.
1498     (exportToBuffer, exportToFile, exportToClipboard): New.
1499     (setArmor, getArmor): New.
1500     * wptKeylist.cpp (get_key_expire_date): Return locale specific
1501     date.
1502     (keylist_get_recipients): Do not fetch the key again.
1503     (keylist_enum_recipients): Likewise.
1504     * wptGPG.cpp (create_empty_keyring): New.
1505     (get_gnupg_keyring): Fixed 'strict' logic.
1506     * wptKeyManagerDlg.cpp (update_ui_items): Disable some buttons
1507     when no secret keys are available.
1508     * wptKeyManager.cpp (km_send_to_mail_recipient): Release key data
1509     before the MAPI call is made.
1510     * WinPT.cpp (check_for_empty_keyrings): New.
1511    
1512     2006-01-03 Timo Schulz <[email protected]>
1513    
1514     * pubkey.ico, keypair.ico: New.
1515     * wptListview.cpp (listview_add_item_image): New.
1516     (listview_set_image_list): New.
1517     * wptSigList.cpp (siglist_add_key): Correct order of the sigs.
1518     * wptKeyProps.cpp (keyprops_load_photo): Adjusted for new
1519     JPEG data.
1520     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not allow to
1521     add items to revoked keys.
1522     * wptKeyManager.cpp (km_delete_keys): Do not use uninitialized
1523     keyid buffer. This fixes a segv.
1524     * wptKeyserver.cpp (spawn_application): New.
1525     (ldap_recv_key): Support recent protocols and several cleanups.
1526     * wptKeylist.cpp (do_addkey): Set image which depends on the
1527     key type.
1528     (keylist_enum_recipients): Cleanups.
1529     (keylist_get_keyflags): Rewritten.
1530     * wptKeyCache.cpp (free_attr_list): New.
1531     (parse_attr_list): New.
1532     (parse_attr_data): New.
1533     (keycache_update_photo): New.
1534     (keycache_update_photos): New.
1535     (gpg_keycache_update_key): Automatically reload photos if needed.
1536     * wptGPGUtil.cpp (create_process): New param @err. Change all
1537     callers.
1538     (map_tmpfile): New param @nread. Change all callers.
1539     (gpg_get_photoid_data): New.
1540     * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not allow to
1541     add items to revoked keys.
1542     (subkey_init_list): Store gpgme key object.
1543    
1544 twoaday 130 2005-12-29 Timo Schulz <[email protected]>
1545    
1546     * wptKeygenDlg.cpp (keygen_dlg_proc): Request passphrase dynamically.
1547     (gpg_genkey_params): Simplified.
1548     * wptPreferencesDlg.cpp (prefs_dlg_proc): Fix problem with mutal
1549     exclusion of the dialog items.
1550     * wptAboutDlgs.cpp (about_winpt_dlg_proc): Allow to use ESC to
1551     quit the dialog.
1552     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
1553     * wptMDSumDlg.cpp (mdsum_dlg_proc): Handle WM_SYSCOMMAND.
1554     (id2algo): New.
1555    
1556 twoaday 129 2005-12-28 Timo Schulz <[email protected]>
1557    
1558     * wptKeyserverDlg.cpp (show_imported_keys): Decode user IDs.
1559     * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise.
1560     * wptKeylist.cpp (keylist_udp_key): Likewise.
1561     * wptKeyManager.cpp (key_get_clip_info, key_get_info): Likewise.
1562     * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Fix problem
1563     when no signing key was found.
1564     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Properly decode
1565     user IDs.
1566     (translate_popup_strings): s/Revoke/Revoke Cert.
1567     * wptKeyEditDlgs.cpp (do_init_keylist): Do not assume a
1568     0x prefixed keyid.
1569     * wptKeyEditCB.cpp (editkey_command_handler): Also reset
1570     step in case of a bad passphrase.
1571    
1572     2005-12-27 Timo Schulz <[email protected]>
1573    
1574     * wptListView.cpp (listview_set_view): New.
1575     (listview_del_column): New.
1576     * wptW32API.cpp (get_locale_date): New.
1577     (get_menu_state): New.
1578     (force_foreground_window): New.
1579     * wptVerifyList.cpp (strtimestamp): Support for
1580     locale date formats.
1581     * wptGPGUtil.cpp (gpg_revoke_cert): Handle bad
1582     passphrases.
1583     * wptKeyEditCB.cpp (editkey_command_handler): Immediately
1584     return when a bad passphrase was submitted.
1585     * wptKeyRevokersDlg.cpp (keyrevokers_dlg_proc): Change
1586     column order.
1587     * wptKeylist.cpp (keylist_upd_col): New.
1588     * wptKeyManagerDlg.cpp (update_ui_items): Deactivate
1589     'Revocation' for public keys.
1590     (translate_menu_strings): s/Revoke/Revoke Cert.
1591     (modify_listview_columns): New.
1592    
1593 twoaday 128 2005-12-18 Timo Schulz <[email protected]>
1594    
1595     * wptKeyManagerDlg.cpp (save_column_size): New.
1596     (restore_column_size): New.
1597     (keymanager_dlg_proc): Save and restore column sizes for
1598     the listview control.
1599     * wptKeyManager.cpp (key_get_info): New.
1600     (km_delete_keys): Use it here to have a consistent message.
1601     Use stored key context and not the column data.
1602     (km_enable_disable_key): Likewise.
1603     (km_send_to_keyserver): Likewise.
1604     (km_set_implicit_trust): Likewise.
1605     * wptKeylist.cpp (get_key_pubalgo2): New.
1606    
1607     2005-12-17 Timo Schulz <[email protected]>
1608    
1609     * wptUTF8.cpp: Removed unused charset array.
1610     * wptSigList.cpp (siglist_build): Increase size for 'class'
1611     column.
1612     * wptGPG.cpp (get_gnupg_path): Simplified.
1613     * WinPT.cpp (load_gpg_env): New.
1614     (check_crypto_engine): Return type is now bool.
1615     * wptRegistry.cpp (is_gpg4win_installed): New.
1616     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): More consistent
1617     dialog design.
1618     * wptKeyManagerDlg.cpp (translate_menu_strings): New.
1619     (translate_popupmenu_strings): New.
1620     * wptKeyEditDlgs.cpp (is_jpg_file): New.
1621    
1622 twoaday 123 2005-12-13 Timo Schulz <[email protected]>
1623    
1624     * wptCommonDlg.cpp (http_dlg_proc): Localized missing elements.
1625     * wptKeyManagerDlg.cpp (change_edit_menu): New.
1626     (change_key_menu): Renamed from...
1627     (menu_gpg_readonly): ..this.
1628     (clip_contains_pgpkey): New.
1629     (update_ui_items): Do not allow to sign expired keys.
1630     (keymanager_dlg_proc): Same for popup menu.
1631     * wptKeyPropsDlg.cpp (parse_preflist): Fixed string handling.
1632     * wptKeyCache.cpp (copy_uid_prefs):
1633     (gpg_keycache_sync): Copy uid prefs so the key property
1634     dialog show the correct values. Thanks to Shane.
1635    
1636 twoaday 121 2005-12-11 Timo Schulz <[email protected]>
1637    
1638     * wptW32API.cpp (get_file_version): New.
1639     * wptGPGUtil.cpp (create_process): Always hide window.
1640     * wptClipEditDlg.cpp (clipedit_dlg_proc): Use 'Close'
1641     instead of 'Exit'.
1642     * wptKeyManager.cpp (km_http_import): New filename
1643     generation code.
1644     (km_send_to_mail_recipient): Cleanups.
1645     * wptKeyEditDlg.cpp (showpref_dlg_proc): Localize dialog.
1646     * wptKeyManagerDlg.cpp (update_ui_items): Handle the case
1647     when multiple keys are selected.
1648     (popup_multiple): New.
1649     * WinPT.cpp (WinMain): Check that the PTD.dll and WinPT.exe
1650     file versions are equal. Rewrote --keymanager code.
1651    
1652 twoaday 118 2005-12-08 Timo Schulz <[email protected]>
1653    
1654     * wptKeyserverDlg.cpp (show_imported_keys): Enhanced.
1655     (hkp_recv_key2): Show user-id of the imported key instead
1656     of just the pattern.
1657 twoaday 119 * wptFileCBS.cpp (read_cb): Changed to W32 API.
1658     (write_cb): Likewise. Create output file on demand.
1659     (gpg_file_data_new): Adjusted code for new API.
1660     * wptKeyEdit.cpp (cleanKey): New.
1661     * wptKeyEditCB.cpp (cmd_clean_handler): New.
1662     (editkey_command_handler): Call clean handler.
1663     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Sort
1664     keylist after inserting items.
1665     * wptFileManager.cpp (fm_set_status): Take care of
1666     cleartext sigs.
1667 twoaday 120 * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Make
1668     sure can be closed.
1669 twoaday 118
1670 twoaday 117 2005-12-07 Timo Schulz <[email protected]>
1671    
1672     * wptOwnertrustDlg.cpp (ownertrust_dlg_proc):
1673     Use 'Close' instead of 'Exit'.
1674     * wptKeyEditDlgs.cpp (keyedit_dlg_proc): Likewise.
1675     * wptGPG.cpp (gnupg_backup_keyrings): Use $APPDATA
1676     as the destination dir. Thanks to Werner.
1677     * wptRegistry.cpp (is_gpgee_installed): New.
1678     (regist_inst_winpt): Do not register file extensions
1679     if GPGee is available.
1680     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Limit
1681     use of local vars.
1682     * wptPreferencesDlg.cpp (prefs_dlg_proc): Make sure
1683     no illegal backup mode is saved.
1684     * wptKeyserverDlg.cpp (show_imported_key): New.
1685     (hkp_recv_key2): Show imported keys if the blob
1686     contained more than one.
1687    
1688 twoaday 115 2005-12-06 Timo Schulz <[email protected]>
1689    
1690     * WinPT.cpp (WinMain): Load the gettext environment soon
1691     as possible so all 'first start' messages are localized.
1692     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): If a single key is
1693     received via the keyserver, return the gpgme key context on
1694     success and add it directly to the list.
1695     * wptKeyserverDlg.cpp (keyserver_dlg_proc): Support a param
1696     to store the key.
1697     (hkp_recv_key2): Add extra param for the fingerprint.
1698     (hkp_recv_key): Call hkp_recv_key2 without fingerprint.
1699    
1700 werner 116 2005-12-02 Werner Koch <[email protected]>
1701    
1702     * wptKeyEditDlgs.cpp (subkey_list_init): Avoid trigraphs.
1703    
1704 twoaday 109 2005-12-01 Timo Schulz <[email protected]>
1705    
1706     * wptClipVerifyDlg.cpp (clipverify_dlg_proc): Use new semantic
1707     for get_gpg_sigstat().
1708     * wptGPGME.cpp (get_gpg_sigstat): New. It is now a function.
1709     As a macro strings will not be translated at runtime.
1710     * wptKeyserverDlg.cpp (hkp_recv_key): Properly detect if we
1711     need to update the cache. Thanks to Jan-Oliver.
1712     * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Localized.
1713    
1714 twoaday 105 2005-11-30 Timo Schulz <[email protected]>
1715    
1716     * wptW32API.cpp (dialog_box_param): Removed LANG_DE code.
1717     * WinPT-en.rc: Removed string list.
1718     * wptFileSaveDlg.cpp (file_save_dlg_proc): Localized
1719     * wptKeylist.cpp (keylist_build): Cannot use global
1720     arrays for the columns due to gettext.
1721    
1722 twoaday 102 2005-11-29 Timo Schulz <[email protected]>
1723    
1724     * WinPT.cpp (WinMain): Modify --keymanager. If an instance
1725     is running, just send the command to open the manager.
1726    
1727 twoaday 101 2005-11-25 Timo Schulz <[email protected]>
1728    
1729     * wptKeyEditCB.cpp (addrev_cmd_handler): Avoid hanging
1730     process when the revoker is already there.
1731    
1732 twoaday 95 2005-11-24 Timo Schulz <[email protected]>
1733    
1734     * wptPassphraseCB.cpp (passphrase_callback_proc): Localize
1735     signing dialog items.
1736 twoaday 99 * wptMainProc.cpp (confirm_delclip_dlg): Localize dialog items.
1737     * wptAboutDlgs.cpp (about_winpt_dlg_proc): Disable help for now.
1738     * wptMDSumDlg.cpp (mdsum_dlg_proc): Localize missing items.
1739     * wptKeylist.cpp (key_check_validity): Likewise.
1740     * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Likewise.
1741 twoaday 95
1742 twoaday 91 2005-11-22 Timo Schulz <[email protected]>
1743    
1744     * wptCardEditCB.cpp (gpg_write): Due to removed _DEBUG
1745     macro debug output will be generated in release version.
1746    
1747 twoaday 87 2005-11-21 Timo Schulz <[email protected]>
1748    
1749     * WinPT.cpp (WinMain): Implement --stop switch.
1750 twoaday 88 * wptClipEditDlg.cpp (clip_edit_dlg_proc): Localize
1751     missing string.
1752     * wptPreferencesDlg.cpp (prefs_dlg_proc): Likewise.
1753     * wptKeygenDlg.cpp (keygen_dlg_proc): Verify valid context
1754     first. Thanks to Ralf.
1755     * wptFileManagerDlg.cpp (update_ui_items): New.
1756     * wptFileManager.cpp (fm_set_status): New sigmode param.
1757     Changed all callers.
1758 twoaday 87
1759 twoaday 85 2005-11-17 Timo Schulz <[email protected]>
1760    
1761     * wptGPG.cpp (check_last_gnupg_access): Kludge to avoid that
1762     the cache will be loaded twice.
1763     * wptRegistry.cpp (regist_inst_winpt): More comments.
1764     * wptKeyManagerDlg.cpp (do_center_window): Make sure that
1765     neg. coordinates are never used.
1766     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Localize all
1767     strings.
1768     * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
1769     * wptFileManagerDlg.cpp (filemanager_dlg_proc): Localize menu
1770     and save 'AlwaysOnTop' in the registry.
1771    
1772 twoaday 80 2005-11-16 Timo Schulz <[email protected]>
1773    
1774     * WinPT.cpp (check_crypto_engine): Min is now GPG 1.4.2.
1775     * wptKeylist.cpp (keylist_add_key): Add disabled keys in list
1776     mode.
1777     * wptPreferencesDlg.cpp (prefs_dlg_proc): Localize all strings.
1778     * wptRegistry.cpp (regist_inst_winpt): Set install directory.
1779     Useful for other programs to figure out the path to the EXE.
1780    
1781 twoaday 78 2005-11-14 Timo Schulz <[email protected]>
1782    
1783     * wptGPG.cpp (check_gnupg_engine): Fix version check.
1784     * wptMainProc.cpp (winpt_main_proc): Check keyring
1785     file permissions always and do not use interative output
1786     when the windows session ends.
1787     * wptProxySettingsDlg.cpp (proxy_settings_dlg_proc):
1788     Localize all strings.
1789     * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.
1790     * wptGPGPrefsDlg.cpp (gpg_prefs_dlg): Likewise.
1791     * wptKeyEditDlgs.cpp (do_init_keylist): Skip all
1792     non-valid keys.
1793    
1794 twoaday 77 2005-11-12 Timo Schulz <[email protected]>
1795    
1796     Fix more GCC warnings.
1797    
1798     2005-11-10 Timo Schulz <[email protected]>
1799    
1800     * wptClipSignDlg.cpp (one_key_proc): Use
1801     release_gpg_passphrase_cb() to free the context.
1802     * wptListView.cpp (listview_deselect_all): New.
1803     * wptMAPI.cpp (mapi_send_pubkey): Works again.
1804     * wptFileManagerDlg.cpp (file_manager_dlg_proc): Support encrypt &
1805     zip.
1806     * wptPassphraseCB.cpp (passphrase_callback_proc): Fix passphrase
1807     caching for signing operations.
1808     * wptKeyManager.cpp (km_send_to_mail_recipient): Works again.
1809     * wptFileManager.cpp (fm_send_file): Likewise.
1810     (fm_encrypt_into_zip): New.
1811    
1812 twoaday 76 2005-11-09 Timo Schulz <[email protected]>
1813    
1814     * wptNLS.c (get_gettext_langid): Map user language id to
1815     printable gettext language strings.
1816     * wptRegistry.cpp (get_reg_entry_mo): Support for the
1817     gettext environment.
1818     * wptFileManager.cpp (fm_encrypt): Close all files before
1819     the wipe procedure is called.
1820     * wptVerlist.cpp (verlist_add_sig): Handle the case the
1821     issuer is not valid but the signature is.
1822     (verlist_add_sig_log): Likewise. Thanks to the folks on
1823     winpt-users.
1824    
1825 werner 75 2005-11-08 Werner Koch <[email protected]>
1826    
1827     * SAFE.ICO, SIGN.ICO: Fixed capitalization.
1828     * WinPT-en.rc: Ditto.
1829     * winpt_km.ico: Moved from ../.
1830    
1831     * Makefile.am (resource_files): Add missing backslash.
1832    
1833 twoaday 73 2005-11-08 Timo Schulz <[email protected]>
1834    
1835     More minor changes to avoid GCC warnings.
1836    
1837     * wptGPG.cpp (check_homedir): Free memory in case of errors.
1838     (multi_gnupg_path): Add strict mode. If non-strict mode return
1839     the folder even if it does not exist.
1840     (check_for_gpgwin): New.
1841     * wptKeyserverDlg.cpp (hkp_recv_key): Make sure import_res is
1842     initialized.
1843     * wptRegistry.cpp (get_reg_entry_gpg4win): New.
1844     (get_reg_entry_mo): Support for gpg4win.
1845    
1846 twoaday 72 2005-11-07 Timo Schulz <[email protected]>
1847    
1848     * wptMainProc.cpp (winpt_main_proc): Disable
1849     some menu items when no secret key is available.
1850    
1851 twoaday 68 2005-11-05 Timo Schulz <[email protected]>
1852    
1853     More minor changes to avoid GCC warnings.
1854    
1855     * wptErrors.cp (winpt_strerror): Return w32
1856     formatted error and do not use 'break'.
1857    
1858 werner 67 2005-11-04 Werner Koch <[email protected]>
1859    
1860     * WinPT-en.rc: Fixed locations of icons.
1861    
1862 twoaday 65 2005-11-03 Timo Schulz <[email protected]>
1863    
1864     A lot of minor changes to avoid GCC warnings.
1865 twoaday 66
1866     * wptGPG.cpp (get_gnupg_keyring): Only check size for
1867     public keyring.
1868     * wptKeyManager.cpp (km_update_default_key_str): Do
1869     not issue a bug message when no secret key was found.
1870     * wptGPGPrefsDlg.cpp: Replace "" with NULL in the name struct.
1871 twoaday 65
1872 werner 57 2005-11-02 Werner Koch <[email protected]>
1873    
1874     * WinPT.cpp (WinMain): Disabled PTD version tests.
1875 werner 58 (check_crypto_engine): Fixed version check for scard.
1876 werner 57
1877     * wptErrors.cpp (debug_end): Add dummy function.
1878    
1879     * Makefile.am (code_files): Added wptCardEditCB.cpp and
1880     wptKeyEditCB.cpp.
1881    
1882 werner 47 2005-10-31 Werner Koch <[email protected]>
1883    
1884 werner 57 * wptCurrWnd.cpp: Include wptVersion.h to get prototypes of PTD
1885     functions.
1886 werner 47
1887 werner 48 * wptKeyEditDlgs.cpp: Include oleauto.h
1888     * wptKeyEdit.cpp: Include time.h.
1889     * wptRegistry.cpp (gpg_filetypes): New from ../Include/wptGPG.h.
1890     * wptGPGUtil.cpp (gpg_manage_ownertrust): s/export/exportflag/.
1891 werner 47
1892 werner 48 * Makefile.am (code_files): Add wptGPGUtil.cpp, wptCardEdit.cpp,
1893     wptKeyEdit.cpp and wptKeycache.cpp.
1894    
1895     * wptPassphraseCB.cpp: Fixed spelling of wptKeylist.h
1896     * wptImportList.cpp (implist_load): Use remove and not unlink.
1897     * wptGPG.cpp: Fixed spelling of wptGpgCmds.h
1898     * wptImportList.cpp (implist_load): Use remove and not unlink.
1899     * wptKeyManager.cpp (km_http_import): Ditto
1900     * wptMainProc.cpp: Include wptCrypto.h
1901     * wptKeyManager.cpp: Ditto.
1902     * wptFileManager.cpp: Ditto.
1903     * wptImportList.cpp (parse_colon_key): Need to cast argument for
1904     isdigit. Include ctype.h.
1905     * wptGPG.cpp: Include shlobj.h.
1906    
1907     Fixed double inclusion of windows.h.
1908    
1909     * Makefile.am (bin_PROGRAMS): Don't build KeyManagerExe for now.
1910     * wptKeylist.cpp (get_key_created): Broke up trigraph.
1911     (get_key_status): Removed dangerous use of sprintf. Still other
1912     flaws present, see comment.
1913    
1914     * wptCardPCSC.c: Don't include winscard.h.
1915     (pcsc_readerstate_t, pcsc_context_t): New. Changed call users to
1916     use these types.
1917     (PCSC_): Added a lot of constants, all taked from GnuPG 1.9.
1918     (SCARD_S_SUCCESS): Changed all compares to test the value directly
1919     against zero.
1920    
1921     * WinPT.cpp: Include wptCrypto.h.
1922     (WinMain): Don't shard S. Removed usunsed variable SIZE.
1923     * Makefile.am (code_files): Actually add files by adding a first
1924     backslash.
1925     * wptMDSumDlg.cpp: Include wptCrypto.h.
1926     * wptProxySettingsDlg.cpp: Included ctype.h.
1927 werner 47 * wptKeysigDlg.cpp: Fixed spelling of wptKeylist.h.
1928     * wptKeysignDlg.cpp: Ditto
1929     * wptKeyRevokersDlg.cpp: Ditto. Fixed spelling of wptW32API.h.
1930     * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Replaced unlink by remove.
1931     Removed unused variable.
1932     * wptClipVerifyDlg.cpp (show_notation_data): s/not/nota/ due to
1933     silly c++ operator synonyms.
1934     * wptKeyEditDlgs.cpp: Include time.h.
1935     * wptClipDecryptDlg.cpp: Include wptCrypto.h to define PGP_MESSAGE.
1936     * wptFileManagerDlg.cpp: Ditto.
1937     (space_wipefrees_dlg_proc): Replaced unlink by remove; it doesn't
1938     matter if it does an rmdir for a directory.
1939    
1940     Fixed include of resource.h which is not anymore in the top
1941     directory.
1942    
1943 werner 46 2005-10-28 Werner Koch <[email protected]>
1944    
1945     * wptProxySettingsDlg.cpp (check_number): Cast isdigit() arg to
1946     unsigned. Never ever use a possible signed char as argument for
1947     ctype tests. An alternative is to first test using isascii ().
1948     (keyserver_proxy_dlg_proc): Removed unused variable.
1949    
1950 twoaday 41 2005-10-27 Timo Schulz <[email protected]>
1951 werner 36
1952 twoaday 41 * wptKeyPropsDlg.cpp (get_validity): Take care of disabled keys.
1953     * wptKeylist.cpp (keylist_add_key): Check global key flag to
1954     see if the key is disabled and not each subkey.
1955     (seclist_init): Likewise.
1956     * wptClipDecryptDlg.cpp (gpgme_op_clip_decrypt): Use
1957     gpgme_op_decrypt_verify.
1958     (clip_decrypt_dlg_proc): Fixed fingerprint
1959     to keyid conversation. This also fixes a crash.
1960     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise.
1961     * wptKeyEditDlgs.cpp (do_editkey_expire): Ask if the key
1962     already expired if the user wants to change the date.
1963     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Replace old
1964     'v3 sig' option with the 'ask cert level' option. Sync
1965     with global preferences.
1966     * wptKeySignDlg.cpp (keysign_dlg_proc): Watch if the
1967     gpg.conf contains 'ask-cert-level'. If not disable button.
1968     * wptKeySigDlg.cpp (keysig_dlg_proc): Automatically disable
1969     the button when the key is available.
1970     Reload key directly, not the entire cache.
1971 werner 36
1972 twoaday 41 2005-10-26 Timo Schulz <[email protected]>
1973 werner 36
1974 twoaday 41 * wptFileManager.cpp (is_floppy_disc): Prevent very unlikely but
1975     possible overflow.
1976     (is_openpgp_ext): Compare case insentensive.
1977     (add_single_file): New.
1978     (fm_add_opened_files): Support multi file selection.
1979     * wptKeyPropsDlg.cpp (do_change_ownertrust): Removed.
1980     * wptKeyManager.cpp (km_enable_disable_key): Do not set cache
1981     reload flag. Just update the single key.
1982     * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Remove static var
1983     and disable anonymize recipient for now.
1984    
1985     Begin to port code to GCC. Fix all warning issued by the gcc
1986     compiler.
1987    
1988 werner 36 2005-10-25 Timo Schulz <[email protected]>
1989    
1990     * wptGPGUtil.cpp (create_process): Hide window.
1991     * wptKeyPropsDlg.cpp (get_photo_tmpname): New.
1992     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Remove
1993     static var 'enable'.
1994     * wptKeygenDlg.cpp (keygen_dlg_proc): Likewise.
1995     (gpg_genkey_params): Make sure all primary keys are capable
1996     for signing and certification.
1997     * wptKeySigDlg.cpp (is_sig): If no item is selected, return 0.
1998     * wptGPG.cpp (gnupg_access_keyring): Check return value for
1999     NULL. Noted by Ralf.
2000     (get_gnupg_prog): Simplified.
2001     (check_homedir): Fixed. Return 0 when the dir is successfully created.
2002     * wptKeyManagerDlg.cpp (km_file_import): Use the hourglass to
2003     indicate a pending GPG process.
2004     * wptFileManager.cpp (op_begin, op_end): New. Indicate an start
2005     and and of an operation. For now just the cursor changes.
2006     (fm_parse_command_line): Remove debug output. Thanks to Ralf again.
2007     * WinPT.cpp (WinMain): Check if there is already an instance and
2008     set a variable early as possible.
2009     (load_gettext): If a previous instance was found, do not output
2010 twoaday 41 any errors. Kudos to Ralf.
2011 werner 36
2012     2005-10-24 Timo Schulz <[email protected]>
2013    
2014     * wptPassphraseCB.cpp (passphrase_callback_proc): Allow to use
2015     pre-defined recipients.
2016     (release_gpg_passphrase_cb): Release recipients.
2017     * wptKeyPropsDlg.cpp (keyprops_load_photo): Set photo-id
2018     validity if needed.
2019     (keyprops_dlg_proc): Issue a warning if the photo is valid.
2020    
2021     2005-10-23 Timo Schulz <[email protected]>
2022    
2023     * wptFileManager.cpp (fm_get_file_type): Detect detached sigs.
2024     * wptKeyList.cpp (keylist_cmp_cb): Take care of expired/revoked keys.
2025     (get_ext_validity): New.
2026     * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Several cleanups.
2027     * wptClipEditDlg.cpp (load_clipboard): Factored out some code into
2028     this function.
2029     (load_clipboard_from_file): Likewise.
2030     (save_clipboard_to_file): New.
2031     * wptKeyManagerDlg.cpp (keyprops_dlg_proc): Fix stack overflow.
2032    
2033     2005-10-22 Timo Schulz <[email protected]>
2034    
2035     Localized a lot of more strings.
2036    
2037     * wptMainProc.cpp (load_smartcard): New.
2038     * wptFileManager.cpp (fm_parse_command_line): Simplify code.
2039     (fm_check_armor_type): Add new arg. Change all callers.
2040     (fm_get_file_type): Likewise.
2041     * wptKeyPropsDlg.cpp (display_key_info): New.
2042     (keyprops_show_photo): Factored out some code into..
2043     (keyprops_load_photo): ..this function.
2044    
2045     2005-10-21 Timo Schulz <[email protected]>
2046    
2047     * wptFileManagerDlg.cpp (file_manager_dlg_proc): Use
2048     WM_INITPOPUPMENU to localize popup menu texts.
2049     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
2050     * wptClipSignDlg.cpp (one_key_proc): Use wipememory instead of memset.
2051    
2052     2005-10-20 Timo Schulz <[email protected]>
2053    
2054     Now WinPT depends on GPG 1.4.3 and GPGME 1.2.0.
2055    
2056     * wptPassphraseCB.cpp (passphrase_cb): Complete card support.
2057     * wptCardEdit.cpp (genKey): Handle cancel case.
2058     * keycache.c: Renamed into...
2059     * wptKeyCache.cpp: ...this.
2060     * wptW32API.cpp (set_menu_text): Removed unused code.
2061     (set_menu_text_bypos): New.
2062     * wptCrypto.h: New.
2063     * wptMainProc.cpp (winpt_main_proc): Complete localize
2064     menu texts.
2065     * wptErrors.cpp (log_debug): Use a static var so the file
2066     is only opened once.
2067     (debug_end): Cleanup. Currently just close the log file.
2068     * wptErrors.h (wipememory): New.
2069     (sfree_if_alloc): Use it here.
2070     * WinPT.cpp (WinMain): Display the min. GPGME version which
2071     is needed in case of an error.
2072    
2073     2005-10-17 Timo Schulz <[email protected]>
2074    
2075     Free all memory returned by the GPGME dll with gpgme_free ().
2076    
2077     s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT.
2078    
2079     * wptKeyEdit.cpp (getCardStatus): Remove dummy key.
2080     (list_handler): With user interaction to allow to insert
2081     the card into the reader.
2082     * wptKeyEditCB.cpp (gpg_edit_card): Likewise.
2083     (common_card_handler): Fixed incorrect command string.
2084     * wptKeyPropsDlg.cpp (get_card_type): New.
2085     (keyprops_dlg_proc): Show card information if present.
2086     * wptFileManager.cpp (secret_key_available): Make the code faster.
2087    
2088    
2089     2005-10-16 Timo Schulz <[email protected]>
2090    
2091     * wptPassphraseCB.cpp (passphrase_cb): Fix problem
2092     with hanging GPG process on cancel.
2093     * keycache.c (gpg_keycache_release): Release all objects.
2094    
2095     2005-10-15 Timo Schulz <[email protected]>
2096    
2097     * wptCardEdit.cpp (setResult, getResult): New.
2098     (reset): New.
2099     (getCardStatus): Check return codes and release all objects
2100     in case of errors.
2101     * wptCardEditCB.cpp (change_pin_handler): Call reset()
2102     before quit.
2103     (editcard_handler): Likewise.
2104     (common_card_handler): New.
2105     * wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask
2106     the old PIN when 'Hide Typing' is disabled.
2107     * wptPassphraseCB.cpp (passphrase_cb): The card detection
2108     works again. Support to re-enter passphrase.
2109    
2110     2005-10-14 Timo Schulz <[email protected]>
2111    
2112     * wptCardDlg.cpp (card_status): New fields for the
2113     fingerprint creation time. Display card info as title.
2114     (get_printable_version): New.
2115     * wptCardEditCB.cpp (editcard_handler): Fix problem
2116     with the counter comparison.
2117    
2118     2005-10-11 Timo Schulz <[email protected]>
2119    
2120     Port to GPGME basically finished.
2121    
2122     2005-09-20 Timo Schulz <[email protected]>
2123    
2124     * wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc):
2125     Do not use gpgme_recipients_t but the listview directly
2126     to add the selected files.
2127    
2128     2005-09-07 Timo Schulz <[email protected]>
2129    
2130     * Make sure all GetOpenFileName filters are terminated by \0\0.
2131    
2132     2005-09-01 Timo Schulz <[email protected]>
2133    
2134     * wptW32API.cpp (center_window): New argument for parent window.
2135     Change all callers.
2136     (center_window2): Likewise.
2137     * GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'.
2138     * wptGPG.cpp (gnupg_backup_options): Remove param. One backup
2139     file is enough. Changed all callers.
2140    
2141     2005-08-15 Timo Schulz <[email protected]>
2142    
2143     * wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys.
2144     * wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title.
2145     * Make sure the passphrase is always overwritten before it is
2146     freed (or the function returns).
2147     * wptKeyPropDlg.cpp (get_pref_cipher): New.
2148     (keyprops_dlg_proc): Use it here.
2149    
2150     2005-08-06 Timo Schulz <[email protected]>
2151    
2152     * wptGPGME.cpp (keycache_update): Reload OpenPGP parts
2153     of the secret key.
2154     (keycache_init): cache name of secret keyring.
2155     * wptKeyList.cpp (keylist_upd_key): Do not add long keyid.
2156     (get_key_type): Do not assume 'ultimate' means key pair.
2157     * wptKeyEditDlgs.cpp (diff_time): New.
2158     (keyedit_addsubkey_dlg_proc): Changed design and use
2159     diff_time. Drop checks for invalid keylength (< 1024, > 4096)
2160     because the combo box automatically handles this.
2161     * wptKeyManager.cpp (km_set_implicit_trust): Return error code.
2162     * wptGPG.cpp (get_backup_name): New.
2163     (gnupg_backup_keyrings): Rotate backup names, from 0..3.
2164     * wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory.
2165     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and
2166     not the long keyid.
2167    
2168     2005-08-05 Timo Schulz <[email protected]>
2169    
2170     * wptListView.cpp (listview_set_item2): New.
2171     * wptKeyManager.cpp (km_check_if_protected): Directly
2172     retrieve gpgme_key_t from the list.
2173     (km_check_key_status): Likewise.
2174     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use
2175     a human-readable name for secret key export.
2176     Reload just the keys which were affected by updates
2177     (edit-key).
2178     (update_key): New.
2179     * wptKeyList.cpp ((keylist_upd_key): Stripped down
2180     version of keylist_add_key.
2181     * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not
2182     reload the keycache here, just flag 'update'. Give the
2183     control to the calling dialog.
2184     * wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t
2185     as parameter. Changed all callers.
2186     Add date of expiration to the key info.
2187     (get_expire_date): New.
2188     Use a checkbox to allow to ask for the cert level.
2189     * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload
2190     the cache.
2191    
2192     2005-08-04 Timo Schulz <[email protected]>
2193    
2194     * wptListView.cpp (listview_scroll): New.
2195     (listview_get_item2): New.
2196     * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the
2197     item was found, make it visible with scrolling.
2198     * wptKeyManager.cpp (km_find_key): New.
2199     (keylist_subclass_proc): Support to handle some acceleators.
2200     Strg+{C, P, F, A}.
2201     (km_get_key_status): Get the gpgme_key_t object directly
2202     from the list.
2203     * wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set
2204     the config file (if it exists).
2205     * wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code
2206     to handle the click->activate situation.
2207     * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
2208     Support to check the passphrase quality.
2209     * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.
2210     (request_passphrase): Rename 'init' to 'flags' to allow more
2211     options.
2212     * wptMAPI.cpp: Check all *alloc results.
2213     * wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary
2214     passphrase quality check.
2215     * wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file
2216     format and allow to save the checksum in a file.
2217     * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning
2218     when the PGP mode is disabled.
2219     wptKeyEditDlgs.cpp (do_editkey_primary): Return if just
2220     one user-ID exists.
2221     (keyedit_dlg_proc): Fixed index problem.
2222     * wptKeyPropsDlg.cpp (get_validity): New.
2223     (keyprops_dlg_proc): Actually show extended validity if possible.
2224     * wptKeyList.cpp (get_key_fpr): Support for old v3 format.
2225     (do_addkey): Use listview_add_item2 to store key as opaque
2226     param inside the list.
2227     * wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx.
2228     (file_stat_dlg_proc): End dialog if no PGP data was found.
2229     (do_list_packets): Return the number of valid PGP packets
2230     of the file.
2231    
2232     2005-08-02 Timo Schulz <[email protected]>
2233    
2234     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of
2235     using 'Default Keyserver' add the real keyserver name to
2236     the menu.
2237     The rebuild command does not reload the cache any longer.
2238     Use ATTR_NAME + .asc as the filename and not keyid + .asc.
2239     * wptProxySettingsDlg.cpp (enable_proxy_auth): New.
2240     (keyserver_proxy_dlg_proc): Changed the design a little
2241     and add some additional sanity checks.
2242     * wptGPGParser.cpp (commit_gpg_options): Use W32 line endings.
2243     This fixes the problem that the GPG option dialog does not show
2244     very nice lines.
2245     * wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config.
2246     * wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected
2247     check for 'NOKEY' before asking a keyserver.
2248     * wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag.
2249     If a lot of keys were selected, ask if the user wants to confirm
2250     each delete procedure or allow to cancel the operation.
2251     * wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much
2252     keys the file contain.
2253     * wptKeyList.cpp (get_key_algo): Beautified.
2254     (get_key_status): Drop the "[XYZ] Unknown" format, it is too
2255     confusing for users.
2256     * wptKeyManager.cpp (km_check_key_status): Adjustments for the
2257     new code.
2258     (km_check_for_seckey): Reset utrust parameter. Return -1 for
2259     invalid (exp+rev+dis) keys.
2260    
2261     2005-08-01 Timo Schulz <[email protected]>
2262    
2263     * wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given
2264     sizes.
2265     (check_IP_or_hostname): New.
2266     (kserver_load_conf): Correct finger URL parsing problem.
2267     (port_from_proto): New.
2268     (keyserver_load_conf): Guess the port.
2269     (keyserver_set_default): Allocate new buffer.
2270     (kserver_load_conf): Likewise.
2271     * wptHTTP.c (parse_reqline, parse_request): Removed.
2272     Use WinPT error code and remove all unused code.
2273     * wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs.
2274     * wptProxySettingsDlg.cpp (read_proxy): Simple check for
2275     invalid host/IP addresses.
2276     * wptGPG.cpp (multi_gnupg_path): Return allocated buffer.
2277     Changed all callers.
2278     * wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start,
2279     automatically set 'backup to homedir'.
2280     * WinPT.cpp (WinMain): Use desktop window as the parent window
2281     to load 'first-start' dialogs.
2282     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh'
2283     flag after deleting keys.
2284     * wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure
2285     for passing the arguments.
2286     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for
2287     the OptFile. This was responsible for a lot of 'General Errors'
2288     after the first start related to key caching.
2289     Automatically set the gpg binary if possible.
2290    
2291     2005-07-22 Timo Schulz <[email protected]>
2292    
2293     * wptMainProc.cpp (winpt_main_proc): Take care for shutdown
2294     messages and make sure WinPT make a keyring backup in this case.
2295     * wptGPGME.cpp (keycache_reload): Do not rebuild the signature
2296     cache each time. Just do it on startup.
2297     * wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION.
2298     * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag
2299     was set by the calling function.
2300     * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups.
2301     (keygen_dlg_proc): Only add the generated key to the keycache
2302     and do not reload the entire cache.
2303     * wptKeyManager.cpp (km_delete_keys): Store the number of keys
2304     because in each loop iteration it will be new calculated.
2305     * wptListView.cpp (listview_del_items): Likewise.
2306     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the
2307     generated key to the list instead of reloading the entire cache.
2308     * wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn.
2309    
2310 twoaday 20 2005-05-09 Timo Schulz <[email protected]>
2311    
2312     * wptCommonDlg.cpp (http_file_dlg_proc): Renamed to..
2313     (http_dlg_proc): ..this.
2314     (get_keyserver_URL_dlg): New.
2315     (check_URL): New.
2316     * wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): New.
2317     (keyedit_main_dlg_proc): Avoid massive keycache reloads, just reload
2318     the single key.
2319     * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Show the key
2320     properties of the selected desig. revoker.
2321     * wptVerifyList.cpp (verlist_build): Increase the column
2322     size of 'keyid'.
2323     * wptGPGME.cpp (keycache_update): New.
2324     * wptKeySigDlg.cpp (keysig_dlg_proc): Update the key if a signature
2325     was deleted.
2326     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Zeroing the key struct
2327     before we set any values.
2328    
2329     2005-05-03 Timo Schulz <[email protected]>
2330    
2331     * wptFileManager.cpp (fm_parse_command_line): Handle
2332     'SYMKEYENC' files. Thanks to the user who reported it.
2333     * wptKeyEditDlgs.cpp (do_find_userid): Optionally return the context.
2334     (showpref_dlg_proc): New.
2335     (keyedit_main_dlg_proc): Support SHOWPREF.
2336     (userid_list_init): New field 'Email'. Split userID into 'Name' + 'Email'.
2337     (do_add_new_userid): Adjust for new ListView.
2338     (do_find_userid): Use email for searching.
2339     (parse_preflist): New.
2340    
2341     2005-04-19 Timo Schulz <[email protected]>
2342    
2343     * wptKeyserver.cpp (kserver_update_proxyuser): Fixed
2344     buffer overflow that occurred when the proxy password
2345     is > 29 chars. Thanks to the friendly user who reported this.
2346     (kserver_search): Handle the case the key is revoked. Thanks
2347     to Ralf.
2348     (kserver_connect): More logging.
2349     (kserver_sendkey): Likewise.
2350     * wptProxySettingsDlg.cpp (check_number): New.
2351     (read_proxy): Check the entered port number.
2352 werner 36 * wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button.
2353 twoaday 22 * wptW32API.cpp (get_folder_dlg): Free memory.
2354 twoaday 20
2355     2005-04-11 Timo Schulz <[email protected]>
2356    
2357     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Reset
2358     'enable' flag always at the begin.
2359     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Show correct
2360     key trust. Noted by a friendly user.
2361     * wptListView.cpp (listview_add_item_pos): New.
2362     * wptKeyEditDlgs.cpp (get_subkey_fingerprint): Due to
2363     the fact that GPG does not return the fingerprint of
2364     the generated subkey any longer, we need to get it manually.
2365     Thanks to Maxime Brandt.
2366     (keyedit_addsubkey_dlg_proc): If key size too large, ask
2367     if this was a mistake.
2368     (keyedit_add_subkey): Use it here.
2369     (do_add_new_subkey): Fix list contrl insertion.
2370     * wptTypes.h (DEFAULT_KEYSIZE): Define new default keysize constant.
2371    
2372     2005-04-04 Timo Schulz <[email protected]>
2373    
2374     * WinPT.cpp (check_crypto_engine): Correct version
2375     check. Noted by Werner.
2376    
2377     2005-03-22 Timo Schulz <[email protected]>
2378    
2379     * WinPT.cpp (WinMain): --debug as an alias for --enable-debug.
2380     (enable_mobile_mode): New.
2381     * wptKeyEditDlg.cpp (keyedit_addsubkey_dlg_proc): Use new
2382     ID's for adding subkeys.
2383    
2384     2005-03-06 Timo Schulz <[email protected]>
2385    
2386     * wptKeySignDlg.cpp (do_fill_seckeylist): Skip secret keys without
2387     a public key. Noted by Kurt Fitzner.
2388    
2389     2005-03-04 Timo Schulz <[email protected]>
2390    
2391     * GPG asks twice for the new PIN. Thanks to Achim.
2392     * wptCardDlg.cpp (card_changepin_dlg_proc): Reset the 'safety' pin also.
2393     Only check the passphrase if the backup flag is enabled. Again thanks to
2394     Achim.
2395    
2396     2005-03-03 Timo Schulz <[email protected]>
2397    
2398     * wptCardDlg.cpp (card_changepin_dlg_proc): Add item to re-type the
2399     new PIN. Suggested by Achim.
2400     Support to show the unmasked PIN.
2401     Modified TAB-order.
2402     * wptPINDlg.cpp (pin_cb_dlg_proc): Show unmasked PIN.
2403    
2404     * Fixed wrong GPG --command-fd strings. Thanks to Achim.
2405    
2406     2005-02-23 Timo Schulz <[email protected]>
2407    
2408     * wptKeyserver.cpp (check_hkp_response): Support for HTTP/1.1.
2409     (kserver_search): Be more strict.
2410     * WinPT.cpp (WinMain): Enable FM progress by default.
2411     * wptFileManagerDlg.cpp (file_preferences_dlg_proc): New.
2412     (fm_parse_files): Use progress dialog only if it is
2413     enabled.
2414    
2415     2005-02-07 Timo Schulz <[email protected]>
2416    
2417     * wptFileManager.cpp (fm_parse_files): Do not use the progress dialog
2418     for signing and verifying. But this does not fix the problem tha the
2419     dialog sometimes stay and is not destroyed.
2420    
2421     2005-02-04 Timo Schulz <[email protected]>
2422    
2423     * wptProgressDlg.cpp (progress_cb_thread): Set root window if available.
2424     If the progress window survives by accident, it will be closed when the
2425     File Manager (root window) is closed.
2426    
2427     2005-02-02 Timo Schulz <[email protected]>
2428    
2429     * wptPassphraseDlg.cpp (passwd_dlg_proc): use center_window2, otherwise
2430     it is invisible.
2431     * wptPassphraseCB.cpp (passphrase_callback_proc): Do not cache symmetric
2432     passphrases.
2433     * Enable the progress dialog for symmetric encryption.
2434     * wptFileManager.cpp (fm_check_file_type): Also check for 'SYMKEYENC' in
2435     FM_ENCRYPT mode.
2436     * WinPT.cpp (WinMain): SETUP_EXISTING implemented.
2437     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Reset 'Locale directory' when
2438     no value is entered.
2439    
2440     2005-01-26 Timo Schulz <[email protected]>
2441    
2442     * wptGPG.cpp (multi_gnupg_path): Zero buffer before use.
2443     * wptKeyManagerDlg.cpp: Add 'Select All' feature.
2444     Move 'Edit->Key' to 'Key->Edit'.
2445     * wptFileManagerDlg.cpp: Likewise.
2446     * wptKeyPropsDlg.cpp (keyprops_show_photo): Show the JPG photo directly.
2447     * wptKeyManager.cpp (spawn_loadimage): Removed.
2448     (km_show_photo): Removed.
2449     * wptRevokersDlg.cpp (revokelist_init): Fixed index.
2450     * wptErrors.cpp (winpt_strerror): Show system error for registry
2451     related problems.
2452    
2453     2005-01-25 Timo Schulz <[email protected]>
2454    
2455     * wptCardDlg.cpp (card_keygen_dlg_proc): Make 'backup keys' default
2456     and that all values are 7-bit ASCII.
2457     Use '*' for the passphrase field.
2458     * wptGPG.cpp (multi_gnupg_path): New.
2459     (get_gnupg_path): Use it here.
2460     (check_homedir): Likewise.
2461     * wptKeyserverDlg.cpp (save_default_ks): Fix problem that the port
2462     is actually set.
2463     * wptFileManager.cpp (fm_clearsign_8bit): New.
2464     (fm_parse_files): Check if the file to clearsign is really 7-bit.
2465     Thanks to djek.
2466     (fm_set_ftype): Factored out some code from...
2467     (fm_add_dropped_files): ...here. Simplied the code.
2468     (fm_add_dir_files): New.
2469     * Removed MD5 from MyGPGME and the new default sym cipher is AES.
2470     * wptProgressDlg.cpp (progress_dlg_proc): Use additional HAND var
2471     to track the window handle.
2472     (progress_cleanup): Try to close tracking handle first.
2473    
2474     2005-01-21 Timo Schulz <[email protected]>
2475    
2476     * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Allow to retrieve keys
2477     which are not in the keyring. Suggested by djek.
2478     * wptFileManagerDlg.cpp (filemanager_dlg_proc): Implement basic
2479     'Always on Top'.
2480     Allow to send encrypted files via MAPI.
2481     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Only reload the keycache
2482     if the HKP retrieval succeeded.
2483     * wptFileStatDlg.cpp (do_list_packets): Make sure that the pkt pointer
2484     is not NULL.
2485     * wptKeyManager.cpp (km_clip_export): Prefix the clipboard text with
2486     a header similar to 'gpg -k name'.
2487     * wptErrors.cpp (log_box): Use msg_box to make sure the box is visible
2488     with 'Always on Top' windows.
2489     * wptFileManager.cpp (fm_parse_files): Set progress callback for
2490     wiping files.
2491     (fm_add_opened_files): Do not add the file in case of an error.
2492     * wptKeyserverDlg.cpp (kserver_get_port): New.
2493     (save_default_ks): Save port.
2494     * wptKeyserver.cpp (set_default_kserver): Get port or use default.
2495     (kserver_connect): Logging.
2496     (kserver_send_request): Likewise. Thanks to Markus.
2497     * wptError.cpp (w32_fmt_msg): New.
2498     (winpt_strerror): Show the W32 API error if the hotkey could not
2499     be registered.
2500    
2501     2005-01-20 Timo Schulz <[email protected]>
2502    
2503     * wptKeycacheDlg.cpp (keycache_dlg_proc): Be less strict with the
2504     keyring check. If the file exists, it is enough.
2505     * wptKeyring.cpp (kserver_load_conf): Use C++ new for proxy_host.
2506     Several cleanups and allow to specify the port of the keyserver.
2507     * wptMainProc.cpp (winpt_main_proc): Handle WM_CLOSE to make sure
2508     the application terminates clearly when Windows shutdown.
2509    
2510     2005-01-10 Timo Schulz <[email protected]>
2511    
2512     * WinPT.cpp (load_gettext): New.
2513     (WinMain): Use it here to load it before --keymanager. Thanks to Ralf.
2514    
2515     2005-01-08 Timo Schulz <[email protected]>
2516    
2517     * Applied the patches to make the source G++ compatible.
2518     * wptKeyserver.cpp (kserver_load_conf): Use the stripped string.
2519     * wptKeygenDlg.cpp (keygen_dlg_proc): Default key size is now 2048.
2520     * wptFileManagerDlg.cpp (fill_drive_combobox): Do not add CD-Roms.
2521    
2522     2005-01-07 Timo Schulz <[email protected]>
2523    
2524     * wptKeyserver.cpp (skip_type_prefix): Support all URL schemes.
2525     (finger_recvkey): Use skip_type_prefix and prevent buffer overflows.
2526     (ldap_recvkey): Likewise.
2527     (check_hkp_response): Be more liberal with error strings.
2528     (kserver_connect): Prevent buffer overflow and use the right return
2529     code for inet_addr().
2530     (kserver_search_chkresp): New.
2531     (kserver_search): Fixed. Now it works with modern keyservers.
2532     * wptKeylist.cpp (seclist_init): Add new flags param.
2533     * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Use short secret key
2534     listing.
2535     * wptClipboardSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
2536     * wptMainProc.cpp (winpt_main_proc): GPGME cleanup.
2537     * WinPT.cpp (WinMain): call GPGME init.
2538     Reword the 'you have no keyring' problem and revamp the first run dialog.
2539     * wptGPG.cpp (gnupg_access_keyring): New.
2540     (gnupg_check_keyring): Removed unused code.
2541     * wptFirstRunDlg.cpp (first_run_dlg_proc): Adjust dialog for the
2542     new texts and remove unused elements.
2543     * wptKeyserverDlg.cpp (keyserver_dlg_proc): s/keyserver/kserver. The
2544     last annoying typo.
2545     * wptKeyserverSearchDlg.cpp (hkpsearch_dlg_proc): End dialog in case of
2546     an error.
2547    
2548     2004-12-30 Timo Schulz <[email protected]>
2549    
2550     * wptKeyserverDlg.cpp (keyserver_list_build): Initialize pointer.
2551     This fixes the problem that the dialog crashes when the user selects
2552     anything. Thanks to my users.
2553     (keyserver_dlg_proc): s/keyserver/kserver. Thanks to Ulf.
2554    
2555     2004-12-20 Timo Schulz <[email protected]>
2556    
2557     * wptGPG.cpp (check_gnupg_engine): Fixed version checking.
2558     * wptFileManager.cpp (fm_encrypt): Delete the passphrase from the
2559     cache if it is not valid.
2560    
2561     Fix problem with a NULL pointer.
2562    
2563     2004-12-15 Timo Schulz <[email protected]>
2564    
2565     * wptFileManagerDlg.cpp (space_wipefrees_dlg_proc): Use the right
2566     temp name.
2567     * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Disable 'OK' button
2568     when no secret key is available.
2569    
2570     2004-12-11 Timo Schulz <[email protected]>
2571    
2572     * wptFileManager.cpp (fm_add_opened_files): Fix broken code to detect
2573     the file type.
2574     (fm_parse_command_line): Likewise.
2575    
2576     2004-12-02 Timo Schulz <[email protected]>
2577    
2578     * wptKeySigDlg.cpp (do_load_keyprops): Only issue errors for non-main nodes.
2579    
2580     2004-11-04 Timo Schulz <[email protected]>
2581    
2582     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Support preferred
2583     keyserver sub packets.
2584    
2585     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Set a flag to
2586     indicate we need to reload the cache. If a user deletes a key
2587     and exits the manager and loads it again the deleted key is
2588     still in cache and provoked an error.
2589    
2590     * wptKeySigDlg.cpp (do_load_keyprops): Stricter key checks.
2591    
2592     * wptW32API.cpp (center_window): Replaced with real code which calculates
2593     the position relative to the desktop window.
2594    
2595     2004-10-25 Timo Schulz <[email protected]>
2596    
2597     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Issue an info box
2598     if the PGP message is complete but broken during the transport.
2599     Thanks to Werner and Achim.
2600     * wptFileManager.cpp (fm_sym_encrypt): Do not force CAST5. Thanks
2601     to the gnupg-users.
2602     * Automatically add '\r\n' to the text before signing. This solves
2603     the problem the last line is not included if no \r\n is present.
2604     * wptClipEditDlg.cpp (clip_edit_dlg_proc): Add a 'mail quote' mode
2605     which prepends the text with '> '. This makes it easier to quote
2606     decrypted text.
2607     * wptKeyserverDlg.cpp (keyserver_list_build): Code which was factored
2608     out from..
2609     (keyserver_dlg_proc): ..here.
2610    
2611     2004-10-15 Timo Schulz <[email protected]>
2612    
2613     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Make sure that opt
2614     is really initialized.
2615    
2616     2004-10-07 Timo Schulz <[email protected]>
2617    
2618     * wptErrors.cpp (winpt_errmsg): Use a generic header when no
2619     filename is supplied.
2620     * wptMainProc.cpp (cleanup_tmp_files): Do not use BUG but
2621     an error message which is more clean. Thanks to Ralf.
2622     * wptCardDlg.cpp (card_keygen_dlg_proc): Support new card
2623     admin mode.
2624     * wptKeySignDlg.cpp (do_check_protection): Also check for smart
2625     card protection.
2626     (get_keyinfo): Return if this is a smart card key.
2627     * wptKeyEditDlgs.cpp (do_find_userid): Use UTF8 encoding before
2628     comparing the names.
2629     * winpt.cpp: Now depends on PTD 0.7.1.
2630    
2631     2004-10-01 Timo Schulz <[email protected]>
2632    
2633     * wptClipSignDlg.cpp: Really use the selected subkey with the
2634     right '!' syntax. Thanks to Vedaal for pointing this out.
2635     * wptGPG.cpp (gnupg_backup_keyrings): Check if the backup device
2636     is accessable and writeable, otherwise inform the user. Kudos to
2637     the one who reported this problem.
2638    
2639     2004-09-20 Timo Schulz <[email protected]>
2640    
2641     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Disable 'Sign' in
2642     context menus when the key is flagged as revoked.
2643     (update_ui_items): Likewise and set the 'ShowPhoto' flag only if
2644     the key has such an item.
2645    
2646     2004-09-08 Timo Schulz <[email protected]>
2647    
2648     * wptKeyserverDlg.cpp (kserver_get_pos): If only one element is
2649     in the list, return zero.
2650    
2651     2004-09-07 Timo Schulz <[email protected]>
2652    
2653     * wptAboutDlg.cpp (about_dlg_proc): Add 'Help' button. Suggested by Ralf.
2654     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
2655    
2656     2004-09-01 Timo Schulz <[email protected]>
2657    
2658     * wptGPG.cpp (GPG_CONF): Define it. Use gpg.conf by default.
2659     (default_key_from_cache): Use new key attribute 'usable'.
2660     * WinPT.cpp (show_unprotected_keys): Removed.
2661     * wptKeylist.cpp (check_key): Removed.
2662     (seclist_init): Use new 'usable' key attribute.
2663     (keylist_add_key): Likewise.
2664     * wptKeyManagerDlg.cpp (keylist_subclass_proc): support to
2665     add keys via 'INSERT'.
2666     * wptListView.cpp (listview_select_one): New.
2667     (listview_find): New.
2668     * wptFileManager.cpp (fm_get_current_pos): If there is only
2669     one item, return 0 but also select it. Thanks to Christian.
2670    
2671     2004-08-28 Timo Schulz <[email protected]>
2672    
2673     * WinPT.cpp (WinMain): Free gpg table in case of an error.
2674     * wptFileManagerDlg.cpp (filelist_subclass_proc): New.
2675     (filemanager_dlg_proc): Subclass the list control.
2676     * Fix Alt+C for the winpt_prefs_dlg_proc.
2677     * wptKeyserver.cpp (kserver_load_conf): Ignore lines with
2678     just whitespaces. Thanks to the folks on winpt-users.
2679    
2680     2004-08-27 Timo Schulz <[email protected]>
2681    
2682     * wptKeyserver.cpp (skip_whitespace): New.
2683     * Fix a problem with the key cache. The new hash item was
2684     not initialized to zero and thus the free caused an illegal access.
2685     Thanks to Ralf for pointing this out.
2686     * wptTextInputDlg.cpp (text_input_dlg_proc): Finished with localisation.
2687     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
2688     * wptFirstRunDlg.cpp (first_run_dlg_proc): Remove global variable and
2689     use a context to store the value. Loalize all text strings.
2690     * wptKeyList.cpp (key_check_validity): Cannot use gettext here.
2691     (keylist_get_recipients): Increase buffer for gettext messages.
2692    
2693     2004-08-26 Timo Schulz <[email protected]>
2694    
2695     * WinPT.cpp (load_keyserver_conf): New. Factored out some code
2696     from WinMain ().
2697 twoaday 130 (WinMain): Load keyserver config at the begin. Thanks to Bodo Aßner
2698 twoaday 20 * wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver
2699     in the list control, add at least the internal default HKP server.
2700     * wptKeygenDlg.cpp (keygen_wizard_dlg_proc): NLS support.
2701     * wptKeySignDlg.cpp (sig_class_dlg_proc): Likewise.
2702     (keysign_dlg_proc): Likewise.
2703     * wptKeySigDlg.cpp (keysig_dlg_proc): Likewise.
2704     * wptKeyserver.cpp (skip_type_prefix): New. Thanks to Marcus Junk.
2705     (kserver_connect): use it here.
2706     (kserver_send_request): Likewise.
2707     (kserver_recvkey): Likewise.
2708    
2709     2004-08-25 Timo Schulz <[email protected]>
2710    
2711     * wptFileManager.cpp (fm_get_file_type): Skip files over 32 MB
2712     and skip to read large files on floppy discs.
2713     (fm_wipe): Display a 'wait' cursor until the wipe is complete.
2714     (is_floppy_disc): New.
2715     * wptFileManagerDlg.cpp (filelist_subclass_proc): New.
2716     (file_manager_dlg_proc): Use subclassing to allow some hotkeys.
2717    
2718     2004-08-24 Timo Schulz <[email protected]>
2719    
2720     * wptKeyEditDlgs.cpp (userid_list_init): Add creation date for
2721     the user-ids.
2722     * wptKeygenDlg.cpp (key_wizard_dlg_proc): Allow to switch into
2723     expert mode when the non-interactive mode is used.
2724     * WinPT.cpp (WinMain): Start the keygen wizard instead of the
2725     expert dialog and allow to switch to it.
2726    
2727     2004-08-20 Timo Schulz <[email protected]>
2728    
2729     * wptKeyManagerDlg.cpp (do_create_minpopup): In read-only
2730     mode the menu is not available.
2731     (popup_gpg_readonly): New.
2732     (menu_gpg_readonly): New.
2733     (keymanager_dlg_proc): Use it here. Do not check the permissions
2734     any longer since this is now handle via the read-only code.
2735     * wptMainProc.cpp (winpt_main_proc): Check if the keyrings
2736     are in read-only mode.
2737     * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): RSA support.
2738     * wptKeySignDlg.cpp (keysign_dlg_proc): Allow non-revocably
2739     signatures in expert mode.
2740     * wptKEyEditDlgs.cpp (do_find_userid): Release context.
2741     * wptGPG.cpp (gpg_check_permissions): Only print out a warning
2742     in the interactive mode.
2743     * wptTrayPopDlg.cpp (WndProc): Destroy the window when the left
2744     mouse button is clicked.
2745    
2746     2004-08-19 Timo Schulz <[email protected]>
2747    
2748     * wptKeyEditDlg.cpp (keyedit_addsubkey_dlg_proc): Corrected
2749     key numbers.
2750    
2751     * wptKeysigDlg.cpp (do_delsig): New. Implement 'delsig' command.
2752     (is_sig): Change code to allow to check pre-defined fields.
2753    
2754     * WinPT.cpp (WinMain): Allow read-only support for keyrings.
2755    
2756     2004-08-06 Timo Schulz <[email protected]>
2757    
2758     * wptContext.h: Move subclass_s context to this file.
2759    
2760     * wptKeysigDlg.cpp (subclass_dlg_proc): New.
2761    
2762    
2763     2004-08-05 Timo Schulz <[email protected]>
2764    
2765     * wptKeySigDlg.cpp (sigprops_dlg_proc): Set the 'expired' flag
2766     when possible.
2767     New dialog layout to enhance the readability of the text. Use
2768     flat check boxes for the same reason.
2769    
2770     * wptKeyEditDlgs.cpp (do_editkey_expire): Set new value to
2771     the right column (3 not 4).
2772    
2773     * wptFileManagerDlg.cpp: Make sure the wipe freespace tempfile
2774     uses a unique name.
2775    
2776    
2777     2004-08-04 Timo Schulz <[email protected]>
2778    
2779     * wptClipEditdlg.cpp (clip_edit_dlg_proc): Removed the
2780     edit-field to display the text. Now a RichEdit field is
2781     used. This solves the XP problem that the viewer is empty
2782     even if there is text in it.
2783    
2784     * wptKeyManger.cpp (km_file_export): Add WinPT specific comment.
2785    
2786     * wptKeySigDlg.cpp (sigprops_dlg_proc): New.
2787     (keysig_dlg_proc): Add new 'Properties' button and implement
2788     the code for it.
2789    
2790     * wptSigList.cpp: Add support to show the expiration date.
2791    
2792     * wptGPGME.cpp (keycache_init): Support to show the progress bar.
2793     (keycache_release): Store the amount of keys in the registry for
2794     the progress dialog.
2795    
2796     * wptPreferenceDlg.cpp (prefs_dlg_proc): Add support to generate
2797     default keyserver.conf.
2798    
2799     * wptKeyserver.cpp (kserver_load_conf): Store the mod-time of the file.
2800     Fix possible buffer overflow.
2801     (wsock_end): Release stored keyserver list.
2802    
2803     * wptEncryptDlg.cpp (clip_encrypt_dlg_proc): Allow to search for
2804     a specific recipient and select it.
2805    
2806     2004-08-02 Timo Schulz <[email protected]>
2807    
2808     * wptKeysigDlg.cpp (do_create_popup): New.
2809     (do_load_keyprops): New.
2810    
2811     (keysig_dlg_proc): Factor out some common code and use
2812     do_load_keyprops.
2813    
2814     * wptKeyServer.cpp (kserver_check_inet_connection): New.
2815    
2816     * wptKeyManger.cpp (km_refresh_from_keyserver): First check
2817     for an active internet connection. It's annoying for the
2818     user to confirm an connection error for each key (n>40).
2819    
2820     2004-07-27 Timo Schulz <[email protected]>
2821    
2822     * wptKeyManagerDlgProc.cpp (keymanager_dlg_proc): Set the new
2823     value for the ownertrust.
2824    
2825     * wptKeyManager.cpp (get_key_trust): Make it public.
2826     (get_key_trust_str): New.
2827     (km_refresh_from_keyserver): Allow to select random keys.
2828     (km_refresh_one_key): New.
2829    
2830     * wptKeyserver.cpp: Use default keyserver if possible.
2831    
2832     2004-07-13 Timo Schulz <[email protected]>
2833    
2834     * wptFileManager.cpp (fm_assume_onepass_sig): New.
2835     Thanks to Vedaal who found out that armored one-pass sigs are not
2836     correctly recognized.
2837    
2838     (ask_filename): New.
2839     Again thanks to Vedaal who suggested to ask for a new output name
2840     for the case the user does not want to overwrite the file.
2841    
2842     (fm_encrypt): Use it here.
2843     (fm_decrypt): Likewise.
2844     (fm_sign): Likewise.
2845    
2846     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): New context menu entry
2847     to set secret keys to ultimate trust.
2848    
2849     * wptKeyManager.cpp (km_check_for_seckey): Optionally return if the
2850     key has ultimate trust.
2851     (km_set_implicit_trust): New.
2852    
2853     2004-07-12 Timo Schulz <[email protected]>
2854    
2855     * wptRegistry.cpp: Support for disable compression of multi-media files.
2856     (set_reg_winpt_single): New.
2857     (get_reg_winpt_single): New.
2858    
2859     * wptFileManager.cpp (is_multi_media): New.
2860     (fm_encrypt): Disable compression of multi-media files.
2861     (fm_state_new): Set comment to indicate armored files were generated
2862     by WinPT. This is a replacement due to the fact the WinPT string is not
2863     added in the 'Version' for larger files.
2864    
2865     * WinPT.cpp (WinMain): Extract the loadimage.exe from the DLL if not found.
2866    
2867     2004-07-11 Timo Schulz <[email protected]>
2868    
2869     * Bug fix for the validity revoked status. Now it is 'revoked'
2870     and not 'unknown' any longer.
2871    
2872     * Feature to disable encryption. This might be useful for filetypes
2873     GPG does not recognize as compress (movies, ...).
2874    
2875     * wptFileManager.cpp (fm_get_file_type): Skip packet detction if
2876     the file is large and it has no openpgp extension.
2877    
2878     2004-06-19 Timo Schulz <[email protected]>
2879    
2880     * wptInet.cpp: Renamed to ...
2881     * wptHttp.c: ... this.
2882     * wptKeyManager.cpp (km_http_import): Release 'p' not too early.
2883     * WinPT.cpp (WinMain): If there is a problem with the homedir,
2884     jump to the first start settings.
2885    
2886     2004-06-12 Timo Schulz <[email protected]>
2887    
2888     * wptInet.cpp: Updated.
2889     * wptKeyManager.cpp (km_http_import): Use http_send_request2() to
2890     parse the URL.
2891     * wptCommonDlg.cpp (http_file_dlg_proc): New.
2892     (get_http_file_dlg): New.
2893    
2894     2004-06-08 Timo Schulz <[email protected]>
2895    
2896     * wptInet.cpp: New.
2897     * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Support for http
2898     transfers.
2899     * wptKeyManager.cpp (km_http_import): New.
2900    
2901    
2902     2004-06-02 Timo Schulz <[email protected]>
2903    
2904     * wptClipEditDlg.cpp (clip_edit_dlg_proc): Do not issue an error
2905     if there is no clipboard data.
2906    
2907     Release memory in case of an error.
2908    
2909     * wptKeyManager.cpp (keylist_cmp_cb): Allow to sort by algorithm.
2910    
2911     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
2912    
2913    
2914     2004-05-31 Timo Schulz <[email protected]>
2915    
2916     * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Implement the
2917     'X' close button. Noted by a friendly user.
2918    
2919     Disable 'Save' button.
2920    
2921     * wptMainProc.cpp (cleanup_tmp_files): Delete all related temp files.
2922    
2923     * wptFileManager.cpp (fm_set_status): Do not use the data file name
2924     for signatures but keep the original file name.
2925    
2926     (fm_verify_pasted_detsig): Try to verify detached signatures from
2927     the clipboard.
2928    
2929     2004-05-14 Timo Schulz <[email protected]>
2930    
2931     * WinPT.cpp (check_crypto_engine): Due to some
2932     internal GPG changes the min. version for smart card
2933     support is now 1.3.6.
2934    
2935     * wptProxySettingsDlg.cpp (read_proxy): Correct prefix
2936     handling. Thanks to the folks who reported this via SF.net.
2937    
2938     * wptRegistry.cpp (get_reg_winpt_prefs): Corrected enum ids.
2939     Thanks to the folks on winpt-users who reported it.
2940    
2941     * wptPreferencesDlg.cpp (prefs_dlg_proc): Fix code in case of
2942     the hotkeys are disabled.
2943    
2944     * wptKeylist.cpp (do_addkey): Broken ElGamal dection, fixed.
2945    
2946     * wptFileManager.cpp (fm_get_file_type): Do not parse the entire
2947     file if the size is >= 256MB.
2948    
2949     2004-03-15 Timo Schulz <[email protected]>
2950    
2951     * Decrypt list box has now a vertical scroll bar.
2952    
2953     2004-03-11 Timo Schulz <[email protected]>
2954    
2955     * The DLL is now complety C-source.
2956    
2957     2004-03-08 Timo Schulz <[email protected]>
2958    
2959     * wptGPG.cpp (gnupg_import_keyrings): cleanups.
2960    
2961     * wptUTF8.c (utf8_to_wincp): New. Directly convert UTF-8 to Windows
2962     CP.
2963     (wincp_to_utf8): Likewise.
2964     (conv_charset): Now internal and static.
2965    
2966     * wptUTF8.h: New prototypes and remove the old prototypes.
2967    
2968     * WinPT.cpp (WinMain): Destroy the windows handle in case of an error.
2969    
2970    
2971     2004-03-07 Timo Schulz <[email protected]>
2972    
2973     * wptGPG.cpp (get_gnupg_keyring): Special case because GPG creats
2974     dummy keyrings with a size of zero in the homedir.
2975    
2976     (gpg_check_permissions): Check for read-only keyrings and add code
2977     for this case.
2978    
2979     This problem fixes a lof of other problems related to the OpenPGP
2980     parsing stuff for the key cache.
2981    
2982     * WinPT.cpp (check_crypto_engine): Store the GPG version for later use.
2983    
2984     2004-03-04 Timo Schulz <[email protected]>
2985    
2986     * wptKeyserver.cpp (finger_recvkey): Error if key was not found
2987     or garbled.
2988    
2989     * wptGPG.cpp (gpg_check_permissions): Take care of the entries
2990     in gpg.conf.
2991    
2992     * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Support to select
2993     the signer. Suggested by Sebastian.
2994    
2995     * wptKeylist.cpp (seclist_init): Moved from the clip dialog file to
2996     this file.
2997     (seclist_free): Likewise.
2998     (seclist_select_key): Likewise.
2999    
3000     * wptFileManager.cpp (fm_encrypt): Handle the case the signer was
3001     already set.
3002    
3003     2004-03-02 Timo Schulz <[email protected]>
3004    
3005     * wptGPG.cpp (check_keyring): Handle the case that the keyring
3006     is set in the gpg.conf file and the pubring.gpg file is zero bytes.
3007    
3008     (gnupg_backup_keyrings): Support backup of keyrings which were set
3009     in gpg.conf. Thanks to the user who reminded me of this problem.
3010    
3011     (gnupg_check_file_ext): Make check not case sentensive.
3012    
3013     * (sfree_if_alloc): Overwrite the memory with zeros before freeing
3014     it. This only works with c-strings! Use it everywhere we handle
3015     sentensive information (passphrases).
3016    
3017     * Try to improve the usability with better menu names and new
3018     ordering.
3019    
3020     * wptKeyMangerDlg.cpp: Make the 'Trust' column sortable.
3021    
3022     * wptMainProc.cpp (winpt_main_proc): Removed GPG about dialog. Now
3023     it is part of the WinPt about dialog. This way we can minimize the
3024     elements in the popup menu.
3025    
3026     2004-02-29 Timo Schulz <[email protected]>
3027    
3028     * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Support throw-keyid.
3029    
3030     * wptKeySignDlg.cpp (do_fill_seckeylist): Make sure we skip key itself
3031     so we are not allowing to sign ourself.
3032    
3033     * wptSigList.cpp (siglist_add_key): Support for the signature
3034     flags (local, non-revocably, ...).
3035    
3036     * Key signing with GPG 1.2.x should work again. Hopefully.
3037    
3038     2004-02-26 Timo Schulz <[email protected]>
3039    
3040     * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Issue an error
3041     if no recipient was selected.
3042    
3043     * wptFileManager.cpp (fm_parse_files): Make sure the progress dialog
3044     is destroyed. This fixes the bug that the dialog sometimes exist even
3045     after the procedure ended.
3046    
3047     * wptProgressDlg.cpp (progress_callback): Change the if-then-else
3048     struct to prevent zombie dialogs.
3049    
3050     * wptKeyserver.cpp: Removed unused prototypes.
3051    
3052     2004-02-25 Timo Schulz <[email protected]>
3053    
3054     * wptKeyManagerDlg.cpp: Use consequently 'List Signatures' and
3055     do not mix the names in the different menus.
3056    
3057     * wptSigList.cpp: Support to show the signature class.
3058    
3059     * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Disable the combo
3060     box when there is no secret key available.
3061    
3062     (do_init_keylist): Do not allow to use the owners key as a desig
3063     revoker.
3064    
3065     * wptKeylist.cpp (get_key_trust): New.
3066     (do_addkey): Use it here.
3067    
3068     2004-02-24 Timo Schulz <[email protected]>
3069    
3070     * WinPT.cpp (WinMain): Call a selftest check procedure to
3071     make sure all cryptographic code works as expected.
3072    
3073     2004-02-22 Timo Schulz <[email protected]>
3074    
3075     * PTD: Cryptdisk seems to have problems with locking. Use
3076     a forced flag to tell the code if it should bail out or
3077     ignore locking errors.
3078    
3079     * wptCryptdisk.cpp (cryptdisk_umount_dlg_proc): Use new
3080     locking code.
3081     (cryptdisk_new_dlg_proc): Adjust size of the volume.
3082    
3083     2004-02-21 Timo Schulz <[email protected]>
3084    
3085     * wptCryptdisk.cpp (cryptdisk_cleanup): New.
3086     (is_nt4): Because my Platform-SDK is too old I need to load
3087     some prototypes dynamically.
3088     (init_drives): Return the first useable drive letter if
3089     called with appropriate parameters.
3090     * wptMainProc.cpp (winpt_main_proc): Use it here.
3091    
3092     2004-02-18 Timo Schulz <[email protected]>
3093    
3094     * Modify the cryptdisk code for crosscrypt 0.4.1.
3095     * wptCryptDisk.cpp (do_mount): Add key algorithm param.
3096    
3097     2004-02-17 Timo Schulz <[email protected]>
3098    
3099     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Also encrypt
3100     to the signers key. Suggested by Alexander.
3101     Use new keycache system, we use the public key part of the
3102     cache because it has all flags set.
3103     * wptGPG.cpp (default_key_from_cache): Use new cache system.
3104     * wptKeySignDlg.cpp (do_fill_seckeylist): Likewise.
3105    
3106    
3107     2004-02-12 Timo Schulz <[email protected]>
3108    
3109     * wptErrors.cpp: New error codes for the cryptdisk feature.
3110     * wptCryptdisk.cpp (do_dispatch): Better error handling.
3111     (cryptdisk_mount_dlg_proc): Use it here.
3112     (cryptdisk_umount_dlg_proc): Likewise.
3113     (init_drives): Use system list.
3114    
3115     Localized all strings.
3116    
3117     2004-02-09 Timo Schulz <[email protected]>
3118    
3119     * wptCryptdisk.cpp (cryptdisk_umount_dlg_proc): New.
3120     (do_reaping): New. Release the list if all items are 'expired'.
3121     (cryptdisk_mount_dlg_proc): New.
3122     (init_drives): New.
3123     * wptMainProc.cpp (cryptdisk_proc): Renamed from...
3124     (handle_cryptdisk): this. And filled with life.
3125    
3126     2004-02-08 Timo Schulz <[email protected]>
3127    
3128     * wptCryptdisk.{cpp,h}: New. Support for the extended
3129     filedisk application.
3130     * wptMainProc.cpp (winpt_main_proc): Likewise.
3131     * WinPT.cpp (WinMain): Make sure the new PTD lib is installed.
3132    
3133     2004-02-05 Timo Schulz <[email protected]>
3134    
3135     * wptRegistry.cpp (set_reg_winpt_prefs): Forget to handle
3136     CMD_DISHOTKEYS. Thanks to the user who reminded me.
3137     * wptMainProc.cpp (spawn_cryptdisk): New interface to
3138     the Cryptdisk application.
3139    
3140     2004-02-04 Timo Schulz <[email protected]>
3141    
3142     * wptRegistry.cpp (get_reg_winpt_prefs): Revamped the core.
3143    
3144     2004-02-03 Timo Schulz <[email protected]>
3145    
3146     * WinPT.cpp (check_crypto_engine): New. Factor out common code.
3147     (WinMain): Check the crypto engine after the first start.
3148    
3149     * wptRegistry.cpp (set_reg_winpt_prefs): Make sure an error is
3150     issued if the values could not stored. Revamped the core.
3151    
3152     * Removed the last appearance of the GPG agent support.
3153    
3154     * wptGPG.cpp (init_gnupg_table): Do not use static buffers.
3155     (free_gnupg_table): Free memory.
3156    
3157     * wptClipImportDlg.cpp (clip_import_dlg_proc): Make sure the
3158     ctx pointer get malloced and set the contents to zero.
3159    
3160    
3161     2004-02-02 Timo Schulz <[email protected]>
3162    
3163     * wptCardDlg.cpp (card_keygen_dlg_proc): Make sure the name
3164     is long enough. The same check for the mail address.
3165    
3166     Thanks to Achim.
3167    
3168     2004-01-28 Timo Schulz <[email protected]>
3169    
3170     * wptCardDlg.cpp (card_keygen_dlg_proc): A info is issued
3171     if keys on the card exist but the user does not said overwrite.
3172    
3173     Make sure the expire date is not in the past.
3174    
3175     * wptMainProc.cpp (winpt_main_proc): Avoid to release the file
3176     lock twice. Not sure if this fixes some other problems but it
3177     was definitely a bug.
3178    
3179     * wptMapi.cpp (mapi_init): Make sure all function ptrs are
3180     initialized otherwise bail out.
3181     (mapi_send_message): New. Interface to allow to send an
3182     encrypted mail with zero ore more encrypted attachments.
3183     (secure_attachment): New.
3184     (parse_recipients): New.
3185    
3186     2004-01-25 Timo Schulz <[email protected]>
3187    
3188     * WinPT.cpp (WinMain): Silently die when an instance is already
3189     running. Do not confuse the user with a message. Suggested by
3190     Sebastian.
3191     * wptKeyManager.cpp (delete_keys_from_cache): New.
3192     (km_delete_keys): Use it here. Thanks to Achim.
3193    
3194     2004-01-23 Timo Schulz <[email protected]>
3195    
3196     * wptCardDlg.cpp (check_pin_len): New. Check if the
3197     PIN is long enough and give an appropriate error.
3198     (card_changepin_dlg_proc): Use the new check function.
3199    
3200     2004-01-22 Timo Schulz <[email protected]>
3201    
3202     * Remove all internal card reader config. It's up to the
3203     user to do this. It would be too error proune to offer it.
3204     * wptCard.h: Removed all card driver stuff.
3205     * wptPinDLG.cpp (pin_cb_dlg): Use better names to differ
3206     between the admin and the user (normal) PIN.
3207    
3208     2004-01-04 Timo Schulz <[email protected]>
3209    
3210     * wptImageList.{cpp,h}: New. Contributed by Andreas Jobs.
3211     * wptKeylist.cpp (keylist_cmp_cb): More patches from Andreas
3212     and minor changes.
3213     * wptListView.cpp (listview_sort_items): Likewise.
3214     * wptKeyManager.cpp (key_manager_dlg_proc): Likewise.
3215     (regist_sep_wnd): Factored out some code.
3216    
3217     2004-01-03 Timo Schulz <[email protected]>
3218    
3219     * wptClipImportDlg.cpp (clip_import_dlg_proc): automatically allow
3220     to import secret keys.
3221    
3222     2003-12-31 Timo Schulz <[email protected]>
3223    
3224     * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Do not sort
3225     the list otherwise the index is wrong.
3226     * wptKeySignDlg.cpp (keysign_dlg_proc): Add the ability to set
3227     a signature expire date.
3228    
3229     2003-12-30 Timo Schulz <[email protected]>
3230    
3231     * fixed the GPG edit-key commands sign and addrevoker.
3232    
3233     2003-12-23 Timo Schulz <[email protected]>
3234    
3235     * wptKeyEditAddKEyDlg.cpp (keyedit_addsubkey_dlg_proc): Remove
3236     ElGamal s+e support. Oops, this should be already done.
3237     * wptGPGME.cpp (keycache_init): Sync both key caches. In other
3238     words transfer some flags from the sec-cache to the pub-cache.
3239     * wptKeySignDlg.cpp (key_sign_dlg_proc): A workaround for the
3240     key sign procedure. If it is already signed, the process
3241     sometimes hangs.
3242    
3243     2003-12-14 Timo Schulz <[email protected]>
3244    
3245     * wptKeyeditSetPrefDlg.cpp (get_userid_preflist): New.
3246     * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Support for updpref.
3247     (do_editkey_setpref): Implement updpref command.
3248    
3249    
3250     2003-12-10 Timo Schulz <[email protected]>
3251    
3252     * GPGME support to change key preferences.
3253     * wptKeyeditSetPrefDlg.cpp (keyedit_setpref_dlg_proc): New.
3254     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use the new feature here.
3255    
3256    
3257     2003-11-29 Timo Schulz <[email protected]>
3258    
3259     * wptMAPI.cpp (mapi_init): New.
3260     (mapi_deinit): New.
3261     (mapi_send_pubkey): New.
3262     * wptKeyManager.cpp (km_send_to_mail_recipient): New.
3263     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Support
3264     to send the public key via MAPI to a recipient.
3265     * wptKeySignDlg.cpp (do_fill_seckeylist): Make sure we rewind
3266     the secret key cache so it's not at the end.
3267     (keysign_dlg_proc): Issue a warning when no secret key was
3268     found which could be used for signing the key.
3269     * wptKeylist.cpp (do_addkey): Never add an Elgamal sign+encrypt key.
3270     * wptKeySignDlg.cpp (do_fill_seckeylist): Likewise.
3271    
3272     2003-11-28 Timo Schulz <[email protected]>
3273    
3274     * Remove all support for ElGamal sign+encrypt keys.
3275    
3276     There is a flaw in GPG which makes all such keys useable and
3277     they are comprised even if one signature they made is accessable.
3278     And due to the fact the key is self signed, such a sig is always
3279     available for the public.
3280    
3281     We warn the user at startup if such keys were found!
3282    
3283     * wptMainProc.cpp (elgamal_warn_dlg_proc): New.
3284     * wptGPGME.cpp (count_insecure_elgkeys): New.
3285     * WinPT (WinMain): Use it here.
3286    
3287     2003-11-14 Timo Schulz <[email protected]>
3288    
3289     * wptCardDlg.cpp (card_edit_dlg_proc): Release the second PIN.
3290    
3291     2003-11-13 Timo Schulz <[email protected]>
3292    
3293     * Clarify pin names. Now all PIN's are labeled 'Admin' or 'User'.
3294     * wptPINDlg.cpp (pin_cb_dlg_proc): Length check for the PINs.
3295     Thanks to Achim.
3296     * Change PIN interface. Now it is easier when an operation requires
3297     both PINs.
3298     * wptCardDlg.cpp (do_proc_card_cmds): Now GPG requires both PINs
3299     to change card attributes. Do not ask me why, but now the user
3300     needs to enter 2 PINs.
3301    
3302     Name parts were swapped, now they have the right order again.
3303    
3304     2003-10-02 Timo Schulz <[email protected]>
3305    
3306     * Prepare test release.
3307     * wptGPGCmds.h: New from GPG 1.3.4-cvs.
3308    
3309     2003-10-29 Timo Schulz <[email protected]>
3310    
3311     * wptKeyEditDlgs.cpp: New logging scheme. Changed all callers.
3312    
3313     * Create a new interface for an interactive card callback. GPG
3314     provides card control status messages if the wrong card is inserted.
3315    
3316     * wptCardManager.cpp (card_cb_dlg_proc): New.
3317     (card_callback): New.
3318    
3319     * wptCardPCSC.cpp (pcsc_loadlib): Use some 'A' to declare we use
3320     the ASCII functions and not the Unicode function names. Thanks to
3321     Werner for pointing this out.
3322    
3323     * wptPassphraseCB.cpp (passphrase_cb): Better card interface. Now the
3324     serial card number is shown to help the user to find the right card.
3325    
3326     * wptClipSignDlg.cpp (clip_sign_dlg_proc): New logging scheme.
3327    
3328     2003-10-26 Timo Schulz <[email protected]>
3329    
3330     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Implement new logging.
3331    
3332     * Changed the code at several other places to support the new logging
3333     scheme.
3334    
3335    
3336     2003-10-24 Timo Schulz <[email protected]>
3337    
3338     * Implemented a better logging system. If the return code
3339     of GPG is != 0 and the error is not known, display the errors
3340     from stderr.
3341    
3342     * wptGPGME.cpp (logging_cb): New.
3343    
3344     2003-10-23 Timo Schulz <[email protected]>
3345    
3346     * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Show GPG output
3347     if the error is unknown.
3348     (clip_sign_dlg_proc): Likewise.
3349     (clip_signenc_dlg_proc): Likewise.
3350     (clip_import_dlg_proc): Likewise.
3351    
3352     2003-10-21 Timo Schulz <[email protected]>
3353    
3354     * wptClipDecryptDlg.cpp (list_recipients): New.
3355     (algo_from_list): New.
3356     (clip_decrypt_dlg): New concept to list all recipients.
3357     * wptFileManager.cpp (fm_list_keys): New.
3358     (fm_decrypt): Same changes as for the clipboard decryption.
3359    
3360     2003-10-21 Timo Schulz <[email protected]>
3361    
3362     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): If the passphrase
3363     was wrong, delete the cache item (if available).
3364     * wptClipSignDlg.cpp (clip_sign_dlg): Likewise.
3365     * wptClipSignEncDlg.cpp (clip_signenc_dlg): Likewise.
3366     * wptPassphraseCB.cpp (set_gpg_passphrase_cb): Set 'is_card'
3367     flag to zero.
3368    
3369    
3370     2003-10-19 Timo Schulz <[email protected]>
3371    
3372     * wptPINDlg.cpp (pin_cb_dlg_proc): Support to store the admin and
3373     the working PIN.
3374     wptCardDlg.cpp (free_pincb): New.
3375     (card_keygen_dlg_proc): Pin callback implemented.
3376     Simple check for the e-mail address.
3377     (card_edit_dlg_proc): End the dialog if no changes were made.
3378    
3379     * Expanded GPGME passphrase interface to work both with PINs
3380     and passphrases.
3381    
3382     2003-10-18 Timo Schulz <[email protected]>
3383    
3384     * wptCardDlg.cpp (card_keygen_dlg_proc): New.
3385     (do_askpin): Handle the case there is no card.
3386     (card_edit_dlg_proc): Add 'New Keys' feature.
3387     (card_changepin_dlg_proc): Implemented.
3388     * WinPT.cpp (WinMain): Ability to start the card manager directly.
3389     * wptMainProc.cpp (smartcard_init): Global stuff to init the reader
3390     driver and the inserted card.
3391    
3392     2003-10-17 Timo Schulz <[email protected]>
3393    
3394     * wptGPGME.cpp (keycache_init): Do not use secring the first time.
3395     * wptKeySignDlg.cpp (keysign_dlg_proc): Make sure only the short
3396     keyid will be displayed.
3397    
3398     2003-10-16 Timo Schulz <[email protected]>
3399    
3400     * Changed GPGME interface for edit card. Now one context is
3401     used for all edit card operations.
3402     * wptCardDlg.cpp (card_edit_dlg_proc): Support for working
3403     and admin PIN. Changed gpgme interface.
3404     (ask_pin): Renamed to..
3405     (do_askpin): this. Provide more information about the card
3406     and its holder.
3407     (do_proc_card_cmds): If no error, reset modify flags for
3408     all controls. Show a short message that the operation ended.
3409     * wptCardPCSC.c (pcsc_free_readers): New.
3410     (pcsc_scan_readers): New.
3411     (pcsc_get_reader): New.
3412     (pcsc_get_card_status): New.
3413    
3414    
3415     2003-10-14 Timo Schulz <[email protected]>
3416    
3417     * wptKeyList.cpp (do_addkey): Add the case the secret key
3418     is stored on a smart card.
3419     (km_check_for_seckey): Take care of the new code.
3420     * wptKeyManager.cpp (km_delete_keys): Extra warning when
3421     the secret key is stored on a card.
3422     * wptKeyEditDlgs.cpp (subkey_list_init): Add the key cabilities
3423     to the list view. Now the user can see if the key is useable
3424     for: signing, certifying or encrypting.
3425    
3426     2003-10-13 Timo Schulz <[email protected]>
3427    
3428     * Extended the GPGME API that it is possible to retrieve
3429     the key data. This is for the planned card login but it
3430     might be also useful for other purposes.
3431    
3432     * wptCardPCSC.c: New. General code for PC/SC card readers.
3433    
3434    
3435     2003-10-12 Timo Schulz <[email protected]>
3436    
3437     * wptCardDlg.cpp (guess_libname): New.
3438     (card_status): Simplified the code with an attribute
3439     table. Now it is a loop and not hard coded.
3440     * The card interface has changed. Now the surname and
3441     the given name are two fields and not one field.
3442     * wptMainProc.cpp (winpt_main_proc): Check if the card
3443     reader is configured where appropriate.
3444    
3445     2003-10-09 Timo Schulz <[email protected]>
3446    
3447     * wptCardDlg.cpp (get_card_status): New.
3448     (show_card_status): New. Retrieve the card status and show an
3449     error if approprioate.
3450     * Make sure that WinPT does not try to use non-OpenPGP cards.
3451     * Add GPGME support for the forthcoming AUTH flag for keys.
3452     * Implemented the detection of keys where the secret key components
3453     are stored on a smart card.
3454    
3455    
3456     2003-10-08 Timo Schulz <[email protected]>
3457    
3458     * wptCardDlg.cpp (do_proc_card_cmds): Check that only US-ASCII
3459     is used. Otherwise reject the value.
3460     (ask_pin): New. Enable PIN caching for the 'dialog session' so
3461     the user does not need to re-enter it again and again.
3462    
3463     2003-10-07 Timo Schulz <[email protected]>
3464    
3465     * wptPINDlg.cpp (pin_cb_dlg_proc): New.
3466     * wptCardDlg.cpp (do_proc_card_cmds): New.
3467     (card_edit_dlg_proc): Use it here.
3468    
3469     2003-10-06 Timo Schulz <[email protected]>
3470    
3471     * wptFileManager.cpp (fm_encrypt): Wipe files in both modes.
3472     * wptGPG.cpp (gnupg_display_error): Display general error
3473     when the file does not exit.
3474     * wptW32API.cpp (get_folder_dlg): New.
3475     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Ability to select
3476     the folder for the home directory.
3477     * wptKeyManager.cpp (km_update_default_key_str): Return length
3478     of the string.
3479     (km_complete_status_bar): Use the offset of the default
3480     key string so it is not appened twice.
3481     * wptRegistry.cpp (regist_inst_winpt): Create 'Card' subkey.
3482     * wptCard.h: New.
3483     * wptCardDlg.cpp (new_card_driver): New.
3484     (load_card_driver): New.
3485     (free_card_driver): New.
3486     (card_config_dlg_proc): If the reader is configured, load the
3487     values. This is needful to change the driver later.
3488     (gpg_load_scard): Use driver as a parameter.
3489     * wptMainProc.cpp (winpt_main_proc): Load card driver and
3490     unload it after use.
3491    
3492     2003-09-28 Timo Schulz <[email protected]>
3493    
3494     * wptCardDlg.cpp (card_edit_dlg_proc): New.
3495     (gpg_load_scard): New. Try to use GPG load the card info.
3496     (print_fpr): New. Print beautified fingerprint.
3497     (card_status): New. Set all dialog fields with the values from
3498     the card.
3499     (prepare_dialog): New. Load combo boxes with pre-defined strings.
3500    
3501    
3502     2003-09-25 Timo Schulz <[email protected]>
3503    
3504     * wptProgressDlg.cpp (progress_cb_thread): New.
3505     (progress_callback): Use asynchron code.
3506     * wptFileManager.cpp (fm_parse_files): Implement progress callback.
3507    
3508    
3509     2003-09-25 Timo Schulz <[email protected]>
3510    
3511     * wptClipSignEncDlg.cpp (seclist_dlg_proc): The dialog was broken.
3512     (check_key): New.
3513     Removed the old Secret Key List dialog. Now the key can be directly
3514     chose in the dialog.
3515     (seclist_init): New.
3516     (seclist_destroy): New.
3517     (seclist_select_key): New.
3518     * wptFileManager.cpp (fm_sign): Ask for output file if needed.
3519    
3520     * Client side implementation of the --enable-progress-filter feature.
3521    
3522     * wptProgressDlg.cpp: Server side implementation.
3523     (progress_dlg_proc): New. The actual dialog procedure.
3524     (progress_callback): The GPGME wrapper callback.
3525    
3526     2003-09-24 Timo Schulz <[email protected]>
3527    
3528     * wptKeygenDlg.cpp (keygen_dlg_proc): Implement 'Hide Typing' feature.
3529     * wptFileManager.cpp (fm_encrypt): Ask for output file if needed.
3530     * wptFileManagerDlg.cpp (fm_dlg_proc): Removed im- and export from
3531     the menu. We use import internally, but export was not useful and
3532     thus the code were removed.
3533     * wptPreferenceDlg.cpp (prefs_dlg_proc): Disable some controle at
3534     startup when they are not allowed.
3535     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Removed PGP2 option.
3536     Make the parsing code much shorter (read).
3537    
3538    
3539     2003-09-22 Timo Schulz <[email protected]>
3540    
3541     * wptSigList.cpp (extract_filename): Make sure there is a '\',
3542     otherwise just dup the string and return.
3543     * wptVerifyList.cpp (verlist_add_sig): Use a variable for the key
3544     to make the code more readable.
3545     * Implemented the GPGME part of the new smartcard interface.
3546     The WinPT interface will be open until the scard stuff is back
3547     ported to GPG 1.3.x.
3548     * wptKeyEditDlgs.cpp (do_editkey_revuid): Need a secret key to do it.
3549     Several code cleanups.
3550    
3551     2003-09-08 Timo Schulz <[email protected]>
3552    
3553     * wptRegistry.cpp: Remove some hotkeys to correct index calculation.
3554     (get_reg_winpt_flag): Check buffer first.
3555     (get_reg_winpt_prefs): Support for the new backup system.
3556     (set_reg_winpt_prefs): Likewise.
3557     * wptHotkey.h: Removed import and export hotkey. Re-ordered elements.
3558     * wptRegistry.h: Cleaned up the hotkey interface.
3559     * wptPreferenceDlg.cpp (enable_backup_items): New.
3560     (prefs_dlg_proc): Simplified hotkey handling. Use new code.
3561     * wptMainProc.cpp (clip_gpg_dlg): Remove hotkey handling for
3562     im- and export. Use the code directly.
3563     (currwnd_gpg_dlg): Likewise.
3564     * wptGPG.cpp (gnupg_backup_keyrings): New.
3565     (backup_one_file): New.
3566    
3567     2003-09-04 Timo Schulz <[email protected]>
3568    
3569     * wptFileManager.cpp (fm_get_file_type): Due to an unknown reason,
3570     the packet parsing return value check was wrong again. Now it does
3571     not recognize Word documents as SECKEY or ENCRYPTED any longer.
3572    
3573     2003-09-03 Timo Schulz <[email protected]>
3574    
3575     * The secret key listing does not contain any 'validity' or
3576     'status' flags any longer. Thus we only can use the cache to
3577     make sure we have a secret key. All attributes need to be retrieved
3578     from the public key listing.
3579    
3580     * wptGPG.cpp (default_key_from_cache): New.
3581     (get_gnupg_default_key): Use new function to make sure we try
3582     to get the key from cache if there is a problem with the config
3583     file.
3584    
3585     2003-08-30 Timo Schulz <[email protected]>
3586    
3587     * wptGPG.h: Support for the GPG status messages REVKEYSIG and
3588     EXPKEYSIG. With this new feature, GPG 1.2.3 is required.
3589     * Make sure that the signature status does not cause an
3590     segfault.
3591     * WinPT.cpp: Use new check to detect the GPG version and make sure
3592     it is the minimum.
3593     * wptGPG.cpp (parse_version_nr): New.
3594     (check_gnupg_engine): Improved. Now it returns the actual version.
3595    
3596     2003-08-24 Timo Schulz <[email protected]>
3597    
3598     * wptPreferencesDlg.cpp (prefs_dlg_proc): Use better code to disable
3599     dialog controls.
3600    
3601     2003-08-17 Timo Schulz <[email protected]>
3602    
3603     * wptKeyManagerDlg.cpp (keymanager_dlg_proc):
3604     #ID_KEYMISC_EXPORT_PRIVKEY: Retrieve the current list view index. The
3605     value was malformed.
3606     * wptClipEditDlg.cpp (clip_edit_dlg_proc): Free global memory.
3607     * wptKeyserver.cpp (kserver_load_conf): If the file does not exist,
3608     don't bother the user with an error message. Closes #782751.
3609     * wptKeyEditDlgs.cpp (do_editkey_primary): New. Implement the
3610     "primary" edit key command.
3611     * wptKeyserverDlg.cpp (hkp_recv_key): New flag parameter. Now it is
3612     possible to supress the status message. This is useful when the whole
3613     keyring will be refreshed.
3614     * wptFileManager.cpp (fm_parse_command_line): Unquote file if needed.
3615     (quote_file): Avoid double quotes.
3616     * GPGME support for quoted file names.
3617     (fm_sym_encrypt): Double check password and to additional 8-bit checks.
3618     * WinPT.cpp (my_acces): Moved to this file..
3619     * wptGPG.cpp: ..here.
3620     (gpg_check_permissions): Renamed from check_permissions and make it global.
3621     * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Check to make sure we
3622     have write access to the keyring for some commands.
3623    
3624     2003-07-22 Timo Schulz <[email protected]>
3625    
3626     * wptClipEditDlg.cpp (clip_edit_dlg_proc): Figure out the size of
3627     the text instead of allocating the maximum.
3628    
3629     2003-07-13 Timo Schulz <[email protected]>
3630    
3631     * wptKeygenDlg.cpp (check_passphrase): Check if the passphrase contains
3632     characters >= 127. Due to the fact that we use CP-1250 and GPG uses CP-850
3633     it would be a bad idea to use such passphrases. And thus we disallow it.
3634     * wptKeyEditDlgs.cpp (keyedit_change_passwd): Likewise.
3635     * wptSymEnc.cpp (gpgme_encrypt_symmetric): Likewise.
3636     * wptHotkey.cpp (hotkeys_strerror): Use capital letters.
3637    
3638     2003-07-12 Timo Schulz <[email protected]>
3639    
3640     * wptFileManager.cpp (fm_verify): Support for multiple signatures.
3641     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise.
3642     * wptProxySettingsDlg.cpp (read_proxy): Skip http:// prefix.
3643     * wptKeyserver.cpp (check_URL): Support for hkp://. Closes #755156.
3644     (kserver_connect): Likewise.
3645     (kserver_read_config): Likewise.
3646     * wptSymEnc.cpp (gpgme_encrypt_symmetric): Free memory if the passphrases
3647     are not equal.
3648     * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): New. An easy to use wizard to
3649     generate a key pair.
3650    
3651     2003-06-24 Timo Schulz <[email protected]>
3652    
3653     * Fixed filter code in Get{Open,Save}FileName. Changed all callers.
3654     Thanks to Alex.
3655     * wptKeyManager.cpp (km_delete_keys): Quote the user-id.
3656    
3657    
3658     2003-06-13 Timo Schulz <[email protected]>
3659    
3660     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Quote the user-id name.
3661     * wptClipSignDlg.cpp (clip_sign_dlg_proc): Fix the code due to
3662     the fact the signer is now dymanic and not static.
3663     * wptGPG.cpp (check_gnupg_engine): Check if IDEA is available and
3664     change all code that it only shows an error if no plug-in was loaded.
3665     * wptKeyEditDlgs.cpp (is_cmd_openpgp): Remove REVKEY since you
3666     can revoke v3 keys.
3667     (do_editkey_revoke): Clarify command because it can be only used
3668     for secondary keys.
3669     * wptKeyManagerDlg.cpp (file_sign_dlg_proc): Make sure an error
3670     is issued when no key was selected. Thanks to vedaal.
3671    
3672     2003-06-11 Timo Schulz <[email protected]>
3673    
3674     * wptKeylist.cpp (keylist_add_key): Now the user-ids are in the
3675     right order and we do not use the last user-id but the first
3676     because this is always the primary user-id or the newest user-id.
3677     * wptGPGME.cpp (get_default_keyid): Removed. Some better code
3678     were added to get_gnupg_default_key.
3679    
3680     2003-06-10 Timo Schulz <[email protected]>
3681    
3682     * wptKeysignDlg.cpp (do_fill_seckeylist): Make sure disabled keys
3683     are skipped.
3684     (keysign_dlg_proc): Removed some redundant code.
3685     * wptKeyEditDlgs.cpp (is_idea_protect_algo): New. Find out if
3686     it is possible to change the passphrase.
3687    
3688     2003-06-06 Timo Schulz <[email protected]>
3689    
3690     * wptKeylist.cpp (keylist_get_recipients): Use a stronger warning
3691     message and include the user-id.
3692     * Encryption: use force overwrite (--yes) to make sure there are
3693     no complications with GPG.
3694     * Import: skip all record types we do not understand.
3695    
3696    
3697     2003-06-05 Timo Schulz <[email protected]>
3698    
3699     * wptPassphraseCB.cpp (passphrase_callback_proc): Now the dialog
3700     shows all involved recipients and also the public key algorithm.
3701     * wptRegistry.cpp (reg_inst_winpt): If the user does not want
3702     the extensions, set the entry to "1" so the message is not shown
3703     again.
3704    
3705     2003-06-04 Timo Schulz <[email protected]>
3706    
3707     * wptKeylist.cpp (get_key_algo, get_key_size): Due to the fact
3708     that GPG uses the newest subkey by default, we always return
3709     the info of this subkey and not the first.
3710     * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Fixed off-by-one
3711     bug. Now the indicies are correctly.
3712     * wptGPG.cpp (gnupg_check_keyring): Do not free the value before
3713     get_file_size is called.
3714     * WinPT.cpp (WinMain): Only check the GPG engine version if there
3715     were no problems with the GPG config. And differ between a problem
3716     to get the version and if a wrong version were detected.
3717    
3718    
3719     2003-06-01 Timo Schulz <[email protected]>
3720    
3721     * wptCurrWnd.cpp (rel_key, hit_key): Replaced with macros...
3722     (KEYDOWN, KEYUP): macros for the functions above.
3723    
3724     2003-05-31 Timo Schulz <[email protected]>
3725    
3726     * wptKeyManager.cpp (km_key_is_v3): Return if the selected
3727     key is an old PGP 2 (v3) key.
3728     * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Only allow
3729     (#ID_KEYMISC_EDITKEY): Bail out if no key was selected.
3730     to add extented items if the key is NOT version 3.
3731     * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Check if the
3732     key is v3 and forbid most commands.
3733     (is_cmd_openpgp): New.
3734    
3735     2003-05-28 Timo Schulz <[email protected]>
3736    
3737     * wptKeyManager.cpp (km_set_clip_info): New.
3738     * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Use it here.
3739     * wptImportList.cpp (implist_build): Some column changes for
3740     the listview control.
3741     (implist_load): Return if secret keys were found.
3742     * wptClipImportDlg.cpp (data_cb_dlg_proc): Store if secret keys
3743     were found.
3744     (clip_import_dlg_proc): New message if secret keys were found.
3745    
3746    
3747     2003-05-25 Timo Schulz <[email protected]>
3748    
3749     * wptImportList.cpp (implist_add_key): Address charset problem.
3750     * wptVerifyList.cpp (verlist_add_sig_log): Use UTF8 decoding.
3751     * wptKeyserver.cpp (set_default_kserver): New.
3752     (wsock_init): Call the new function.
3753     (kserver_load_conf): If the FP is invalid, skip to read the file.
3754     * WinPT.cpp (WinMain): Call set_default_kserver to make sure the
3755     item has a value.
3756    
3757     2003-05-24 Timo Schulz <[email protected]>
3758    
3759     * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Subclass the two lists
3760     to allow to use virtual keys (DEL, INS).
3761     Release the uid control context when the dialog will be destroyed.
3762    
3763    
3764     2003-05-22 Timo Schulz <[email protected]>
3765    
3766     * wptMainProc.cpp (winpt_main_proc): Set use_hotkey for current
3767     window mode sign+encrypt. This fixes a couple of other problems.
3768     * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Get new values of the
3769     key when the cache was reloaded.
3770    
3771    
3772     2003-05-21 Timo Schulz <[email protected]>
3773    
3774     * wptSiglist.cpp (siglist_add_key): Only list signatures which are
3775     user-id certificates (0x10-0x13) and ignore key and subkey sigs.
3776     c-strings are now handle correctly and decoded into GPGME.
3777    
3778     2003-05-20 Timo Schulz <[email protected]>
3779    
3780     * wptKeyPropsDlg.cpp (key_props_dlg_proc): Factor out code to change
3781     the passphrase from here to...
3782     * wptKeyEditDlgs.cpp (keyedit_change_passwd): ...this place.
3783    
3784     2003-05-19 Timo Schulz <[email protected]>
3785    
3786     * wptPasswdDlg.cpp (create_passwd_dlg): Removed.
3787     (request_passphrase): New.
3788     The passphrase_s context is now internal, all externl function use now
3789     request_passphrase. Changed all callers.
3790     * wptKeygenDlg.cpp (keygen_dlg_proc): Reworded the passphrase
3791     warning and a check for the comment field was added.
3792     * wptKeyEditDlgs.cpp: New. This file now combines the dialogs which
3793     has shown the subkeys and the userids.
3794     * wptKeySubkeyDlg.cpp: Deleted and stuff merged into wptKeyEditDlgs.cpp.
3795    
3796     2003-05-17 Timo Schulz <[email protected]>
3797    
3798     * wptFileManager.cpp: Moved gpgme_file_get_extension to this file
3799     and renamed it to...
3800     (file_get_extension): this. gpgme_control now also returns the
3801     (get_file_name): Corrected the calculation of the basename.
3802     state of the command if you use -1 as the value.
3803     * wptImportList.cpp (implist_load): Make sure we really have the key ID.
3804     * wptClipEditDlg.cpp (clip_edit_dlg_proc): Some small changes all over
3805     the place.
3806    
3807     2003-05-14 Timo Schulz <[email protected]>
3808    
3809     * wptKeyManager.cpp (km_enable_disable_key): New.
3810    
3811     2003-05-13 Timo Schulz <[email protected]>
3812    
3813     * wptKeyList.cpp (keylist_add_key): Add 'DISABLED' flag for keys.
3814     (key_check_validity): Moved from GPGME to this file.
3815     * wptKeyManager.cpp (km_get_key_status): New.
3816    
3817     2003-05-09 Timo Schulz <[email protected]>
3818    
3819     * wptMDSumDlg.cpp (mdsum_dlg_proc): New.
3820     * wptFileManager.cpp (fm_print_md): New.
3821     * wptFileManagerDlg.cpp (file_manager_dlg_proc): Support for the Print MD
3822     command.
3823    
3824     2003-05-08 Timo Schulz <[email protected]>
3825    
3826     * wptMainProc.cpp (winpt_main_proc): Symmetric encryption for the current
3827     window mode.
3828     (currwnd_gpg_dlg): Likewise.
3829     * wptCurrWnd.cpp (wnd_msg_em_set_pos): Fix an off-by-one bug.
3830     * WinPT.cpp (WinMain): If the default key was not found, show the string
3831     in the error message to make it easier for the user to fix the problem.
3832     * wptImportStatusDlg.cpp (import_status_dlg_proc): Take care of secret
3833     keys.
3834     * wptfileManager.cpp (fm_get_file_type): Fix packet type detection error.
3835     This makes the priority of the rc2 update more urgent.
3836    
3837     2003-05-07 Timo Schulz <[email protected]>
3838    
3839     * Clean up the outer GPGME interface. Internal functions should be
3840     invisible in gpgme.h.
3841     Merge the photo-id, formerly attribute id stuff with gpgme_key_get_xxx_attr.
3842     * wptKeyserver.cpp: Some cleanups.
3843     (finger_recvkey): Skip URL postfix if there.
3844    
3845     2003-05-06 Timo Schulz <[email protected]>
3846    
3847     * wptKeySigDlg.cpp (keysig_dlg_proc): Disable the button when all keys
3848     are available. Removed old [unused] code.
3849     Make sure we really have the key in the cache.
3850    
3851     2003-05-04 Timo Schulz <[email protected]>
3852    
3853     * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If invalid recipients
3854     were found, output a more precise error message. Now the GPGME code
3855     first tests for special cases and if no one hit the nail on the head,
3856     a general error is used.
3857    
3858     2003-05-03 Timo Schulz <[email protected]>
3859    
3860     * wptParser.cpp: Renamed to...
3861     * wptGPGParser.cpp: this.
3862     (release_option): Renamed to...
3863     (release_gpg_options): this.
3864     (commit_option): Renamed to...
3865     (commit_gpg_options): this.
3866     (parse_option): Renamed to...
3867     (parse_gpg_options): this.
3868     * wptGPG.cpp: Use new parser function names.
3869     (set_gnupg_default_key): Free memory.
3870     * wptKeylist.cpp (keylist_add_groups): New group code.
3871     * wptGroups.{c,h}: Removed. Now we use the GPG group command.
3872     * wptKeySigListDlg.cpp (keysig_dlg_proc): Change column from
3873     2 to 4.
3874     (recv_missing_keys): Likewise. Now it is possible to retrieve
3875     missing keys. Thanks to Klaus.
3876     * wptKeyserverDlg.cpp (hkp_recv_key): Use a dymanic buffer rather
3877     than a static buffer to avoid garbled keys. There are some very
3878     large keys and these cause some trouble with a 16k buffer.
3879     (keyserver_dlg_proc): Localized some strings.
3880     * wptKeyserverSearchDlg.cpp (hkpsearch_dlg_proc): Use new column
3881     names which are equal to the names we use in the Key Manager.
3882     * wptKeySignDlg.cpp (keysign_dlg_proc): Fix a silly '=' but
3883     should be "==" bug.
3884     * wptKeygenDlg.cpp (mbox): Removed. Too much overhead.
3885     * Add --expert option for the GPG procedure call if needed.
3886    
3887     2003-05-02 Timo Schulz <[email protected]>
3888    
3889     * wptW32API.cpp (set_foreground_wnd): Removed. Changed all callers.
3890    
3891     2003-04-30 Timo Schulz <[email protected]>
3892    
3893     * wptKeyManagerdlg.cpp (keymanager_dlg_proc): Support for the
3894     next context menu ("Add"). Make sure the entries are disabled
3895     when the key has no secret key.
3896     * wptKeyEditAddPhotoDlg.cpp (keyedit_addphoto_dlg_proc): New.
3897     * wptFileManager.cpp (fm_decrypt): Set sig to NULL so it won't
3898     cause a segfault when the pointer free tries to deallocate the
3899     pointer.
3900    
3901     2003-04-27 Timo Schulz <[email protected]>
3902    
3903     * wptKeysigDlg.cpp (keysig_dlg_proc): A double click now allows
3904     to show the properties of the signers keys.
3905     * wptKeyEditAddRevokerDlg.cpp (keyedit_addrevocer_dlg_proc): New.
3906    
3907     2003-04-26 Timo Schulz <[email protected]>
3908    
3909     * wptParser.cpp: A lot of structural changes. Always add items
3910     at the end of the list so we don't need to make a copy of the list
3911     to restore the original order. Fix the group problem.
3912     * wptKeylist.cpp (keylist_build): Use OR to get the flags and
3913     not ==.
3914     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): The export command
3915     (file) does not use the keyid as the file name when more than one
3916     keys were selected.
3917     Allow allow to set default keys which are not revoked or expired.
3918     * wptFileEncryptDlg.cpp (file_encrypt_dlg_proc): Allow to sort
3919     the columns.
3920     Set the force trust flag in GPGME if there are some recipients
3921     with no validity.
3922    
3923     2003-04-25 Timo Schulz <[email protected]>
3924    
3925     * wptVerList.cpp (verlist_build): Change the name of some columns.
3926     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Instead of just the
3927     notation (if present!) present the user a general message box
3928     with extended signature information. This means the notation
3929     data and a possible policy URL.
3930    
3931    
3932     2003-04-24 Timo Schulz <[email protected]>
3933    
3934     * wptKeyEditAddSubKeyDlg.cpp (keyedit_addsubkey_dlg_proc): Init
3935     default values to make it easier for newbies.
3936     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Use a better error
3937     when no secret key was found. Also mention the public key algo.
3938     * wptFileManager.cpp (fm_decrypt): Likewise.
3939    
3940     2003-04-23 Timo Schulz <[email protected]>
3941    
3942     * wptKeyPropsDlg.cpp (ownertrust_to_string): Moved the function
3943     from GPGME#gpgme_ownertrust_to_string into WinPT.
3944    
3945     2003-04-20 Timo Schulz <[email protected]>
3946    
3947     * wptClipboard.cpp: Removed. All these functions and constants
3948     are now available in MyGPGME/clip.c and thus part of GPGME.
3949     * wptKeylist.cpp (keylist_add_to_recipients): Renamed to...
3950     (keylist_get_recipients): this. Return the context instead of
3951     an argument.
3952     (get_key_size): Add key index.
3953     (get_key_algo): Likewise.
3954     (keylist_build): Use a special mode when signing is used.
3955     (keylist_enum_recipients): Return a malloced pointer to the
3956     recipients.
3957     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Add primary fingerprint
3958     when we have a signature result and we do not trust the key.
3959    
3960     2003-04-20 Timo Schulz <[email protected]>
3961    
3962     * wptFindWnd.h: Removed. We don't use it any longer.
3963     * wptGPG.h: Merged GPGERR_xxx constants with WPTERR_xxx.
3964     (gpg_strerror): Removed. Now it is handled in winpt_strerror.
3965     * wptFileManager.cpp (fm_get_file_name): move this to
3966     * wptVerifyList.cpp (get_file_name): ..this place and declare
3967     it as static because no other file need this function.
3968    
3969     2003-04-15 Timo Schulz <[email protected]>
3970    
3971     * wptClipImportDlg.cpp (data_cb_dlg_proc): New.
3972     (data_cb_thread): New.
3973     (data_cb_dlg_create): New.
3974     (data_cb_dlg_destroy): New.
3975     (data_cb_new): New.
3976     (clip_import_dlg_proc): Use a callback dialog to
3977     show the user the data decoding procedure is in
3978     progress. This dialog is destroyed in the key
3979     import statistics dialog.
3980    
3981    
3982     2003-04-13 Timo Schulz <[email protected]>
3983    
3984     * wptSubkeyDlgProc.cpp (key_subkey_dlg_proc): Use a callback
3985     context.
3986     * wptUidDlgProc.cpp (keyuid_dlg_proc): Likewise.
3987     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Set the protect
3988     flag inside the KEY contect if needed.
3989     * wptKeySubkeyDlg.cpp (key_subkey_dlg_proc): Only ask for a
3990     passphrase if the protect flag is set.
3991     Display the callback dialog to show the progress.
3992     Implemented the "revkey" feature.
3993     * wptKeyUidDlg.cpp (key_uid_dlg_proc): Likewise.
3994     (do_add_new_userid): New. Add an entry to the list box
3995     after the GPG process finished.
3996     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Initialize sig
3997     to zero to avoid segfaults.
3998    
3999     2003-04-12 Timo Schulz <[email protected]>
4000    
4001     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Use the new
4002     GPGME code.
4003     * wptVerifyList.cpp (verlist_add_sig_log): Likewise.
4004     * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Likewise.
4005     * wptFileManager.cpp (fm_decrypt): Likewise.
4006     * WinPT.cpp (check_default_key): Check if the keys in gpg.conf
4007     are valid and in the keyring.
4008     * wptKeySignDlg.cpp (do_check_protection): Disable the passphrase
4009     item if the key is not protected.
4010    
4011    
4012     2003-04-09 Timo Schulz <[email protected]>
4013    
4014     * wptFirstRunDlg.cpp (first_run_dlg_proc): Mark selection as
4015     invalid for cancel.
4016    
4017     2003-03-20 Timo Schulz <[email protected]>
4018    
4019     * wptFindWnd.cpp: Removed.
4020     * wptW32API.c (dialog_box_param): Use FindWindowEx() instead of
4021     find_window.
4022     * Whenever it's possible, use case insentensive searches to avoid
4023     problems.
4024    
4025     2003-03-19 Timo Schulz <[email protected]>
4026    
4027     * wptMainProc.cpp (winpt_main_proc): Put the init_dtp code here.
4028     * wptPassphraseCB.cpp (hide_typing): Removed. Use short code directly
4029     in the code.
4030     * wptPasswdDlg.cpp: Likewise.
4031     (passphrase_cb_init): Declare as static.
4032     (passphrase_cb_gpgme): Modified to use the static function and rename
4033     it to...
4034     (passphrase_gpgme_set_cb): ..this. New.
4035     * wptSecListDlg.cpp: Complete new appraoch. Now we use CB_SETITEMDATA
4036     and friends to assign data to each item.
4037     Move dialog code to...
4038     * wptClipSignEncDlg.cpp: ..here.
4039     * MyGPGME/keycache.c: We first look for directly key signatures and
4040     then we skip all other signatures if we've already seen the key. This
4041     is needed to gather the designated revoker keys.
4042    
4043     2003-03-18 Timo Schulz <[email protected]>
4044    
4045     * wptKeyImportStatDlg.cpp (import_status_dlg_proc): Fix index
4046     of revocation from 9 to 8.
4047     Set the text that no key was updated only if no new sig, subkey,
4048     userid and no public were added.
4049     Add more information: new {subkeys, signatures, userid}.
4050     * wptKeyManager.cpp (km_delete_keys): Fixme lame, '=' instead of '==' bug.
4051     * wptDlgs.cpp: Removed.
4052     * wptDlgs.h: (dlg_fatal_error): New. Macro.
4053    
4054     2002-03-16 Timo Schulz <[email protected]>
4055    
4056     * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Encode the
4057     optional text in UTF-8 to avoid charset problems.
4058     * wptKeyManager.cpp (km_quote_uid): Use dynamic memory instead
4059     of a static buffer. Changed all callers.
4060     * wptKeylist.cpp (keylist_cmp_cb): Implemented sort functions
4061     for the rest of the columns.
4062     (keylist_handle_column_click): New.
4063     * wptKeyEditOwnertrustdlg.cpp (keyedit_ownertrust_dlg_proc):
4064     Removed the 'Advanced' button because it only confuses users
4065     and it is not often used.
4066     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Support to ex-
4067     and import the trustdb values (ownertrust).
4068     * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Ability to
4069     sort columns.
4070    
4071     2002-03-09 Timo Schulz <[email protected]>
4072    
4073     * 64-bit support for wipe operations.
4074    
4075     2002-03-08 Timo Schulz <[email protected]>
4076    
4077     * wptFileManager.cpp (fm_parse_command_line): Ignore lines with '--'
4078     because they are options rather than files.
4079     * WinPT.cpp (WinMain): Allow to start the key manager directly
4080     via --keymanager.
4081     * wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc): New.
4082     (wipe_cb): New. Wipe callback function.
4083     (fill_drive_combobox): New. Fill in all logical drives into
4084     the given combo box.
4085     (wipe_thread): New. Worker thread.
4086     (update_disc_stats): New. Set the disc statistics for the
4087     given drive entry.
4088     (space_wipefrees_dlg_proc): New.
4089    
4090     2002-03-01 Timo Schulz <[email protected]>
4091    
4092     * wptFileManager.cpp (fm_check_file_type): Fix bug in the detection
4093     logic. Now we can decrypt symmetrically encrypted files again.
4094     Be stricter on memory alloaction checks.
4095     (fm_get_file_type): Be more strict with the return code of
4096     parse_packet. This avoids bogus file types for MS-Word files and
4097     other non-PGP data.
4098     (fm_wipe): Use the wipe mode from the registry and not a fixed value.
4099     * WptRegistry.cpp (set_reg_winpt_prefs): Support wipe mode.
4100     (get_reg_winpt_prefs): Likewise.
4101     * wptFilePrefsDlg.cpp: Removed. We don't use it any longer.
4102     * wptDlgs.h: Corrected all dialog protypes to BOOL.
4103     LRESULT was not correct.
4104    
4105     2002-02-08 Timo Schulz <[email protected]>
4106    
4107     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Only export
4108     the secret key when a file was chosen.
4109    
4110     2002-02-01 Timo Schulz <[email protected]>
4111    
4112     * wptKeyserver.cpp (kserver_search): Fix <KEYID bug.
4113    
4114     2002-01-25 Timo Schulz <[email protected]>
4115    
4116     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Support to copy the key id
4117     and the fingerprint to the clipboard. Closes #674455.
4118     Automatically reload the keycache when a command is chosen and the cache
4119     state is set to 'reload requested'. Closes #671218.
4120     * wptKeySignDlg.cpp (do_fill_seckeylist): Make sure the public key parts
4121     are not invalid.
4122     * WinPT.cpp (check_permissions): Make sure we have the permission to
4123     write the keyring. Stop if not because it's expected at many other places.
4124     * wptSigList.cpp (siglist_add_key): Indent signatures under the root entry.
4125     (siglist_build): Use a placeholder sig to avoid the position chaos.
4126     * wptKeyUidDlg.cpp: Unified text for 'user-ID'.
4127     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): If a key is not found,
4128     display more information and use a GPG like output.
4129     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Force trust if there is
4130     an invalid key in the list of recipients. Closes #674965.
4131    
4132    
4133     2002-01-21 Timo Schulz <[email protected]>
4134    
4135     * wptSymEnc.cpp (gpgme_encrypt_symmetric): Ask the passphrase twice to
4136     avoid typing mistakes.
4137    
4138     2003-01-19 Timo Schulz <[email protected]>
4139    
4140     * winpt.cpp (WinMain): Fixed spelling mistake. Closes #669321.
4141     * wptKeyManagerDlg.cpp (do_resize_window): New.
4142     (do_create_minpopup): New. Closes #669730.
4143     * wptVerifyList.cpp (get_sig_date): Renamed to...
4144     (longdate_to_strdate): New. Changed all callers.
4145     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): If the ciphertext contains
4146     a signature, also display the time of it. Closes #669780.
4147     * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Localize 2 strings.
4148     * wptEditKeyOwnertrust.cpp (keyedit_ownertrust_dlg_proc): Fixed a typo.
4149     * wptKeySignDlg.cpp (do_add_local_user): New. Now the dialog has the ability
4150     to choose the signer.
4151     (keysign_dlg_proc): Implemented a feature request. See above.
4152    
4153     2003-01-08 Timo Schulz <[email protected]>
4154    
4155     * wptKeyEditAddUidDlg.cpp (keyedit_adduid_dlg_proc): Output a warning
4156     if the user tries to add the email address in the name field.
4157     * wptKeyserver.cpp: Add support for protocols.
4158     (finger_readline): New.
4159     (finger_recvkey): New.
4160     * wptKeyUidDlg.cpp (keyuid_dlg_proc): Add a warning icon to the revoke
4161     message box to show it's a serious decision.
4162     * wptPasswdDlg.cpp (passwd_dlg_proc): Center dialog window.
4163     * wptRegistry.cpp (regist_single_filetype): Now internal and we use
4164     an easier way to get the location of the binary.
4165     (regist_inst_winpt): Implemented the 'with_ext' part and add a registry
4166     entry to avoid double file registering.
4167    
4168     2003-01-07 Timo Schulz <[email protected]>
4169    
4170     * wptKeyManagerDlg.cpp (do_center_window): New. Try to set the window
4171     pos from the coordinates from the registry.
4172     (keymanager_dlg_proc): Store the window pos in the registry.
4173     * wptKeyRevokeDlg.cpp (key_revoke_dlg): Check box for PGP compatible certs.
4174     * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Print out a hint when
4175     a revcert was found.
4176     * wptKeyserverDlg.cpp (hkp_recv_key): Print an error if the LDAP import does
4177     not succeed.
4178     (keyserver_dlg_proc): Corrected some listview index values.
4179     * wptKeylist.cpp (keylist_add_key): Use primary user-id when possible.
4180    
4181     2002-12-23 Timo Schulz <[email protected]>
4182    
4183     * wptRegistry.cpp (regist_inst_winpt): Try to create \Keyserver
4184     directory if does not exist.
4185     * wptKeyserver.cpp: Simpliefied config file.
4186     (kserver_change_proxy): Write config to the registry. Remove
4187     code for the config file.
4188     * wptProxySettingsDlg.cpp (read_proxy): More robust code.
4189     * wptKeyserverDlg.cpp (keyserver_dlg_proc): Removed the feature
4190     to send keys. The Key Manager is better for this.
4191    
4192    
4193     2002-12-21 Timo Schulz <[email protected]>
4194    
4195     * Fixed some language mistakes.
4196     * wptMainproc.cpp: Use the desktop window as the parent window
4197     for the main dialogs so they are visible in the taskbar.
4198     * wptKeyManagerDlg.cpp: Enable minimize.
4199     * wptFileManager.cpp (fm_parse_command_line): Support for detached
4200     signatures.
4201     (fm_encrypt_directory): New.
4202     * wptKeylist.cpp (keylist_add_key): Check the current key if it
4203     is not expired, not the primary (idx=0).
4204    
4205     2002-12-18 Timo Schulz <[email protected]>
4206    
4207     * wptGPG.cpp (get_gnupg_optfile): Support for gpg.conf instead
4208     of the old name "options".
4209     * WinPT.cpp (WinMain): Try to repair broken home directories
4210     in the registry. Thanks to Gustavo who reminded me of it.
4211     * wptKeyserver.cpp (check_hkp_response): Only copy the text
4212     between <p> and </p> when possible.
4213     * wptAgent.cpp: Re-activated the old code. Now the passphrase
4214     timer can be used.
4215    
4216     2002-12-14 Timo Schulz <[email protected]>
4217    
4218     * wptKeyManager.cpp (km_check_for_seckey): Ultimate doesn't mean
4219     any longer there is also a secret key.
4220     (km_check_photo): New.
4221     (km_complete_status_bar): New.
4222     * wptFileManager.cpp (fm_verify): Support for bad signatures.
4223     Set the sigmode if not set.
4224     * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Output a warning when
4225     the ownertrust of a non-valid (not signed) key is changed.
4226     * wptRegistry.cpp (expand_path): New. Use this code because it's
4227     much shorter.
4228    
4229     2002-10-14 Timo Schulz <[email protected]>
4230    
4231     * wptKeyserver.c: Replaced all strdup's with m_strdup and free
4232     with free_if_alloc.
4233     (ldap_recvkey): Fill with life. We use the GPG plugin to avoid
4234     all the LDAP overhead.
4235    
4236     2002-10-13 Timo Schulz <[email protected]>
4237    
4238     * wptKeyManager.cpp (km_file_import): Alloc buffer, it's not static
4239     any longer.
4240    
4241     2002-10-31 Timo Schulz <[email protected]>
4242    
4243     * wptKeyManager.cpp (km_update_default_key_str): Fixed '0x' handling.
4244     Thanks to Gustavo.
4245     * wptKeylist.cpp (add_key): Now we only use find_secret_key to detect
4246     whether it's a key pair or not.
4247     * Callback struct into KEY so we can modify the values in the background.
4248     * wptKeyPropsDlg.cpp (change_ownertrust): New.
4249    
4250     2002-10-30 Timo Schulz <[email protected]>
4251    
4252     * wptLDAP.cpp, wptLDAP.h: Removed. The plan is to use the gpgkey_xxx.exe
4253     LDAP plugin for this purpose.
4254     * wptMainproc.cpp (winpt_main_proc): Removed all LDAP stubs.
4255     * wldap32.lib is now not longer needed.
4256     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Copy userid to clipboard.
4257     * Updated the resource file.
4258     * wptFileManager.cpp (fm_parse_command_line): Implemented the stuff
4259     for 'Decrypt', 'Verify', 'Import'.
4260    
4261     2002-10-15 Timo Schulz <[email protected]>
4262    
4263     * Changed all s(n)printf -> msg_box constructs to log_box.
4264    
4265     2002-10-13 Timo Schulz <[email protected]>
4266    
4267     * wptKeylist.cpp (get_key_expire_date): New.
4268     * wptKeyPropsDlg.cpp (key_props_dlg_proc): Use it here.
4269    
4270     * Removed global keycache from GPGME. It's a bad style to mix
4271     general and specific interfaces.
4272    
4273     * wptGPGME.cpp (get_pubkey): New. Used to hide keycache implementation
4274     details. Useful to replace it later.
4275     (get_seckey): Ditto.
4276     (keycache_reload): Moved from the GPGME library.
4277     (keycache_release): New.
4278     (keycache_init): New.
4279     (keycache_set_reload): New.
4280     (keycache_get_reload): New.
4281     (keycache_get_ctx): New.
4282    
4283     * wptSigList.cpp (siglist_add_key): Use the new code.
4284     (siglist_build): Ditto.
4285    
4286    
4287     2002-10-10 Timo Schulz <[email protected]>
4288    
4289     * wptW32API.cpp (get_filename_dlg): Added default filename parameter.
4290     Changed all callers.
4291     * wptKeyManagerDlg.cpp (keymisc_dlg_proc): Adjusted the code for the
4292     new get_filename_dlg.
4293     * wptFileManager.cpp (fm_export): Likewise.
4294     * wptClipDecryptDlg (clip_decrypt_dlg): Modified the verify message box.
4295     * wptKeySignDlg.cpp (keysign_dlg_proc): Changed the code for edit-key.
4296     Use signature class dialog.
4297     * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Use the new code and the
4298     keyid instead of the userid to avoid charset problems.
4299     (err_message): New.
4300    
4301     * Moved all wipe specific code (random, rmd160) to the DLL so we can
4302     save some memory for the tray section.
4303    
4304     * wptKeyRevokersDlg.cpp (revokelist_build): New.
4305     (revokelist_init): New.
4306     (key_revokers_dlg_proc): New.
4307    
4308     * wptKeyPropsDlg.cpp (key_props_dlg_proc): Use the designated revoker
4309     code here when available.
4310    
4311     2002-09-25 Timo Schulz <[email protected]>
4312    
4313     * wptClipboard.cpp (clip_parse_pgp_id): Add a flag when the text
4314     is dash escaped. This is useful for keys to avoid errors.
4315     * wptKeyManager.cpp (extract_dash_escaped_key): New. Extract an
4316     OpenPGP key from the clipboard which is dash escaped.
4317     (km_clip_import): Use the new code here.
4318    
4319     2002-09-23 Timo Schulz <[email protected]>
4320    
4321     * wptParser.cpp (add_multi_option): Support for values with more ' 's
4322     and skip the ' ' after the name.
4323     (modify_entry): New.
4324     * wptGPG.cpp (gnupg_save_options): Removed.
4325     (gnupg_load_options): Removed.
4326     (gnupg_release_options): Removed.
4327     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Use the new code.
4328    
4329     2002-09-17 Timo Schulz <[email protected]>
4330    
4331     * winpt.cpp (WinMain): Use make_filename and no static buffer.
4332     Modified for the new gnupg interface.
4333     * wptFile.cpp (make_filename): New.
4334     * wptGpgCmds.h: New from GPG 1.1.92
4335     * wptGPG.cpp (gnupg_import_keyrings): Use dynamic buffers
4336     and make_filename.
4337     * wptKeygenDlg.cpp (ask_for_backup): Use new gpg code and
4338     make_filename instead of static buffers.
4339     * wptKeyCacheDlg.cpp (keycache_dlg_proc): Likewise.
4340     * wptParser.cpp: Changed to new allocation instead of malloc.
4341     * wptGPGOptSkel.h: Updated from GPG 1.1.92
4342     * wptRegistry.cpp (get_reg_entry): Expand %s like registry strings.
4343    
4344     2002-09-13 Timo Schulz <[email protected]>
4345    
4346     * wptKeyManager.cpp (km_show_photo): Use a const buffer for the
4347     image and do NOT free it.
4348     * wptKeyUidDlg.cpp (keyuid_dlg_proc): Implement "revoke" function.
4349     (find_user_id): Use keyid to find the key. Changed all callers.
4350    
4351     * Removed global gpg_version variable. Now we also support GPG 1.1.9x
4352     so we don't need to check this after the start again.
4353    
4354     2002-09-12 Timo Schulz <[email protected]>
4355    
4356     * wptPasswdDlg.cpp (passwd_dlg_proc): Implement the "Hide Typing" fature.
4357     * wptKeyManagerDlg.cpp (keymisc_dlg_proc): Off by one bug for secret
4358     key export.
4359     * wptKeyManager.cpp (fm_encrypt): Use the new GPG status messages to
4360     check if the encryption failed.
4361     (km_show_photo): Fixed offset calculation.
4362     Use keyid as filename and delete the tempfile after use.
4363     * wptFile.cpp (init_file_lock): Use dynamic buffer.
4364     (release_file_lock): Free this buffer.
4365     * wptFileManager.cpp (quote_filename): Removed.
4366     (quote_file): New. Use dynamic buffers.
4367     (fm_import, fm_decrypt, fm_encrypt, fm_sym_encrypt, fm_export):
4368     Use it here.
4369     * wptFileStatDlg.cpp (do_list_packets): Do not cache FD.
4370     Initalize packet at the begin and during the loop.
4371     * wptFileManager.cpp: Replaced all static memory handling with
4372     dynamic routines.
4373     * wptKeyCacheDlg.cpp (key_cache_dlg): Remove obsolete ownertrust
4374     functions.
4375     * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Ditto.
4376    
4377     2002-09-10 Timo Schulz <[email protected]>
4378    
4379     * wptFileManager.cpp (fm_get_file_type): Disable FD cache.
4380     (fm_decrypt): Only cut off the extension if it belong to GPG.
4381     Added user ID to the box if the file was signed.
4382     Ask for the filename if the name has no valid GPG extension.
4383    
4384     2002-09-09 Timo Schulz <[email protected]>
4385    
4386     * wptKeyManagerDlg.cpp (keymisc_dlg_proc): Improved code for
4387     the privat key (export).
4388    
4389     2002-09-08 Timo Schulz <[email protected]>
4390    
4391     * wptKeygenDlg.cpp (ask_for_backup): Check if the copy process
4392     really succeeded.
4393     (mbox): Alias for msg_box with fixed title to avoid long lines.
4394     * wptKeyEditAddSubkeyDlg.cpp (keyedit_addsubkey_dlg_proc): Allow
4395     to generate keys with a length til 4096 bits.
4396     * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Check for
4397     invalid recipients and print out the reasons.
4398     * wptKeylist.cpp (keylist_add_to_recipients): Improved error message
4399     and corrected the validity checking.
4400    
4401     2002-09-07 Timo Schulz <[email protected]>
4402    
4403     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc):
4404     Print notation data when available.
4405     Show if the signature is expired or not.
4406    
4407     * wptKeyManagerDlg.cpp (keymisc_dlg_proc): Added the show photo
4408     command to the context menu.
4409    
4410     * wptKeygenDlg.cpp (keygen_dlg_proc): New default keysize is 1792.
4411     This is 256 bits more than the old size. Hopefully it's enough
4412     security to protect against the most enemies ;-).
4413    
4414     2002-09-04 Timo Schulz <[email protected]>
4415    
4416     * wptKeyManager.cpp (km_check_key_status): Parse new fields.
4417    
4418     2002-09-03 Timo Schulz <[email protected]>
4419    
4420     Removed all OpenCDK code from PTD. The code is not tested very
4421     well and it might contain some errors. Now we used a stripped down
4422     version of GnuPG code. This has two advantages. First the code is
4423     stable and second we can easier port other parts to native GPG code.
4424    
4425     * wptFileManager.cpp (fm_get_file_type): Use native GPG code.
4426     * wptKeyCacheDlg.cpp (keycache_dlg_proc): Add photos from the
4427     keyring when present to the keycache.
4428     * wptKeyManager.cpp (km_show_photo): Fixes to work again with the
4429     modified code.
4430     (km_check_for_seckey): Check substrings of the value because we
4431     don't use '**' values any longer.
4432     * wptFileStat.cpp (do_list_packets): New. Adapted from the old code.
4433     (file_stat_dlg_proc): Uses the new code.
4434    
4435     2002-09-02 Timo Schulz <[email protected]>
4436    
4437     * wptKeyManager.cpp (km_privkey_export): Check return codes and
4438     some types has been changed.
4439     (km_file_export): Likewise.
4440    
4441     2002-09-01 Timo Schulz <[email protected]>
4442    
4443     * wptFirstRunDlg.cpp (get_setup_choice): New. Returns the choice
4444     of the dialog.
4445     * WinPT.cpp (WinMain): Use it here. Reworded the error message.
4446     * wptGPG.cpp (gpg_import_keyrings): New.
4447     Let the user chose the keyrings and then they are copied to the
4448     homedir. After the procedure, the key cache will be reloaded.
4449     * wptKeyManager.cpp (km_delete_keys): New delete confirmation messages.
4450     * wptSigClassDlg.cpp (sig_class_dlg_proc): New.
4451     (get_sig_class_choice): New.
4452     * wptKeySignDlg.cpp (get_printable_fpr): New. More human readable
4453     fingerprint.
4454     (keysign_dlg_proc): Added new value for the GPG callback to handle
4455     the signature class.
4456     * wptKeyUIDDlg.cpp (find_user_id): New. Find the index of the
4457     userID by calling edit-key with colons.
4458     (keyuid_dlg_proc): Use it here.
4459    
4460     2002-08-31 Timo Schulz <[email protected]>
4461    
4462     * wptGPG.cpp (gpg_check_homedir): Some fixes for the return codes.
4463     (check_homedir): Ask the user whether to create the directory.
4464     * wptKeysigDlg.cpp (keysig_dlg_proc): Fixed keyid. Now it works
4465     to retrieve missing keys from a HKP server.
4466     (recv_missing_keys): Likewise.
4467     * wptPassphraseCB.cpp (passphrase_callback_proc):
4468     Implemented the "Hide Typing" feature.
4469     (hide_typing): New.
4470     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Improved error messages.
4471     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Improved MDC handling.
4472     Due to some attacks a MDC error is treated as a fatal error and a
4473     possible security risk.
4474     * wptClipImportDlg.cpp (print_import_status): Use a dialog instead
4475     of a silly message box. Furthermore the user gets more information
4476     about the import procedure.
4477     * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): New.
4478     * wptFileManager.cpp (fm_import): Report invalid user ID's.
4479     (fm_verify): Try to guess the data name for detached signatures
4480     before we bother the user. When it's found, use it.
4481     * wptKeyManager.cpp (km_file_import): Ditto.
4482    
4483     2002-08-28 Timo Schulz <[email protected]>
4484    
4485     * wptClipboard.cpp (clip_parse_pgp_id): Support for PGP 2.6.x types.
4486     * wptFileMananger.cpp (fm_check_armor_type): Ditto.
4487    
4488    
4489     2002-08-26 Timo Schulz <[email protected]>
4490    
4491     * wptTypes.h (free_if_alloc, CHECK_BOUND): New.
4492     * wptClipEditDlg.cpp (gpgopt_dlg_proc): Use free_if_alloc to make sure
4493     the memory is really released. Some strict checks for return values.
4494     Ident file.
4495    
4496     * wptAboutDlg.cpp: Ditto. (ident)
4497     * wptGPGAboutDlg.cpp: Ditto.
4498     * wptClipDecryptDlg.cpp: Ditto.
4499     (clip_decrypt_dlg): Stricter return value checkings.
4500     Avoid one indent level.
4501    
4502     * wptImportList.cpp (implist_add_key): More strict return value
4503     checking.
4504     * wptKeylist.cpp (keylist_cmp_cb): Fixed a typo.
4505     (add_key): New key status system.
4506     (keylist_get_keyflags): New.
4507     (keylist_enum_recipients): Simplified and use the new key flags.
4508    
4509     * wptSiglist.cpp (siglist_add_key): Fix possible overflows.
4510     (verlist_add_sig_log): More stricter checks.
4511    
4512     * wptRegistry.cpp (get_reg_winpt_prefs): Fixed possible bug.
4513    
4514     2002-06-16 Timo Schulz <[email protected]>
4515    
4516     Don't put the questions in the message box title bar.
4517    
4518     * wptGPGPrefsDlg.cpp (gpg_prefs_dlg_proc): Only close FP if it
4519     is really opened. Thanks to Nelson.
4520    
4521     * wptKeyProps.cpp (keyprops_dlg_proc): Use a more informative title
4522     for chaning the passphrase. Suggested by Ed.
4523    
4524     2002-06-07 Timo Schulz <[email protected]>
4525    
4526     * wptMainProc.cpp (winpt_main_proc): Support for sign & encrypt hotkeys.
4527     * wptKeyManagerDlg.cpp: Refresh keys was added in the menu.
4528     * wptListView.cpp (listview_select_all): New.
4529     * wptClipSignDlg.cpp (clip_sign_dlg_proc): Fixed the return code.
4530    
4531     2002-05-31 Timo Schulz <[email protected]>
4532    
4533     * wptTrayPop.cpp: Revamped some parts of the code.
4534    
4535     Changed all status_box functions to show_msg. The advantage
4536     is that we only wait a fixed time and the user doesn't need
4537     to hit the OK key. We should add the time delay in the preferences.
4538    
4539     * wptKeyManager.cpp (km_show_photo): New.
4540    
4541     2002-05-30 Timo Schulz <[email protected]>
4542    
4543     * wptFileManager.cpp (fm_verify): Corrected the handling
4544     for detached RSA signatures.
4545     (fm_add_sig_stat): Added support for short fingerprints.
4546    
4547     2002-05-08 Timo Schulz <[email protected]>
4548    
4549     * wptKeyserver.cpp (kserver_change_proxy): Check the values.
4550     Thanks to njek for reporting it.
4551    
4552     2002-05-07 Timo Schulz <[email protected]>
4553    
4554     * wptGPG.cpp (check_gpg_engine): New.
4555    
4556     * wptKeyCacheDlg.cpp (keycache_dlg_proc): Add GPG 1.0.6 compatible
4557     routines.
4558    
4559     * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Ditto.
4560    
4561     * wptKeyEditOwnertrustDlg.cpp (keyedit_owerntrust_dlg_proc): Ditto.
4562    
4563     2002-05-06 Timo Schulz <[email protected]>
4564    
4565     * wptClipEditDlg.cpp (clip_edit_dlg_proc): Change the wording of
4566     the buttons.
4567    
4568     2002-05-05 Timo Schulz <[email protected]>
4569    
4570     * Fixed problem with rev certs for imports stats.
4571    
4572     * Cosmetical changes for the GPGME libraray.
4573    
4574     2002-05-01 Timo Schulz <[email protected]>
4575    
4576     * wptKeygenDlg.cpp (fill_keytype_box): New.
4577     (keygen_dlg_proc): Use a combo box for various key types. With GPG 1.0.7
4578     there is full RSA support.
4579    
4580     Now we use the new status code by GPG (INV_RECP, NO_RECP) to figure out
4581     what the problem was when no encryption was done.
4582    
4583     * wptKeysignDlg.cpp (keysign_dlg_proc): Before we sign a key, we make
4584     sure it was not already signed (ALREADY_SIGNED).
4585    
4586     * wptKeyManagerDlg.cpp (keymisc_dlg_proc): Due to the new trust system,
4587     now we also support to sign ultimate trusted keys.
4588    
4589     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Try to check if the button
4590     is checked and do not check it.
4591    
4592     * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): New format for the verify
4593     box and now we also support the date of the signature.
4594    
4595     Applied Rich's spelling and grammer mistakes.
4596     Fixed a lot of minor spelling mistakes and capital letters for dialogs.
4597    
4598     2002-04-30 Timo Schulz <[email protected]>
4599    
4600     Merge ownertrust handling into the keycache. Now GPG outputs the
4601     ownertrust in the key listing which means we can get the ownertrust
4602     value from the keycache.
4603    
4604     (keymisc_dlg_proc): Add a button to rebuild the sig database cache.
4605     Please not that this is not the same as the key cache! The key cache
4606     will be updated when a new key was imported or a subkey was added/changed.
4607     The signature cache only affects the validity of the keys.
4608    
4609     Removed the MyGPGME trustlist code. Now we can use the field in the key
4610     listing to determine the ownertrust (which makes things a lot of easier).
4611    
4612     2002-04-29 Timo Schulz <[email protected]>
4613    
4614     Adjustments for GPG 1.0.7
4615    
4616     * wptKeyEditDlg.cpp (keyedit_ownertrust_dlg_proc): Support ultimate trust
4617     and ask the user if he knows what he's doing.
4618     * wptKeyManager.cpp
4619     (keylist_subclass_proc): Use double click to open the props.
4620     * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Allow the user even to modify a
4621     ultimate ownertrust value.
4622     * wptKeyEditAddSubkeyDlg.cpp (keyedit_addsubkey_dlg_proc): Support for
4623     new RSA keys.
4624    
4625     2002-04-28 Timo Schulz <[email protected]>
4626    
4627     * wptRegistry.cpp (get_reg_winpt_prefs): New option for keylist mode.
4628     (set_reg_winpt_prefs): Ditto.
4629     * wptPreferencesDlg.cpp (prefs_dlg_proc): Support for keylist mode option.
4630     (set_keylist_mode): New.
4631    
4632     Implement minimal keylist mode. Suggested by Fabian.
4633    
4634     * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Implement it here.
4635     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ditto.
4636     * wptKeylist.cpp (keylist_add_key): Ditto.
4637     (keylist_load): Ditto.
4638     (keylist_build): Ditto.
4639    
4640     2002-04-27 Timo Schulz <[email protected]>
4641    
4642     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Support for the new dialog.
4643     * wptFileSaveDlg.cpp (file_save_dlg_proc): New.
4644     * wptClipboard.cpp (clip_parse_pgp_id): use logical OR to concat the values.
4645     * wptMainProc.cpp (clip_gpg_dlg): Use the new PGP id's.
4646     (currwnd_gpg_dlg): Ditto.
4647    
4648     Now it's possible to parse cleartext signatures which contains an
4649     encrypted message inside the body.
4650    
4651     * wptTextInputDlg.cpp (load_file_contents): New.
4652     (text_input_dlg_proc): Support for choosing the data file.
4653    
4654     * wptFileManager.cpp (fm_verify): Support for detached signatures.
4655     (fm_parse_files): Ditto.
4656    
4657    
4658     2002-04-26 Timo Schulz <[email protected]>
4659    
4660     * wptKeyUidDlg.cpp: Fixed a typo. Kudos to Dugan Chen.
4661     * wptKeyUidDlg.cpp: Ditto.
4662    
4663     2002-04-25 Timo Schulz <[email protected]>
4664    
4665     * wptImplist.cpp (implist_add_key): Catch possible segfault.
4666     * wptVerifyList.cpp (verlist_add_sig): Ditto.
4667     * wptKeyManager.cpp (km_check_for_seckey): Modified for GPG 1.0.7.
4668     * wptKeylist.cpp (find_secret_key): New.
4669     (add_key): Use it here.
4670     (keylist_add_key): And here.
4671    
4672     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Fixed a bug that prevent
4673     to fetch the key.
4674    
4675     2002-04-24 Timo Schulz <[email protected]>
4676    
4677     * wptKeyManagerDlg.cpp (key_misc_dlg_proc): Support to maximize windows.
4678    
4679     Changed the way to modify the "Version:" string.
4680    
4681     * wptKeyserver.cpp (add_node): New.
4682     (kserver_change_proxy): New.
4683     (kserver_read_config): New.
4684     (kserver_write_config): New.
4685     (kserver_cfgfile_release): New.
4686     (proxy_release): New.
4687    
4688     * wptProxySettingsDlg.cpp (read_proxy): New.
4689     * wptFileStatDlg.cpp (file_stat_dlg_proc): New.
4690     * wptFileManager.cpp (fm_list): New.
4691     (fm_parse_files): Support the new list command.
4692    
4693     2002-04-23 Timo Schulz <[email protected]>
4694    
4695     * wptRFC2440.cpp: Removed. We now use the OpenCDK package.
4696     * wptFileManager.cpp (fm_get_file_type): Removed the old RFC2440 code.
4697     (fm_encrypt): Modified code to allow sign & encrypt.
4698     (fm_parse_file): Ditto.
4699     (fm_decrypt): Support for checking signatures.
4700     * wptFileManagerDlg.cpp (file_manager_dlg_proc): Ditto.
4701    
4702     2002-04-19 Timo Schulz <[email protected]>
4703    
4704     * wptImplist.cpp (implist_load): Support for the advanced PGP parser code.
4705    
4706     2002-04-05 Timo Schulz <[email protected]>
4707    
4708     * wptSigList.cpp (siglist_add_key): Added UTF8 support. Thanks to Scire.
4709     * wptKeyUidDlg.cpp (keyuid_dlg_proc): Ditto.
4710     * wptKeySignDlg.cpp (keysign_dlg_proc): Ditto.
4711     * wptKeyAddUidDlg.cpp (keyedit_adduid_dlg_proc): Ditto.
4712    
4713     2002-03-31 Timo Schulz <[email protected]>
4714    
4715     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ask if the user wants to
4716     select the key used for signing.
4717     * wptSeclistDlg.cpp (seclist_dlg_proc): New. Dialog for secret selecting.
4718     * wptFilePrefsDlg.cpp (file_prefs_dlg): Fixes for the combo box ;-).
4719     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Reload the keycache after
4720     fetching keys via HKP and try to update the Gpgmekey inside.
4721     * wptVerifyList.cpp (verlist_add_sig): Check if the key context was
4722     set inside the signature. Fixes some segfaults related to the HKP key
4723     fetching during verification. Thanks to Julian. And force to use UTF8
4724     for user ID's.
4725     * wptClipSignDlg.cpp (one_key_proc): If only one secret exists,
4726     prevent that the dialog is loaded and ask for the passphrase directly.
4727    
4728    
4729     2002-03-29 Timo Schulz <[email protected]>
4730    
4731     * wptGPG.cpp (create_groupdb): Only close the file handling if it
4732     really exists. Thanks to Mark.
4733     (gpg_check_homedir): Applied the patch. Now we're a little stricter
4734     about the homedir checks.
4735     (check_homedir): Fixed a possible memory leak.
4736     * WinPT.cpp (WinMain): Check the homedir functions to exit the program
4737     if we've found some problems.
4738     * wptErrors.cpp (winpt_strerror): New value if a directory could not
4739     created.
4740     * wptMainProc (winpt_main_proc): Use new code for the current window mode.
4741     * wptCurrWnd.cpp (get_curr_wnd): Ditto.
4742     (get_window_contents): Always set focus to the current window.
4743    
4744     2002-03-22 Timo Schulz <[email protected]>
4745    
4746     * wptMainProc.cpp (currwnd_gpg_dlg): If the viewer is used, doesn't
4747     set window contents for some commands.
4748     (winpt_main_proc): Use the code here.
4749     * wptKeygenDlg.cpp (keygen_dlg_proc): Allow to generate keys > 2048 bits.
4750     * wptProxySettingsDlg.cpp: (keyserver_proxy_dlg_proc): New.
4751     * wptKeyserverDlg.cpp (keyserver_dlg_proc): Use the proxy dialog here.
4752     * wptKeyserver.cpp (kserver_load_conf): Fixed malformed strings.
4753    
4754     2002-03-02 Timo Schulz <[email protected]>
4755    
4756     * Use capital letters in the main menus and applied Patricks spelling
4757     corrections.
4758    
4759     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): keyID is a string
4760     not an integer. Thanks to scrumpy.
4761     * wptWipeFile.cpp (rename_unlink): Use '\' instead of '/'.
4762     (overwrite): Some bugfixes to set the pointer to the begin of the file.
4763     * wptVerlist.cpp (verlist_build): New keyID column.
4764     (verlist_add_sig): Use it here.
4765    
4766     2002-03-01 Timo Schulz <[email protected]>
4767    
4768     * wptWipeFile: Replaced all low level I/O functions with W32 API
4769     functions. And support for more wiping modes. I don't know to
4770     support all, but those makes sense for me:
4771     1. Simple (2 random passes)
4772     2. DoD (as described in the standard)
4773     3. Peter Gutmanns method (from the paper)
4774    
4775    
4776     2002-02-28 Timo Schulz <[email protected]>
4777    
4778     * wptImplist.cpp (implist_add_key): UTF8 support.
4779     Handle invalid userID's.
4780     * wptPassphraseCB.cpp (parse_gpg_description): UTF8 support.
4781     (passphrase_callback_proc): Ditto.
4782    
4783    
4784     2002-02-23 Timo Schulz <[email protected]>
4785    
4786     * wptListview.cpp (listview_del_items): New.
4787     * wptKeyManager.cpp (km_delete_keys): Use it here.
4788     * wptKeygenDlg.cpp (keygen_dlg_proc): UTF8 support.
4789     * wptKeylist.cpp (add_key): UTF8 support.
4790    
4791     2002-02-08 Timo Schulz <[email protected]>
4792    
4793     * wptNLS.c: Now it's C-source because GPGME needs gettext too.
4794     (stpcpy): Makes it static.
4795     * errors.c: localize all error strings.
4796     * WinPT.cpp (get_gettext_lang): Move the code in this file because
4797     we can't use it in plain C.
4798    
4799     2002-02-05 Timo Schulz <[email protected]>
4800    
4801     * wptGPG.cpp (gpg_save_options): Catch the case when the options file
4802     exist but it has a length of zero.
4803     (gpg_display_error): Print out the data from the GPG stderr
4804     (when available).
4805     * w32-util.c (_gpgme_get_gpg_optfile): Check if the file exists and if
4806     not, return NULL.
4807     * wptKeyManagerDlg.cpp (keymisc_dlg_proc): Add support to export secret
4808     keys.
4809    
4810     * Fixed a lot of memory allocation all over the place.
4811    
4812     2002-02-05 Timo Schulz <[email protected]>
4813    
4814     wptGPG.cpp (gpg_save_options): Fixed the code for the case the
4815     values don't exist in the options file. Thanks to Lutz who found this out.
4816     (get_gpg_default): First search for "default-key" then for "encrypt-to".
4817    
4818     2002-02-04 Timo Schulz <[email protected]>
4819    
4820     * WinPT.rc: Set LVS_SHOWSELALWAYS for all listview elements
4821     which need it. Thanks to Timo who find this out.
4822     * WinPT.cpp (WinMain): We don't quit in the case the user changed
4823     the preferences.
4824     (update_keycache): New. Handy function to update the keycache.
4825    
4826     * Use quotation for the options file in any case.
4827    
4828     * clipboard.c (gpgme_clipboard_verify): When the NO_PUBKEY status
4829     is set, we don' try to get the sig key.
4830    
4831     * wptGPG.cpp (get_gpg_default_key): Revamped.
4832    
4833     2002-01-26 Timo Schulz <[email protected]>
4834    
4835     * wptKeylist.cpp (keylist_add_key): Use flags for the file manager
4836     to avoid to show all userid's. Thanks to Frank.
4837     * wptDateDlg.cpp (date_dlg_proc): New context to use different
4838     window texts and some other features.
4839     * wptKeygenDlg.cpp (keygen_dlg_proc): Use it here.
4840     * wptKeySubkeyDlg.cpp (subkey_dlg_proc): Ditto.
4841     * wptGPG.cpp (gpg_create_groupdb): Create the groupdb.gpg file if
4842     it doesn't exist.
4843     * WinPT.cpp (WinMain): Use the new code here.
4844    
4845     2002-01-23 Timo Schulz <[email protected]>
4846    
4847     * wptClipEditDlg.cpp (clip_edit_dlg_proc): Release the buffer for
4848     loading a file.
4849     Add new code to save file with clipboard contents.
4850    
4851     2002-01-20 Timo Schulz <[email protected]>
4852    
4853     * wptMainProc.cpp (winpt_main_proc): Fix the error, that the user
4854     have to click twice before the menu appears. Richard told me this.
4855    
4856    
4857     2002-01-18 Timo Schulz <[email protected]>
4858    
4859     * wptMainProc.cpp (winpt_main_proc): NLS support for new menu style.
4860     * wptPassphraseCB.cpp (parse_gpg_description): Support when no
4861     description was given. One example is when symmetric was used.
4862    
4863     2002-01-13 Timo Schulz <[email protected]>
4864    
4865     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Fixed some boolesche
4866     settings.
4867     * wptGPG.cpp (gpg_backup_options): New.
4868     (gpg_load_options): Ignore comment lines.
4869     (gpg_save_options): Rewritten.
4870    
4871     2002-01-06 Timo Schulz <[email protected]>
4872    
4873     * wptPreferencesDlg.cpp (prefs_dlg_proc): Support for the sign+encrypt
4874     hotkey.
4875     * wptRegistry.cpp: Ditto.
4876     * wptRegistry.h: Ditto.
4877     * wptHotkey.h: Ditto.
4878     * wptGPG.cpp (gpg_load_options): New.
4879     (gpg_save_options): New.
4880    
4881     2002-01-01 Timo Schulz <[email protected]>
4882    
4883     * wptFileManager.cpp (fm_verify): Support for the case there is
4884     no public key to verify the signature.
4885    
4886     2001-12-30 Timo Schulz <[email protected]>
4887    
4888     * wptFileManager.cpp (fm_sign): Always use callbacks for the
4889     passphrase.
4890     (fm_decrypt): Ditto.
4891     (fm_parse_files): Cache the passphrase for the session and check
4892     if the file still exists.
4893     * wptRFC2240.cpp (parse_ske_sesskey): Removed. We no longer use
4894     low level stuff here.
4895     * wptFile.cpp (get_keyid_from_file): Ditto.
4896    
4897     2001-12-21 Timo Schulz <[email protected]>
4898    
4899     * wptTextInputDlg.cpp (text_input_dlg_proc): New.
4900     * wptMainProc (clip_gpg_dlg): Support for deached signatures.
4901     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Ditto.
4902    
4903     2001-12-19 Timo Schulz <[email protected]>
4904    
4905     * Completed work on the temporary file support for GPG.
4906     * wptRegistry.cpp (set_reg_winpt_prefs): Add mode for the
4907     plaintext viewer option. Suggested by Markus Winkler.
4908     (get_reg_winpt_prefs): Ditto.
4909     * wptPreferencesDlg.cpp (prefs_dlg_proc): Ditto.
4910     * wptMainProc.cpp (winpt_main_proc): Ditto.
4911    
4912     2001-12-15 Timo Schulz <[email protected]>
4913    
4914     * wptKeyManagerDlg.cpp (keymisc_dlg_proc): New menu items for
4915     copy and paste.
4916    
4917     2001-12-02 Timo Schulz <[email protected]>
4918    
4919     * wptGroups.c: Revamped from the base. Arggg.
4920    
4921     2001-11-29 Timo Schulz <[email protected]>
4922    
4923     * wptKeyManager.cpp (km_groupdb_expand_recipients): New.
4924     * wptMainProc.cpp (clip_gpg_dlg): New.
4925     Modify the whole event loop so we don't need all the same code
4926     for each command. And we use the new foreground code.
4927     * wptW32API.cpp (check_date): Fixed.
4928    
4929     2001-11-27 Timo Schulz <[email protected]>
4930    
4931     * wptKeyserver.cpp (base64_encode): New. Marco provided HTTP
4932     proxy authentifcation support for each command.
4933     (kserver_update_proxyuser): New. Ditto.
4934     (kserver_send_request): Ditto.
4935     (kserver_recv_request): Ditto.
4936     (kserver_search_init): Ditto.
4937    
4938     2001-11-24 Timo Schulz <[email protected]>
4939    
4940     * wptKeyManager.cpp (km_groups_new): New.
4941     (km_groups_release): New.
4942     (km_groups_load): Rewritten.
4943     (km_groups_add): New.
4944     (km_groups_del): New.
4945     (km_groupdb_open): New.
4946     * wptKeyManagerDlg.cpp (keymisc_dlg_proc): Added group support.
4947     * wptGroups.c (groupdb_enum_read): Store the record before increment it.
4948    
4949     2001-11-23 Timo Schulz <[email protected]>
4950    
4951     * wptW32API.cpp (set_active_window): New.
4952     (reset_active_window): New.
4953     (window_reminder): New. This is a delayed thread procedure to
4954     force the focus (foreground) to the dialogs for the current
4955     window mode.
4956     * wptMainProc.cpp (winpt_main_proc): Use it here.
4957     * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Ditto.
4958     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ditto.
4959     * wptClipSignDlg.cpp (clip_sign_dlg_proc): Ditto.
4960     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Ditto.
4961    
4962     2001-11-22 Timo Schulz <[email protected]>
4963    
4964     * wptW32API.cpp (set_foreground_wnd): New.
4965    
4966     Fixed the return value of all EndDialogs.
4967    
4968     * wptMainProc.cpp: Remove all code parts which did the same for the
4969     current window support. Now the code uses a dialog switch which is
4970     much smaller.
4971    
4972     2001-11-18 Timo Schulz <[email protected]>
4973    
4974     * wptKeyManager.cpp: New. Contains all handy functions from the
4975     wptKeyManagerDlg.cpp. This should help to cleanup the dialog code.
4976     (km_quote_uid): New.
4977     (km_check_for_seckey): New.
4978     (km_check_key_status): New.
4979     (km_clip_export): New.
4980     (km_clip_import): New.
4981     (km_file_export): New.
4982     (km_file_import): New.
4983     (km_delete_keys): New.
4984     (km_send_to_keyserver): New.
4985     (km_refersh_from_keyserver): New.
4986     (km_update_default_key_str): New.
4987     * wptKeygenDlg.cpp (ask_for_backup): New.
4988     (keygen_dlg_proc): Use new function to give the chance to the
4989     user for a complete backup.
4990    
4991     2001-11-13 Timo Schulz <[email protected]>
4992    
4993     * wptGPG.cpp (get_gpg_optfile): Check for the case the OptFile entry
4994     is set but to "". Then use default gpg directory.
4995     * wptKeyManagerDlg.cpp (send_to): New. Context entry for sending keys.
4996     (refresh_from_keyserver): New. Context entry for update keys.
4997     (keymisc_dlg_proc): Modify the way the popup is shown.
4998    
4999     2001-11-07 Timo Schulz <[email protected]>
5000    
5001     * wptGPG.cpp (set_gpg_default_key): Rewrote the part of changing
5002     the key id.
5003     * wptKeyManagerDlg.cpp (file_import): Use force trust to allow secret
5004     key imports.
5005     * wptGPGOptDlg.cpp (gpgopt_dlg_proc): If the options file exists and
5006     the user doesn't set the field, try to do this automatically.
5007    
5008     2001-11-03 Timo Schulz <[email protected]>
5009    
5010     (fm_remove_crit_file_attrs): First check if the file exists.
5011     Thanks to Peter.
5012    
5013     2001-11-02 Timo Schulz <[email protected]>
5014    
5015     * WinPT.cpp (WinMain): Add the chance to start the preferences dialog
5016     in the case a GPG error was detected.
5017     * wptKeyManagerDlg.cpp (delete_keys): Interface to delete all selected
5018     keys.
5019    
5020     2001-10-30 Timo Schulz <[email protected]>
5021    
5022     * wptHotkey.h: Fixed typo. Thanks to Timo.
5023     * wptGPG.cpp: (gpg_check_homedir): Fixed memory leak. By Timo.
5024     (get_gpg_default_key): Skip comment lines immediately.
5025     * wptRegisty.cpp (get_reg_winpt_prefs): Ditto.
5026     * wptKeyManagerDlg.cpp (keylist_subclass_proc): New. Procedure
5027     for subclassing.
5028    
5029     Remove all unsafe WM_NOTIFY stuff because this was propably the
5030     reason for the crashes. And add as a sanity check if the control
5031     sent the message.
5032    
5033     2001-10-28 Timo Schulz <[email protected]>
5034    
5035     * wptKeyMiscDlg.cpp (key_misc_dlg_proc): New virtual key support
5036     for ENTER/SPACE and DELETE. Suggested by Graham.
5037     * wptKeyList.cpp (add_key): New code to figure out how trustworthy
5038     a expired/revoked secret key is.
5039     (keylist_enum_recipients): Show the key ID of the key when it's
5040     revoked.
5041     * wptFileManager.cpp (fm_decrypt): Parse all PKE packets and not
5042     only the first to figure out if a secret is available. Thanks to
5043     Graham.
5044     * wptFile.cpp (get_keyid_from_file): Ditto.
5045    
5046     2001-10-27 Timo Schulz <[email protected]>
5047    
5048     * wptKeylist.cpp (keylist_enum_recipients): Add a type to make
5049     the code more flexible.
5050     * wptKeyMiscDlg.cpp (file_import): New.
5051     (file_export): New.
5052     * wptKeySigDlg.cpp (recv_missing_keys): Fixed a typo.
5053    
5054     Removed all OE code snippets.
5055    
5056     2001-10-26 Timo Schulz <[email protected]>
5057    
5058     * wptExtensions.cpp: Removed.
5059     * wptLDAPExt.cpp: Removed.
5060     * wptLDAP.cpp: New. This code now contains a direct interface to
5061     the WLDAP library so we don't need extra DLL's to handle LDAP keyservers.
5062     (wldap_init): New.
5063     (wldap_end): New.
5064     (ldap_set_verbose): New.
5065     (ldap_get_key_info): New.
5066     (ldap_recvkey): New.
5067     (init_ldap): New. Internal use only.
5068     (get_key): New. Ditto.
5069     (send_key): New. Ditto.
5070     * wptMainProc.cpp (wpt_main_proc): Init and de-init the LDAP dll.
5071    
5072     2001-10-25 Timo Schulz <[email protected]>
5073    
5074     * wptGPG.cpp (get_gpg_default_key): Support for the users options file.
5075     (check_gpg_path): Ditto.
5076     (get_gpg_options): Ditto.
5077     (set_gpg_default_key): Ditto.
5078     (set_gpg_options): Ditto.
5079     (gpg_check_keyring): Ditto.
5080     (set_gpg_default_keyid): Fix a typo.
5081     * wptGPGME.cpp (get_default_keyid): Rewrote most of the code.
5082    
5083     2001-10-23 Timo Schulz <[email protected]>
5084    
5085     * wptClipSignDlg.cpp (clip_sign_dlg_proc): Replace for with while
5086     because it's shorter.
5087     * wptFileSignDlg.cpp (file_sign_dlg_proc): Use keylist instead of
5088     the default keyid.
5089     * wptFileManager.cpp (fm_sign): Remove the default key ID code. Now
5090     we use the signer from the keylist.
5091     * wptGPGME.cpp (get_default_keyid): Revamp most of the code and fix
5092     some silly bugs.
5093     * WinPT.cpp (WinMain): if there is no valid keyring after the new
5094     preferences, start the key generation dialog.
5095    
5096     2001-10-22 Timo Schulz <[email protected]>
5097    
5098     Remove all MyGPGME code from the main project. Now we use the
5099     libmygpgme.dll to provide all cryptographic functions and interfaces.
5100    
5101     * wptKeylist.cpp (key_array_new): New.
5102     (key_array_release): New.
5103     (key_array_search): New.
5104     * wptKeylist.cpp (keylist_add_to_recipients): Check if an untrusted key was
5105     already checked and don't bother the user if all userid's were selected.
5106     * wptPassphraseCB.cpp (passphrase_cb_init): Now void.
5107     (passphrase_cb_gpgme): Ditto.
5108     (passphrase_callback_proc): Support for a list of recipients.
5109     * wptImportList.cpp (implist_add_key): Support for secret keys.
5110    
5111     2001-10-19 Timo Schulz <[email protected]>
5112    
5113     * wptGPGPrefsDlg.cpp (gpg_prefs_dlg_proc): Support for various
5114     option files.
5115     * wptMainProc.cpp (wpt_main_proc): Remove the preferences menu and
5116     use a popup menu.
5117     * wptExtensions.cpp (gpgoe_load_plugin): New. Try to load the GPGOE
5118     plug-in.
5119     (gpgoe_unload_plugin): New.
5120    
5121     2001-10-17 Timo Schulz <[email protected]>
5122    
5123     * wptCurrWnd.cpp (get_window_contents): Only minimize the window
5124     when the clipboard contains text.
5125     * wptKeylist.cpp (keylist_add_key): Check only for invalid keys
5126     in the mainloop. The other flags are checked in the various cases.
5127     (add_key): Use the ** foo ** notation for invalid flags instead of
5128     skipping the key.
5129     * wptKeyMiscDlg.cpp (clip_export): Check for revoked keys and print
5130     out a warning.
5131     Change all error messages to one header.
5132     (check_key_status): Check if the key is valid in the sense of
5133     revocation and expire dates. If not, print out a warning.
5134     (keymisc_dlg_proc): Use the new code.
5135    
5136     2001-10-16 Timo Schulz <[email protected]>
5137    
5138     * wptW32API.cpp (check_date): New.
5139     (get_open_filename): New.
5140     * wptDlgs.cpp (init_dtp): New. Initialize a special common control.
5141     * wptKeygenDlg.cpp (keygen_dlg_proc): Add support for exipre dates.
5142    
5143     2001-10-15 Timo Schulz <[email protected]>
5144    
5145     * wptFileManager.cpp (fm_wipe): New.
5146     (fm_set_status): Add temporary wipe status and handle default values.
5147     (fm_parse_files): Use fm_wipe instead of sunlink. Delete all wiped
5148     files with a successful opeation.
5149     * wptKeygenCbDlg.cpp (keygen_cb_dlg_proc): New. Static dialog procedure.
5150     (keygen_cb_thread): New. Static dialog thread.
5151     (keygen_cb_dlg_create): New. Interface.
5152     (keygen_cb_dlg_destroy): New. Destroy the dialog.
5153     (keygen_cb): GPGME interface.
5154    
5155     2001-10-13 Timo Schulz <[email protected]>
5156    
5157     Set all ListviewControls to 'NULL' in all dialogs to be more crash
5158     resistent.
5159    
5160     * wptFileEncryptDlg.cpp (file_encrypt_dlg_proc): Rebuild interface.
5161     * wptFileExportDlg.cpp (file_export_dlg_proc): Ditto.
5162     * wptFileImportDlg.cpp (file_import_dlg_proc): Ditto.
5163     * wptFileSignDlg.cpp (file_sign_dlg_proc): Ditto.
5164     * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Ditto.
5165     * wptStringUtil.cpp: Removed.
5166     * wptFileManager.cpp: Rewrote the complete interface code for
5167     the file manager.
5168     * wptFileManagerDlg.cpp: Rewrote the whole file manager dialog.
5169    
5170     2001-10-10 Timo Schulz <[email protected]>
5171    
5172     * wptGPG.cpp (set_gpg_default_key): Use spaces if the entry in the
5173     file is longer then the keyid.
5174     (get_gpg_default_key): Replaced get_gpg_default_keyid. Check if the
5175     entry is an userid.
5176     * wptFileManager.cpp (fm_check_for_entry): New. Avoid to add a file
5177     more then one time.
5178     (fm_add_dropped_files): Use it here.
5179     * wptFileManagerDlg.cpp (file_manager_dlg_proc): Support for common
5180     keys.
5181    
5182     2001-10-09 Timo Schulz <[email protected]>
5183    
5184     * wptFileManagerDlg.cpp (file_manager_dlg_proc): Check the return
5185     code of sunlink.
5186     * wptGPG.cpp (get_keyring_from_optfile): New.
5187     Renamed gpg_errstr to gpg_strerror.
5188     (set_default_key): New.
5189     * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Support for default key setting.
5190    
5191     2001-10-08 Timo Schulz <[email protected]>
5192    
5193     * wptKeyserver (kserver_connect): If the proxy settings are valid,
5194     use the proxy port instead of the HKP port.
5195     (kserver_recvkey): Proxy support.
5196     (kserver_search_init): Ditto.
5197    
5198     2001-10-06 Timo Schulz <[email protected]>
5199    
5200     * wptPassphraseCB.cpp (parse_gpg_description): Fixed a memory leak.
5201    
5202     2001-10-05 Timo Schulz <[email protected]>
5203    
5204     * wptKeylist.cpp: (addkey): Check if the used userID is not revoked.
5205     In the case it is, use the first userID.
5206     * wptKeySubkeyDlg.cpp (key_subkey_dlg_proc): Change the listbox.
5207     Remove the Pos column and add a status column instead.
5208     Add expire stuff for subkeys.
5209     (init_dtp): Initialize the common control.
5210     * wptClipEditDlg.cpp (clip_edit_dlg_proc): New code to load a file
5211     into the clipboard.
5212     * wptKeyPropsDlg.cpp (ot_id_to_string): New. Returns a long description
5213     of the ownertrust value.
5214     (keyprops_dlg_proc): Fixed ownertrust handling.
5215    
5216     2001-10-04 Timo Schulz <[email protected]>
5217    
5218     * wptPassphraseCB.cpp (parse_gpg_describtion): Free buffer.
5219     * wptKeyserver.cpp (kserver_search_init): Set buffer to NULL.
5220     Both were pointed out my Timo (not me ;-)).
5221     * wptKeylist.cpp (add_key): Fix a typo and now the code is more
5222     strict with returned attributes.
5223     * wptKeysignDlg.cpp (keysign_dlg_proc): Modify GPGME interface
5224     for local signatures.
5225    
5226     2001-09-28 Timo Schulz <[email protected]>
5227    
5228     * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): WM_NOTIFY to handle
5229     the double click messages.
5230     * wptClipSignDlg.cpp (clip_sign_dlg_proc): Ditto.
5231     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ditto.
5232     * wptFileManager.cpp (overwrite_file): Check if the file exists and
5233     then let the user decide.
5234     (fm_encrypt): Use the code here.
5235     (fm_sign): And here.
5236     (fm_sym_encrypt): And here. Now we use the passphrase dialog.
5237     (fm_decrypt): And here.
5238     * wptFile.cpp (unlink_file): Removed. We can use sunlink if we need
5239     a secure wipe.
5240    
5241     Make the memory checking more strict.
5242    
5243     2001-09-27 Timo Schulz <[email protected]>
5244    
5245     * wptMainProc.cpp (wpt_main_proc): Fixed typo. Thanks to Andy who
5246     discovered this.
5247     * wptPasswdDlg.cpp (passwd_dlg_proc): New. Handy dialog to get the
5248     passphrase.
5249     * wptEditKeyDlg.cpp: Removed. The edit-key code is now moved to
5250     the various other dialogs to make the use more easier.
5251     * wptKeyUIDDlg.cpp: (keyuid_dlg_proc): ADDUID code, use it here.
5252     * wptSubkeyDlg.cpp: (subkey_dlg_proc): ADDKEY code. Ditto.
5253    
5254    
5255     2001-09-26 Timo Schulz <[email protected]>
5256    
5257     * wptW32API.cpp (listbox_add_string): New. Shortcut to avoid long casts.
5258     (listbox_get_cursel): Ditto.
5259    
5260    
5261     2001-09-23 Timo Schulz <[email protected]>
5262    
5263     * wptSubkeyDlg.cpp (key_subkey_dlg_proc): New. Lists the subkeys.
5264     The same as the userid dialog.
5265     * wptWndSwitchDlg.cpp: Removed.
5266     * wptWipeExt.cpp: Removed. Code is now included.
5267     * wptGPGME.cpp (get_default_keyid): If the keyid from the options
5268     file is in the keycache.
5269     * wptKeylist.cpp (keylist_reload): New. Reload a keylist.
5270    
5271     2001-09-17 Timo Schulz <[email protected]>
5272    
5273     * wptClipboard.cpp (clip_isalready_secured): Fixed two silly bugs
5274     who prevent the correct return value in the case of an clipboard error.
5275     (clip_parse_pgp_id): New. Returns the PGP message type.
5276     * wptHotkey.cpp (hotkeys_strerror): Fixed bug in the indexes.
5277     (hotkey_single_register): Return correct error value.
5278     (hotkey_single_unregister): Ditto.
5279     * wptW32API.cpp (get_thread_id): Removed.
5280     (attach_thread_input): Ditto.
5281     (detach_thread_input): Ditto.
5282     * wptCurrWnd.cpp (get_window_contents): Store main and focused window
5283     for later use.
5284     (set_window_contents): Use the new code.
5285    
5286     2001-09-16 Timo Schulz <[email protected]>
5287    
5288     * wptExtensions.h: New. This file is now used for the extenion
5289     declarations.
5290     * wptExtensions.new: (register_extensions): New. Enumerate and
5291     load all possible extensions.
5292     (unregister_extentions): New. Release all loaded extensions.
5293     * wptKeyserver.cpp (kserver_load_conf): Added support for different
5294     keyservers. Currently only HTTP/LDAP.
5295     * wptKeyserverDlg.cpp (keyserver_dlg_proc): Added LDAP support.
5296     (hkp_recv_key): Ditto.
5297     * wptMailPlugin.cpp (oe_set_focus): Fixed silly bug that prevents
5298     to set the focus.
5299     * (oe_check_recipient): New. Checks if the key is able to encrypt
5300     and valid in the sense of revocation.
5301    
5302     2001-09-14 Timo Schulz <[email protected]>
5303    
5304     * wptWAB.cpp: (wab_read): New. Interface to read all address book
5305     entries.
5306     (wab_open): New. Internal function to load the WAB.
5307     (wab_release): New. Release the WAB contexts.
5308     (wab_load): New. Load the contents of the WAB into a linked list.
5309     (addr_list_new): New. Linked address list.
5310     (addr_list_add): New.
5311     (addr_list_release): New.
5312    
5313     2001-09-13 Timo Schulz <[email protected]>
5314    
5315     * Revamped the whole plugin code for OE5.
5316     * wptMailPlugin.cpp (oe_plugin_new): New. Allocates new structure.
5317     (oe_plugin_releae): New.
5318     (oe_plugin_init): New. Searches for the OE main window and select
5319     all the recipients from the fields.
5320     (oe_get_msg): This code now uses the menu command id's to
5321     execute the commands.
5322     (oe_set_msg): Ditto.
5323     (oe_encrypt): Changed for the new code.
5324     * wptMainProc.cpp (wpt_main_proc): Re-activate the code.
5325     * wptHotkeys.cpp: Ditto.
5326     * Removed the hook project.
5327    
5328     2001-09-12 Timo Schulz <[email protected]>
5329    
5330     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Fixed a format error.
5331     Thanks to Rich who pointed this out.
5332    
5333     2001-09-07 Timo Schulz <[email protected]>
5334    
5335     * wptFileManagerDlg.cpp (file_manager_dlg_proc): Fix memory leaks.
5336    
5337     2001-09-05 Timo Schulz <[email protected]>
5338    
5339     * wptKeyMiscDlg.cpp (clip_export): New. Handy function to export keys.
5340     (clip_import): New. Handy function to import keys.
5341     * wptKeygenDlg.cpp (keygen_dlg_proc): Added a warning when the passphrase
5342     is too short.
5343    
5344     2001-09-04 Timo Schulz <[email protected]>
5345    
5346     * Rewrote most parts of the keymanager.
5347     * Ditto for the filemanager.
5348    
5349     2001-09-01 Timo Schulz <[email protected]>
5350    
5351     * wptMainProc.cpp (wpt_main_proc): Remove the im- and export operations.
5352     These code is now part of the key manager.
5353     * wptKeyPropsDlg.cpp (key_props_dlg): Removed the get_key_xxx functions.
5354     * wptKeylist.cpp (get_key_algo): New.
5355     (get_key_created): New.
5356     (get_key_type): New.
5357     (get_key_size): New.
5358     (get_key_fpr): New.
5359     * wptClipExportDlg.cpp (clip_export_dlg_proc): Removed. This is now
5360     a part of the keymanager.
5361    
5362     2001-08-31 Timo Schulz <[email protected]>
5363    
5364     * wptFileManager.cpp (fm_add_opened_files): New. Use a standard
5365     file open dialog instead of drag & drop.
5366     * wptHotkeys.cpp (hotkey_strerror): More detailed information which
5367     hotkey couldn't set up.
5368     (hotkey_register_single): Ditto.
5369    
5370     2001-08-30 Timo Schulz <[email protected]>
5371    
5372     * wptFilemanager.cpp (fm_encrypt): Add minor changes.
5373     (fm_decrypt): Ditto.
5374     (fm_sign): Ditto.
5375     (fm_verify): Make the code more modular.
5376     (fm_add_sig_stat): New. For new fm_verify code.
5377    
5378     2001-08-28 Timo Schulz <[email protected]>
5379    
5380     * wptKeylist.cpp (strlist_add_recipients): Fixed the listview handling.
5381     * wptKeyserver.cpp (kserver_load_conf): Proxy support
5382     (kserver_connect): Ditto.
5383    
5384     2001-08-26 Timo Schulz <[email protected]>
5385    
5386     * wptFileManager.cpp (fm_entry_new): New.
5387     (fm_entry_release): New.
5388     (fm_state_new): New.
5389     (fm_state_release). New.
5390     (fm_get_current_file): New.
5391     * wptKeylist.cpp (strlist_add_recipients): New.
5392    
5393     2001-08-25 Timo Schulz <[email protected]>
5394    
5395     * wptStringUtil.cpp (strlist_new): New. Linked list to hold strings.
5396     (strlist_release): New. Release the linked list.
5397     (strlist_add): New.
5398    
5399     2001-08-21 Timo Schulz <[email protected]>
5400    
5401     * wptGPG.cpp (get_gpg_default_keyid): Modify the code and now it
5402     also supports "encrypt-to" entries as default keys.
5403     * wptWipeExt.cpp (wipe_init_ext): New. Load the DLL to provide
5404     secure wiping.
5405     (wipe_deinit_ext): New. Unload the DLL and free all pointer.
5406     (wipe_loaded_ext): New. Checks wether the DLL was loaded.
5407     * wptW32API.cpp (set_menu_state): New.
5408    
5409     2001-08-20 Timo Schulz <[email protected]>
5410    
5411     * wptGPG.cpp (create_gpg_options): Fixed nul byte bug. Thanks to Thomas.
5412     * wptPreferencesDlg.cpp (prefs_dlg_proc): Fixed the code to disable
5413     the hotkeys. Automatically enable or disable the hotkey field depend
5414     on the switch.
5415    
5416     2001-08-17 Timo Schulz <[email protected]>
5417    
5418     * wptClipSignDlg.cpp (clip_sign_dlg_proc): Choose key if there is only
5419     one by default.
5420     * wptKeyList.cpp (keylist_add_to_recipients): Ditto.
5421     * wptGPG.cpp (gpg_check_homedir): Creates the GPGME specific gpgProgram
5422     entry in the registry in the case it's missing (whenever it's possible!).
5423     (check_gpg_path): Rewrite parts of the code.
5424    
5425     2001-08-11 Timo Schulz <[email protected]>
5426    
5427     * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Beautify the dialog and
5428     separate the fingerprint from the othr information.
5429     * wptGPG.cpp (check_opt_keyring): New. Do a sanity check if the
5430     file, specified in the options line, does exist.
5431    
5432     2001-08-08 Timo Schulz <[email protected]>
5433    
5434     * wptGPG.cpp (check_gpg_path): Sanity check for size of the options file.
5435     Support for more configurations.
5436     * wptFileSignDlg.cpp (file_sign_dlg_proc): Fixed error in signature mode.
5437     Add all strings to the translation suite.
5438     * Updated all NLS dialog strings.
5439     * wptRFC2440.cpp (get_pkttype): Fixed error to check the CTB.
5440     * wptFileManager.cpp (fm_decrypt): Support to decrypt armored file,
5441     with a dynamic callback for the passphrase.
5442    
5443     2001-08-06 Timo Schulz <[email protected]>
5444    
5445     * wptFilemanager.cpp (fm_sign): Set the keyid length to 16.
5446    
5447     2001-08-05 Timo Schulz <[email protected]>
5448    
5449     * wptKeylist.cpp (keylist_add_key): Change the schematics to support
5450     all keyids.
5451     * wptSigList.cpp (siglist_build): New. Interface code to load the
5452     signature list.
5453     * wptKeysigDlg.cpp (keysig_dlg_proc): Uses siglist_build.
5454    
5455     2001-08-03 Timo Schulz <[email protected]>
5456    
5457     * wptMainProc.cpp (wpt_main_proc): The GPG menu was removed, now
5458     we support this code in the key manager.
5459     * wptKeyMisc.cpp (key_misc_dlg_proc): Supports new GPG commands.
5460     * wptKeyserver.cpp (kserver_index_request), (kserver_recv_request):
5461     Removed. The code moved into the main functions.
5462     (kserver_send), (kserver_recv): Ditto.
5463     (sock_write): Improved code.
5464     (sock_read): Ditto and some additional timeout.
5465     (sock_select): New. Figure out the socket state.
5466     (kserver_search_init): New. Make connection to the server.
5467     * wptHKPSearchDlg.cpp (hkp_search_dlg_proc): Now it uses the new
5468     keyserver code.
5469     * wptFile.cpp (get_keyid_from_file): Add support for the PGP marker
5470     packet. Thanks to Alan.
5471     (check_for_symenc_data): Ditto.
5472     * wptFileManager.cpp (fm_get_file_type): Ditto.
5473     (fm_decrypt): Move the keycache in the if loop and fix the keycache
5474     type.
5475    
5476     2001-08-02 Timo Schulz <[email protected]>
5477    
5478     * wptGPG.cpp (check_gpg_path): Check the size of both keyrings too.
5479     Useful in the case the file was generated but it's empty.
5480     * wptKeyEditDlg.cpp (key_edit_dlg_proc): Fixed some typos.
5481    
5482    
5483     2001-08-01 Timo Schulz <[email protected]>
5484    
5485     * wptKeyserver.cpp (kserver_urlencode): Create a HTTP compatible
5486     request for uploading a key.
5487     (kserver_send_request): Use the urlencode to send the key.
5488     (sock_read): New. Improved read function to replace recv.
5489     (sock_write): New. Improved write function to replace send.
5490     * wptFileManager.cpp (fm_get_file_type): If the data is armored,
5491     call fm_check_armor_type().
5492     (fm_check_armor_type): New. Figure out the armor type of the data.
5493     * wptKeyMisc.cpp (key_misc_dlg_proc): Use a menu instead of the
5494     buttons. Optimized the code.
5495    
5496     2001-07-30 Timo Schulz <[email protected]>
5497    
5498     * wptClipSignDlg.cpp (clip_sign_dlg_proc): Added the interface code
5499     for the agent.
5500     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ditto.
5501    
5502     2001-07-29 Timo Schulz <[email protected]>
5503    
5504     * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): New. Dialog for creating
5505     a key revocation certificate. Add a hint to show how sentensive this
5506     data is.
5507     * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Added the code to handle the
5508     revocation.
5509     * wptAgent.cpp: Source for the server interface removed.
5510     (agent_is_avail): New. Checks if the agent is available.
5511     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Added the interface code
5512     for the agent.
5513    
5514     2001-07-26 Timo Schulz <[email protected]>
5515    
5516     * wptGPG.cpp (check_gpg_keyring): New. Check if a gpg keyring
5517     exists. Useful if the keyring was moved during some commands.
5518     * wptMainProc.cpp (wpt_main_proc): Use the new code. Thanks to
5519     Rich to discover this.
5520    
5521     2001-07-25 Timo Schulz <[email protected]>
5522    
5523     * WinPT.cpp (WinMain): Add a sanity check for the keycache to detect
5524     serious GPG errors.
5525     * wptFileManager.cpp (fm_sym_encrypt): New. Symmetric encryption.
5526     Suggested by Graham.
5527     (fm_decrypt): Change code to support symmetric decryption.
5528     (fm_get_file_type): Fixed some typos.
5529    
5530     2001-07-24 Timo Schulz <[email protected]>
5531    
5532     * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Get new cache context after
5533     reloading the keycache. Fixed the memory leaks. Thanks to Andreas.
5534     * wptKeyEditDlg.cpp (keyedit_dlg_proc): Better GPGME callback to inform
5535     the user about errors.
5536     * wptKeyTrustPathDlg.cpp (copy_trust_item): New. Copy the GPGME structure
5537     in our own context.
5538     (treeview_insert_item): New. Handy function to insert an entry.
5539     (treeview_create_child_item): New. Insert a trustlist node.
5540     (treeview_add_trustpath): New. Add recursively the whole trust path
5541     int the tree view.
5542     * wptKeysigDlg.cpp (check_for_missing_keys): New. Checks if the
5543     signature list contains entries with a NOKEY status.
5544     (recv_missing_keys): New. Receive all keys with a NOKEY as the signature
5545     status.
5546     * wptImportList.cpp (implist_load): New. Initialize the listview item
5547     with an import overview.
5548     * wptClipImportDlg.cpp (clip_import_dlg_proc): Use implist_load instead
5549     of the code.
5550     (print_import_status): Summarize the results. We need this because file
5551     import needs the same function.
5552     * wptFileImportDlg.cpp (file_import_dlg_proc): New. Interface for the
5553     file manager.
5554     * wptFileManagerDlg.cpp (file_manager_dlg_proc): New code for the key
5555     import from file.
5556     * wptFileManager.cpp (fm_import): New. Ditto.
5557     * wptKeyserver.cpp (kserver_connect): Take care for some return values
5558     and set the socket to non blocking mode.
5559     Moved the Winsock2 init code to wptMainProc.cpp
5560     * wptMainProc.cpp (wpt_main_proc): Wsock2 code.
5561     * wptHKPSearchDlg.cpp (hkpsearch_dlg_prog): Remove Wsock2 init code.
5562    
5563     2001-07-22 Timo Schulz <[email protected]>
5564    
5565     * wptKeyPrefsDlg.cpp (keyprefs_dlg_proc): New.
5566     (get_key_created): New. Transform ulong timestamp to ascii.
5567     (get_key_algo): New. Returns a formatted algorithm (depend on subkeys).
5568     (get_key_size): New. Returns a formatted size depend (depend on subkeys).
5569     * wptSigList.cpp (siglist_add_key): Fix the timestamp.
5570     * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Removed "list sigs" and replace
5571     this with list trust path.
5572     * wptKeySigDlg.cpp (keysig_dlg_proc): Remove the set_check_mode function
5573     because we always check the signatures.
5574     * wptKeyTrustPathDlg.cpp (keytrust_dlg_proc): New.
5575    
5576     2001-07-21 Timo Schulz <[email protected]>
5577    
5578     * wptFileEncryptDlg.cpp (file_encrypt_dlg_proc): Set cancel mode in
5579     the case of IDCANCEL.
5580     * wptFileSignDlg.cpp (file_sign_dlg_proc): Ditto.
5581     * wptKeyEditDlg.cpp (keyedit_dlg_proc): Check if the key is a key pair
5582     pair and only if activate the passphrase dlg items.
5583     Do sanity checks for all buttons that require key pairs.
5584     * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Support the new code.
5585    
5586     2001-07-20 Timo Schulz <[email protected]>
5587    
5588     * wptKeyserver.cpp: (kserver_send_request): Correct the octect length
5589     of the request.
5590     (check_hkp_response): If an error ocurred, copy the error message into
5591     the static buffer.
5592     (kserver_strerror): Interface for the static error buffer.
5593     * wptKeyserverDlg.cpp (hkp_err_box): Generates a HKP specific message
5594     box.
5595     (hkp_send_key): Add more verbose messages at the end.
5596     (hkp_recv_key): Ditto.
5597     (check_pattern): Rewrote the entire code to be more bug proof.
5598     * wptKeylist.cpp (keylist_add_to_recipients): Add a flag to indicate
5599     that the recipient list contains untrusted entries.
5600     * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Use the new flag to
5601     force GPG to add the need options.
5602     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ditto.
5603    
5604     2001-07-19 Timo Schulz <[email protected]>
5605    
5606     * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Support for more
5607     detailed error messages in the case for a missing key or an included
5608     signature.
5609    
5610     2001-07-17 Timo Schulz <[email protected]>
5611    
5612     * wptKeylist.cpp (keylist_build_small): Support for a minimal keybox
5613     and increment the 'cols' variable inside the structure for further use.
5614     (add_key): Watch for the 'cols' variable to figure out how much columns
5615     are used.
5616     * wptListView.cpp (listview_set_ext_style): Set an extended style for
5617     the given listview.
5618     * wptKeyserverDlg.cpp (keyserver_dlg_proc): Use WM_NOTIFY to save the
5619     selected server.
5620     * wptClipSignDlg.cpp (clip_sign_dlg_proc): Ditto.
5621     * wptKeyserver.cpp (kserver_connect): IP address support. This is faster
5622     and no DNS lookup is needed.
5623    
5624     2001-07-14 Timo Schulz <[email protected]>
5625    
5626     * wptKeylist.cpp (keylist_add_key): Check for secret keys before adding
5627     it to the signing keylist.
5628     * wptClipSignDlg.cpp (clip_sign_dlg_proc): Add newline if the passphrase
5629     is empty.
5630     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ditto.
5631    
5632    
5633     2001-07-13 Timo Schulz <[email protected]>
5634    
5635     * wptKeyserver.cpp (kserver_send_request): Add the "keytext" string to
5636     the request. Arggg!
5637     (check_hkp_response): Add flag to differ between 'send' and 'recv' mode.
5638    
5639    
5640     2001-07-12 Timo Schulz <[email protected]>
5641    
5642     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): If the dialog was canceled,
5643     just quit without any messages. Suggested by Rich.
5644    
5645    
5646     2001-07-11 Timo Schulz <[email protected]>
5647    
5648     * wptKeyserver.cpp (wsock_strerror): If it's an unknown error, add
5649     the integer.
5650     (keyserver_create_conf): Create a config file instead of the error.
5651     * wptGPG.cpp (create_gpg_options): If the file doesn't exist create
5652     a default file. This prevents confusing error messages.
5653     (get_gpg_options): Use new code.
5654     * wptErrors.cpp (winpt_debug_msg): Improved debug message that tells
5655     the user how to find the files.
5656    
5657     2001-07-05 Timo Schulz <[email protected]>
5658    
5659     * wptHotkey.cpp (mod_hotkeys): Fix a small typo.
5660    
5661     2001-07-04 Timo Schulz <[email protected]>
5662    
5663     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Auto retrieve key
5664     if the user agree.
5665     * wptKeylist.cpp (keyload_load): Use the mode from the param, not
5666     the hardcoded.
5667     * wptGPGOptDlg.cpp (gpgopt_dlg_proc): Load options file on startup.
5668     Rename 'load' to 'reload' to make sense with the new code.
5669     * wptHotkeys.cpp (mod_hotkeys): Rewrite the entire code for the
5670     registry stuff.
5671     * wptRegistry.cpp (set_reg_winpt_prefs): Ditto.
5672     (get_reg_winpt_prefs): Ditto.
5673     (regist_inst_winpt): Remove the old code.
5674     (register_single_filetype): Replacement for the old code.
5675    
5676     2001-07-01 Timo Schulz <[email protected]>
5677    
5678     * wptFileManager.cpp (fm_verify): New.
5679     (fm_decrypt): New.
5680     * wptFileEncryptDlg.cpp (file_encrypt_dlg_proc): New.
5681    
5682    
5683     2001-06-30 Timo Schulz <[email protected]>
5684    
5685     * wptFilemanagerDlg.cpp (file_manager_dlg_proc): Uses the new passphrase
5686     code.
5687     * wptClipSignDlg.cpp (clip_sign_dlg_proc): Ditto.
5688     * wptClipSignEncDlg.cpp (clip_sign_dlg_proc): Ditto.
5689     * wptFileManager.cpp: New. (fm_build): New. Initialize the filemanager.
5690     (fm_delete): New.
5691     (fm_encrypt): New.
5692     (fm_get_current_pos): New.
5693     (fm_get_file_type): New.
5694     (fm_add_dropped_files): New.
5695    
5696     2001-06-29 Timo Schulz <[email protected]>
5697    
5698     * wptClipEditDlg.cpp (clip_edit_dlg_proc): Fix a small bug that prevent
5699     to send data to the clipboard.
5700     * wptMainProc.cpp (wpt_main_proc): Change the SetForegroundWindow to
5701     destroy the window immediately.
5702     * wptKeyserver.cpp (kserver_getip): Removed.
5703     (kserver_get_langname): Removed.
5704     (kserver_load_conf): New. Load the keyserver.conf file and set the
5705     included keyserver addresses into the global context.
5706     * WinPT.cpp (WinMain): Add the kserver_load_conf to intialize the
5707     keyserver context.
5708     * wptImplist.cpp (get_key_date): New. Transform integer timestamp
5709     to ISO date.
5710     (implist_add_key): Now it uses the context instead of all single
5711     variables.
5712    
5713     2001-06-28 Timo Schulz <[email protected]>
5714    
5715     * wptRFC2440.cpp (get_pkttype): Renamed from get_pkt_type and all new
5716     flag variables to support RFC1991.
5717     (get_rfc2440_pktlen): Renamed from get_pkt_len to support RFC1991.
5718     (get_rfc1991_pktlen): Ditto.
5719    
5720     2001-06-27 Timo Schulz <[email protected]>
5721    
5722     * wptRFC2440.cpp (get_pkt_type): New. Extract the OpenPGP packet type.
5723     (get_pkt_len): New. Extract the OpenPGP packet length.
5724     (parse_pke_sesskey): Read a public key encrypted session key
5725     but without data.
5726     * wptFilemanagerDlg.cpp (quote_filename): Do some quotings if the
5727     filename contains spaces. Just to make GPG happy.
5728     (file_manager_dlg_proc): Check if the file exist after encryption.
5729     * wptFile.cpp (get_keyid_from_file): Checks the file for an valid
5730     packet and then extract the keyid.
5731    
5732     2001-06-25 Timo Schulz <[email protected]>
5733    
5734     * wptKeylist.cpp (keylist_load): New. Initialize a keylist item with
5735     the contents from the given cache context.
5736     (keylist_add_to_recipients): New. Add the selected keys to the
5737     recipient set.
5738     * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Use the new keylist
5739     function to load the listview.
5740     * wptClipExportDlg.cpp (clip_export_dlg_proc): Ditto.
5741     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ditto.
5742     * wptClipDecryptDlg.cpp (parse_gpg_describtion): Beautify the userid
5743     and the keyid hint.
5744    
5745     2001-06-24 Timo Schulz <[email protected]>
5746    
5747     * wptGPG.cpp (get_gpg_path): Add null termination to the string.
5748     Thanks to Jonathan who pointed this out.
5749     (get_gpg_prog): Ditto.
5750     (gpg_check_file_ext): Check the file extension for the given GPG
5751     type.
5752     (get_gpg_default_keyid): Return null if there isn't an entry in the
5753     options file.
5754     * wptKeylist.cpp (add_key): Fixed the wrong return codes of listview_xxx
5755     style functions.
5756     * wptImpList.cpp (implist_add_key): Ditto.
5757     * wptSigList.cpp (siglist_add_key): Ditto.
5758     * wptVerifyList.cpp (verlist_add_key): Ditto.
5759    
5760     2001-06-23 Timo Schulz <[email protected]>
5761    
5762     * wptGPG.cpp (get_gpg_default_keyid): Determine the keyid with the
5763     options file.
5764    
5765     2001-06-22 Timo Schulz <[email protected]>
5766    
5767     * wptHKPSearchDlg.cpp (hkpsearch_dlg_proc): New. Dialog to perform
5768     keyserver seraching. As an additional feature it's also posible to
5769     import the keys directly.
5770    
5771     2001-06-18 Timo Schulz <[email protected]>
5772    
5773     * wptKeyserver.cpp (check_hkp_response): More detailed error check
5774     of the http response.
5775     (kserver_send_request): Debug mode now uses logfile.
5776     (kserver_recv_request): Ditto.
5777     (kserver_index_request): New. Create a request for a key index.
5778     (kserver_send): Now uses check_hkp_response.
5779     (kserver_recv): Ditto.
5780     (kserver_search): New. Start the key index loop.
5781     * wptKeyserverDlg.cpp (recv_key): Check if the key was really
5782     imported and received.
5783    
5784     2001-06-17 Timo Schulz <[email protected]>
5785    
5786     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Force to use the
5787     default key for signing.
5788    
5789     2001-06-16 Timo Schulz <[email protected]>
5790    
5791     * wptKeyEditDlg.cpp (keyedit_dlg_proc): Added missing return.
5792     Corrected return values.
5793     * wptErrors.cpp (winpt_strerror): Removed all unused error strings.
5794     * wptGPG.cpp (get_gpg_path): Change to default path and prevent
5795     buffer overflows.
5796     (get_gpg_prog): Ditto.
5797    
5798    
5799     2001-06-15 Timo Schulz <[email protected]>
5800    
5801     * wptKeylist.cpp (keylist_add_key): Change encrypt param to mode.
5802     Differ between the new keylist styles.
5803     * wptGPGME.cpp (keycache_xxx): Move the caching interface to this
5804     file. For an easier handling between dialogs and code.
5805     (keycache_rewind): New. Rewind a global keycache context.
5806     (keycache_next_key): New. Retrieve the next key from the keycache.
5807     (get_default_key): New. Return the default key, this is the secret
5808     key with the index 0.
5809     * wptClipSignDlg.cpp (clip_sign_dlg_proc): Modify the default key
5810     handling. Now the signer is set in any case. Prevent hanging GPG
5811     processes.
5812     * wptSecmem.cpp (vm_safe_init): New. Initialize the safe memory.
5813     (vm_safe_init_noswap): New. Initialize safe memory with tail data.
5814     See source for more information.
5815     (vm_safe_free): New. Free all used pointer and burn all buffers.
5816     (vm_safe_get): New. Get the begin of the alloced buffer.
5817     (vm_safe_set_swapfile): New. Set global swapfile name.
5818     (vm_safe_create_swapfile): New. Creats a swapfile and set its
5819     contents to zero.
5820    
5821     2001-06-12 Timo Schulz <[email protected]>
5822    
5823     * wptPreferencesDlg.cpp (check_hotkey): Check if the hotkey key is
5824     a big letter, otherwise convert.
5825     (preferences_dlg_proc): Check hotkeys.
5826     * wptKeylist.cpp (add_keys): Static functions to add a single key.
5827     (keylist_add_key): Now it adds all subkeys to the dialog.
5828     (keylist_alloc): Remove because it's not needed any longer.
5829     * wptImportList.cpp (implist_alloc): Ditto.
5830     * wptSigList.cpp (siglist_alloc): Ditto.
5831     * wptVerifyList.cpp (verlist_alloc): Ditto.
5832    
5833     2001-06-10 Timo Schulz <[email protected]>
5834    
5835     * wptHotkey.cpp (enable_hotkey): New. Set enable flag for a single
5836     hotkey.
5837     (mod_hotkeys): Take care of the enable flags.
5838     (register_hotkeys): Ditto.
5839     (unregister_hotkeys): Ditto.
5840     * WinPT.cpp (WinMain): If the registry entry of WinPT doesn't exist,
5841     don't try to modify hotkeys.
5842     * WptMainProc.cpp (wpt_main_proc): All message boxes are forced to
5843     the foreground.
5844    
5845     2001-06-08 Timo Schulz <[email protected]>
5846    
5847     * wptHotkey.cpp (mod_hotkeys): Change code to support the new
5848     registry style.
5849     * wptRegistry.cpp (get_reg_winpt_prefs): Support to disable
5850     single hotkeys. Suggested by Jonathan.
5851     * wptPreferencesDlg.cpp (preferences_dlg_proc): Support to disable
5852     single hotkeys.
5853     * wptKeyserver.cpp (kserver_connect): Reset winsock error var.
5854     (keyserver_recv): Ditto.
5855     (keyserver_send): Ditto.
5856     (wsock_strerror): Returns a description of the winsock problem.
5857     * wptClipboard.cpp (clip_get_pgp_type): Check if the returned buffer
5858     is valid.
5859    
5860     2001-06-07 Timo Schulz <[email protected]>
5861    
5862     * wptOwnertrustDlg.cpp (ownertrust_dlg_proc): Set to foreground,
5863     add windows title.
5864    
5865     2001-06-05 Timo Schulz <[email protected]>
5866    
5867     * wptAboutGPGDlg.cpp (about_gpg_dlg_proc): Check if the returned
5868     buffer is valid. Remove the fixme, because it's possible that there
5869     were new cipher modules loaded.
5870     * wptClipDecryptDlg.cpp (passphrase_callback_proc): Check if the
5871     context is valid.
5872     * wptClipEditDlg.cpp (clip_edit_dlg_proc): Check if the context is valid.
5873     * wptW32API.cpp (status_box): New. Message box that is always forced
5874     to the foreground.
5875    
5876     2001-06-04 Timo Schulz <[email protected]>
5877    
5878     * wptClipImportDlg.cpp (clip_import_dlg_proc): Added the code for
5879     the improved import status.
5880    
5881    
5882     2001-06-01 Timo Schulz <[email protected]>
5883    
5884     * wptKeyEditDlg.cpp (keyedit_dlg_proc): IDC_KEYEDIT_OWNERTRUST:
5885     Release context in the case of an error.
5886     * wptMainProc.cpp (wpt_main_proc): Fix typo.
5887     * wptGPG.cpp: (init_gpg_table): Remove the case code. Now we use
5888     a static gpg object array that contains all filenames.
5889    
5890    
5891     2001-05-27 Timo Schulz <[email protected]>
5892    
5893     * wptRegistry.cpp (set_reg_winpt_prefs): Add word wrapping.
5894     (get_reg_winpt_prefs): Ditto.
5895     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Set focus after the
5896     gpg process finished.
5897     * wptSigList.cpp (siglist_add_key): Parse the numeric timestamp to
5898     a humand readable date.
5899    
5900    
5901     2001-05-25 Timo Schulz <[email protected]>
5902    
5903     * wptKeyUidDlg.cpp (keyuid_dlg_proc): Add button to delete a choosen
5904     user id. End the dialog if there was an error during the Gpgme operations.
5905     * wptClipboard.cpp (clip_istext_avail): First check if the pointer is
5906     valid and then look at the length. Avoid crashes for some texts.
5907    
5908     2001-05-21 Timo Schulz <[email protected]>
5909    
5910     * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Add new button for userid
5911     management.
5912     * wptKeyUidDlg.cpp (keyuid_dlg_proc): Finished code to show all userids
5913     from a special key.
5914    
5915     2001-05-20 Timo Schulz <[email protected]>
5916    
5917     * wptGPG.cpp (check_gpg_optfile): Count each of the keyring entries
5918     to figure out if both parts are available.
5919    
5920     2001-05-19 Timo Schulz <[email protected]>
5921    
5922     * wptPreferencesDlg.cpp (preferences_dlg_proc): If the disable hotkey
5923     flag is set, also disable all input items.
5924     (disable_dlg_item): New. Disable dialog items (windows).
5925     * wptMainProc.cpp (wpt_main_proc): Only set hotkeys if the no_hotkeys
5926     flag isn't set.
5927     * wptKeyserverDlg.cpp (send_key): Forget to set the armor flag, as
5928     a result the code only sended parts of the key.
5929     * wptConfig.cpp: Removed. Not used any longer.
5930    
5931     2001-05-18 Timo Schulz <[email protected]>
5932    
5933     * wptKeyEditDlg.cpp (keyedit_dlg_proc): Check the state of the various
5934     edit key commands. In the case the dialog was canceled, return without
5935     modifying anything.
5936     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Check the state of the
5937     signature. If it doesn't contain a valid key, do nothing.
5938     * wptMainProc: (wpt_main_proc): If the hotkey setup doesn't work, don't
5939     quit the program. In some cases the hotkeys are possible locked.
5940     * WinPT.cpp (WinMain): If there is an error with the gpg program/path,
5941     give the user the chance to start the GPG preference dialog.
5942     * wptPreferencesDlg.cpp (preferences_dlg_proc): Added the CWS hotkey
5943     support. Flag to disable all hotkeys. Reload new hotkeys (in the case
5944     they changed). Load the registry entry on startup.
5945     * wptHotkey.cpp (mod_hotkeys): Overwrite the default hotkeys with the
5946     stored registry entries.
5947    
5948     2001-05-13 Timo Schulz <[email protected]>
5949    
5950     * wptRegistry.cpp (set_reg_key): Open a subkey, if it doesn't exist
5951     the function create it.
5952     (set_reg_winpt_prefs): Use the new function to set the subkey values.
5953     All functions now return WPTERR_REGISTRY instead of 1.
5954     Add some error handling to prevent errors in the registry.
5955     * wptPreferencesDlg.cpp (preferences_dlg): Add the code for the Clipboard
5956     hotkeys and the caching time.
5957    
5958    
5959     2001-05-12 Timo Schulz <[email protected]>
5960    
5961     * wptMainProc.cpp (wpt_main_proc): Start the agent before the decryption
5962     call.
5963    
5964     2001-05-11 Timo Schulz <[email protected]>
5965    
5966     * wptMainProc (wpt_main_proc): Change all related menu entries from
5967     Encrypt & sign to Sign & Encrypt. Added the command to the current
5968     window menu and the handling of the window messages.
5969     * wptSignEncDlg.cpp (clip_signenc_dlg_proc): Changed the window text.
5970     * wptRegistry.cpp (set_reg_winpt_prefs): New. Stores all WinPT
5971     preferences in the registry.
5972     (get_reg_winpt_prefs): Read all preferences from the registry into
5973     the options context.
5974     * WinPT.cpp (WinMain): Read in the registry preferences at the begin
5975     and store it.
5976     * wptAgent.cpp (agent_init): Check if the environment variable
5977     GPG_AGENT_INFO is set, otherwise set it.
5978     (agent_is_running): Check wether the agent is running.
5979     (agent_start): Automated function that read all needed information
5980     from global variables.
5981    
5982     2001-05-10 Timo Schulz <[email protected]>
5983    
5984     * wptFindWnd.cpp (find_window_hwnd): New. Function to retrieve
5985     the handle of the specified window.
5986     * wptAgent.cpp (agent_timer_proc): Changed the agent interface
5987     to window messages instead of socket connections.
5988     * wptMainProc.cpp (wpt_main_proc): Added the new preference dialog
5989     and menu entry.
5990     * wptPreferencesDlg.cpp: New.
5991    
5992     2001-05-09 Timo Schulz <[email protected]>
5993    
5994     * wptAgent.cpp (gpga_writen): Write 'n' bytes into a socket.
5995     (gpga_readn): Read 'n' bytes from a socket.
5996     (gpga_open): Open the interface to the GPG-Agent.
5997     (gpga_close): Close the GPG-Agent socket.
5998     (gpga_clear_passphrase): Clear a passphrase from the GPG-Agent.
5999     (agent_add_fpr): Add a fingerprint to the cache. If WinPT quits,
6000     this keys will be remove from the GPG-Agent cache.
6001     (agent_delete_fpr): Remove a fingerprint from the cache.
6002     (agent_init): Clear the cache.
6003     (agent_timer_proc): Remove all stored passphrases which were
6004     requested through the chache.
6005    
6006     2001-05-08 Timo Schulz <[email protected]>
6007    
6008     * wptKeyserver.cpp (wsock_init): Replace the kserver init
6009     code which initialized the Wsock2 interface.
6010     (wsock_end): Ditto.
6011     * wptAgent.cpp: Remove the passphrase caching code and add
6012     the GPG agent code.
6013    
6014     2001-05-05 Timo Schulz <[email protected]>
6015    
6016     * wptCurrWnd.cpp (get_curr_wnd): Alternative code to retrieve
6017     the current window handle. This code doesn't use the hook DLL.
6018     Thanks to Oliver Nittka for his patch.
6019     * wptErrors.cpp (winpt_strerror): Fixed a small typo.
6020     * wptGPG.cpp (check_last_gpg_access): Remove debug code.
6021     * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Change the keycache reloading
6022     scheme to prevent reloading the cache twice.
6023    
6024     2001-05-04 Timo Schulz <[email protected]>
6025    
6026     * wptKeyTrustDlg.cpp: Renamed to wptKeyEditOwnertrustDlg.cpp.
6027     * wptKeyEditOwnertrustDlg.cpp (keyedit_ownertrust_dlg):
6028     Move all the GPGME specific code to the main dialog. Now only
6029     the context values are set.
6030     * wptKeyEditDlg.cpp (keyedit_dlg_proc): Include the changed ownertrust
6031     code.
6032    
6033     2001-05-02 Timo Schulz <[email protected]>
6034    
6035     * wptKeyEditAddSubkeyDlg.cpp: New. Dialog to create additional
6036     subkeys for the mainkeys.
6037     * wptKeyEditAddUidDlg.cpp: (keyedit_adduid_dlg_proc): Set foreground
6038     window flag.
6039     * wptKeyEditDlg.cpp: (keyedit_dlg_proc): Added the code for the
6040     addkey feature.
6041    
6042     2001-05-01 Timo Schulz <[email protected]>
6043    
6044     * wptCurrWnd.cpp (wnd_msg_markall): New. Send the CTRL+a key sequence
6045     to a window.
6046     (wnd_msg_copy): New. Send the CTRL+c key sequence to a window.
6047     (wnd_msg_paste): New. Send the CTRL+v key sequence to a window.
6048     (wnd_msg_em_set_pos): Manipulate an edit multiline control text pos.
6049     * wptMainProc.cpp (wpt_main_proc): Fix some message string for
6050     the hotkey handling. Quit the program if a registration procedure
6051     failed.
6052     * wptErrors.cpp (log_box): Improved log handling to dump states
6053     of variables during regression tests.
6054    
6055     2001-04-30 Timo Schulz <[email protected]>
6056    
6057     * wptClipEditDlg.cpp: Now the dialog uses the Courier font to
6058     enhance the format of keys and other GPG data.
6059     * wptKeyserverDlg.cpp (keyserver_dlg_proc): Set the cache realod
6060     flag after receiving a key.
6061     * wptKeyTrustDlg.cpp (keytrust_dlg_proc): Add error message when
6062     no listbox entry was choosen.
6063     * wptKeySignDlg.cpp (keysign_dlg_proc): Add Check button text to
6064     the NLS suite.
6065     * wptKeygenDlg.cpp (keygen_dlg_proc): Set the cache reload flag
6066     instead of refresh the keycache.
6067    
6068     2001-04-29 Timo Schulz <[email protected]>
6069    
6070     * wptKeyEditDlg.cpp (clear_dlg_fields): Clear all passphrase items.
6071     (keyedit_dlg_proc): Free gpgme context. Add the passphrase for the
6072     adduid command.
6073     * wptKeyEditAddUidDlg.cpp (keyedit_adduid_dlg_proc): Initialize
6074     the dialog with a KEY structure that holds the keyid and the userid.
6075     * wptWndHook.cpp: Remove the global context and use instead of it
6076     static variables. Put all static variables into the SHARED data
6077     segment in the DLL.
6078    
6079     2001-04-28 Timo Schulz <[email protected]>
6080    
6081     * wptGPGME.cpp: New. Move some additional GPGME code into WinPT.
6082     So it's easier to update GPGME and we can use NLS to translate
6083     error strings.
6084     * wptVerifyList.cpp (get_sig_date): New. Removed from the GPGME code
6085     because we only use it here.
6086     * wptKeyEditDlg.cpp (keyedit_dlg_proc): Add the 'change passphrase'
6087     feature to the edit-key interface.
6088    
6089     2001-04-27 Timo Schulz <[email protected]>
6090    
6091     * wptCurrWnd.cpp (get_window_contents): Change the code for the last
6092     window concept. Thanks to Oliver.
6093     (set_window_contents): Add some stuff to set the position if the
6094     current window is an edit control.
6095     * wptKeyEditDlg.cpp (keyedit_dlg_proc): Add code for the 'adduid'
6096     stuff.
6097     * wptKeyEditAddUidDlg.cpp: New. (keyedit_adduid_dlg_proc): Code to
6098     create a new user id for a GPG key.
6099    
6100     2001-04-26 Timo Schulz <[email protected]>
6101    
6102     * wptKeyEditDlg.cpp (keyedit_dlg_proc): New. Dialog for the various
6103     edit-key commands.
6104     * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Add the button for the edit
6105     key code.
6106    
6107     2001-04-25 Timo Schulz <[email protected]>
6108    
6109     * wptKeySignDlg.cpp (keysign_dlg_proc): Now we use a new GPGME
6110     callback system to pass the keyedit information to GPG.
6111     * wptKeyTrustDlg.cpp (keytrust_dlg_proc): Ditto.
6112    
6113     2001-04-24 Timo Schulz <[email protected]>
6114    
6115     * wptEncryptDlg.cpp (encrypt_dlg_proc): Release the static listview
6116     item and set it to zero.
6117     * wptSignDlg.cpp (sign_dlg_proc): Ditto.
6118     * wptSignEncDlg.cpp (sign_encrypt_dlg_proc): Ditto.
6119     * wptVerifyDlg.cpp (verify_dlg_proc): Ditto.
6120     * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Ditto.
6121     (keymisc_dlg_proc): Provide the functionality to delete key pairs
6122     secret+public.
6123     * wptWndHook.cpp (is_winpt_wnd): Remove this function and put
6124     all code into (check_wnd).
6125     (check_wnd): Check if the window doesn't is a application related
6126     window.
6127    
6128     2001-04-23 Timo Schulz <[email protected]>
6129    
6130     * wptFindWnd.cpp (find_child_wnd_proc): Removed. This functionality
6131     is not needed because all dialog windows are top level windows.
6132    
6133     2001-04-22 Timo Schulz <[email protected]>
6134    
6135     * wptGPG.cpp (check_last_gpg_access): Reset switch before testing
6136     the condition.
6137     * wptFindWnd.cpp (find_child_wnd_proc): New. Callback to enumerate
6138     all children windows.
6139     (find_parent_wnd_proc): New. Callback to enumerate all parent windows.
6140     (find_window): New. Return if the specified windows as found.
6141     * wptW32API.cpp: (dialog_box_param): New. Alias with the additional
6142     feature to check if the dialog already exist (and then preventing
6143     the creation).
6144     * wptMainProc.cpp (wpt_main_proc): Replace all DialogBoxParam with
6145     then new dialog_box_param function. Thanks to Martin who told me
6146     about this dialog problem.
6147     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Ditto.
6148     * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Ditto. Add translation for the
6149     new signature buttons.
6150    
6151     2001-04-21 Timo Schulz <[email protected]>
6152    
6153     * wptWndHook.cpp (install_cbt_hook): Remove the thread because the
6154     system already is into a DLL.
6155     * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Remove checkbutton and use
6156     instead of it a button to check the key signatures.
6157     * wptGPG.cpp (get_last_gpg_access): New. Retrieve the file timestamp
6158     from the given gpg object.
6159     (check_last_gpg_access): New. Compare the last file timestamp with the
6160     new timestamp.
6161     (init_gpg_table): New. Initialize the table with gpg objects who shall
6162     be watched.
6163     (keyring_check_last_access): Use the new code.
6164     * wptCurrWnd.cpp (set_window_contents): Restore the window if it is
6165     now iconic.
6166     * wptMainProc.cpp (wpt_main_proc): Add decrypt/verify for the
6167     current window stuff.
6168    
6169     2001-04-17 Timo Schulz <[email protected]>
6170    
6171     * wptWndHook.cpp (is_taskbar_wnd): New. Alias to check if the window
6172     belongs to the taskbar area.
6173     (is_winpt_wnd): New. Alias to check if the window belongs to WinPT.
6174     (cbt_proc): Change code to include both functions.
6175     * wptCurrWnd.cpp (get_window_contents): Add switch if we use the
6176     foreground or the CBT window.
6177     * wptMainProc.cpp (wpt_main_proc): All hotkey operations for the
6178     current window mode set the no_cbt variable.
6179     * wptGPG.cpp (keyring_check_last_access): New. Check if the keyring
6180     was modified by an external program.
6181     * wptKeyMiscDlg.cpp: (keymisc_dlg_proc): Now check for external
6182     keyring changes.
6183    
6184     2001-04-16 Timo Schulz <[email protected]>
6185    
6186     * wptWndHook,cpp (cbt_proc): Compare process ids to differ between
6187     WinPT and normal windows.
6188     (install_cbt_hook): Add pid to the context.
6189    
6190     2001-04-14 Timo Schulz <[email protected]>
6191    
6192     * wptCurrWnd.cpp: (get_window_contents): Add an event to switch
6193     the windows. This is needed by the current code.
6194     (set_window_contents): Ditto.
6195     * wptWndSwitchDlg.cpp: (wndswitch_dlg_proc): Create a hidden dialog
6196     and force it to the foreground. This is the event needed by the code
6197     above.
6198     (create_wndswitch_event): Execute the dialog.
6199     * wptMainProc.cpp: (wpt_main_proc): Add new links in the hotkey
6200     section. Add message entries for the code.
6201     * wptW32API.cpp: (copy_window_to_clip): Moved to the into the OE
6202     mailer code.
6203     (insert_window_from_clip): Ditto.
6204     * wptMailPlugin.cpp: (oe_set_message): Insert the new code and add
6205     the event to switch the windows.
6206     (oe_get_message): Ditto.
6207    
6208     2001-04-13 Timo Schulz <[email protected]>
6209    
6210     * wptMailPlugin.cpp: (oe_set_message): Change the id's for
6211     the attach_thread_input.
6212     (oe_get_message): Ditto.
6213     * wptCurrWnd.cpp: (get_window_contents): Ditto.
6214     (set_window_contents): Ditto.
6215    
6216     2001-04-12 Timo Schulz <[email protected]>
6217    
6218     * wptHotkeys.cpp: (register_single_hotkey): Add code for the current
6219     window stuff.
6220     * wptMainProc.cpp: (wpt_main_proc): WM_HOTKEY. Add the current window
6221     hotkeys.
6222     * wptW32API.cpp: (attach_thread_input): Split up the functions into
6223     two parts. The attach flags is always set.
6224     (detach_thread_input): See above. The attach flags is never set.
6225     * wptCurrWnd.cpp: New. Code for the current window stuff.
6226     (get_window_contents): Extract the text from the given window to
6227     the clipboard.
6228     (set_window_contents): Insert clipboard into the given window.
6229    
6230     2001-04-09 Timo Schulz <[email protected]>
6231    
6232     * wptGPG.cpp: (check_line): Ignore empty lines.
6233     (check_gpg_options): Ditto.
6234    
6235     2001-04-09 Timo Schulz <[email protected]>
6236    
6237     * wptClipboard.cpp: (clip_get_pgp_type): New. Return the PGP packet
6238     type. Kludge for decrypt/verify.
6239     * wptMainProc.cpp: (wpt_main_proc): Remove verify and put the
6240     code into the decrypt routine.
6241     * wptClipImportDlg.cpp: (clip_import_dlg_proc): New button to start
6242     the key management after import.
6243    
6244     2001-04-07 Timo Schulz <[email protected]>
6245    
6246     * wptAgent.cpp: (agent_new): Rename to agent_init and modify source.
6247     (agent_destroy): Ditto.
6248     (agent_passphrase_cache): Ditto.
6249     (agent_passphrase_remove): Ditto.
6250     (agent_passphrase_get): Ditto.
6251    
6252     2001-04-06 Timo Schulz <[email protected]>
6253    
6254     * wptGPG.cpp: (check_gpg_path): Fix a small error.
6255     * WinPT.cpp: (WinMain): Add a dialog for the possibity that it's the
6256     first time a user started WinPT.
6257     * wptClipboard.cpp: (clip_isalready_secured): Check the begin and
6258     end PGP header.
6259    
6260     2001-04-06 Timo Schulz <[email protected]>
6261    
6262     * wptOwnertrustDlg.cpp: New. (ownertrust_dlg_proc): New.
6263     * wptKeyTrustDlg.cpp: (key_trust_dlg_proc): Add new button for the
6264     ownertrust dialog.
6265    
6266     2001-04-04 Timo Schulz <[email protected]>
6267    
6268     * wptClipDecryptDlg.cpp (passphrase_callback_proc): Remove the static
6269     passphrase. Now a callback context is used.
6270     (passphrase_cb): Ditto.
6271     (clip_decrypt_dlg): Ditto.
6272     * wptWndHook.cpp (cbt_thread): New. Thread to enable CBT hook.
6273     (install_cbt_hook): Modify for the new thread model.
6274     (remove_cbt_hook): Ditto.
6275     * wptW32API.cpp: (init_crtical_section): New. Make the code MT safe.
6276     (delete_critical_section): Ditto.
6277     (lock): Ditto.
6278     (unlock): Ditto.
6279    
6280     2001-04-02 Timo Schulz <[email protected]>
6281    
6282     * WinPT.cpp: (set_gpgme_debug_env): New: Set the environment variable.
6283     * wptClipSignDlg.cpp: (clip_sign_dlg_proc): Now the keylist widget only
6284     contains valid keys.
6285     * wptClipEncryptDlg.cpp: (clip_encrypt_dlg_proc): Ditto.
6286    
6287     2001-03-31 Timo Schulz <[email protected]>
6288    
6289     * wptClipSignDlg.cpp: (clip_sign_dlg_proc): If no key was choosen,
6290     the GPG default key will be used.
6291    
6292     2001-03-30 Timo Schulz <[email protected]>
6293    
6294     * wptW32API.cpp: (new_strdup): Remove.
6295     * wptW32API.h: Ditto.
6296     * wptWndHook.cpp: (get_cbt_curr_wnd): Return the current window.
6297     * wptKeygenDlg.cpp: (clear_dlg_fields): New: Clear all text fields.
6298    
6299     2001-03-28 Timo Schulz <[email protected]>
6300    
6301     * wptClipEncryptDlg.cpp: (clip_encrypt_dlg_proc):
6302     Added the keyid to the "no trust" message.
6303     * wptKeyserverDlg.cpp: (check_pattern): New:
6304     Do some sanity checks of the search pattern.
6305     * wptMainProc.cpp: (wpt_main_proc): Add agent support.
6306     * wptHotkey.cpp: Add agent support.
6307    
6308     2001-03-21 Timo Schulz <[email protected]>
6309    
6310     * WinPT.cpp: (WinMain): Re-activate the enable debug switch.
6311     * wptKeylist.cpp: (keylist_add_key): Ignore invalid keys.
6312    
6313     2001-03-20 Timo Schulz <[email protected]>
6314    
6315     * wptClipDecryptDlg.cpp: Rewrote
6316    
6317     2001-03-19 Timo Schulz <[email protected]>
6318    
6319     * wptVerifyList.cpp: New control for the verify dialog.
6320     * wptClipVerifyDlg.cpp: Rewrote
6321    
6322     2001-03-18 Timo Schulz <[email protected]>
6323    
6324     * wptClipVerifyDlg.cpp: New: stub for further verify dialogs.
6325     * wptAgent.cpp: New: Experimental passphrase caching.
6326    
6327     2001-03-16 Timo Schulz <[email protected]>
6328    
6329     * wptDlgs.h: Add new dialog callback function.
6330     * wptKeysigDlg.cpp: New. Key signature listing dialog.
6331    
6332     2001-03-15 Timo Schulz <[email protected]>
6333    
6334     * wptClipEncryptDlg.cpp: Fix translation.
6335     * wptKeygenDlg.cpp: Fix the names of the button (avoid confused users).
6336     * wptKeymiscDlg.cpp: Fix the key deleting stuff.
6337    
6338     2001-02-27 Timo Schulz <[email protected]>
6339    
6340     * wptKeylistWidget.cpp: New. Implementation of a W32 keylist control.
6341     * wptClipKeytrustDlg.cpp: Index was counted from 0 (should be from 1):
6342     Fixed.
6343    
6344     2001-02-25 Timo Schulz <[email protected]>
6345    
6346     * wptGPGPrefsDlg.cpp: Add some new translation strings.
6347     * wptKeyGenDlg.cpp: Add all dialog text to the NLS suite.
6348     * wptMainProc.cpp, wptClipDecryptDlg.cpp: Change to new packet parser.
6349     * wptClipImportDlg.cpp: Finished basic interface.
6350    
6351     2001-02-24 Timo Schulz <[email protected]>
6352    
6353     * wptGPG.cpp: (check_gpg_path): Fix a bug.
6354     (check_gpg_options): Fix some bugs.
6355    
6356     2001-02-22 Timo Schulz <[email protected]>
6357    
6358     * wptGPG.cpp: (check_line): New. Check if the line contains a valid
6359     gpg argument.
6360     (check_gpg_options): New. Parses each buffer line to check_line().
6361    
6362     2001-02-21 Timo Schulz <[email protected]>
6363    
6364     * wptGPG.cpp: Fix the check_gpg_optfile() code.
6365     (gpg_errstr): Define some error constants to be more verbose.
6366     (set_gpg_options): New. Manipulate the options file.
6367     (get_gpg_options): New. Read in the options file.
6368     * wptFile.cpp: (get_file_size): New.
6369     * wptGPGOptDlg.cpp: New. Dialog for editing the options file
6370    
6371     2001-02-20 Timo Schulz <[email protected]>
6372    
6373     * wptGPGPrefsDlg.cpp: Add some sanity checks for the value.
6374     * wptClipImportDlg.cpp: Add some new code.
6375    
6376     2001-02-19 Timo Schulz <[email protected]>
6377    
6378     * wptRegistry.cpp: (is_installed): Remove.
6379     (regist_inst_winpt): Add selfcheck.
6380     (regist_inst_gpg): New. Add gpg releated registry entries.
6381     (regist_inst_mo): New. Add nls related path.
6382     (get_reg_entry), set_reg_entry(): Modify to be more flexible.
6383     (set_reg_entry_gpg): Handy functions for get_reg_entry.
6384     (set_reg_entry_mo): Ditto.
6385     (get_reg_entry_gpg): Ditto.
6386     (get_reg_entry_mo(): Ditto.
6387     * wptGPGPrefsDlg.cpp, wptNLS.cpp: Add support for the locale environment.
6388     * wptGPG.cpp: (check_gpg_optfile): Figure out if the option file.
6389     include keyring entries (2x)
6390     (check_gpg_path): Include the check_gpg_optfile() check.
6391    
6392     2001-02-17 Timo Schulz <[email protected]>
6393    
6394     * wptRegistry.cpp: (get_reg_entry): Return the GnuPG homedir from
6395     the registry.
6396     (set_reg_entry): Set a gnupg registry key.
6397     * wptGPG.cpp: Modify all function for the use with get_reg_entry().
6398     * WinPT.cpp: Change the way for the gpg searching mechanism.
6399     * wptGPGPrefsDlg.cpp: New dialog for dynamic GPG configuration.
6400     * wptClipImportDlg.cpp: (key import dialog): New.
6401     * wptKeylistElement.cpp:
6402     (wpt_lv_implist_build): Build up the key import list.
6403     (wpt_lv_implist_add_key): Insert a key into the import list.
6404     (wpt_lv_implist_dummy): Dummy to build up a box with a fixed size.
6405    
6406     2001-02-10 Timo Schulz <[email protected]>
6407    
6408     * wptMainProc.cpp: Move ctb_proc and hotkey inits to this file.
6409     * wptKeylistElement.cpp: New.
6410     * wptListElement.cpp: Remove.
6411     * wptW32API.cpp: Insert all lv_*** functions.
6412     * wptKeylistElement.cpp: (wpt_lv_keylist_release_key): New.
6413     (wpt_lv_keylist_release_keys): Ditto.
6414     * wptW32API.cpp: (w32_get_thread_id): New.
6415     (w32_attach_thread_input): New.
6416     * wptMailPlugin.cpp: (oe_get_message): Add thread attach mechanism.
6417     (oe_get_message): Add thread attach mechanism.
6418     (oe_encrypt): Modify for the attach treach mechanism.
6419     Add sanity check for recipients.
6420    
6421     2001-02-07 Timo Schulz <[email protected]>
6422    
6423     * wptClipEditDlg.cpp: (clip_edit_dlg_proc): Add some sanity checks.
6424     * wptExportDlg.cpp: (clip_export_dlg_proc): Ditto.
6425    
6426     2001-02-04 Timo Schulz <[email protected]>
6427    
6428     * wptSignDlg.cpp: (wpt_sign_proc): Add secret key listing.
6429     * wptMainProc.cpp: (wpt_main_proc):
6430     Remove ciphertext checks for signing and encrypting.
6431     (allow double encryption).
6432    
6433     2001-02-03 Timo Schulz <[email protected]>
6434    
6435     * wptMailPlugin.cpp: (oe_find_msg_window): Fix window handles.
6436     (oe_find_addr_window): Ditto.
6437     (oe_find_main_window): Ditto.
6438    
6439     2001-02-02 Timo Schulz <[email protected]>
6440    
6441     * wptW32API.cpp: (w32_hit_key): New.
6442     (w32_rel_key): New.
6443     (w32_copy_to_clip): New.
6444     (w32_insert_from_clip): New.
6445     (w32_get_clip_text): New.
6446     (w32_set_clip_text: New.
6447     (w32_show_if_icon): New.
6448    
6449     2001-02-01 Timo Schulz <[email protected]>
6450    
6451     * wptW32API.cpp: (w32_get_edit_text): New.
6452     (w32_set_menu_text): New.
6453     (w32_strdup): New.
6454     * wptMailPlugin.cpp: (oe_***): New. Basic OE interface.
6455     * Create all dialogs windows in the foreground.
6456    
6457     2001-01-31 Timo Schulz <[email protected]>
6458    
6459     * wptKeygenDlg.cpp: (wpt_keygen_proc): Passphrase sanity check.
6460     * wptW32API.cpp: New.
6461     * WinPT.cpp: (WinMain): Change the keyring checking code.
6462    
6463     2001-01-29 Timo Schulz <[email protected]>
6464    
6465     * wptClipboard.cpp: (clip_is_already_secure):
6466     Modify the pgp data detection.
6467    
6468     2001-01-28 Timo Schulz <[email protected]>
6469    
6470     * wptHotkey.cpp: (register_hotkey): Hotkey registration.
6471     (unregister_hotkey): Hotkey removing.
6472     * wptHokey.h: New.
6473     * wptWndHook.cpp:
6474     (wpt_cpt_proc): Window hook to save the current windows.
6475     * wptWndHoo.h: New.
6476     * wptMainProc.cpp: (wpt_main_proc): Add hotkey messages.
6477     * WinPT.cpp: (WinMain): Add hotkey registration.
6478    
6479     2001-01-21 Timo Schulz <[email protected]>
6480    
6481     * wptNLS.cpp: ported to C++.
6482     (gettext): Remove CP850 to ISO88591 conversation.
6483    

Properties

Name Value
svn:eol-style native

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26