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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26