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

Annotation of /trunk/Src/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 432 - (hide annotations)
Mon Apr 9 14:13:10 2012 UTC (12 years, 10 months ago) by twoaday
File size: 243061 byte(s)
2012-04-09  Timo Schulz  <twoaday@gmx.net>

        * wptKeylist.cpp (keylist_build): New icon for
	expired public keys.
		

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

Properties

Name Value
svn:eol-style native

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26