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

Diff of /trunk/Src/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 20 by twoaday, Wed Jul 27 11:17:22 2005 UTC revision 366 by twoaday, Tue Dec 6 12:32:08 2011 UTC
# Line 1  Line 1 
1  2005-07-22  Timo Schulz  <[email protected]>  2011-12-06  Timo Schulz  <[email protected]>
2    
3          * wptMainProc.cpp (winpt_main_proc): Take care for shutdown          * wptKeyPropsDlg.cpp (on_init_dialog): Extra hint in
4          messages and make sure WinPT make a keyring backup in this case.          the title that the key has been revoked.
5          * wptGPGME.cpp (keycache_reload): Do not rebuild the signature          * wptKeyManagerDlg.cpp (keymanger_dlg_proc): Redraw
6          cache each time. Just do it on startup.          list view in case a modal client dialog has been closed.
7          * wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION.          
8          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag  2011-12-04  Timo Schulz  <[email protected]>
9          was set by the calling function.  
10          * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups.          * WinPT.cpp (get_file_version): New.
11          (keygen_dlg_proc): Only add the generated key to the keycache          Improved error handling.
12          and do not reload the entire cache.  
13          * wptKeyManager.cpp (km_delete_keys): Store the number of keys  2011-12-01  Timo Schulz  <[email protected]>
14          because in each loop iteration it will be new calculated.  
15          * wptListView.cpp (listview_del_items): Likewise.         * wptGroupsDlg.cpp: Removed.
16          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the         * wptGroupManager.cpp: Likewise.
17          generated key to the list instead of reloading the entire cache.         * wptKeyTrustPathDlg.cpp: Removed.
18          * wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn.        
19    2011-11-30  Timo Schulz  <[email protected]>
20    
21           * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Adjusted
22           positions for GPG menu entries.
23          
24    2011-11-25  Timo Schulz  <[email protected]>
25    
26            * WinPT.cpp (check_os_version): New. Separated
27            function to check the OS verson.
28            Removed emulate utf8 bug legacy code.
29            * wptKeygenDlg.cpp (gpg_genkey_params): Use the bits
30            also for the primary key since we are now supporting DSAv2.
31            (keygen_wizard_dlg_proc): Adjusted for DSAv2.
32            * wptKeyEditDlgs.cpp (is_jpg_file): Modernized.
33            (keyedit_addsubkey_dlg_proc): Removed 1024-bit DSA check
34            and rewrote index to gpg menu mapping. Fixed wrong text label.
35            * wptProxySettingsDlg.cpp (keyserver_proxy_dlg_proc): Use balloon
36            error boxes.
37    
38            * Integrated patches from Remi FAVIER.
39            
40    2007-08-03  Timo Schulz  <[email protected]>
41    
42            * wptMainproc.cpp (wpt_main_proc): A single click
43            with the mouse, left button, also shows the menu.
44            * wptKeyEdit.cpp (uid_inf_colon_handler): uid is always
45            allocated and thus remove the additional check before free().
46    
47            
48    2007-05-25  Timo Schulz  <[email protected]>
49    
50            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Issue a warning
51            if the gpgProgram entry will be modified. Suggested by Werner.
52    
53    2007-03-23  Timo Schulz  <[email protected]>
54    
55            * wptCardDlg.cpp (card_keygen_dlg_proc): Use dynamic
56            variables to avoid heap operations.
57            * wptKeyManager.cpp (km_http_import): Adjust the http class.
58    
59    2007-03-21  Timo Schulz  <[email protected]>
60    
61            * wptKeyManager.cpp (gpg_keylist_to_pattern): Return allocated
62            array of strings.
63            (km_clip_export): Really export all selected keys.
64            (km_file_export): Likewise.
65            
66    2007-03-17  Timo Schulz  <[email protected]>
67    
68            * wptErrors.cpp (debug_end): Reset FP pointer.
69            (printf_box): Fix buffer calculation.
70            * wptOwnertrustDlg.cpp (gpg_import_ownertrust): Actually
71            return the error.
72    
73    2007-03-13  Timo Schulz  <[email protected]>
74    
75            * wptGPG.cpp (gpg_check_file_permissions): New.
76            (my_access): Renamed to..
77            (check_file_access): ..this.
78    
79    2007-03-12  Timo Schulz  <[email protected]>
80            
81            * wptVerifyList.cpp (extract_filename): Simplified.
82            * wptKeyserverSearchDlg.cpp (fetch_keys): Avoid possible memory
83            leak for some error cases.
84    
85    2007-03-10  Timo Schulz  <[email protected]>
86    
87            * wptKeyserver.cpp (kserver_recvkey): Use StringBuffer to
88            avoid possible allocation problems.
89            (kserver_seararch_begin): Likewise.
90            (parse_pub_record): Double check fpr to key ID problem.
91            Noted by Mike Culbertson.
92    
93    2007-03-09  Timo Schulz  <[email protected]>
94    
95            * wptClipImportDlg.cpp (print_import_status): Use the fingerprint
96            instead of the key ID to avoid problems with v3 keys.
97            * wptClipDecryptDlg.cpp (verify_get_clip_info): Use key ID
98            in case of v3 keys. Noted by Raphael
99            (verify_show_signature_state): Likewise.
100            * wptVerifyList.cpp (verlist_add_sig_log): Likewise.
101            (verlist_add_sig): Likewise.
102              
103    2006-12-30  Timo Schulz  <[email protected]>
104    
105            * StringBuffer.cpp (StringBuffer): New.
106            * wptPassphraseDlg.cpp (set_passphrase_hint): Replace error prone
107            sprintf code with the new string buffer implementation.
108            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
109    
110    2006-12-28  Timo Schulz  <[email protected]>
111    
112            * wptKeylist.cpp (get_key_desc): Avoid possible overflow.
113            * wptW32API.cpp (get_locale_time): New.
114            (get_locale_timedate): New.
115            * wptVerifyList.cpp (strtimestamp): Deleted. Changed all
116            callers to get_locale_timedate.
117            * wptMainProc.cpp (winpt_main_proc): Cleanup gettext resources.
118            * wptNLS.cpp (gettext_free_current_domain): New.
119            (gettext_set_file): Removed all '/' code.
120            * wptPassphraseCb.cpp (passphrase_callback_proc): Make sprintf
121            code more robust.
122    
123    2006-12-21  Timo Schulz  <[email protected]>
124    
125            * wptCryptDisk.cpp, wptCryptDiskSrv.cpp: Deleted.
126            The Code will be possibly used in a separate project.
127    
128    2006-12-05  Timo Schulz  <[email protected]>
129    
130            * wptClipDecryptDlg.cpp (verify_get_clip_info): If
131            there is no pubkey available, issue a hint and not BUG.
132            
133    2006-12-02  Timo Schulz  <[email protected]>
134    
135            * WinPT-en.rc: Remove wipe free space menu item.
136            * wptRegistry.cpp (get_reg_winpt_prefs): Remove wipemode.
137            * wptFileManageRDlg.cpp (file_secdel_confirm_dlg_proc):
138            Allow to set the passes here.
139            * wptFileManager.cpp (fm_encrypt): change all callers
140            for the wipe functions.
141            * wptListview.cpp (listview_sort_items): Extract code
142            to change the column image.
143            * wptKeylist.cpp (key_get_image_id): New.
144            (keylist_build): Change return type and all callers.
145            * wptGPG.cpp (gnupg_load_config): Kludge to detect
146            the 'textmode' option.
147            * wptPassCache.cpp (wipe_data): replaced with wipememory().    
148    
149    2006-11-12  Timo Schulz  <[email protected]>
150    
151            * wptGPG.cpp (check_gnupg_options): Fix sizeof != DIM problem.
152            * wptGPGOptDlg.cpp (gpg_opt_dlg_proc): Better checks to
153            avoid invalid gpg.conf entries.
154            Thanks to Ralf Latz.
155            
156    2006-11-04  Timo Schulz  <[email protected]>
157    
158            * wptW32API.cpp (set_clip_text2): Make sure enough memory
159            will be allocated.
160            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Delete list
161            view entries for none existing files.
162            * wptKeySignDlg.cpp (keysign_dlg_proc): Simplified.
163            * wptClipboard.cpp (gpg_data_change_version): Be more liberal.
164            * wptKeyserver.cpp (parse_pub_record): Convert FPR entries
165            into KEYID entries.
166            * wptGPG.cpp (gnupg_backup_keyrings): Release memory in case
167            of errors.
168            (get_backup_name): Use constant formant spec.
169            (extract_keyid): Simplified.
170            * wptKeyserver.cpp (kserver_connect): Return proxy error if
171            approriate.
172            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Correct memory
173            handling to avoid possible segfaults.
174            (fetch_key_from_keyserver): Real error handling.
175            * wptFileManager.cpp (fm_gpg_verify): New.
176            (fm_verify): Support to fetch key here to avoid problems later.
177            * wptFileCBS.cpp (file_data_rewind): New.
178            
179            
180    2006-10-27  Timo Schulz  <[email protected]>
181    
182            * wptGPG.cpp (get_backup_name): Make sure enough memory
183            will be allocated.
184            (gnupg_backup_keyrings): Release memory in case of errors.
185            
186    2006-10-21  Timo Schulz  <[email protected]>
187    
188            * wptKeyserver.cpp (get_reg_proxy_prefs): Load the protocol
189            and store it.
190            * wptKeyCache.cpp (parse_attr_data): Avoid zombie temp files.
191            
192    2006-10-04  Timo Schulz  <[email protected]>
193    
194            * wptFileManager.cpp (fm_check_armor_type): Remove space in
195            search pattern string.
196            (fm_check_for_entry): Case insentensive search.
197            (fm_add_dir_files): Use W32 API directly.
198            * wptVerifyList.cpp (verlist_add_sig_log): Use proper icon.
199            * wptGPGUtil.cpp (get_gpg_version): Cleanups.
200            
201    2006-08-30  Timo Schulz  <[email protected]>
202    
203            * wptRegistry.cpp (get_reg_entry): Do not use static buffers.
204            * wptKeyserverDlg.cpp (add_pattern_to_combox): New.
205            (save_pattern_from_combox): New.
206            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Solve icon problem.
207            * wptGPGMEWrapper.c (importFromBuffer): New.
208            * WinPT.cpp (check_crypto_engine): Only enable PC/SC when the
209            system really has smart card services enabled.
210            * wptKeyManger.cpp (km_http_import): Stricter error checking.
211            * wptFileManager.cpp (fm_send_file): Use at least MAX_PATH
212            for the file name.
213            
214    2006-08-24  Timo Schulz  <[email protected]>
215    
216            * wptHTTP.cpp (extraHostInfo): Handle case when no doc were given.
217            (get): Better error handling.
218            (head): Likewise.
219            * wptGPGME.cpp (sigsum_to_index): Just map the index without
220            any checks.
221            * wptCommonDlg.cpp (check_URL): Be more strict.
222            
223    2006-08-11  Timo Schulz  <[email protected]>
224    
225            * wptGPGMEWrapper.cpp (importFromFile): New.
226            (importFromClipboard): New.
227            (importGetResult): New.
228            * wptKeyManager.cpp (km_file_import): Use gpgme wrapper.
229            (km_clip_import): Ditto.
230            * wptKeyEdit.cpp (addCardKey): New.
231            * wptKeyEditCB.cpp (cmd_addcardkey_handler): New.
232            * wptCardEdit.cpp (get_str_timestamp): Use locale date format.
233            * wptCardDlg.cpp (card_edit_dlg_proc): Began to localize dialog.
234            * wptKeyCache.cpp (key_divert_to_card): Adjusted for 'addcardkey'.
235            
236    2006-08-10  Timo Schulz  <[email protected]>
237    
238            * wptFileManager.cpp (fm_verify_pasted_detsig): '=' should be
239            '=='.
240            * wptGPGME.cpp (sigsum_to_index): Correctly handle expired
241            keys and signatures.
242            (get_gpg_sigstat): Adjusted code.
243            * wptCardDlg.cpp (card_changepin_dlg_proc): Cleanups.
244            (gpg_card_load): Improved card detection code.
245            * wptFirstRunDlg.cpp (first_run_dlg_proc): Allow to generate
246            a key on a card. Suggested by Achim.
247            * wptUtil.cpp (check_email_address): Add sanity check for
248            the length.
249            * WinPT.cpp (WinMain): Handle cardgen request.
250            
251    2006-08-04  Timo Schulz  <[email protected]>
252    
253            * wptKeysignDlg.cpp (display_keyinfo): Skip revoked user IDs.
254            * wptKeyManagerDlg.cpp (reload_keylist): Use updated ptr.
255            * wptKeyCache.cpp (gpg_keycache_delete_key): Correct handling
256            for the situation that the last key in the cache is deleted.
257            * wptFileManagerDlg.cpp (update_ui_items): Fix file name
258            detection.
259            
260    2006-08-02  Timo Schulz  <[email protected]>
261    
262            * wptClipDecryptDlg.cpp (verify_get_clip_info): Fix problem
263            with static data.
264            (clip_decrypt_dlg_proc): Prefix keyid with 0x.
265            (get_key_userid): Fix problem when key was not found.
266            * wptClipVerifyDlg.cpp (fetch_key_from_keyserver): Correct
267            fingerprint to short keyid conversion.
268            * wptVerifyList.cpp (verlist_set_additional_info): Handle bad
269            sigs.
270            * wptKeyManagerDlg.cpp (update_status_bar): Faster update code.
271            
272            
273    2006-08-01  Timo Schulz  <[email protected]>
274    
275            * wptGPG.cpp (get_last_gnupg_access): Enhanced.
276            (gnupg_display_error): Removed unused code.
277            * wptPassphraseCB.cpp (parse_gpg_description): Text output
278            is now more human readable.
279            * wptKeyManager.cpp (km_refresh_from_keyserver): Return an
280            error code in all cases.
281            
282    2006-07-31  Timo Schulz  <[email protected]>
283    
284            * wptMainProc.cpp (clip_gpg_dlg): Merge in the current window
285            handling code.
286            * wptCurrWnd.cpp (wnd_msg_em_set_pos): Reset pos to 0, not 1.
287            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Disable sorting
288            for list view controls.
289            
290    2006-07-30  Timo Schulz  <[email protected]>
291    
292            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Change menu style.
293            * wptKeySignDlg.cpp (keysign_dlg_proc): List all user IDs.
294            (display_keyinfo): New.
295            * wptKeySigDlg.cpp (init_datepicker_from_time): New.
296            (keysig_dlg_proc): List creation time.
297            * wptKeyManager.cpp (km_send_to_mail_recipient): Fix file
298            handling.
299            
300    2006-07-28  Timo Schulz  <[email protected]>
301    
302            * wptKeyManager.cpp (lv_del_confirmed_keys): New.
303            * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Automatically
304            adjust key size.
305            * wptKeygenDlg.cpp (keygend_dlg_proc): Likewise.
306            
307    2006-07-25  Timo Schulz  <[email protected]>
308    
309            Applied spelling corrections from Anthony Bryan.
310            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Changed design.
311            * wptKeygenDlg.cpp (backup_keyrings): Change default keyring.
312            
313    2006-07-22  Timo Schulz  <[email protected]>
314    
315            * wptMainProc.cpp (elgamal_warn_dlg_proc): Properly handle
316            utf8 encoded user ids.
317            (winpt_main_proc): Cleanups.
318            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Allow to copy
319            email address to the clipboard.
320            
321    2006-07-15  Timo Schulz  <[email protected]>
322    
323            * WinPT.cpp (WinMain): Compare PTD and WinPT version to avoid
324            any compatibility problems.
325            * wptW32API.cpp (get_file_version): Cleanups.
326            
327    2006-07-10  Timo Schulz  <[email protected]>
328    
329            * wptUtil.cpp (check_file_name): New.
330            * wptKeyRevokeDlg.cpp (mk_cert_name): Avoid illegal chars.
331            (key_revoke_dlg_proc): Likewise.
332            * wptMDSumDlg.cpp (mdsum_dlg_proc): Corrected file handling.
333            * wptImportList.cpp (implist_load): Likewise.
334            * wptFileSaveDlg.cpp (file_save_dlg_proc): Likewise.
335            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Hide dialog item.
336            
337    2006-07-05  Timo Schulz  <[email protected]>
338    
339            * wptMainProc.cpp (winpt_main_proc): Change menu texts.
340            * wptClipEditDlg.cpp (clip_edit_dlg_proc): More lightweight
341            with a menu instead of dozen of buttons.
342            
343    2006-07-01  Timo Schulz  <[email protected]>
344    
345            * wptFileManager.cpp (fm_sort): Rewritten.
346            (fm_build): Modify param type. Change all callers.
347            (fm_cmp_cb): Adjusted for the new code.
348            * wptMDSumDlg.cpp (mdsum_dlg_proc): Minor changes and model
349            for the list view.
350            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Use info
351            context and model for the list view.
352            (update_status_bar): Fix calculation of the size of the
353            selected files.
354            * wptProgressDlg.cpp (wait_for_progress_cb): Changed semantic
355            and return type.
356            
357    2006-06-28  Timo Schulz  <[email protected]>
358    
359            * wptGPGPrefsDlg.cpp (load_gpg4win_values): Fix control logic
360            and memory leak.
361            * wptListView.cpp (listview_find_substr): New.
362            (listview_sort_items): Use symbolic ids.
363            * wptKeyManager.cpp (km_find_key): Allow substring search.
364            
365    2006-06-27  Timo Schulz  <[email protected]>
366    
367            * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Also call viewer
368            when no sig has been found (if requested).
369            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Use a button to
370            quote instead of the check box. Cleanups.
371            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Correct
372            sorting problem and wrong icon display.
373            * wptListView.cpp (listview_sort_items): Correct code for
374            checkbox based lists.
375            * wptKeylist.cpp (keylist_build): Add sorting icons.
376            * wptKeyEditDlgs.cpp (create_header_tooltip): New.
377            
378    2006-06-24  Timo Schulz  <[email protected]>
379    
380            * wptMainProc.cpp (winpt_main_proc): Localize missing string.
381            * wptKeyEditDlgs.cpp (do_add_new_subkey): Better fpr to keyid
382            conversion.
383            (subkey_list_init): Simplified.
384            
385    2006-06-22  Timo Schulz  <[email protected]>
386    
387            * WinPT-en.rc: Include versioninfo.rc to generate
388            the version info automatically.
389            
390    2006-06-19  Timo Schulz  <[email protected]>
391    
392            * wptClipDecryptDlg.cpp (verify_get_clip_info): Improved
393            format of the sig info text.
394            * wptKeyserver.cpp (check_hkp_response): Invert error logic.
395            * wptKeyserverDlg.cpp (keyserver_recv_key): Corrected error
396            handling.
397            * wptPassphraseDlg.cpp (request_key_passphrase): Return
398            utf8 encoded passphrase.
399            
400    2006-06-18  Timo Schulz  <[email protected]>
401    
402            * wptKeygenDlg.cpp (keygen_dlg_proc): Fix typo.
403            * wptClipDecryptDlg.cpp (verify_get_clip_info): New.
404            (verify_get_key_ownertrust): New.
405            (clip_decrypt_dlg_proc): New argument. Change all callers.
406            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Handle the case
407            that the dialog was called with a param.
408            * wptMainProc.cpp (winpt_main_proc): Wait for thread in
409            case of dbl-click.
410            
411    2006-06-16  Timo Schulz  <[email protected]>
412    
413            * wptProgressDlg.cpp (wait_for_progress_cb): New.
414            * wptMainProc.cpp (winpt_main_proc): Use this function
415            to disallow to access the cache during synchronisation.
416            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
417            * wptKeyserver.cpp (check_hkp_response): Improved text
418            extraction.
419            (parse_keyserver_error): New.
420            * wptPassphraseDlg.cpp (request_passphrase): Support utf8
421            encoding.
422            * wptKeyEditDlgs.cpp (keyedit_change_passwd): Warn if passhrase
423            needs to be utf8 encoded but still allow it.
424            * wptPassphraseCBDlg.cpp (passphrase_callback_proc): Utf8 support.
425            * wptKeygenDlg.cpp (keygen_dlg_proc): Likewise.
426            * wptKeyRevokeDlg.cpp (keyrevoke_dlg_proc): Likewise.
427            
428    2006-06-15  Timo Schulz  <[email protected]>
429    
430            * wptVerList.cpp (verlist_build): Use icons.
431            (verlist_add_sig): Set image number according to sig state.
432            
433    2006-06-14  Timo Schulz  <[email protected]>
434    
435            * wptAboutDlgs.cpp (about_winpt_dlg_proc): Translate
436            authors string here. Noted by Eduardo.
437            * wptSymEnc.cpp (gpg_clip_sym_encrypt): Check all return codes.
438            
439    2006-06-09  Timo Schulz  <[email protected]>
440    
441            * wptKeyEditDlgs.cpp (do_add_new_subkey): Properly handle
442            RSA_E and RSA_S.
443            * wptFileManager.cpp (fm_sym_encrypt): Better dialog title.
444            
445    2006-06-08  Timo Schulz  <[email protected]>
446    
447            * wptKeyserver.cpp (parse_keyserver_url): Handle special case.
448            * wptKeySignDlg.cpp (keysign_dlg_proc): Show photo if possible.
449            (showphoto_dlg_proc): New.
450            * wptKeyManagerDlg.cpp (restore_window_size): New.
451            (keymanager_dlg_proc): Restore original window size on startup.
452            (copy_key_info): Allow to copy multiple key items.
453            
454    2006-06-06  Timo Schulz  <[email protected]>
455    
456            * wptKeyEditCB.cpp (cmd_sign_handler): Return 0 by default
457            if no expire date were given.
458            
459    2006-06-05  Timo Schulz  <[email protected]>
460    
461            * wptPassphraseDlg.cpp (request_passphrase): Release mem
462            in case of errors.
463            (request_key_passphrase): New.
464            (set_passphrase_hint): New.
465            * wptKeyEditDlgs.cpp (do_editkey_sign_userid): Show passphrase
466            hint. Suggested by vedaal.
467            
468    2006-06-03  Timo Schulz  <[email protected]>
469    
470            * wptPINDlg.cpp (pin_dlg_proc): Remove static var.
471            * wptClipEncryptDlg.cpp (show_invalid_recipients): Handle
472            the case that 'encrypt-to' points to a non-existing item.
473            * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Do not close
474            the dialog if an error occurred.
475            * wptKeygenDlg.cpp (keygn_dlg_proc): Check expirate date.
476            * wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Release mem
477            in case of errors.
478            * wptKeyserverDlg.cpp (check_pattern): Improved code.
479            (keyserver_dlg_proc): All comparisons are case insentensive.
480            * wptKeyserver.cpp (parse_uid_record): utf8 decode user id.
481            
482    2006-06-02  Timo Schulz  <[email protected]>
483    
484            * wptKeygenDlg.cpp (keygen_dlg_proc): Forgot to apply patch.
485            
486    2006-06-01  Timo Schulz  <[email protected]>
487    
488            * wptKeyserver.cpp (check_URL): change semantic.
489            (skip_type_prefix): Use check_URL().
490            * wptGPG.cpp (gnupg_backup_keyrings): New argument to
491            include secret keyring backups. Change all callers.
492            * wptRegistry.cpp (get_reg_winpt_prefs): Support new option.
493            (set_reg_winpt_prefs): Likewise.
494            * wptPreferencesDlg.cpp (on_init_dialog): Adjust the code.
495            
496    2006-05-29  Timo Schulz  <[email protected]>
497    
498            * wptKeyserver.cpp (keyserver_set_default): Also set default port.
499    
500    2006-05-27  Timo Schulz  <[email protected]>
501    
502            * wptKeyEditDlgs.cpp (keyedit_change_passwd): Handle empty
503            passphrase requests.
504            * wptClipDecryptDlg.cpp (verify_show_signature_state): Modified
505            for global use.
506            * wptFileManager.cpp (fm_decrypt): Use it here.
507            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Simplified.
508            
509    2006-05-25  Timo Schulz  <[email protected]>
510    
511            * wptGPGUtil.cpp (gpg_rebuild_cache): Return error code.
512            * wptGPGME.cpp (winpt_get_seckey): Fix off-by-one bug.
513            * wptVerifyList.cpp (verlist_build): New argument type.
514            Change all callers.
515            (verlist_set_info_control): New.
516            (verlist_set_additional_info): New.
517            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Adjust code.
518            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise.
519            * wptFileCBS.cpp (read_cb, write_cb): Add logging.
520            
521    2006-05-23  Timo Schulz  <[email protected]>
522    
523            * wptKeyEditDlgs.cpp (do_add_new_userid): Fix re-introduced
524            problem.
525            (keyedit_main_dlg_proc): Popup menu for the user ID list
526            with common commands.
527            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Automatically
528            disable search for ldap servers.
529            Use subkeys.pgp.net by default when no server was selected.
530    
531    2006-05-22  Timo Schulz  <[email protected]>
532    
533            * wptRegistry.cpp (set_reg_winpt_prefs, get_reg_winpt_prefs):
534            Support for the new 'default ext' value.
535            * wptPreferencesDlg.cpp (on_init_dialog): Likewise.
536            (prefs_dlg_proc): Likewise.
537            * wptFileManager.cpp (file_get_extension): Likewise.
538            (get_output_file): Likewise.
539            (fm_export): Likewise.
540            
541    2006-05-20  Timo Schulz  <[email protected]>
542    
543            * wptKeyPropsDlg.cpp (keyprops_load_photo): avoid expensive
544            process call when no photo is available.
545            (keyprops_dlg_proc): avoid static data.
546            * wptFileManager.cpp (fm_add_sig_stat): Free memory in case
547            of on demand key requests.
548            (show_verify_result): Likewise.
549            (secret_key_available): Likewise.
550            (fm_decrypt, fm_sign): Handle the new on demand key request
551            mode and free all memory.
552            
553    2006-05-15  Timo Schulz  <[email protected]>
554    
555            * wptKeyEditDlgs.cpp (userid_list_init): Forgot to
556            apply patch. Thanks to vedaal.
557            
558    2006-05-14  Timo Schulz  <[email protected]>
559    
560            * wptKeyCache.cpp (gpg_keycache_update_attr): Parse
561            preferred keyserver URL.
562            * wptHTTP.cpp (extractHostInfo): Fix segv.
563            * wptGPGUtil.cpp (gpg_find_key_subpacket): Ignore default
564            gpg.conf.
565            * wptKeyserverSearchDlg.cpp (search_hkp_keys): Do not
566            assume an existing user id.
567            * wptPassphraseCB.cpp (passphrase_cb): Automatic cancel
568            if no passphrase is available.
569    
570    2006-05-13  Timo Schulz  <[email protected]>
571    
572            * wpMainProc.cpp (secret_key_available): Move it...
573            * wptGPGME.cpp: ..to this file.
574            (check_ultimate_trusted_key): Handle the case there
575            is no secret key available.
576            * wptFileManagerDlg.cpp (update_ui_items): Improved.
577            * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Deactive
578            some functions when no secret key is available.
579            * wptKeyserverSearchDlg.cpp (search_hkp_keys): Adjust
580            code and also display pubkey algorithm.
581            * wptKeyserver.cpp (safe_alloc): New.
582            (count_keys_in_response): New.
583            (parse_pub_record): New.
584            (parse_uid_record): New.
585            (kserver_release_key): New.
586            (kserver_search_begin, kserver_search_next_key):
587            Adjust for the machine readable output. Removed old code.
588            (parse_keyserver_url): New.
589            * wptUtil.cpp (substr): New.
590            * wptKeyManager.cpp (km_refresh_one_key): Properly
591            parse the keyserver URL.
592            
593    2006-05-11  Timo Schulz  <[email protected]>
594    
595            * wptPassphraseCB.cpp (release_gpg_recipients): New.
596            (release_gpg_recipients): Use it here.
597            * wptFileManager.cpp (fm_decrypt): List all recipients.
598            Thanks to vedaal.
599            * wptGPG.cpp (extract_keyid): New.
600            (get_gnupg_default_key): Use it here.
601            * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Allow to verify
602            one-pass-sigs again.
603            
604    2006-05-09  Timo Schulz  <[email protected]>
605    
606            * wptKeyRevokersDlg.cpp (revokelist_build): Store key ptr.
607            * wptClipSignDlg.cpp (gpg_clip_sign): Improve error handling.
608            * wptKeysigDlg.cpp (sigprops_dlg_proc): Correct expire date.
609            
610    2006-05-07  Timo Schulz  <[email protected]>
611    
612            * wptKeyserverDlg.cpp (hkp_err_box): Improved.
613            * wptKeyserver.cpp (wsock_strerror): Likewise.
614            * wptKeygenCBDlg.cpp (keygen_cb_dlg_destroy): New param.
615            Change all callers.
616            * wptKeysigDlg.cpp (do_load_keyprops): Correct key update
617            problem.
618            
619    2006-05-06  Timo Schulz  <[email protected]>
620    
621            * wptKeyManagerDlg.cpp (reload_keycache): Use pre-defined
622            sorting order if available.
623            * wptKeyPropsDlg.cpp (key_props_dlg_proc): Use 0x prefix
624            for the key ID.
625            (get_pref_cipher): Differ between the AES algorithm IDs.
626            (key_is_valid): New.
627            * wptKeyserverDlg.cpp (check_pattern): Simplified.
628            
629    2006-05-03  Timo Schulz  <[email protected]>
630    
631            * wptKeyCache.cpp (keycache_prepare2): Fix possible segv.
632            Thanks to Mathias.
633            
634    2006-05-02  Timo Schulz  <[email protected]>
635    
636            * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Use a
637            caption for the radio button group.
638            * wptKeyserverDlg.cpp (keyserver_recv_key): Use new code.
639            * wptKeyserver.cpp (kserver_recvkey, finger_recvkey,
640            ldap_recvkey): Avoid fixed buffers.
641            (do_spawn_ldap_helper): New.
642            (ldap_recvkey): Factor out code into helper function.
643            * wptPassphraseCBDlg.cpp (passphrase_callback_proc):
644            Increase width of the list box to make sure even large
645            user IDs will be completly displayed.
646            
647    2006-05-01  Timo Schulz  <[email protected]>
648    
649            * WinPT.cpp (WinMain): Check if the user has admin privileges.
650            * wptW32API.cpp (user_is_admin): New.
651            * wptKeysigDlg.cpp (sigprops_dlg_proc): Cosmetical changes.
652            * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Use timer
653            to re-activate the window again.
654            * wptKeylist.cpp (get_key_trust2): Differ between "full"
655            and "ultimate".
656            * wptKeyCache.cpp (keycache_prepare2): Primary user-id
657            has now highest priority.
658            * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Use new utf8
659            system.
660            
661    2006-04-30  Timo Schulz  <[email protected]>
662    
663            * wptKeyCache.cpp (gpg_keycache_release): Release revoker
664            list if needed.
665            * wptKeyRevokersDlg.cpp (key_get_revokers): New.
666            (key_revokers_dlg_proc): Expect winpt_key_t. Change all callers.
667            * wptKeyEditDlgs.cpp (check_desig_rev): New.
668            (do_editkey_minimize): New.
669            * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Support to
670            generate a revoc cert as a desig revoker.
671            
672    2006-04-29  Timo Schulz  <[email protected]>
673    
674            * wptVerifyList.cpp (verlist_build): Adjusted code for new
675            list view interface.
676            * wptSigList.cpp (siglist_build): Likewise.
677            * wptKeyEditDlgs.cpp (showpref_dlg_proc): Correct code
678            to display the preferences of the selected UID. Thanks to Mathias.
679            * wptKeyCacheDlg.cpp (keycache_dlg_proc): Return 1 in case
680            of an error.
681            * wptKeyCache.cpp (gpg_keycache_update_key): Always update
682            the utf8 decoded uid list.
683            * wptImportList.cpp (decode_userid): Do utf8 decoding here.
684            * wptListView.cpp (listview_new): New param for HWND handle.
685            Change all callers.
686            * wptFileManager.cpp (fm_add_sig_stat): Use utf8 decoding.
687            * wptGPGUtil.cpp (gpg_revoke_cert): Support --desig-revoker.
688            * wptClipVerifyDlg.cpp (wptClipVerifyDlg.cpp): Correct
689            keyid extraction.
690            
691    2006-04-28  Timo Schulz  <[email protected]>
692    
693            * wptMAPI.cpp (mapi_send_pubkey): Use new key struct.
694            * wptKeysigDlg.cpp (sigprops_dlg_proc): Prepare dialog
695            for handling policy URLs.
696            * wptKeyManagerDlg.cpp (save_column_info, restore_column_info):
697            New option KMSortBy.
698            * wptKeylist.cpp (get_key_algo): Lower priority for revoked keys.
699            * wptKeyEdit.cpp (minimizeKey): New.
700            * wptKeyCache.cpp (gpg_keycache_update_key): Reload utf8 uid list.
701            
702    2006-04-27  Timo Schulz  <[email protected]>
703    
704            * wptKeyManager.cpp (km_get_key_ptr): New.
705            * wptListview.cpp (listview_get_item_text): Drop utf8 support.
706            * wptKeyCache.cpp (keycache_decode_uids): New.
707            (free_native_uids): New.
708            * wptKeyEdit.cpp (uid_inf_colon_handler): Do utf8 decodig here.
709            
710    2006-04-26  Timo Schulz  <[email protected]>
711    
712            * wptKeylist.cpp (get_keyid_from_fpr): New.
713            * wptDecryptClipDlg.cpp (clip_decrypt_dlg): Use it here.
714            * wptVerifyList.cpp (verlist_add_sig): Likewise.
715            
716    2006-04-25  Timo Schulz  <[email protected]>
717    
718            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Handle IDCANCEL.
719            * wptMDSumDlg.cpp (hash_selected_files): New.
720            (mdsum_dlg_proc): Cleanups.
721            * wptKeysignDlg.cpp (keysign_dlg_proc): Fix segv.
722            
723    2006-04-23  Timo Schulz  <[email protected]>
724    
725            * wptW32API.cpp (SetDlgItemText_utf8): New.
726            (SetWindowText_utf8): New.
727            (GetDlgItemText_utf8): New.
728            * wptListView.cpp (listview_add_sub_item): Internal
729            utf8 support.
730            
731    2006-04-22  Timo Schulz  <[email protected]>
732    
733            * wptKeyEditDlgs.cpp (addrevoker_dlg_proc): Encode
734            revoker name in UTF8.
735            * wptKeysigDlg.cpp (keysig_dlg_proc): Fix utf8 problem
736            with the window title.
737            
738    2006-04-20  Timo Schulz  <[email protected]>
739    
740            * wptUTF8.cpp (native_to_utf8): Use c++ alloc.
741            * wptKeygenDlg.cpp (keygen_dlg_proc): Do not mix c and
742            c++ memory allocation.
743            * wptFileManager.cpp (show_verify_result): Show PKA status
744            if possible.
745            * wptClipVerifyDlg.cpp (get_pka_status): New.
746            (clip_verify_dlg_proc): Show PKA status if possible.
747            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Handle IDCANCEL
748            to use ESC to quit the dialog.
749            * wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Also
750            encode the comment in UTF8. Thanks to Werner and Jan.
751            
752    2006-04-16  Timo Schulz  <[email protected]>
753    
754            * wptHTTP.cpp (getErrorCode): New.
755            (connect): Store winsock error code.
756            * wptGPGMEData.cpp (is_armor_header): New.
757            * wptGPG.cpp (check_gnupg_engine): Free context.
758            (gnupg_backup_keyrings): Do not use global vars.
759            * wptGPGUtil.cpp (gpg_export_seckey): Export in ascii format.
760            
761    2006-04-15  Timo Schulz  <[email protected]>
762    
763            * wptKeyManager.cpp (km_get_key): New.
764            (km_key_show_revoc_info): New.
765            * wptKeyRevokeDlg.cpp (key_revoke_dlg): Cleanups.
766            (on_init_dialog): New.
767            * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Factour
768            out some common code and use km_get_key() instead.
769            * wptKeyEditDlgs.cpp (do_init_keylist): Change second
770            param type. Change all callers.
771            * wptKeyEdit.cpp (addNotation): New.
772            * wptKeyEditCB.cpp (editkey_command_handler): Remove 'step'
773            param everywhere. Change all callers.
774            
775    2006-04-09  Timo Schulz  <[email protected]>
776    
777            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Only return true
778            if the homedir value was changed.
779            * wptGPG.cpp (default_key_from_cache): Only return secret key
780            if public part is available.
781            (set_gnupg_default_key): Fix NULL problem.
782            * wptKeyEditDlgs.cpp (do_editkey_clean): Set update flag.
783            * wptFileCBS.cpp (write_cb, read_cb): Better error handling.
784            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Handle
785            'always-on-top' correctly.
786            * wptKeylist.cpp (keylist_get_recipients): Allocate enough
787            mem to hold all possible keys.
788            (keylist_enum_keys): Likewise.
789            
790    2006-04-08  Timo Schulz  <[email protected]>
791    
792            * wptKeylist.cpp (keylist_get_recipients): Always use utf8 output.
793            * wptKeyserver.cpp (kserver_connect): Fixed proxy support.
794            * wptKeyserverSearchDlg.cpp (fetch_keys): New.
795            * WinPT.cpp (WinMain): if the default key was not found, reset
796            the gpg.conf entry.
797            * wptFileManager.cpp (fm_encrypt_into_zip): Use correct output
798            file name.
799            (show_verify_result): Always use utf8 output.
800            (get_output_file): Case in-sentensive comparison.
801            (fm_assume_onepass_sig): Fixed temp file handling.
802            * wptClipEncryptDlg.cpp (show_invalid_recipients): Fix utf8
803            output.
804            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Fix possible segv.
805            
806    2006-04-07  Timo Schulz  <[email protected]>
807    
808            * wptW32API.cpp (set_clip_text): Change code so it also
809            works again with non-XP systems.
810            
811    2006-04-02  Timo Schulz  <[email protected]>
812    
813            * wptKeyserver.cpp: decrease general threshold for timeout.
814            * wptKeyEditDlgs.cpp (do_editkey_clean): New.
815            
816    2006-04-01  Timo Schulz  <[email protected]>
817    
818            * wptFileVerifyDlg.cpp (file_verify_use_event): Removed.
819            * wptFileManager.cpp (restore_original_name): New.
820            (fm_decrypt): Restore original file name from literal
821            packet if possible.
822            
823    2006-03-31  Timo Schulz  <[email protected]>
824    
825            * wptCommonDlg.cpp (nls_load_langlist): New.
826            (nsl_set_language): New.
827            (nls_dlg_proc): New.
828            (select_language): New. Allow user to select the language.
829            * wptNLS.c (get_gettext_langid): Updated available languages.
830            * WinPT.cpp (WinMain): Allow to select the languag on first
831            start in non-installer environments.
832            * wptVerifyList.cpp (verlist_build): Simplified.
833            (verlist_add_sig_log): Likewise.
834            * wptListview.cpp (listview_set_column_width,
835            listview_get_selected_item): New.
836            * wptKeyManager.cpp (gpg_clip_export): Merged into..
837            (km_clip_export): ..this function.
838            
839    2006-03-30  Timo Schulz  <[email protected]>
840    
841            * wptW32API.cpp (insert_menu_item): New.
842            * wptSigTreeDlg.cpp (create_popup): Use it.
843            (sigtree_dlg_proc): Only show the name of the owner in the title.
844            * wptMainProc.cpp (init_common_controls): Initialize all
845            common controls here.
846            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Drop static
847            keyserver menu concept. Add all keyservers dynamically.
848            
849    2006-03-29  Timo Schulz  <[email protected]>
850    
851            * wptKeyManager.cpp (km_refresh_one_key): Fix problem
852            with preferred keyserver.
853            * wptCommonDlg.cpp (check_URL): Allow non-http URL.
854            * wptKeyEditDlgs.cpp (subkey_subclass_proc,
855            uid_subclass_proc): Disable shortcuts for non keypairs.
856            * wptMainProc.cpp (winpt_main_proc): No user interaction
857            on automatic shutdown. Thanks to Werner.
858            * wptGPGUtil.cpp (xcalloc): New.
859            (gpg_rebuild_cache): Use --batch.
860            
861    2006-03-26  Timo Schulz  <[email protected]>
862    
863            * wptSigTreeDlg.cpp (sigtree_load): Always use UTF8.
864            * wptMainProc.cpp (winpt_main_proc): Reload key cache
865            when the GPG settings were changed.
866            * wptKeygenDlg.cpp (keygen_wizard_dlg_proc,
867            keygen_dlg_proc): Improved check for the email address.
868            * wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Likewise.
869            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Modified design.
870            
871    2006-03-22  Timo Schulz  <[email protected]>
872    
873            * wptClipSignDlg.cpp (on_init_dialog): New.
874            Check that there is at least one useable signing key.
875            * wptSigTreeDlg.cpp (sigtree_load): Correct UTF8 handling.
876            * wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): Show error
877            if needed.
878            
879    2006-03-21  Timo Schulz  <[email protected]>
880    
881            * wptUTF8.cpp (native_to_utf8): Use directly W32 API.
882            (utf8_to_native): Likewise. Remove cp850 conversion.
883            * wptKeyEditDlgs.cpp (do_find_userid): Correct UTF8 handling.
884            * wptKeyManager.cpp (km_delete_keys): Do not reset 'with_seckey'
885            flag.
886            
887    2006-03-20  Timo Schulz  <[email protected]>
888    
889            * wptUTF8.cpp (get_native_charset): Removed.
890            (utf8_to_native): Rewritten.
891            * wptKeyEditDlgs.cpp (do_add_new_userid): Correct charset
892            handling.
893            * wptKeygenCBDlg.cpp (keygen_cb): Do proper reset if needed.
894            
895    2006-03-16  Timo Schulz  <[email protected]>
896    
897            * wptMainProc.cpp (winpt_main_proc): Disable all CryptDisk code.
898            * wptCryptDisk.cpp: Disable code.
899            * wptProxySettingsDlg.cpp (proxy_settings_dlg_proc): Support for
900            NONE proxy protocol.
901            (init_proxy_procotol): Likewise.
902            (read_proxy): Likewise.
903            * wptKeyserverSearchDlg.cpp (on_init_dialog): New.
904            (keyserver_search_dlg_proc): Use it here.
905            * wptKeyserverDlg.cpp (hkp_send_key): Use GPGME wrapper.
906            * wptKeyserver.cpp (kserver_search_end): New.
907            (kserver_search_begin): Be more strict on mem allocation.
908            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Fix 'redraw'
909            problem.
910            * wptAboutDlgs.cpp (about_dlg_proc): Hide 'Help' button.
911            
912    2006-03-12  Timo Schulz  <[email protected]>
913    
914            * wptGPG.cpp (gnupg_load_config): Search for 'ask-cert-expire'.
915            * wptKeyPropsDlg.cpp (display_key_info): Automatically update
916            sym algorithm preferences if needed.
917            * wptKeysignDlg.cpp (date_is_today): New.
918            (keysign_dlg_proc): Only allow to set cert expire date if
919            the option was found.
920            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Allow to set
921            'ask-cert-expire'.
922            
923    2006-03-10  Timo Schulz  <[email protected]>
924    
925            * wptHTTP.c: deleted.
926            * wptHTTP.cpp (wHTTP): Transformed old code into an object.
927            * wptKeyManager.cpp (km_http_import): Use new code.
928            (km_refresh_one_key): Use preferred keyserver if possible.
929            * wptComonDlg.cpp (check_URL): Better conformance checking.
930            * wptKeyEditCB.cpp (cmd_keyserver_handler): By default
931            set keyserver for all userids.
932            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Enable code
933            to set preferred keyserver.
934            * wptKeyCache.cpp (decode_subpacket): New.
935            (gpg_keycache_update_attr): New.
936            * wptGPGUtil.cpp (gpg_find_key_subpacket): New.
937            * wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): Use
938            -1 as an index for all userids.
939            
940    2006-03-07  Timo Schulz  <[email protected]>
941    
942            * WinPT.cpp (set_default_keyserver): New.
943            * wptKeyserver.cpp (kserver_set_socket_timeout): New.
944            (kserver_set_default_keyserver): Initialize default settings
945            if needed.
946            * wptSymEnc.cpp (gpg_encrypt_symmetric): Disallow empty passwords.
947            * wptPassphraseDlg.cpp (request_passphrase): Handle new flag.
948            (passphrase_dlg_proc): Support new safe edit window procedure.
949            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
950            * wptPreferencesDlg.cpp (prefs_dlg_proc): Flush passphrase cache
951            if user disable it.
952            * wptKeylist.cpp (keylist_build): Do not scale images but use
953            original size.
954            * wptListView.cpp (listview_set_image_list): New size params.
955            Change all callers.
956            
957    2006-03-01  Timo Schulz  <[email protected]>
958    
959            * wptW32API.cpp (set_clip_text): Free all memory.
960            
961    2006-02-27  Timo Schulz  <[email protected]>
962    
963            * wptSOCKS.cpp (socks_handshake): New.
964            * wptMainProc.cpp (winpt_main_proc): A dbl-click forces
965            the key manager in teh foreground if possible.
966            * wptHotkey.cpp (hotkey_unregister): Unregister all hotkeys.
967            * wptRegistry.cpp (get_reg_proxy_prefs,
968            set_reg_proxy_prefs): Use directly the proxy context.
969            Changed all callers.
970            * wptProxySettingsDlg.cpp (init_proxy_protocols): New.
971            (keyserver_proxy_dlg_proc): Use directly the proxy context.
972            * wptKeyserver.cpp (kserver_connect): Better proxy support.
973            (kserver_send_request, kserver_recvkey_request): Likewise.
974            * wptKeyserverDlg.cpp (name_from_proto): New.
975            (set_proxy): Adjusted for the new code.
976            
977    2006-02-26  Timo Schulz  <[email protected]>
978    
979            * WinPT.cpp (WinMain): Removed hotkey_modify() code.
980            * wptKeyEditDlgs.cpp (is_idea_protect_algo): Better support
981            v4 keys.
982            * wptKeyserver.cpp (sock_getline): Skip '\r'.
983            (base64_encode): Remove @maxlen param. Changed all callers.
984            (finger_readline): Removed.
985            (finger_recvkey): Use internal functions.
986            * wptSigTreeDlg.cpp (sigtree_dlg_proc): Support a context menu.
987            (show_sigprops): New.
988            (create_popup): New.
989            * wptPreferenceDlg.cpp (prefs_dlg_proc): Cache amount is
990            now in minutes.
991            * wptRegistry.cpp (get_winpt_reg_prefs, set_winpt_reg_prefs):
992            Change code to use hotkeys directly.
993            * wptHotkeys.cpp (hotkeys_enable, hotkey_disable): Likewise.
994            
995    2006-02-24  Timo Schulz  <[email protected]>
996    
997            * wptGPG.cpp (set_gnupg_default_key): Allow to remove entry
998            when parameter is NULL.
999            * wptKeyManager.cpp (check_exist_default_key): New.
1000            (km_delete_keys): Check if the default key is still valid,
1001            if not delete entry.
1002            * wptSigTreeDlg.cpp (sigtree_dlg_proc): Forgot to localize
1003            button.
1004            
1005    2006-02-21  Timo Schulz  <[email protected]>
1006    
1007            * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Minor
1008            cleanups.
1009            * wptGPGUtil.cpp (file_extract_recipients): New.
1010            (clip_extract_recipients): New.
1011            (gpg_get_recipients): New.
1012            * wptPassphraseCB.cpp (passphrase_callback_proc): Support
1013            external recipient listings.
1014            
1015    2006-02-15  Timo Schulz  <[email protected]>
1016    
1017            * wptKeysignDlg.cpp (keysign_dlg_proc): Localize new checkbox.
1018            * wptFileStatDlg.cpp (get_s2k_algo): New.
1019            * wptFileManagerDlg.cpp (update_status_bar): Use human readable
1020            formats.
1021            
1022    2006-02-14  Timo Schulz  <[email protected]>
1023    
1024            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Localize 'Cancel'.
1025            * wptKeysignDlg.cpp (keysign_dlg_proc): Implement 'Hide Typing'.
1026            * wptFileManager.cpp (fm_sym_encrypt): Set cancel.
1027            (fm_parse_files): Handle cancel.
1028            
1029    2006-02-10  Timo Schulz  <[email protected]>
1030    
1031            * wptKeyPropsDlg.cpp (props_dlg_proc): Removed unused vars.
1032            * wptKeyEditDlgs.cpp (do_editkey_check): Use winpt_key_t
1033            for the dialog param.
1034            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use new list
1035            signature dialog by default.
1036            * wptKeysigDlg.cpp (sigprops_dlg_proc): Use directly
1037            gpgme_key_sig_t as param.
1038            (keysig_dlg_proc): Change param for property dialog.
1039            * wptSigTreeDlg.cpp (sigtree_load): Skip revoked user-ids
1040            and use icons.
1041            (sigtree_dlg_proc): Allow to execute old list dialog to
1042            edit the signatures.
1043            
1044    2006-02-09  Timo Schulz  <[email protected]>
1045    
1046            * wptRegistry.cpp (set_winpt_reg_prefs): Removed keylist mode.
1047            * wptNLS.c (gettext_localize_dialog): New.
1048            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Add 'Cancel' button
1049            to avoid to reload the key cache.
1050            * wptClipEncryptDlg.cpp (clipenc_dlg_proc): Drop old 'normal'
1051            list mode.
1052            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
1053            * wptPreferencesDlg.cpp (on_init_dialog): New. Move dialog
1054            initiation code to this function.
1055            (prefs_dlg_proc): Use it here.
1056            
1057    2006-02-07  Timo Schulz  <[email protected]>
1058    
1059            * wptKeyEdit.cpp (setNoPassphrase): New.
1060            (getValidDays): New.
1061            * wptKeysignDlg.cpp (keysign_dlg_proc): Check on init
1062            if the key is protected.
1063            * wptKeyEditDlgs.cpp (keyedit_addphoto_dlg_proc): Handle
1064            keys without a passphrase.
1065            (keyedit_addrevoker_dlg_proc): Likewise.
1066            
1067    2006-02-04  Timo Schulz  <[email protected]>
1068    
1069            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Check for
1070            at least one ultimately trusted key.
1071            * wptKeyManager.cpp (km_refresh_key_from_keyserver):
1072            Only check inet connection if we refresh all keys.
1073            * wptGPGUtil.cpp (gpg_extract_keys): New.
1074            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Use textmode.
1075            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
1076            * wptClipSignDlg.cpp (get_selected_key): New.
1077            (one_key_proc): Use it here.
1078            (count_useable_seckeys): New.
1079            * wptSigTreeDlg.cpp (sigtree_dlg_proc): New.
1080            * wptKeyEditDlgs.cpp (diff_time): Removed.
1081            (w32_mktime): New.
1082            (keyedit_addsubkey_dlg_proc): Use it here.
1083            
1084    2006-02-02  Timo Schulz  <[email protected]>
1085    
1086            * wptW32API.cpp (get_temp_name): New.
1087            * wptKeyserver.cpp (ldap_recvkey): Use it here.
1088            * wptKeyPropsDlg.cpp (get_photo_tmpname): Likewise.
1089            * wptGPGUtil.cpp (create_tempfile): Likewise.
1090            * wptImportList.cpp (implist_load): Likewise.
1091            * wptKeyCache.cpp (parse_attr_data): Likewise.
1092            (w32_tempfile): Removed.
1093            * wptGPGME.cpp (check_ultimate_trusted_key): New.
1094            
1095    2006-01-31  Timo Schulz  <[email protected]>
1096    
1097            * wptMainProc.cpp (winpt_main_proc): Fix usage of the
1098            help system.
1099            * wptListView.cpp (listview_set_chkbox_style): New.
1100            (listview_get_item_state): Support new checkbox style.
1101            (listview_new): Reset flag var.
1102            * wptKeylist.cpp (keylist_build): Support new checkbox style.
1103            
1104    2006-01-30  Timo Schulz  <[email protected]>
1105    
1106            * WinPT.cpp (check_readonly_attr): New.
1107            (load_gpg_env): Use it here.
1108            (WinPT): Make the the default key is searched in the
1109            secret key cache.
1110            Change error message.
1111            * wptRegistry.cpp (regist_int_winpt): Make sure
1112            the register extension is only offered once to the user.
1113            * wptKeyPropsDlg.cpp (get_photo_tmpname): Always use
1114            temp directory. Fixed a privilege problem.
1115            
1116    2006-01-29  Timo Schulz  <[email protected]>
1117    
1118            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Allow to use ESC
1119            to quit dialog.
1120            * wptKeysignDlg.cpp (sig_class_dlg_proc): More space for
1121            translations. Directly return sig class.
1122            (keysign_dlg_proc): Change msgbox title.
1123            * wptKeyEdit.cpp (signUserid): New.
1124            (getUseridIndex): New.
1125            (getKeyIndex): New.
1126            (getSigIndex): New.
1127            (clear): New.
1128            * wptKeyEditCB.cpp (cmd_sign_handler): Allow to select
1129            user-id first.
1130            * wptKeyEditDlgs.cpp (lookup_cmd): New.
1131            (do_editkey_sign_userid): New.
1132            (do_init_cmdlist): Differ between key pairs and public keys
1133            and allowed actions.
1134            (keyedit_change_ownertrust): Show msgbox on success.
1135            (get_default_key): New.
1136            * wptPassphraseDlg.cpp (request_passphrase): Reset @cancel.
1137            
1138    2006-01-27  Timo Schulz  <[email protected]>
1139    
1140            * WinPT.cpp (WinMain): Set minimal list mode as default.
1141            * wptKeyCache.cpp (gpg_keycache_sync): Handle special v3 keys.
1142            
1143    2006-01-25  Timo Schulz  <[email protected]>
1144    
1145            * wptRegistry.cpp (get_reg_entry_gpg): Return NULL if
1146            the key exist with no value.
1147            * wptMDSumDlg.cpp (mdsum_dlg_proc): Translate string.
1148            * wptKeysignDlg.cpp (do_fill_seclist): Select the
1149            default key if possible.
1150            * wptFirstRunDlg.cpp (firstrun_dlg_proc): Directly
1151            return the choice.
1152            * wptKeylist.cpp (get_key_desc): New.
1153            (keylist_upd_key): Free memory.
1154            * wptKeyCache.cpp (gpg_keycache_get_default_key): New.
1155            (gpg_keycache_set_default_key): New.
1156            * WinPT.cpp (gpg_prefs_ok): New.
1157            (WinMain): Only start gpg prefs if needed.
1158            
1159    2006-01-24  Timo Schulz  <[email protected]>
1160    
1161            * wptKeyManager.cpp (km_dropped_file_import): New.
1162            * wptKeyManagerDlg.cpp (keylist_subclass_proc): Allow
1163            to drop files and try to import them.
1164            (keymanager_dlg_proc): Pass kmi as opaque to the subclass
1165            proc.
1166            
1167    2006-01-23  Timo Schulz  <[email protected]>
1168    
1169            * wptMDSumDlg.cpp (mdsum_dlg_proc): Allow to send output
1170            to the clipboard.
1171            * wptKeyEditDlgs.cpp (keyedit_change_ownertrust): New.
1172            (do_editkey_enable_disable): New.
1173            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Usability fix. Do not
1174            close the dialog if the user cancelled the ownertrust dialog.
1175            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Return TRUE to indicate
1176            an update of any value.
1177            
1178    2006-01-21  Timo Schulz  <[email protected]>
1179    
1180            * wptKeyCache.cpp (keycache_next_key): Handle the case
1181            that there is a secret key without a public part.
1182            * wptKeyserver.cpp (kserver_save_conf): Save ports.
1183            * wptKeyserverDlg.cpp (keyserver_modify_dlg_proc):
1184            Reset keyserver name.
1185            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Just indicate
1186            an update, do not update the cache.
1187            * wptFileManagerDlg.cpp (file_import_dlg_proc): Use one
1188            dialog for both clipboard and file imports.
1189            * wptKeyManager.cpp (km_file_import, km_clip_import):
1190            Changes to support new update system.
1191            (gpg_clip_import): New.
1192            * wptKeyManagerDlg.cpp (km_gui_import): New.
1193            (find_keypos): Rewritten.
1194            (refresh_keylist): Improved error checking.
1195            
1196    2006-01-20  Timo Schulz  <[email protected]>
1197    
1198            * wptKeyCache.cpp (w32_tmpfile): New.
1199            (parse_attr_data): Use it here.
1200            * wptGPGUtil.cpp (gpg_get_photoid_data): Reset @ndata var.
1201            
1202    2006-01-19  Timo Schulz  <[email protected]>
1203    
1204            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Do not
1205            reload the entire cache, just update the key.
1206            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Likewise.
1207            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Set update flag.
1208            * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise.
1209            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Update key
1210            if need after showing the properties.
1211            * wptGPGMEData.cpp (gpg_data_putc): Fix off-by-one bug.
1212            * wptKeyManager.cpp (km_import_file): New param. Changed
1213            all callers.
1214            (km_import_clip): Likewise.
1215            (delete_keys_from_cache): Delete secret part if available.
1216            * wptClipImportDlg.cpp (print_import_status): If there
1217            are too many new keys, use reload code.
1218            
1219    2006-01-18  Timo Schulz  <[email protected]>
1220    
1221            * wptKeyEditCB.cpp (cmd_delsig_handler): Do not assume
1222            the self sig is always index 0. Noted by Kurt.
1223            * wptPassphraseCB.cpp (passphrase_dlg_proc): Do not assume
1224            the key user-ID contains an email address.
1225            * wptKeyEditDlgs.cpp (do_find_userid): Likewise.
1226            (do_editkey_deluid): Likewise.
1227            (do_editkey_revuid): Likewise.
1228            
1229    2006-01-18  Timo Schulz  <[email protected]>
1230    
1231            * wptListview.cpp (listview_del_sel_items): Fixed index
1232            calculation. This fixed a lot of problems with the KM listview
1233            update.
1234            (listview_del_all): Renamed to...
1235            (listview_del_all_items): ..this. Changed all callers.
1236            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Just refresh
1237            list when file import contained new/updated keys.
1238            * wptKeyManager.cpp (km_file_import): Indicate if the
1239            import contained any new/update keys.
1240            * wptClipImportDlg.cpp (print_import_status): Just mark
1241            keys which actually changed.
1242            
1243    2006-01-17  Timo Schulz  <[email protected]>
1244    
1245            * wptMAPI.cpp (mapi_send_pubkey_ext): New.
1246            * wptKeysigDlg.cpp (do_delsig): Just flag the key, do not
1247            update it.
1248            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Be more
1249            careful about const pointers.
1250            * wptKeyEditDlgs.cpp (get_subkey_fingerprint): Renamed to..
1251            (get_subkey_keyid): ..this. Fix problem that key was updated
1252            twice and this corrupted.
1253            (keyedit_add_subkey): Set @lv item in the callback context.
1254            
1255    2006-01-16  Timo Schulz  <[email protected]>
1256    
1257            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Restore
1258            window if it lost focus during the operation. Thanks to Kurt.
1259            Update keylist when the window is enabled.
1260            (find_keypos): New.
1261            * wptKeyCache.cpp (keycache_next_key): Reset update status.
1262            (gpg_keycache_next_updated_key): New arg @r_status. Change all
1263            callers.
1264            (gpg_keycache_update_key): Different status for new and updated.
1265            Include key signatures.
1266            * wptClipImportDlg.cpp (print_import_status): Mark all
1267            imported keys.
1268            * wptMainProc.cpp (clip_gpg_dlg): On import refresh KM keylist.
1269            Thanks to Kurt.
1270            * wptKeysigDlg.cpp (recv_missing_keys): Mark all received keys.
1271            (do_delsig): Directly reload key. Thanks to Kurt.
1272            * wptGPGME.cpp (keycache_set_reload, keycache_get_reload):
1273            Removed.
1274            * wptKeygenDlg.cpp (keygen_dlg_proc): Use new update system.
1275            * wptClipImportDlg.cpp (clip_import_dlg_proc): Return
1276            FALSE if no keys were updated or operation was cancelled.
1277            * wptCommonDlg.cpp (http_dlg_proc): Fix title selection code.
1278            * wptKeylist.cpp (get_ext_validity): Handle disabled keys.
1279            * wptKeyPropsDlg.cpp (keyprops_dlg_proc):
1280            Do not allow to change ownertrust of invalid keys.
1281            Changed translation.
1282            Slightly different user interface.
1283            
1284    2006-11-14  Timo Schulz  <[email protected]>
1285    
1286            * wptW32API.cpp (make_special_filename): New.
1287            * wptRegistry.cpp (set_winpt_reg_prefs, get_winpt_reg_prefs):
1288            Removed 'KeyServer' item.
1289            * wptPreferencesDlg.cpp (prefs_dlg_proc): Remove keyserver
1290            config item.
1291            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Disable group
1292            window until we really use it.
1293            * wptKeyserver.cpp (kserver_save_conf): New.
1294            (wsock_end): Save keyserver config file.
1295            * wptKeyserverDlg.cpp (keyserver_edit): New.
1296            (keyserver_remove): New.
1297            (keyserver_add): New.
1298            (fill_keyserv_types): New.
1299            (keyserver_modify_dlg_proc): New.
1300            (keyserver_dlg_proc): Provide context menu to modify the
1301            keyserver list.
1302            (keyserver_build_list): Remove 'proto' column because it is
1303            not really useful.
1304            * WinPT.cpp (load_keyserver_conf): Store keyserver.conf at
1305            $APPDATA\winpt. If keyserver.conf exists in the current folder
1306            move it to the new destination.
1307            
1308    2006-11-13  Timo Schulz  <[email protected]>
1309    
1310            * wptPreferencesDlg.cpp (prefs_dlg_proc): Changed translation.
1311            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Likewise.
1312            * wptAboutDlgs.cpp (about_dlg_proc): Make sure GPG about
1313            dialog isn't shown twice.
1314            * wptKeyCache.cpp (gpg_keycache_next_updated_key): New.
1315            (gpg_keycache_update_key): Set update flag.
1316            * wptKeyManagerDlg.cpp (refresh_keylist): New.
1317            (keymanager_dlg_proc): Use new refresh system for keyservers.
1318            * wptKeyserverSearchDlg.cpp (kserver_search_dlg_proc):
1319            Update keycache.
1320            * wptKeyserverDlg.cpp (hkp_dlg_proc): Likewise.
1321            * wptKeyserver.cpp (socket_read_ext): New.
1322            (kserver_recv_key_ext): New.
1323            (kserver_read_config, kserver_write_config): Removed.
1324            
1325    2006-01-12  Timo Schulz  <[email protected]>
1326    
1327            * wptListView.cpp (listview_set_image_list): Make icons
1328            always transparent.
1329            * wptImageList.cpp (imagelist_load): New icons.
1330            * wptGPGMEData.cpp (gpg_data_putc): New.
1331            * wptKeyManagerDlg.cpp (load_toolbar): Include new icons.
1332            (keymanager_dlg_proc): Add tooltips.
1333            * wptKeyserverDlg.cpp (keyserver_list_build): Use icons.
1334            * wptKeyserver.cpp (URL_encode): New.
1335            (URL_must_encode): New.
1336            (kserver_search_init): Properly encode pattern.
1337            (parse_iso_date): New.
1338            (keyserver_search): Be more strict to prevent buffer overflows.
1339            
1340    2006-01-11  Timo Schulz  <[email protected]>
1341    
1342            * wptKeyManagerDlg.cpp (load_toolbar): 2 new icons.
1343            (keymanager_dlg_proc): Adjust tooltips.
1344            (update_ui_items): Handle new icons.
1345            * wptImageList.cpp (imagelist_load): New icons.
1346            
1347    2006-01-10  Timo Schulz  <[email protected]>
1348    
1349            * wptMainProc.cpp (winpt_main_proc): Restore iconic
1350            File/Key Manager windows if needed.
1351            * wptGPGPrefsDlg.cpp (gpg_prefs_dlg_proc): Disable button.
1352            * wptSiglist.cpp (init_cmp): New.
1353            (siglist_sort): New.
1354            (siglist_cmp_cb): New.
1355            (siglist_add_key): Force NOKEY status when key was not found.
1356            * wptKeysigDlg.cpp (recv_single_key): New.
1357            (recv_missing_keys): Reload entire key when more than one key
1358            was fetched.
1359            (keysig_dlg_proc): Support sorting the listview items.
1360            
1361    2006-01-09  Timo Schulz  <[email protected]>
1362    
1363            * WinPT.cpp (load_gettext): Remove file locking.
1364            (WinMain): Use pre-defined autoconf constants.
1365            * wptW32API.cpp (init_file_lock, release_file_lock): Deleted.
1366            * wptGPG.cpp (check_gnupg_engine): Add param @need_gpg_ver.
1367            Change all callers.
1368            
1369    2006-01-07  Timo Schulz  <[email protected]>
1370    
1371            * wptKeyManager.cpp (km_refresh_from_keyserver): Summarize
1372            import status if just one key was selected.
1373    
1374    2006-01-04  Timo Schulz  <[email protected]>
1375    
1376            * wptGPGMEWrapper.c (setChangeVersion): New.
1377            (exportToBuffer, exportToFile, exportToClipboard): New.
1378            (setArmor, getArmor): New.
1379            * wptKeylist.cpp (get_key_expire_date): Return locale specific
1380            date.
1381            (keylist_get_recipients): Do not fetch the key again.
1382            (keylist_enum_recipients): Likewise.
1383            * wptGPG.cpp (create_empty_keyring): New.
1384            (get_gnupg_keyring): Fixed 'strict' logic.
1385            * wptKeyManagerDlg.cpp (update_ui_items): Disable some buttons
1386            when no secret keys are available.
1387            * wptKeyManager.cpp (km_send_to_mail_recipient): Release key data
1388            before the MAPI call is made.
1389            * WinPT.cpp (check_for_empty_keyrings): New.
1390            
1391    2006-01-03  Timo Schulz  <[email protected]>
1392    
1393            * pubkey.ico, keypair.ico: New.
1394            * wptListview.cpp (listview_add_item_image): New.
1395            (listview_set_image_list): New.
1396            * wptSigList.cpp (siglist_add_key): Correct order of the sigs.
1397            * wptKeyProps.cpp (keyprops_load_photo): Adjusted for new
1398            JPEG data.
1399            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not allow to
1400            add items to revoked keys.
1401            * wptKeyManager.cpp (km_delete_keys): Do not use uninitialized
1402            keyid buffer. This fixes a segv.
1403            * wptKeyserver.cpp (spawn_application): New.
1404            (ldap_recv_key): Support recent protocols and several cleanups.
1405            * wptKeylist.cpp (do_addkey): Set image which depends on the
1406            key type.
1407            (keylist_enum_recipients): Cleanups.
1408            (keylist_get_keyflags): Rewritten.
1409            * wptKeyCache.cpp (free_attr_list): New.
1410            (parse_attr_list): New.
1411            (parse_attr_data): New.
1412            (keycache_update_photo): New.
1413            (keycache_update_photos): New.
1414            (gpg_keycache_update_key): Automatically reload photos if needed.
1415            * wptGPGUtil.cpp (create_process): New param @err. Change all
1416            callers.
1417            (map_tmpfile): New param @nread. Change all callers.
1418            (gpg_get_photoid_data): New.
1419            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not allow to
1420            add items to revoked keys.
1421            (subkey_init_list): Store gpgme key object.
1422            
1423    2005-12-29  Timo Schulz  <[email protected]>
1424    
1425            * wptKeygenDlg.cpp (keygen_dlg_proc): Request passphrase dynamically.
1426            (gpg_genkey_params): Simplified.
1427            * wptPreferencesDlg.cpp (prefs_dlg_proc): Fix problem with mutal
1428            exclusion of the dialog items.
1429            * wptAboutDlgs.cpp (about_winpt_dlg_proc): Allow to use ESC to
1430            quit the dialog.
1431            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
1432            * wptMDSumDlg.cpp (mdsum_dlg_proc): Handle WM_SYSCOMMAND.
1433            (id2algo): New.
1434    
1435    2005-12-28  Timo Schulz  <[email protected]>
1436    
1437            * wptKeyserverDlg.cpp (show_imported_keys): Decode user IDs.
1438            * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise.
1439            * wptKeylist.cpp (keylist_udp_key): Likewise.
1440            * wptKeyManager.cpp (key_get_clip_info, key_get_info): Likewise.
1441            * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Fix problem
1442            when no signing key was found.
1443            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Properly decode
1444            user IDs.
1445            (translate_popup_strings): s/Revoke/Revoke Cert.
1446            * wptKeyEditDlgs.cpp (do_init_keylist): Do not assume a
1447            0x prefixed keyid.
1448            * wptKeyEditCB.cpp (editkey_command_handler): Also reset
1449            step in case of a bad passphrase.
1450            
1451    2005-12-27  Timo Schulz  <[email protected]>
1452    
1453            * wptListView.cpp (listview_set_view): New.
1454            (listview_del_column): New.
1455            * wptW32API.cpp (get_locale_date): New.
1456            (get_menu_state): New.
1457            (force_foreground_window): New.
1458            * wptVerifyList.cpp (strtimestamp): Support for
1459            locale date formats.
1460            * wptGPGUtil.cpp (gpg_revoke_cert): Handle bad
1461            passphrases.
1462            * wptKeyEditCB.cpp (editkey_command_handler): Immediately
1463            return when a bad passphrase was submitted.
1464            * wptKeyRevokersDlg.cpp (keyrevokers_dlg_proc): Change
1465            column order.
1466            * wptKeylist.cpp (keylist_upd_col): New.
1467            * wptKeyManagerDlg.cpp (update_ui_items): Deactivate
1468            'Revocation' for public keys.
1469            (translate_menu_strings): s/Revoke/Revoke Cert.
1470            (modify_listview_columns): New.
1471            
1472    2005-12-18  Timo Schulz  <[email protected]>
1473    
1474            * wptKeyManagerDlg.cpp (save_column_size): New.
1475            (restore_column_size): New.
1476            (keymanager_dlg_proc): Save and restore column sizes for
1477            the listview control.
1478            * wptKeyManager.cpp (key_get_info): New.
1479            (km_delete_keys): Use it here to have a consistent message.
1480            Use stored key context and not the column data.
1481            (km_enable_disable_key): Likewise.
1482            (km_send_to_keyserver): Likewise.
1483            (km_set_implicit_trust): Likewise.
1484            * wptKeylist.cpp (get_key_pubalgo2): New.
1485            
1486    2005-12-17  Timo Schulz  <[email protected]>
1487    
1488            * wptUTF8.cpp: Removed unused charset array.
1489            * wptSigList.cpp (siglist_build): Increase size for 'class'
1490            column.
1491            * wptGPG.cpp (get_gnupg_path): Simplified.
1492            * WinPT.cpp (load_gpg_env): New.
1493            (check_crypto_engine): Return type is now bool.
1494            * wptRegistry.cpp (is_gpg4win_installed): New.
1495            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): More consistent
1496            dialog design.
1497            * wptKeyManagerDlg.cpp (translate_menu_strings): New.
1498            (translate_popupmenu_strings): New.
1499            * wptKeyEditDlgs.cpp (is_jpg_file): New.
1500            
1501    2005-12-13  Timo Schulz  <[email protected]>
1502    
1503            * wptCommonDlg.cpp (http_dlg_proc): Localized missing elements.
1504            * wptKeyManagerDlg.cpp (change_edit_menu): New.
1505            (change_key_menu): Renamed from...
1506            (menu_gpg_readonly): ..this.
1507            (clip_contains_pgpkey): New.
1508            (update_ui_items): Do not allow to sign expired keys.
1509            (keymanager_dlg_proc): Same for popup menu.
1510            * wptKeyPropsDlg.cpp (parse_preflist): Fixed string handling.
1511            * wptKeyCache.cpp (copy_uid_prefs):
1512            (gpg_keycache_sync): Copy uid prefs so the key property
1513            dialog show the correct values. Thanks to Shane.
1514            
1515    2005-12-11  Timo Schulz  <[email protected]>
1516    
1517            * wptW32API.cpp (get_file_version): New.
1518            * wptGPGUtil.cpp (create_process): Always hide window.
1519            * wptClipEditDlg.cpp (clipedit_dlg_proc): Use 'Close'
1520            instead of 'Exit'.
1521            * wptKeyManager.cpp (km_http_import): New filename
1522            generation code.
1523            (km_send_to_mail_recipient): Cleanups.
1524            * wptKeyEditDlg.cpp (showpref_dlg_proc): Localize dialog.
1525            * wptKeyManagerDlg.cpp (update_ui_items): Handle the case
1526            when multiple keys are selected.
1527            (popup_multiple): New.
1528            * WinPT.cpp (WinMain): Check that the PTD.dll and WinPT.exe
1529            file versions are equal. Rewrote --keymanager code.
1530            
1531    2005-12-08  Timo Schulz  <[email protected]>
1532    
1533            * wptKeyserverDlg.cpp (show_imported_keys): Enhanced.
1534            (hkp_recv_key2): Show user-id of the imported key instead
1535            of just the pattern.
1536            * wptFileCBS.cpp (read_cb): Changed to W32 API.
1537            (write_cb): Likewise. Create output file on demand.
1538            (gpg_file_data_new): Adjusted code for new API.
1539            * wptKeyEdit.cpp (cleanKey): New.
1540            * wptKeyEditCB.cpp (cmd_clean_handler): New.
1541            (editkey_command_handler): Call clean handler.
1542            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Sort
1543            keylist after inserting items.
1544            * wptFileManager.cpp (fm_set_status): Take care of
1545            cleartext sigs.
1546            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Make
1547            sure can be closed.
1548            
1549    2005-12-07  Timo Schulz  <[email protected]>
1550    
1551            * wptOwnertrustDlg.cpp (ownertrust_dlg_proc):
1552            Use 'Close' instead of 'Exit'.
1553            * wptKeyEditDlgs.cpp (keyedit_dlg_proc): Likewise.
1554            * wptGPG.cpp (gnupg_backup_keyrings): Use $APPDATA
1555            as the destination dir. Thanks to Werner.
1556            * wptRegistry.cpp (is_gpgee_installed): New.
1557            (regist_inst_winpt): Do not register file extensions
1558            if GPGee is available.
1559            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Limit
1560            use of local vars.
1561            * wptPreferencesDlg.cpp (prefs_dlg_proc): Make sure
1562            no illegal backup mode is saved.
1563            * wptKeyserverDlg.cpp (show_imported_key): New.
1564            (hkp_recv_key2): Show imported keys if the blob
1565            contained more than one.
1566            
1567    2005-12-06  Timo Schulz  <[email protected]>
1568    
1569            * WinPT.cpp (WinMain): Load the gettext environment soon
1570            as possible so all 'first start' messages are localized.
1571            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): If a single key is
1572            received via the keyserver, return the gpgme key context on
1573            success and add it directly to the list.
1574            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Support a param
1575            to store the key.
1576            (hkp_recv_key2): Add extra param for the fingerprint.
1577            (hkp_recv_key): Call hkp_recv_key2 without fingerprint.
1578            
1579    2005-12-02  Werner Koch  <[email protected]>
1580    
1581            * wptKeyEditDlgs.cpp (subkey_list_init): Avoid trigraphs.
1582    
1583    2005-12-01  Timo Schulz  <[email protected]>
1584    
1585            * wptClipVerifyDlg.cpp (clipverify_dlg_proc): Use new semantic
1586            for get_gpg_sigstat().
1587            * wptGPGME.cpp (get_gpg_sigstat): New. It is now a function.
1588            As a macro strings will not be translated at runtime.
1589            * wptKeyserverDlg.cpp (hkp_recv_key): Properly detect if we
1590            need to update the cache. Thanks to Jan-Oliver.
1591            * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Localized.
1592            
1593    2005-11-30  Timo Schulz  <[email protected]>
1594    
1595            * wptW32API.cpp (dialog_box_param): Removed LANG_DE code.
1596            * WinPT-en.rc: Removed string list.
1597            * wptFileSaveDlg.cpp (file_save_dlg_proc): Localized
1598            * wptKeylist.cpp (keylist_build): Cannot use global
1599            arrays for the columns due to gettext.
1600            
1601    2005-11-29  Timo Schulz  <[email protected]>
1602    
1603            * WinPT.cpp (WinMain): Modify --keymanager. If an instance
1604            is running, just send the command to open the manager.
1605            
1606    2005-11-25  Timo Schulz  <[email protected]>
1607    
1608            * wptKeyEditCB.cpp (addrev_cmd_handler): Avoid hanging
1609            process when the revoker is already there.
1610            
1611    2005-11-24  Timo Schulz  <[email protected]>
1612    
1613            * wptPassphraseCB.cpp (passphrase_callback_proc): Localize
1614            signing dialog items.
1615            * wptMainProc.cpp (confirm_delclip_dlg): Localize dialog items.
1616            * wptAboutDlgs.cpp (about_winpt_dlg_proc): Disable help for now.
1617            * wptMDSumDlg.cpp (mdsum_dlg_proc): Localize missing items.
1618            * wptKeylist.cpp (key_check_validity): Likewise.
1619            * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Likewise.
1620            
1621    2005-11-22  Timo Schulz  <[email protected]>
1622    
1623            * wptCardEditCB.cpp (gpg_write): Due to removed _DEBUG
1624            macro debug output will be generated in release version.
1625            
1626    2005-11-21  Timo Schulz  <[email protected]>
1627    
1628            * WinPT.cpp (WinMain): Implement --stop switch.
1629            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Localize
1630            missing string.
1631            * wptPreferencesDlg.cpp (prefs_dlg_proc): Likewise.
1632            * wptKeygenDlg.cpp (keygen_dlg_proc): Verify valid context
1633            first. Thanks to Ralf.
1634            * wptFileManagerDlg.cpp (update_ui_items): New.
1635            * wptFileManager.cpp (fm_set_status): New sigmode param.
1636            Changed all callers.
1637            
1638    2005-11-17  Timo Schulz  <[email protected]>
1639    
1640            * wptGPG.cpp (check_last_gnupg_access): Kludge to avoid that
1641            the cache will be loaded twice.
1642            * wptRegistry.cpp (regist_inst_winpt): More comments.
1643            * wptKeyManagerDlg.cpp (do_center_window): Make sure that
1644            neg. coordinates are never used.
1645            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Localize all
1646            strings.
1647            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
1648            * wptFileManagerDlg.cpp (filemanager_dlg_proc): Localize menu
1649            and save 'AlwaysOnTop' in the registry.
1650            
1651    2005-11-16  Timo Schulz  <[email protected]>
1652    
1653            * WinPT.cpp (check_crypto_engine): Min is now GPG 1.4.2.
1654            * wptKeylist.cpp (keylist_add_key): Add disabled keys in list
1655            mode.
1656            * wptPreferencesDlg.cpp (prefs_dlg_proc): Localize all strings.
1657            * wptRegistry.cpp (regist_inst_winpt): Set install directory.
1658            Useful for other programs to figure out the path to the EXE.
1659            
1660    2005-11-14  Timo Schulz  <[email protected]>
1661    
1662            * wptGPG.cpp (check_gnupg_engine): Fix version check.
1663            * wptMainProc.cpp (winpt_main_proc): Check keyring
1664            file permissions always and do not use interative output
1665            when the windows session ends.
1666            * wptProxySettingsDlg.cpp (proxy_settings_dlg_proc):
1667            Localize all strings.
1668            * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.
1669            * wptGPGPrefsDlg.cpp (gpg_prefs_dlg): Likewise.
1670            * wptKeyEditDlgs.cpp (do_init_keylist): Skip all
1671            non-valid keys.
1672            
1673    2005-11-12  Timo Schulz  <[email protected]>
1674    
1675            Fix more GCC warnings.
1676    
1677    2005-11-10  Timo Schulz  <[email protected]>
1678    
1679            * wptClipSignDlg.cpp (one_key_proc): Use
1680            release_gpg_passphrase_cb() to free the context.
1681            * wptListView.cpp (listview_deselect_all): New.
1682            * wptMAPI.cpp (mapi_send_pubkey): Works again.
1683            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Support encrypt &
1684            zip.    
1685            * wptPassphraseCB.cpp (passphrase_callback_proc): Fix passphrase
1686            caching for signing operations.
1687            * wptKeyManager.cpp (km_send_to_mail_recipient): Works again.
1688            * wptFileManager.cpp (fm_send_file): Likewise.
1689            (fm_encrypt_into_zip): New.      
1690            
1691    2005-11-09  Timo Schulz  <[email protected]>
1692    
1693            * wptNLS.c (get_gettext_langid): Map user language id to
1694            printable gettext language strings.
1695            * wptRegistry.cpp (get_reg_entry_mo): Support for the
1696            gettext environment.
1697            * wptFileManager.cpp (fm_encrypt): Close all files before
1698            the wipe procedure is called.
1699            * wptVerlist.cpp (verlist_add_sig): Handle the case the
1700            issuer is not valid but the signature is.
1701            (verlist_add_sig_log): Likewise. Thanks to the folks on
1702            winpt-users.
1703            
1704    2005-11-08  Werner Koch  <[email protected]>
1705    
1706            * SAFE.ICO, SIGN.ICO: Fixed capitalization.
1707            * WinPT-en.rc: Ditto.
1708            * winpt_km.ico:  Moved from ../.
1709    
1710            * Makefile.am (resource_files): Add missing backslash.
1711    
1712    2005-11-08  Timo Schulz  <[email protected]>
1713    
1714            More minor changes to avoid GCC warnings.
1715            
1716            * wptGPG.cpp (check_homedir): Free memory in case of errors.
1717            (multi_gnupg_path): Add strict mode. If non-strict mode return
1718            the folder even if it does not exist.
1719            (check_for_gpgwin): New.
1720            * wptKeyserverDlg.cpp (hkp_recv_key): Make sure import_res is
1721            initialized.
1722            * wptRegistry.cpp (get_reg_entry_gpg4win): New.
1723            (get_reg_entry_mo): Support for gpg4win.
1724            
1725    2005-11-07  Timo Schulz  <[email protected]>
1726    
1727            * wptMainProc.cpp (winpt_main_proc): Disable
1728            some menu items when no secret key is available.
1729            
1730    2005-11-05  Timo Schulz  <[email protected]>
1731    
1732            More minor changes to avoid GCC warnings.
1733            
1734            * wptErrors.cp (winpt_strerror): Return w32
1735            formatted error and do not use 'break'.
1736            
1737    2005-11-04  Werner Koch  <[email protected]>
1738    
1739            * WinPT-en.rc: Fixed locations of icons.
1740    
1741    2005-11-03  Timo Schulz  <[email protected]>
1742    
1743            A lot of minor changes to avoid GCC warnings.
1744    
1745            * wptGPG.cpp (get_gnupg_keyring): Only check size for
1746            public keyring.
1747            * wptKeyManager.cpp (km_update_default_key_str): Do
1748            not issue a bug message when no secret key was found.
1749            * wptGPGPrefsDlg.cpp: Replace "" with NULL in the name struct.
1750            
1751    2005-11-02  Werner Koch  <[email protected]>
1752    
1753            * WinPT.cpp (WinMain): Disabled PTD version tests.
1754            (check_crypto_engine): Fixed version check for scard.
1755    
1756            * wptErrors.cpp (debug_end): Add dummy function.
1757    
1758            * Makefile.am (code_files): Added wptCardEditCB.cpp and
1759            wptKeyEditCB.cpp.
1760    
1761    2005-10-31  Werner Koch  <[email protected]>
1762    
1763            * wptCurrWnd.cpp: Include wptVersion.h to get prototypes of PTD
1764            functions.
1765    
1766            * wptKeyEditDlgs.cpp: Include oleauto.h
1767            * wptKeyEdit.cpp: Include time.h.
1768            * wptRegistry.cpp (gpg_filetypes): New from ../Include/wptGPG.h.
1769            * wptGPGUtil.cpp (gpg_manage_ownertrust): s/export/exportflag/.
1770    
1771            * Makefile.am (code_files): Add wptGPGUtil.cpp, wptCardEdit.cpp,
1772            wptKeyEdit.cpp and wptKeycache.cpp.
1773    
1774            * wptPassphraseCB.cpp: Fixed spelling of wptKeylist.h
1775            * wptImportList.cpp (implist_load): Use remove and not unlink.
1776            * wptGPG.cpp: Fixed spelling of wptGpgCmds.h
1777            * wptImportList.cpp (implist_load): Use remove and not unlink.
1778            * wptKeyManager.cpp (km_http_import): Ditto
1779            * wptMainProc.cpp: Include wptCrypto.h
1780            * wptKeyManager.cpp: Ditto.
1781            * wptFileManager.cpp: Ditto.
1782            * wptImportList.cpp (parse_colon_key): Need to cast argument for
1783            isdigit.  Include ctype.h.
1784            * wptGPG.cpp: Include shlobj.h.
1785    
1786            Fixed double inclusion of windows.h.
1787            
1788            * Makefile.am (bin_PROGRAMS): Don't build KeyManagerExe for now.
1789            * wptKeylist.cpp (get_key_created): Broke up trigraph.
1790            (get_key_status): Removed dangerous use of sprintf.  Still other
1791            flaws present, see comment.
1792    
1793            * wptCardPCSC.c: Don't include winscard.h.
1794            (pcsc_readerstate_t, pcsc_context_t): New.  Changed call users to
1795            use these types.
1796            (PCSC_): Added a lot of constants, all taked from GnuPG 1.9.
1797            (SCARD_S_SUCCESS): Changed all compares to test the value directly
1798            against zero.
1799    
1800            * WinPT.cpp: Include wptCrypto.h.
1801            (WinMain): Don't shard S. Removed usunsed variable SIZE.
1802            * Makefile.am (code_files): Actually add files by adding a first
1803            backslash.
1804            * wptMDSumDlg.cpp: Include wptCrypto.h.
1805            * wptProxySettingsDlg.cpp: Included ctype.h.
1806            * wptKeysigDlg.cpp: Fixed spelling of wptKeylist.h.
1807            * wptKeysignDlg.cpp: Ditto
1808            * wptKeyRevokersDlg.cpp: Ditto. Fixed spelling of wptW32API.h.
1809            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Replaced unlink by remove.
1810            Removed unused variable.
1811            * wptClipVerifyDlg.cpp (show_notation_data): s/not/nota/ due to
1812            silly c++ operator synonyms.
1813            * wptKeyEditDlgs.cpp: Include time.h.
1814            * wptClipDecryptDlg.cpp: Include wptCrypto.h to define PGP_MESSAGE.
1815            * wptFileManagerDlg.cpp: Ditto.
1816            (space_wipefrees_dlg_proc): Replaced unlink by remove; it doesn't
1817            matter if it does an rmdir for a directory.
1818    
1819            Fixed include of resource.h which is not anymore in the top
1820            directory.
1821    
1822    2005-10-28  Werner Koch  <[email protected]>
1823    
1824            * wptProxySettingsDlg.cpp (check_number): Cast isdigit() arg to
1825            unsigned.  Never ever use a possible signed char as argument for
1826            ctype tests.  An alternative is to first test using isascii ().
1827            (keyserver_proxy_dlg_proc): Removed unused variable.
1828    
1829    2005-10-27  Timo Schulz  <[email protected]>
1830    
1831            * wptKeyPropsDlg.cpp (get_validity): Take care of disabled keys.
1832            * wptKeylist.cpp (keylist_add_key): Check global key flag to
1833            see if the key is disabled and not each subkey.
1834            (seclist_init): Likewise.
1835            * wptClipDecryptDlg.cpp (gpgme_op_clip_decrypt): Use
1836            gpgme_op_decrypt_verify.
1837            (clip_decrypt_dlg_proc): Fixed fingerprint
1838            to keyid conversation. This also fixes a crash.
1839            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise.
1840            * wptKeyEditDlgs.cpp (do_editkey_expire): Ask if the key
1841            already expired if the user wants to change the date.
1842            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Replace old
1843            'v3 sig' option with the 'ask cert level' option. Sync
1844            with global preferences.
1845            * wptKeySignDlg.cpp (keysign_dlg_proc): Watch if the
1846            gpg.conf contains 'ask-cert-level'. If not disable button.
1847            * wptKeySigDlg.cpp (keysig_dlg_proc): Automatically disable
1848            the button when the key is available.
1849            Reload key directly, not the entire cache.
1850            
1851    2005-10-26  Timo Schulz  <[email protected]>
1852    
1853            * wptFileManager.cpp (is_floppy_disc): Prevent very unlikely but
1854            possible overflow.
1855            (is_openpgp_ext): Compare case insentensive.
1856            (add_single_file): New.
1857            (fm_add_opened_files): Support multi file selection.
1858            * wptKeyPropsDlg.cpp (do_change_ownertrust): Removed.
1859            * wptKeyManager.cpp (km_enable_disable_key): Do not set cache
1860            reload flag. Just update the single key.
1861            * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Remove static var
1862            and disable anonymize recipient for now.
1863    
1864            Begin to port code to GCC. Fix all warning issued by the gcc
1865            compiler.
1866    
1867    2005-10-25  Timo Schulz  <[email protected]>
1868    
1869            * wptGPGUtil.cpp (create_process): Hide window.
1870            * wptKeyPropsDlg.cpp (get_photo_tmpname): New.
1871            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Remove
1872            static var 'enable'.
1873            * wptKeygenDlg.cpp (keygen_dlg_proc): Likewise.
1874            (gpg_genkey_params): Make sure all primary keys are capable
1875            for signing and certification.
1876            * wptKeySigDlg.cpp (is_sig): If no item is selected, return 0.
1877            * wptGPG.cpp (gnupg_access_keyring): Check return value for
1878            NULL. Noted by Ralf.
1879            (get_gnupg_prog): Simplified.
1880            (check_homedir): Fixed. Return 0 when the dir is successfully created.
1881            * wptKeyManagerDlg.cpp (km_file_import): Use the hourglass to
1882            indicate a pending GPG process.
1883            * wptFileManager.cpp (op_begin, op_end): New. Indicate an start
1884            and and of an operation. For now just the cursor changes.
1885            (fm_parse_command_line): Remove debug output. Thanks to Ralf again.
1886            * WinPT.cpp (WinMain): Check if there is already an instance and
1887            set a variable early as possible.
1888            (load_gettext): If a previous instance was found, do not output
1889            any errors. Kudos to Ralf.      
1890    
1891    2005-10-24  Timo Schulz  <[email protected]>
1892    
1893            * wptPassphraseCB.cpp (passphrase_callback_proc): Allow to use
1894            pre-defined recipients.
1895            (release_gpg_passphrase_cb): Release recipients.
1896            * wptKeyPropsDlg.cpp (keyprops_load_photo): Set photo-id
1897            validity if needed.
1898            (keyprops_dlg_proc): Issue a warning if the photo is valid.
1899    
1900    2005-10-23  Timo Schulz  <[email protected]>
1901    
1902            * wptFileManager.cpp (fm_get_file_type): Detect detached sigs.  
1903            * wptKeyList.cpp (keylist_cmp_cb): Take care of expired/revoked keys.
1904            (get_ext_validity): New.
1905            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Several cleanups.
1906            * wptClipEditDlg.cpp (load_clipboard): Factored out some code into
1907            this function.
1908            (load_clipboard_from_file): Likewise.
1909            (save_clipboard_to_file): New.
1910            * wptKeyManagerDlg.cpp (keyprops_dlg_proc): Fix stack overflow.
1911    
1912    2005-10-22  Timo Schulz  <[email protected]>
1913    
1914            Localized a lot of more strings.
1915    
1916            * wptMainProc.cpp (load_smartcard): New.
1917            * wptFileManager.cpp (fm_parse_command_line): Simplify code.
1918            (fm_check_armor_type): Add new arg. Change all callers.
1919            (fm_get_file_type): Likewise.
1920            * wptKeyPropsDlg.cpp (display_key_info): New.  
1921            (keyprops_show_photo): Factored out some code into..
1922            (keyprops_load_photo): ..this function.
1923    
1924    2005-10-21  Timo Schulz  <[email protected]>
1925    
1926            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Use
1927            WM_INITPOPUPMENU to localize popup menu texts.
1928            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
1929            * wptClipSignDlg.cpp (one_key_proc): Use wipememory instead of memset.  
1930    
1931    2005-10-20  Timo Schulz  <[email protected]>
1932    
1933            Now WinPT depends on GPG 1.4.3 and GPGME 1.2.0.
1934    
1935            * wptPassphraseCB.cpp (passphrase_cb): Complete card support.
1936            * wptCardEdit.cpp (genKey): Handle cancel case.
1937            * keycache.c: Renamed into...
1938            * wptKeyCache.cpp: ...this.
1939            * wptW32API.cpp (set_menu_text): Removed unused code.
1940            (set_menu_text_bypos): New.
1941            * wptCrypto.h: New.
1942            * wptMainProc.cpp (winpt_main_proc): Complete localize
1943            menu texts.
1944            * wptErrors.cpp (log_debug): Use a static var so the file
1945            is only opened once.
1946            (debug_end): Cleanup. Currently just close the log file.
1947            * wptErrors.h (wipememory): New.
1948            (sfree_if_alloc): Use it here.
1949            * WinPT.cpp (WinMain): Display the min. GPGME version which
1950            is needed in case of an error.
1951    
1952    2005-10-17  Timo Schulz  <[email protected]>
1953    
1954            Free all memory returned by the GPGME dll with gpgme_free ().
1955    
1956            s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT.
1957    
1958            * wptKeyEdit.cpp (getCardStatus): Remove dummy key.
1959            (list_handler): With user interaction to allow to insert
1960            the card into the reader.
1961            * wptKeyEditCB.cpp (gpg_edit_card): Likewise.
1962            (common_card_handler): Fixed incorrect command string.
1963            * wptKeyPropsDlg.cpp (get_card_type): New.
1964            (keyprops_dlg_proc): Show card information if present.
1965            * wptFileManager.cpp (secret_key_available): Make the code faster.
1966            
1967    
1968    2005-10-16  Timo Schulz  <[email protected]>
1969    
1970            * wptPassphraseCB.cpp (passphrase_cb): Fix problem
1971            with hanging GPG process on cancel.
1972            * keycache.c (gpg_keycache_release): Release all objects.
1973    
1974    2005-10-15  Timo Schulz  <[email protected]>
1975    
1976            * wptCardEdit.cpp (setResult, getResult): New.
1977            (reset): New.
1978            (getCardStatus): Check return codes and release all objects
1979            in case of errors.
1980            * wptCardEditCB.cpp (change_pin_handler): Call reset()
1981            before quit.
1982            (editcard_handler): Likewise.
1983            (common_card_handler): New.
1984            * wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask
1985            the old PIN when 'Hide Typing' is disabled.
1986            * wptPassphraseCB.cpp (passphrase_cb): The card detection
1987            works again. Support to re-enter passphrase.
1988    
1989    2005-10-14  Timo Schulz  <[email protected]>
1990    
1991            * wptCardDlg.cpp (card_status): New fields for the
1992            fingerprint creation time. Display card info as title.
1993            (get_printable_version): New.
1994            * wptCardEditCB.cpp (editcard_handler): Fix problem
1995            with the counter comparison.
1996    
1997    2005-10-11  Timo Schulz  <[email protected]>
1998    
1999            Port to GPGME basically finished.
2000    
2001    2005-09-20  Timo Schulz  <[email protected]>
2002    
2003            * wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc):
2004            Do not use gpgme_recipients_t but the listview directly
2005            to add the selected files.
2006    
2007    2005-09-07  Timo Schulz  <[email protected]>
2008    
2009            * Make sure all GetOpenFileName filters are terminated by \0\0.
2010    
2011    2005-09-01  Timo Schulz  <[email protected]>
2012    
2013            * wptW32API.cpp (center_window): New argument for parent window.
2014            Change all callers.
2015            (center_window2): Likewise.
2016            * GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'.
2017            * wptGPG.cpp (gnupg_backup_options): Remove param. One backup
2018            file is enough. Changed all callers.
2019    
2020    2005-08-15  Timo Schulz  <[email protected]>
2021    
2022            * wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys.
2023            * wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title.
2024            * Make sure the passphrase is always overwritten before it is
2025            freed (or the function returns).
2026            * wptKeyPropDlg.cpp (get_pref_cipher): New.
2027            (keyprops_dlg_proc): Use it here.
2028    
2029    2005-08-06  Timo Schulz  <[email protected]>
2030    
2031            * wptGPGME.cpp (keycache_update): Reload OpenPGP parts
2032            of the secret key.
2033            (keycache_init): cache name of secret keyring.
2034            * wptKeyList.cpp (keylist_upd_key): Do not add long keyid.
2035            (get_key_type): Do not assume 'ultimate' means key pair.
2036            * wptKeyEditDlgs.cpp (diff_time): New.
2037            (keyedit_addsubkey_dlg_proc): Changed design and use
2038            diff_time. Drop checks for invalid keylength (< 1024, > 4096)
2039            because the combo box automatically handles this.
2040            * wptKeyManager.cpp (km_set_implicit_trust): Return error code.
2041            * wptGPG.cpp (get_backup_name): New.
2042            (gnupg_backup_keyrings): Rotate backup names, from 0..3.
2043            * wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory.
2044            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and
2045            not the long keyid.
2046    
2047    2005-08-05  Timo Schulz  <[email protected]>
2048    
2049            * wptListView.cpp (listview_set_item2): New.
2050            * wptKeyManager.cpp (km_check_if_protected): Directly
2051            retrieve gpgme_key_t from the list.
2052            (km_check_key_status): Likewise.        
2053            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use
2054            a human-readable name for secret key export.
2055            Reload just the keys which were affected by updates
2056            (edit-key).
2057            (update_key): New.
2058            * wptKeyList.cpp ((keylist_upd_key): Stripped down
2059            version of keylist_add_key.
2060            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not
2061            reload the keycache here, just flag 'update'. Give the
2062            control to the calling dialog.
2063            * wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t
2064            as parameter. Changed all callers.
2065            Add date of expiration to the key info.
2066            (get_expire_date): New.
2067            Use a checkbox to allow to ask for the cert level.
2068            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload
2069            the cache.
2070    
2071    2005-08-04  Timo Schulz  <[email protected]>
2072    
2073            * wptListView.cpp (listview_scroll): New.
2074            (listview_get_item2): New.
2075            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the
2076            item was found, make it visible with scrolling.
2077            * wptKeyManager.cpp (km_find_key): New.
2078            (keylist_subclass_proc): Support to handle some acceleators.
2079            Strg+{C, P, F, A}.
2080            (km_get_key_status): Get the gpgme_key_t object directly
2081            from the list.
2082            * wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set
2083            the config file (if it exists).
2084            * wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code
2085            to handle the click->activate situation.
2086            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
2087            Support to check the passphrase quality.
2088            * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.
2089            (request_passphrase): Rename 'init' to 'flags' to allow more
2090            options.
2091            * wptMAPI.cpp: Check all *alloc results.
2092            * wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary
2093            passphrase quality check.
2094            * wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file
2095            format and allow to save the checksum in a file.
2096            * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning
2097            when the PGP mode is disabled.
2098            wptKeyEditDlgs.cpp (do_editkey_primary): Return if just
2099            one user-ID exists.
2100            (keyedit_dlg_proc): Fixed index problem.
2101            * wptKeyPropsDlg.cpp (get_validity): New.
2102            (keyprops_dlg_proc): Actually show extended validity if possible.
2103            * wptKeyList.cpp (get_key_fpr): Support for old v3 format.
2104            (do_addkey): Use listview_add_item2 to store key as opaque
2105            param inside the list.
2106            * wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx.
2107            (file_stat_dlg_proc): End dialog if no PGP data was found.
2108            (do_list_packets): Return the number of valid PGP packets
2109            of the file.
2110    
2111    2005-08-02  Timo Schulz  <[email protected]>
2112    
2113            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of
2114            using 'Default Keyserver' add the real keyserver name to
2115            the menu.
2116            The rebuild command does not reload the cache any longer.
2117            Use ATTR_NAME + .asc as the filename and not keyid + .asc.
2118            * wptProxySettingsDlg.cpp (enable_proxy_auth): New.
2119            (keyserver_proxy_dlg_proc): Changed the design a little
2120            and add some additional sanity checks.
2121            * wptGPGParser.cpp (commit_gpg_options): Use W32 line endings.
2122            This fixes the problem that the GPG option dialog does not show
2123            very nice lines.
2124            * wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config.
2125            * wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected
2126            check for 'NOKEY' before asking a keyserver.
2127            * wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag.
2128            If a lot of keys were selected, ask if the user wants to confirm
2129            each delete procedure or allow to cancel the operation.
2130            * wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much
2131            keys the file contain.
2132            * wptKeyList.cpp (get_key_algo): Beautified.
2133            (get_key_status): Drop the "[XYZ] Unknown" format, it is too
2134            confusing for users.
2135            * wptKeyManager.cpp (km_check_key_status): Adjustments for the
2136            new code.
2137            (km_check_for_seckey): Reset utrust parameter. Return -1 for
2138            invalid (exp+rev+dis) keys.
2139    
2140    2005-08-01  Timo Schulz  <[email protected]>
2141    
2142            * wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given
2143            sizes.
2144            (check_IP_or_hostname): New.
2145            (kserver_load_conf): Correct finger URL parsing problem.
2146            (port_from_proto): New.
2147            (keyserver_load_conf): Guess the port.
2148            (keyserver_set_default): Allocate new buffer.
2149            (kserver_load_conf): Likewise.
2150            * wptHTTP.c (parse_reqline, parse_request): Removed.
2151            Use WinPT error code and remove all unused code.
2152            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs.
2153            * wptProxySettingsDlg.cpp (read_proxy): Simple check for
2154            invalid host/IP addresses.
2155            * wptGPG.cpp (multi_gnupg_path): Return allocated buffer.
2156            Changed all callers.
2157            * wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start,
2158            automatically set 'backup to homedir'.
2159            * WinPT.cpp (WinMain): Use desktop window as the parent window
2160            to load 'first-start' dialogs.
2161            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh'
2162            flag after deleting keys.
2163            * wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure
2164            for passing the arguments.
2165            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for
2166            the OptFile. This was responsible for a lot of 'General Errors'
2167            after the first start related to key caching.
2168            Automatically set the gpg binary if possible.
2169    
2170    2005-07-22  Timo Schulz  <[email protected]>
2171    
2172            * wptMainProc.cpp (winpt_main_proc): Take care for shutdown
2173            messages and make sure WinPT make a keyring backup in this case.
2174            * wptGPGME.cpp (keycache_reload): Do not rebuild the signature
2175            cache each time. Just do it on startup.
2176            * wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION.
2177            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag
2178            was set by the calling function.
2179            * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups.
2180            (keygen_dlg_proc): Only add the generated key to the keycache
2181            and do not reload the entire cache.
2182            * wptKeyManager.cpp (km_delete_keys): Store the number of keys
2183            because in each loop iteration it will be new calculated.
2184            * wptListView.cpp (listview_del_items): Likewise.
2185            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the
2186            generated key to the list instead of reloading the entire cache.
2187            * wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn.
2188    
2189  2005-05-09  Timo Schulz  <[email protected]>  2005-05-09  Timo Schulz  <[email protected]>
2190    
2191          * wptCommonDlg.cpp (http_file_dlg_proc): Renamed to..          * wptCommonDlg.cpp (http_file_dlg_proc): Renamed to..
# Line 60  Line 2229 
2229          * wptProxySettingsDlg.cpp (check_number): New.          * wptProxySettingsDlg.cpp (check_number): New.
2230          (read_proxy): Check the entered port number.          (read_proxy): Check the entered port number.
2231          * wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button.          * wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button.
2232            * wptW32API.cpp (get_folder_dlg): Free memory.
2233    
2234  2005-04-11  Timo Schulz  <[email protected]>  2005-04-11  Timo Schulz  <[email protected]>
2235    
# Line 403  Line 2573 
2573    
2574          * WinPT.cpp (load_keyserver_conf): New. Factored out some code          * WinPT.cpp (load_keyserver_conf): New. Factored out some code
2575          from WinMain ().          from WinMain ().
2576          (WinMain): Load keyserver config at the begin. Thanks to Bodo A�ner          (WinMain): Load keyserver config at the begin. Thanks to Bodo Aßner
2577          * wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver          * wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver
2578          in the list control, add at least the internal default HKP server.          in the list control, add at least the internal default HKP server.
2579          * wptKeygenDlg.cpp (keygen_wizard_dlg_proc): NLS support.          * wptKeygenDlg.cpp (keygen_wizard_dlg_proc): NLS support.

Legend:
Removed from v.20  
changed lines
  Added in v.366

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26