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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26