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

Diff of /trunk/Src/ChangeLog

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

revision 128 by twoaday, Mon Dec 19 13:05:59 2005 UTC revision 276 by twoaday, Thu Dec 21 08:24:59 2006 UTC
# Line 1  Line 1 
1    2006-12-21  Timo Schulz  <[email protected]>
2    
3            * wptCryptDisk.cpp, wptCryptDiskSrv.cpp: Deleted.
4            The Code will be possibly used in a separate project.
5    
6    2006-12-05  Timo Schulz  <[email protected]>
7    
8            * wptClipDecryptDlg.cpp (verify_get_clip_info): If
9            there is no pubkey available, issue a hint and not BUG.
10            
11    2006-12-02  Timo Schulz  <[email protected]>
12    
13            * WinPT-en.rc: Remove wipe free space menu item.
14            * wptRegistry.cpp (get_reg_winpt_prefs): Remove wipemode.
15            * wptFileManageRDlg.cpp (file_secdel_confirm_dlg_proc):
16            Allow to set the passes here.
17            * wptFileManager.cpp (fm_encrypt): change all callers
18            for the wipe functions.
19            * wptListview.cpp (listview_sort_items): Extract code
20            to change the column image.
21            * wptKeylist.cpp (key_get_image_id): New.
22            (keylist_build): Change return type and all callers.
23            * wptGPG.cpp (gnupg_load_config): Kludge to detect
24            the 'textmode' option.
25            * wptPassCache.cpp (wipe_data): replaced with wipememory().    
26    
27    2006-11-12  Timo Schulz  <[email protected]>
28    
29            * wptGPG.cpp (check_gnupg_options): Fix sizeof != DIM problem.
30            * wptGPGOptDlg.cpp (gpg_opt_dlg_proc): Better checks to
31            avoid invalid gpg.conf entries.
32            Thanks to Ralf Latz.
33            
34    2006-11-04  Timo Schulz  <[email protected]>
35    
36            * wptW32API.cpp (set_clip_text2): Make sure enough memory
37            will be allocated.
38            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Delete list
39            view entries for none existing files.
40            * wptKeySignDlg.cpp (keysign_dlg_proc): Simplified.
41            * wptClipboard.cpp (gpg_data_change_version): Be more liberal.
42            * wptKeyserver.cpp (parse_pub_record): Convert FPR entries
43            into KEYID entries.
44            * wptGPG.cpp (gnupg_backup_keyrings): Release memory in case
45            of errors.
46            (get_backup_name): Use constant formant spec.
47            (extract_keyid): Simplified.
48            * wptKeyserver.cpp (kserver_connect): Return proxy error if
49            approriate.
50            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Correct memory
51            handling to avoid possible segfaults.
52            (fetch_key_from_keyserver): Real error handling.
53            * wptFileManager.cpp (fm_gpg_verify): New.
54            (fm_verify): Support to fetch key here to avoid problems later.
55            * wptFileCBS.cpp (file_data_rewind): New.
56            
57            
58    2006-10-27  Timo Schulz  <[email protected]>
59    
60            * wptGPG.cpp (get_backup_name): Make sure enough memory
61            will be allocated.
62            (gnupg_backup_keyrings): Release memory in case of errors.
63            
64    2006-10-21  Timo Schulz  <[email protected]>
65    
66            * wptKeyserver.cpp (get_reg_proxy_prefs): Load the protocol
67            and store it.
68            * wptKeyCache.cpp (parse_attr_data): Avoid zombie temp files.
69            
70    2006-10-04  Timo Schulz  <[email protected]>
71    
72            * wptFileManager.cpp (fm_check_armor_type): Remove space in
73            search pattern string.
74            (fm_check_for_entry): Case insentensive search.
75            (fm_add_dir_files): Use W32 API directly.
76            * wptVerifyList.cpp (verlist_add_sig_log): Use proper icon.
77            * wptGPGUtil.cpp (get_gpg_version): Cleanups.
78            
79    2006-08-30  Timo Schulz  <[email protected]>
80    
81            * wptRegistry.cpp (get_reg_entry): Do not use static buffers.
82            * wptKeyserverDlg.cpp (add_pattern_to_combox): New.
83            (save_pattern_from_combox): New.
84            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Solve icon problem.
85            * wptGPGMEWrapper.c (importFromBuffer): New.
86            * WinPT.cpp (check_crypto_engine): Only enable PC/SC when the
87            system really has smart card services enabled.
88            * wptKeyManger.cpp (km_http_import): Stricter error checking.
89            * wptFileManager.cpp (fm_send_file): Use at least MAX_PATH
90            for the file name.
91            
92    2006-08-24  Timo Schulz  <[email protected]>
93    
94            * wptHTTP.cpp (extraHostInfo): Handle case when no doc were given.
95            (get): Better error handling.
96            (head): Likewise.
97            * wptGPGME.cpp (sigsum_to_index): Just map the index without
98            any checks.
99            * wptCommonDlg.cpp (check_URL): Be more strict.
100            
101    2006-08-11  Timo Schulz  <[email protected]>
102    
103            * wptGPGMEWrapper.cpp (importFromFile): New.
104            (importFromClipboard): New.
105            (importGetResult): New.
106            * wptKeyManager.cpp (km_file_import): Use gpgme wrapper.
107            (km_clip_import): Ditto.
108            * wptKeyEdit.cpp (addCardKey): New.
109            * wptKeyEditCB.cpp (cmd_addcardkey_handler): New.
110            * wptCardEdit.cpp (get_str_timestamp): Use locale date format.
111            * wptCardDlg.cpp (card_edit_dlg_proc): Began to localize dialog.
112            * wptKeyCache.cpp (key_divert_to_card): Adjusted for 'addcardkey'.
113            
114    2006-08-10  Timo Schulz  <[email protected]>
115    
116            * wptFileManager.cpp (fm_verify_pasted_detsig): '=' should be
117            '=='.
118            * wptGPGME.cpp (sigsum_to_index): Correctly handle expired
119            keys and signatures.
120            (get_gpg_sigstat): Adjusted code.
121            * wptCardDlg.cpp (card_changepin_dlg_proc): Cleanups.
122            (gpg_card_load): Improved card detection code.
123            * wptFirstRunDlg.cpp (first_run_dlg_proc): Allow to generate
124            a key on a card. Suggested by Achim.
125            * wptUtil.cpp (check_email_address): Add sanity check for
126            the length.
127            * WinPT.cpp (WinMain): Handle cardgen request.
128            
129    2006-08-04  Timo Schulz  <[email protected]>
130    
131            * wptKeysignDlg.cpp (display_keyinfo): Skip revoked user IDs.
132            * wptKeyManagerDlg.cpp (reload_keylist): Use updated ptr.
133            * wptKeyCache.cpp (gpg_keycache_delete_key): Correct handling
134            for the situation that the last key in the cache is deleted.
135            * wptFileManagerDlg.cpp (update_ui_items): Fix file name
136            detection.
137            
138    2006-08-02  Timo Schulz  <[email protected]>
139    
140            * wptClipDecryptDlg.cpp (verify_get_clip_info): Fix problem
141            with static data.
142            (clip_decrypt_dlg_proc): Prefix keyid with 0x.
143            (get_key_userid): Fix problem when key was not found.
144            * wptClipVerifyDlg.cpp (fetch_key_from_keyserver): Correct
145            fingerprint to short keyid conversion.
146            * wptVerifyList.cpp (verlist_set_additional_info): Handle bad
147            sigs.
148            * wptKeyManagerDlg.cpp (update_status_bar): Faster update code.
149            
150            
151    2006-08-01  Timo Schulz  <[email protected]>
152    
153            * wptGPG.cpp (get_last_gnupg_access): Enhanced.
154            (gnupg_display_error): Removed unused code.
155            * wptPassphraseCB.cpp (parse_gpg_description): Text output
156            is now more human readable.
157            * wptKeyManager.cpp (km_refresh_from_keyserver): Return an
158            error code in all cases.
159            
160    2006-07-31  Timo Schulz  <[email protected]>
161    
162            * wptMainProc.cpp (clip_gpg_dlg): Merge in the current window
163            handling code.
164            * wptCurrWnd.cpp (wnd_msg_em_set_pos): Reset pos to 0, not 1.
165            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Disable sorting
166            for list view controls.
167            
168    2006-07-30  Timo Schulz  <[email protected]>
169    
170            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Change menu style.
171            * wptKeySignDlg.cpp (keysign_dlg_proc): List all user IDs.
172            (display_keyinfo): New.
173            * wptKeySigDlg.cpp (init_datepicker_from_time): New.
174            (keysig_dlg_proc): List creation time.
175            * wptKeyManager.cpp (km_send_to_mail_recipient): Fix file
176            handling.
177            
178    2006-07-28  Timo Schulz  <[email protected]>
179    
180            * wptKeyManager.cpp (lv_del_confirmed_keys): New.
181            * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Automatically
182            adjust key size.
183            * wptKeygenDlg.cpp (keygend_dlg_proc): Likewise.
184            
185    2006-07-25  Timo Schulz  <[email protected]>
186    
187            Applied spelling corrections from Anthony Bryan.
188            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Changed design.
189            * wptKeygenDlg.cpp (backup_keyrings): Change default keyring.
190            
191    2006-07-22  Timo Schulz  <[email protected]>
192    
193            * wptMainProc.cpp (elgamal_warn_dlg_proc): Properly handle
194            utf8 encoded user ids.
195            (winpt_main_proc): Cleanups.
196            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Allow to copy
197            email address to the clipboard.
198            
199    2006-07-15  Timo Schulz  <[email protected]>
200    
201            * WinPT.cpp (WinMain): Compare PTD and WinPT version to avoid
202            any compatibility problems.
203            * wptW32API.cpp (get_file_version): Cleanups.
204            
205    2006-07-10  Timo Schulz  <[email protected]>
206    
207            * wptUtil.cpp (check_file_name): New.
208            * wptKeyRevokeDlg.cpp (mk_cert_name): Avoid illegal chars.
209            (key_revoke_dlg_proc): Likewise.
210            * wptMDSumDlg.cpp (mdsum_dlg_proc): Corrected file handling.
211            * wptImportList.cpp (implist_load): Likewise.
212            * wptFileSaveDlg.cpp (file_save_dlg_proc): Likewise.
213            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Hide dialog item.
214            
215    2006-07-05  Timo Schulz  <[email protected]>
216    
217            * wptMainProc.cpp (winpt_main_proc): Change menu texts.
218            * wptClipEditDlg.cpp (clip_edit_dlg_proc): More lightweight
219            with a menu instead of dozen of buttons.
220            
221    2006-07-01  Timo Schulz  <[email protected]>
222    
223            * wptFileManager.cpp (fm_sort): Rewritten.
224            (fm_build): Modify param type. Change all callers.
225            (fm_cmp_cb): Adjusted for the new code.
226            * wptMDSumDlg.cpp (mdsum_dlg_proc): Minor changes and model
227            for the list view.
228            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Use info
229            context and model for the list view.
230            (update_status_bar): Fix calculation of the size of the
231            selected files.
232            * wptProgressDlg.cpp (wait_for_progress_cb): Changed semantic
233            and return type.
234            
235    2006-06-28  Timo Schulz  <[email protected]>
236    
237            * wptGPGPrefsDlg.cpp (load_gpg4win_values): Fix control logic
238            and memory leak.
239            * wptListView.cpp (listview_find_substr): New.
240            (listview_sort_items): Use symbolic ids.
241            * wptKeyManager.cpp (km_find_key): Allow substring search.
242            
243    2006-06-27  Timo Schulz  <[email protected]>
244    
245            * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Also call viewer
246            when no sig has been found (if requested).
247            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Use a button to
248            quote instead of the check box. Cleanups.
249            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Correct
250            sorting problem and wrong icon display.
251            * wptListView.cpp (listview_sort_items): Correct code for
252            checkbox based lists.
253            * wptKeylist.cpp (keylist_build): Add sorting icons.
254            * wptKeyEditDlgs.cpp (create_header_tooltip): New.
255            
256    2006-06-24  Timo Schulz  <[email protected]>
257    
258            * wptMainProc.cpp (winpt_main_proc): Localize missing string.
259            * wptKeyEditDlgs.cpp (do_add_new_subkey): Better fpr to keyid
260            conversion.
261            (subkey_list_init): Simplified.
262            
263    2006-06-22  Timo Schulz  <[email protected]>
264    
265            * WinPT-en.rc: Include versioninfo.rc to generate
266            the version info automatically.
267            
268    2006-06-19  Timo Schulz  <[email protected]>
269    
270            * wptClipDecryptDlg.cpp (verify_get_clip_info): Improved
271            format of the sig info text.
272            * wptKeyserver.cpp (check_hkp_response): Invert error logic.
273            * wptKeyserverDlg.cpp (keyserver_recv_key): Corrected error
274            handling.
275            * wptPassphraseDlg.cpp (request_key_passphrase): Return
276            utf8 encoded passphrase.
277            
278    2006-06-18  Timo Schulz  <[email protected]>
279    
280            * wptKeygenDlg.cpp (keygen_dlg_proc): Fix typo.
281            * wptClipDecryptDlg.cpp (verify_get_clip_info): New.
282            (verify_get_key_ownertrust): New.
283            (clip_decrypt_dlg_proc): New argument. Change all callers.
284            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Handle the case
285            that the dialog was called with a param.
286            * wptMainProc.cpp (winpt_main_proc): Wait for thread in
287            case of dbl-click.
288            
289    2006-06-16  Timo Schulz  <[email protected]>
290    
291            * wptProgressDlg.cpp (wait_for_progress_cb): New.
292            * wptMainProc.cpp (winpt_main_proc): Use this function
293            to disallow to access the cache during synchronisation.
294            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
295            * wptKeyserver.cpp (check_hkp_response): Improved text
296            extraction.
297            (parse_keyserver_error): New.
298            * wptPassphraseDlg.cpp (request_passphrase): Support utf8
299            encoding.
300            * wptKeyEditDlgs.cpp (keyedit_change_passwd): Warn if passhrase
301            needs to be utf8 encoded but still allow it.
302            * wptPassphraseCBDlg.cpp (passphrase_callback_proc): Utf8 support.
303            * wptKeygenDlg.cpp (keygen_dlg_proc): Likewise.
304            * wptKeyRevokeDlg.cpp (keyrevoke_dlg_proc): Likewise.
305            
306    2006-06-15  Timo Schulz  <[email protected]>
307    
308            * wptVerList.cpp (verlist_build): Use icons.
309            (verlist_add_sig): Set image number according to sig state.
310            
311    2006-06-14  Timo Schulz  <[email protected]>
312    
313            * wptAboutDlgs.cpp (about_winpt_dlg_proc): Translate
314            authors string here. Noted by Eduardo.
315            * wptSymEnc.cpp (gpg_clip_sym_encrypt): Check all return codes.
316            
317    2006-06-09  Timo Schulz  <[email protected]>
318    
319            * wptKeyEditDlgs.cpp (do_add_new_subkey): Properly handle
320            RSA_E and RSA_S.
321            * wptFileManager.cpp (fm_sym_encrypt): Better dialog title.
322            
323    2006-06-08  Timo Schulz  <[email protected]>
324    
325            * wptKeyserver.cpp (parse_keyserver_url): Handle special case.
326            * wptKeySignDlg.cpp (keysign_dlg_proc): Show photo if possible.
327            (showphoto_dlg_proc): New.
328            * wptKeyManagerDlg.cpp (restore_window_size): New.
329            (keymanager_dlg_proc): Restore original window size on startup.
330            (copy_key_info): Allow to copy multiple key items.
331            
332    2006-06-06  Timo Schulz  <[email protected]>
333    
334            * wptKeyEditCB.cpp (cmd_sign_handler): Return 0 by default
335            if no expire date were given.
336            
337    2006-06-05  Timo Schulz  <[email protected]>
338    
339            * wptPassphraseDlg.cpp (request_passphrase): Release mem
340            in case of errors.
341            (request_key_passphrase): New.
342            (set_passphrase_hint): New.
343            * wptKeyEditDlgs.cpp (do_editkey_sign_userid): Show passphrase
344            hint. Suggested by vedaal.
345            
346    2006-06-03  Timo Schulz  <[email protected]>
347    
348            * wptPINDlg.cpp (pin_dlg_proc): Remove static var.
349            * wptClipEncryptDlg.cpp (show_invalid_recipients): Handle
350            the case that 'encrypt-to' points to a non-existing item.
351            * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Do not close
352            the dialog if an error occurred.
353            * wptKeygenDlg.cpp (keygn_dlg_proc): Check expirate date.
354            * wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Release mem
355            in case of errors.
356            * wptKeyserverDlg.cpp (check_pattern): Improved code.
357            (keyserver_dlg_proc): All comparisons are case insentensive.
358            * wptKeyserver.cpp (parse_uid_record): utf8 decode user id.
359            
360    2006-06-02  Timo Schulz  <[email protected]>
361    
362            * wptKeygenDlg.cpp (keygen_dlg_proc): Forgot to apply patch.
363            
364    2006-06-01  Timo Schulz  <[email protected]>
365    
366            * wptKeyserver.cpp (check_URL): change semantic.
367            (skip_type_prefix): Use check_URL().
368            * wptGPG.cpp (gnupg_backup_keyrings): New argument to
369            include secret keyring backups. Change all callers.
370            * wptRegistry.cpp (get_reg_winpt_prefs): Support new option.
371            (set_reg_winpt_prefs): Likewise.
372            * wptPreferencesDlg.cpp (on_init_dialog): Adjust the code.
373            
374    2006-05-29  Timo Schulz  <[email protected]>
375    
376            * wptKeyserver.cpp (keyserver_set_default): Also set default port.
377    
378    2006-05-27  Timo Schulz  <[email protected]>
379    
380            * wptKeyEditDlgs.cpp (keyedit_change_passwd): Handle empty
381            passphrase requests.
382            * wptClipDecryptDlg.cpp (verify_show_signature_state): Modified
383            for global use.
384            * wptFileManager.cpp (fm_decrypt): Use it here.
385            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Simplified.
386            
387    2006-05-25  Timo Schulz  <[email protected]>
388    
389            * wptGPGUtil.cpp (gpg_rebuild_cache): Return error code.
390            * wptGPGME.cpp (winpt_get_seckey): Fix off-by-one bug.
391            * wptVerifyList.cpp (verlist_build): New argument type.
392            Change all callers.
393            (verlist_set_info_control): New.
394            (verlist_set_additional_info): New.
395            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Adjust code.
396            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise.
397            * wptFileCBS.cpp (read_cb, write_cb): Add logging.
398            
399    2006-05-23  Timo Schulz  <[email protected]>
400    
401            * wptKeyEditDlgs.cpp (do_add_new_userid): Fix re-introduced
402            problem.
403            (keyedit_main_dlg_proc): Popup menu for the user ID list
404            with common commands.
405            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Automatically
406            disable search for ldap servers.
407            Use subkeys.pgp.net by default when no server was selected.
408    
409    2006-05-22  Timo Schulz  <[email protected]>
410    
411            * wptRegistry.cpp (set_reg_winpt_prefs, get_reg_winpt_prefs):
412            Support for the new 'default ext' value.
413            * wptPreferencesDlg.cpp (on_init_dialog): Likewise.
414            (prefs_dlg_proc): Likewise.
415            * wptFileManager.cpp (file_get_extension): Likewise.
416            (get_output_file): Likewise.
417            (fm_export): Likewise.
418            
419    2006-05-20  Timo Schulz  <[email protected]>
420    
421            * wptKeyPropsDlg.cpp (keyprops_load_photo): avoid expensive
422            process call when no photo is available.
423            (keyprops_dlg_proc): avoid static data.
424            * wptFileManager.cpp (fm_add_sig_stat): Free memory in case
425            of on demand key requests.
426            (show_verify_result): Likewise.
427            (secret_key_available): Likewise.
428            (fm_decrypt, fm_sign): Handle the new on demand key request
429            mode and free all memory.
430            
431    2006-05-15  Timo Schulz  <[email protected]>
432    
433            * wptKeyEditDlgs.cpp (userid_list_init): Forgot to
434            apply patch. Thanks to vedaal.
435            
436    2006-05-14  Timo Schulz  <[email protected]>
437    
438            * wptKeyCache.cpp (gpg_keycache_update_attr): Parse
439            preferred keyserver URL.
440            * wptHTTP.cpp (extractHostInfo): Fix segv.
441            * wptGPGUtil.cpp (gpg_find_key_subpacket): Ignore default
442            gpg.conf.
443            * wptKeyserverSearchDlg.cpp (search_hkp_keys): Do not
444            assume an existing user id.
445            * wptPassphraseCB.cpp (passphrase_cb): Automatic cancel
446            if no passphrase is available.
447    
448    2006-05-13  Timo Schulz  <[email protected]>
449    
450            * wpMainProc.cpp (secret_key_available): Move it...
451            * wptGPGME.cpp: ..to this file.
452            (check_ultimate_trusted_key): Handle the case there
453            is no secret key available.
454            * wptFileManagerDlg.cpp (update_ui_items): Improved.
455            * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Deactive
456            some functions when no secret key is available.
457            * wptKeyserverSearchDlg.cpp (search_hkp_keys): Adjust
458            code and also display pubkey algorithm.
459            * wptKeyserver.cpp (safe_alloc): New.
460            (count_keys_in_response): New.
461            (parse_pub_record): New.
462            (parse_uid_record): New.
463            (kserver_release_key): New.
464            (kserver_search_begin, kserver_search_next_key):
465            Adjust for the machine readable output. Removed old code.
466            (parse_keyserver_url): New.
467            * wptUtil.cpp (substr): New.
468            * wptKeyManager.cpp (km_refresh_one_key): Properly
469            parse the keyserver URL.
470            
471    2006-05-11  Timo Schulz  <[email protected]>
472    
473            * wptPassphraseCB.cpp (release_gpg_recipients): New.
474            (release_gpg_recipients): Use it here.
475            * wptFileManager.cpp (fm_decrypt): List all recipients.
476            Thanks to vedaal.
477            * wptGPG.cpp (extract_keyid): New.
478            (get_gnupg_default_key): Use it here.
479            * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Allow to verify
480            one-pass-sigs again.
481            
482    2006-05-09  Timo Schulz  <[email protected]>
483    
484            * wptKeyRevokersDlg.cpp (revokelist_build): Store key ptr.
485            * wptClipSignDlg.cpp (gpg_clip_sign): Improve error handling.
486            * wptKeysigDlg.cpp (sigprops_dlg_proc): Correct expire date.
487            
488    2006-05-07  Timo Schulz  <[email protected]>
489    
490            * wptKeyserverDlg.cpp (hkp_err_box): Improved.
491            * wptKeyserver.cpp (wsock_strerror): Likewise.
492            * wptKeygenCBDlg.cpp (keygen_cb_dlg_destroy): New param.
493            Change all callers.
494            * wptKeysigDlg.cpp (do_load_keyprops): Correct key update
495            problem.
496            
497    2006-05-06  Timo Schulz  <[email protected]>
498    
499            * wptKeyManagerDlg.cpp (reload_keycache): Use pre-defined
500            sorting order if available.
501            * wptKeyPropsDlg.cpp (key_props_dlg_proc): Use 0x prefix
502            for the key ID.
503            (get_pref_cipher): Differ between the AES algorithm IDs.
504            (key_is_valid): New.
505            * wptKeyserverDlg.cpp (check_pattern): Simplified.
506            
507    2006-05-03  Timo Schulz  <[email protected]>
508    
509            * wptKeyCache.cpp (keycache_prepare2): Fix possible segv.
510            Thanks to Mathias.
511            
512    2006-05-02  Timo Schulz  <[email protected]>
513    
514            * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Use a
515            caption for the radio button group.
516            * wptKeyserverDlg.cpp (keyserver_recv_key): Use new code.
517            * wptKeyserver.cpp (kserver_recvkey, finger_recvkey,
518            ldap_recvkey): Avoid fixed buffers.
519            (do_spawn_ldap_helper): New.
520            (ldap_recvkey): Factor out code into helper function.
521            * wptPassphraseCBDlg.cpp (passphrase_callback_proc):
522            Increase width of the list box to make sure even large
523            user IDs will be completly displayed.
524            
525    2006-05-01  Timo Schulz  <[email protected]>
526    
527            * WinPT.cpp (WinMain): Check if the user has admin privileges.
528            * wptW32API.cpp (user_is_admin): New.
529            * wptKeysigDlg.cpp (sigprops_dlg_proc): Cosmetical changes.
530            * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Use timer
531            to re-activate the window again.
532            * wptKeylist.cpp (get_key_trust2): Differ between "full"
533            and "ultimate".
534            * wptKeyCache.cpp (keycache_prepare2): Primary user-id
535            has now highest priority.
536            * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Use new utf8
537            system.
538            
539    2006-04-30  Timo Schulz  <[email protected]>
540    
541            * wptKeyCache.cpp (gpg_keycache_release): Release revoker
542            list if needed.
543            * wptKeyRevokersDlg.cpp (key_get_revokers): New.
544            (key_revokers_dlg_proc): Expect winpt_key_t. Change all callers.
545            * wptKeyEditDlgs.cpp (check_desig_rev): New.
546            (do_editkey_minimize): New.
547            * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Support to
548            generate a revoc cert as a desig revoker.
549            
550    2006-04-29  Timo Schulz  <[email protected]>
551    
552            * wptVerifyList.cpp (verlist_build): Adjusted code for new
553            list view interface.
554            * wptSigList.cpp (siglist_build): Likewise.
555            * wptKeyEditDlgs.cpp (showpref_dlg_proc): Correct code
556            to display the preferences of the selected UID. Thanks to Mathias.
557            * wptKeyCacheDlg.cpp (keycache_dlg_proc): Return 1 in case
558            of an error.
559            * wptKeyCache.cpp (gpg_keycache_update_key): Always update
560            the utf8 decoded uid list.
561            * wptImportList.cpp (decode_userid): Do utf8 decoding here.
562            * wptListView.cpp (listview_new): New param for HWND handle.
563            Change all callers.
564            * wptFileManager.cpp (fm_add_sig_stat): Use utf8 decoding.
565            * wptGPGUtil.cpp (gpg_revoke_cert): Support --desig-revoker.
566            * wptClipVerifyDlg.cpp (wptClipVerifyDlg.cpp): Correct
567            keyid extraction.
568            
569    2006-04-28  Timo Schulz  <[email protected]>
570    
571            * wptMAPI.cpp (mapi_send_pubkey): Use new key struct.
572            * wptKeysigDlg.cpp (sigprops_dlg_proc): Prepare dialog
573            for handling policy URLs.
574            * wptKeyManagerDlg.cpp (save_column_info, restore_column_info):
575            New option KMSortBy.
576            * wptKeylist.cpp (get_key_algo): Lower priority for revoked keys.
577            * wptKeyEdit.cpp (minimizeKey): New.
578            * wptKeyCache.cpp (gpg_keycache_update_key): Reload utf8 uid list.
579            
580    2006-04-27  Timo Schulz  <[email protected]>
581    
582            * wptKeyManager.cpp (km_get_key_ptr): New.
583            * wptListview.cpp (listview_get_item_text): Drop utf8 support.
584            * wptKeyCache.cpp (keycache_decode_uids): New.
585            (free_native_uids): New.
586            * wptKeyEdit.cpp (uid_inf_colon_handler): Do utf8 decodig here.
587            
588    2006-04-26  Timo Schulz  <[email protected]>
589    
590            * wptKeylist.cpp (get_keyid_from_fpr): New.
591            * wptDecryptClipDlg.cpp (clip_decrypt_dlg): Use it here.
592            * wptVerifyList.cpp (verlist_add_sig): Likewise.
593            
594    2006-04-25  Timo Schulz  <[email protected]>
595    
596            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Handle IDCANCEL.
597            * wptMDSumDlg.cpp (hash_selected_files): New.
598            (mdsum_dlg_proc): Cleanups.
599            * wptKeysignDlg.cpp (keysign_dlg_proc): Fix segv.
600            
601    2006-04-23  Timo Schulz  <[email protected]>
602    
603            * wptW32API.cpp (SetDlgItemText_utf8): New.
604            (SetWindowText_utf8): New.
605            (GetDlgItemText_utf8): New.
606            * wptListView.cpp (listview_add_sub_item): Internal
607            utf8 support.
608            
609    2006-04-22  Timo Schulz  <[email protected]>
610    
611            * wptKeyEditDlgs.cpp (addrevoker_dlg_proc): Encode
612            revoker name in UTF8.
613            * wptKeysigDlg.cpp (keysig_dlg_proc): Fix utf8 problem
614            with the window title.
615            
616    2006-04-20  Timo Schulz  <[email protected]>
617    
618            * wptUTF8.cpp (native_to_utf8): Use c++ alloc.
619            * wptKeygenDlg.cpp (keygen_dlg_proc): Do not mix c and
620            c++ memory allocation.
621            * wptFileManager.cpp (show_verify_result): Show PKA status
622            if possible.
623            * wptClipVerifyDlg.cpp (get_pka_status): New.
624            (clip_verify_dlg_proc): Show PKA status if possible.
625            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Handle IDCANCEL
626            to use ESC to quit the dialog.
627            * wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Also
628            encode the comment in UTF8. Thanks to Werner and Jan.
629            
630    2006-04-16  Timo Schulz  <[email protected]>
631    
632            * wptHTTP.cpp (getErrorCode): New.
633            (connect): Store winsock error code.
634            * wptGPGMEData.cpp (is_armor_header): New.
635            * wptGPG.cpp (check_gnupg_engine): Free context.
636            (gnupg_backup_keyrings): Do not use global vars.
637            * wptGPGUtil.cpp (gpg_export_seckey): Export in ascii format.
638            
639    2006-04-15  Timo Schulz  <[email protected]>
640    
641            * wptKeyManager.cpp (km_get_key): New.
642            (km_key_show_revoc_info): New.
643            * wptKeyRevokeDlg.cpp (key_revoke_dlg): Cleanups.
644            (on_init_dialog): New.
645            * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Factour
646            out some common code and use km_get_key() instead.
647            * wptKeyEditDlgs.cpp (do_init_keylist): Change second
648            param type. Change all callers.
649            * wptKeyEdit.cpp (addNotation): New.
650            * wptKeyEditCB.cpp (editkey_command_handler): Remove 'step'
651            param everywhere. Change all callers.
652            
653    2006-04-09  Timo Schulz  <[email protected]>
654    
655            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Only return true
656            if the homedir value was changed.
657            * wptGPG.cpp (default_key_from_cache): Only return secret key
658            if public part is available.
659            (set_gnupg_default_key): Fix NULL problem.
660            * wptKeyEditDlgs.cpp (do_editkey_clean): Set update flag.
661            * wptFileCBS.cpp (write_cb, read_cb): Better error handling.
662            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Handle
663            'always-on-top' correctly.
664            * wptKeylist.cpp (keylist_get_recipients): Allocate enough
665            mem to hold all possible keys.
666            (keylist_enum_keys): Likewise.
667            
668    2006-04-08  Timo Schulz  <[email protected]>
669    
670            * wptKeylist.cpp (keylist_get_recipients): Always use utf8 output.
671            * wptKeyserver.cpp (kserver_connect): Fixed proxy support.
672            * wptKeyserverSearchDlg.cpp (fetch_keys): New.
673            * WinPT.cpp (WinMain): if the default key was not found, reset
674            the gpg.conf entry.
675            * wptFileManager.cpp (fm_encrypt_into_zip): Use correct output
676            file name.
677            (show_verify_result): Always use utf8 output.
678            (get_output_file): Case in-sentensive comparison.
679            (fm_assume_onepass_sig): Fixed temp file handling.
680            * wptClipEncryptDlg.cpp (show_invalid_recipients): Fix utf8
681            output.
682            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Fix possible segv.
683            
684    2006-04-07  Timo Schulz  <[email protected]>
685    
686            * wptW32API.cpp (set_clip_text): Change code so it also
687            works again with non-XP systems.
688            
689    2006-04-02  Timo Schulz  <[email protected]>
690    
691            * wptKeyserver.cpp: decrease general threshold for timeout.
692            * wptKeyEditDlgs.cpp (do_editkey_clean): New.
693            
694    2006-04-01  Timo Schulz  <[email protected]>
695    
696            * wptFileVerifyDlg.cpp (file_verify_use_event): Removed.
697            * wptFileManager.cpp (restore_original_name): New.
698            (fm_decrypt): Restore original file name from literal
699            packet if possible.
700            
701    2006-03-31  Timo Schulz  <[email protected]>
702    
703            * wptCommonDlg.cpp (nls_load_langlist): New.
704            (nsl_set_language): New.
705            (nls_dlg_proc): New.
706            (select_language): New. Allow user to select the language.
707            * wptNLS.c (get_gettext_langid): Updated available languages.
708            * WinPT.cpp (WinMain): Allow to select the languag on first
709            start in non-installer environments.
710            * wptVerifyList.cpp (verlist_build): Simplified.
711            (verlist_add_sig_log): Likewise.
712            * wptListview.cpp (listview_set_column_width,
713            listview_get_selected_item): New.
714            * wptKeyManager.cpp (gpg_clip_export): Merged into..
715            (km_clip_export): ..this function.
716            
717    2006-03-30  Timo Schulz  <[email protected]>
718    
719            * wptW32API.cpp (insert_menu_item): New.
720            * wptSigTreeDlg.cpp (create_popup): Use it.
721            (sigtree_dlg_proc): Only show the name of the owner in the title.
722            * wptMainProc.cpp (init_common_controls): Initialize all
723            common controls here.
724            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Drop static
725            keyserver menu concept. Add all keyservers dynamically.
726            
727    2006-03-29  Timo Schulz  <[email protected]>
728    
729            * wptKeyManager.cpp (km_refresh_one_key): Fix problem
730            with preferred keyserver.
731            * wptCommonDlg.cpp (check_URL): Allow non-http URL.
732            * wptKeyEditDlgs.cpp (subkey_subclass_proc,
733            uid_subclass_proc): Disable shortcuts for non keypairs.
734            * wptMainProc.cpp (winpt_main_proc): No user interaction
735            on automatic shutdown. Thanks to Werner.
736            * wptGPGUtil.cpp (xcalloc): New.
737            (gpg_rebuild_cache): Use --batch.
738            
739    2006-03-26  Timo Schulz  <[email protected]>
740    
741            * wptSigTreeDlg.cpp (sigtree_load): Always use UTF8.
742            * wptMainProc.cpp (winpt_main_proc): Reload key cache
743            when the GPG settings were changed.
744            * wptKeygenDlg.cpp (keygen_wizard_dlg_proc,
745            keygen_dlg_proc): Improved check for the email address.
746            * wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Likewise.
747            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Modified design.
748            
749    2006-03-22  Timo Schulz  <[email protected]>
750    
751            * wptClipSignDlg.cpp (on_init_dialog): New.
752            Check that there is at least one useable signing key.
753            * wptSigTreeDlg.cpp (sigtree_load): Correct UTF8 handling.
754            * wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): Show error
755            if needed.
756            
757    2006-03-21  Timo Schulz  <[email protected]>
758    
759            * wptUTF8.cpp (native_to_utf8): Use directly W32 API.
760            (utf8_to_native): Likewise. Remove cp850 conversion.
761            * wptKeyEditDlgs.cpp (do_find_userid): Correct UTF8 handling.
762            * wptKeyManager.cpp (km_delete_keys): Do not reset 'with_seckey'
763            flag.
764            
765    2006-03-20  Timo Schulz  <[email protected]>
766    
767            * wptUTF8.cpp (get_native_charset): Removed.
768            (utf8_to_native): Rewritten.
769            * wptKeyEditDlgs.cpp (do_add_new_userid): Correct charset
770            handling.
771            * wptKeygenCBDlg.cpp (keygen_cb): Do proper reset if needed.
772            
773    2006-03-16  Timo Schulz  <[email protected]>
774    
775            * wptMainProc.cpp (winpt_main_proc): Disable all CryptDisk code.
776            * wptCryptDisk.cpp: Disable code.
777            * wptProxySettingsDlg.cpp (proxy_settings_dlg_proc): Support for
778            NONE proxy protocol.
779            (init_proxy_procotol): Likewise.
780            (read_proxy): Likewise.
781            * wptKeyserverSearchDlg.cpp (on_init_dialog): New.
782            (keyserver_search_dlg_proc): Use it here.
783            * wptKeyserverDlg.cpp (hkp_send_key): Use GPGME wrapper.
784            * wptKeyserver.cpp (kserver_search_end): New.
785            (kserver_search_begin): Be more strict on mem allocation.
786            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Fix 'redraw'
787            problem.
788            * wptAboutDlgs.cpp (about_dlg_proc): Hide 'Help' button.
789            
790    2006-03-12  Timo Schulz  <[email protected]>
791    
792            * wptGPG.cpp (gnupg_load_config): Search for 'ask-cert-expire'.
793            * wptKeyPropsDlg.cpp (display_key_info): Automatically update
794            sym algorithm preferences if needed.
795            * wptKeysignDlg.cpp (date_is_today): New.
796            (keysign_dlg_proc): Only allow to set cert expire date if
797            the option was found.
798            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Allow to set
799            'ask-cert-expire'.
800            
801    2006-03-10  Timo Schulz  <[email protected]>
802    
803            * wptHTTP.c: deleted.
804            * wptHTTP.cpp (wHTTP): Transformed old code into an object.
805            * wptKeyManager.cpp (km_http_import): Use new code.
806            (km_refresh_one_key): Use preferred keyserver if possible.
807            * wptComonDlg.cpp (check_URL): Better conformance checking.
808            * wptKeyEditCB.cpp (cmd_keyserver_handler): By default
809            set keyserver for all userids.
810            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Enable code
811            to set preferred keyserver.
812            * wptKeyCache.cpp (decode_subpacket): New.
813            (gpg_keycache_update_attr): New.
814            * wptGPGUtil.cpp (gpg_find_key_subpacket): New.
815            * wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): Use
816            -1 as an index for all userids.
817            
818    2006-03-07  Timo Schulz  <[email protected]>
819    
820            * WinPT.cpp (set_default_keyserver): New.
821            * wptKeyserver.cpp (kserver_set_socket_timeout): New.
822            (kserver_set_default_keyserver): Initialize default settings
823            if needed.
824            * wptSymEnc.cpp (gpg_encrypt_symmetric): Disallow empty passwords.
825            * wptPassphraseDlg.cpp (request_passphrase): Handle new flag.
826            (passphrase_dlg_proc): Support new safe edit window procedure.
827            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
828            * wptPreferencesDlg.cpp (prefs_dlg_proc): Flush passphrase cache
829            if user disable it.
830            * wptKeylist.cpp (keylist_build): Do not scale images but use
831            original size.
832            * wptListView.cpp (listview_set_image_list): New size params.
833            Change all callers.
834            
835    2006-03-01  Timo Schulz  <[email protected]>
836    
837            * wptW32API.cpp (set_clip_text): Free all memory.
838            
839    2006-02-27  Timo Schulz  <[email protected]>
840    
841            * wptSOCKS.cpp (socks_handshake): New.
842            * wptMainProc.cpp (winpt_main_proc): A dbl-click forces
843            the key manager in teh foreground if possible.
844            * wptHotkey.cpp (hotkey_unregister): Unregister all hotkeys.
845            * wptRegistry.cpp (get_reg_proxy_prefs,
846            set_reg_proxy_prefs): Use directly the proxy context.
847            Changed all callers.
848            * wptProxySettingsDlg.cpp (init_proxy_protocols): New.
849            (keyserver_proxy_dlg_proc): Use directly the proxy context.
850            * wptKeyserver.cpp (kserver_connect): Better proxy support.
851            (kserver_send_request, kserver_recvkey_request): Likewise.
852            * wptKeyserverDlg.cpp (name_from_proto): New.
853            (set_proxy): Adjusted for the new code.
854            
855    2006-02-26  Timo Schulz  <[email protected]>
856    
857            * WinPT.cpp (WinMain): Removed hotkey_modify() code.
858            * wptKeyEditDlgs.cpp (is_idea_protect_algo): Better support
859            v4 keys.
860            * wptKeyserver.cpp (sock_getline): Skip '\r'.
861            (base64_encode): Remove @maxlen param. Changed all callers.
862            (finger_readline): Removed.
863            (finger_recvkey): Use internal functions.
864            * wptSigTreeDlg.cpp (sigtree_dlg_proc): Support a context menu.
865            (show_sigprops): New.
866            (create_popup): New.
867            * wptPreferenceDlg.cpp (prefs_dlg_proc): Cache amount is
868            now in minutes.
869            * wptRegistry.cpp (get_winpt_reg_prefs, set_winpt_reg_prefs):
870            Change code to use hotkeys directly.
871            * wptHotkeys.cpp (hotkeys_enable, hotkey_disable): Likewise.
872            
873    2006-02-24  Timo Schulz  <[email protected]>
874    
875            * wptGPG.cpp (set_gnupg_default_key): Allow to remove entry
876            when parameter is NULL.
877            * wptKeyManager.cpp (check_exist_default_key): New.
878            (km_delete_keys): Check if the default key is still valid,
879            if not delete entry.
880            * wptSigTreeDlg.cpp (sigtree_dlg_proc): Forgot to localize
881            button.
882            
883    2006-02-21  Timo Schulz  <[email protected]>
884    
885            * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Minor
886            cleanups.
887            * wptGPGUtil.cpp (file_extract_recipients): New.
888            (clip_extract_recipients): New.
889            (gpg_get_recipients): New.
890            * wptPassphraseCB.cpp (passphrase_callback_proc): Support
891            external recipient listings.
892            
893    2006-02-15  Timo Schulz  <[email protected]>
894    
895            * wptKeysignDlg.cpp (keysign_dlg_proc): Localize new checkbox.
896            * wptFileStatDlg.cpp (get_s2k_algo): New.
897            * wptFileManagerDlg.cpp (update_status_bar): Use human readable
898            formats.
899            
900    2006-02-14  Timo Schulz  <[email protected]>
901    
902            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Localize 'Cancel'.
903            * wptKeysignDlg.cpp (keysign_dlg_proc): Implement 'Hide Typing'.
904            * wptFileManager.cpp (fm_sym_encrypt): Set cancel.
905            (fm_parse_files): Handle cancel.
906            
907    2006-02-10  Timo Schulz  <[email protected]>
908    
909            * wptKeyPropsDlg.cpp (props_dlg_proc): Removed unused vars.
910            * wptKeyEditDlgs.cpp (do_editkey_check): Use winpt_key_t
911            for the dialog param.
912            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use new list
913            signature dialog by default.
914            * wptKeysigDlg.cpp (sigprops_dlg_proc): Use directly
915            gpgme_key_sig_t as param.
916            (keysig_dlg_proc): Change param for property dialog.
917            * wptSigTreeDlg.cpp (sigtree_load): Skip revoked user-ids
918            and use icons.
919            (sigtree_dlg_proc): Allow to execute old list dialog to
920            edit the signatures.
921            
922    2006-02-09  Timo Schulz  <[email protected]>
923    
924            * wptRegistry.cpp (set_winpt_reg_prefs): Removed keylist mode.
925            * wptNLS.c (gettext_localize_dialog): New.
926            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Add 'Cancel' button
927            to avoid to reload the key cache.
928            * wptClipEncryptDlg.cpp (clipenc_dlg_proc): Drop old 'normal'
929            list mode.
930            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
931            * wptPreferencesDlg.cpp (on_init_dialog): New. Move dialog
932            initiation code to this function.
933            (prefs_dlg_proc): Use it here.
934            
935    2006-02-07  Timo Schulz  <[email protected]>
936    
937            * wptKeyEdit.cpp (setNoPassphrase): New.
938            (getValidDays): New.
939            * wptKeysignDlg.cpp (keysign_dlg_proc): Check on init
940            if the key is protected.
941            * wptKeyEditDlgs.cpp (keyedit_addphoto_dlg_proc): Handle
942            keys without a passphrase.
943            (keyedit_addrevoker_dlg_proc): Likewise.
944            
945    2006-02-04  Timo Schulz  <[email protected]>
946    
947            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Check for
948            at least one ultimately trusted key.
949            * wptKeyManager.cpp (km_refresh_key_from_keyserver):
950            Only check inet connection if we refresh all keys.
951            * wptGPGUtil.cpp (gpg_extract_keys): New.
952            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Use textmode.
953            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
954            * wptClipSignDlg.cpp (get_selected_key): New.
955            (one_key_proc): Use it here.
956            (count_useable_seckeys): New.
957            * wptSigTreeDlg.cpp (sigtree_dlg_proc): New.
958            * wptKeyEditDlgs.cpp (diff_time): Removed.
959            (w32_mktime): New.
960            (keyedit_addsubkey_dlg_proc): Use it here.
961            
962    2006-02-02  Timo Schulz  <[email protected]>
963    
964            * wptW32API.cpp (get_temp_name): New.
965            * wptKeyserver.cpp (ldap_recvkey): Use it here.
966            * wptKeyPropsDlg.cpp (get_photo_tmpname): Likewise.
967            * wptGPGUtil.cpp (create_tempfile): Likewise.
968            * wptImportList.cpp (implist_load): Likewise.
969            * wptKeyCache.cpp (parse_attr_data): Likewise.
970            (w32_tempfile): Removed.
971            * wptGPGME.cpp (check_ultimate_trusted_key): New.
972            
973    2006-01-31  Timo Schulz  <[email protected]>
974    
975            * wptMainProc.cpp (winpt_main_proc): Fix usage of the
976            help system.
977            * wptListView.cpp (listview_set_chkbox_style): New.
978            (listview_get_item_state): Support new checkbox style.
979            (listview_new): Reset flag var.
980            * wptKeylist.cpp (keylist_build): Support new checkbox style.
981            
982    2006-01-30  Timo Schulz  <[email protected]>
983    
984            * WinPT.cpp (check_readonly_attr): New.
985            (load_gpg_env): Use it here.
986            (WinPT): Make the the default key is searched in the
987            secret key cache.
988            Change error message.
989            * wptRegistry.cpp (regist_int_winpt): Make sure
990            the register extension is only offered once to the user.
991            * wptKeyPropsDlg.cpp (get_photo_tmpname): Always use
992            temp directory. Fixed a privilege problem.
993            
994    2006-01-29  Timo Schulz  <[email protected]>
995    
996            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Allow to use ESC
997            to quit dialog.
998            * wptKeysignDlg.cpp (sig_class_dlg_proc): More space for
999            translations. Directly return sig class.
1000            (keysign_dlg_proc): Change msgbox title.
1001            * wptKeyEdit.cpp (signUserid): New.
1002            (getUseridIndex): New.
1003            (getKeyIndex): New.
1004            (getSigIndex): New.
1005            (clear): New.
1006            * wptKeyEditCB.cpp (cmd_sign_handler): Allow to select
1007            user-id first.
1008            * wptKeyEditDlgs.cpp (lookup_cmd): New.
1009            (do_editkey_sign_userid): New.
1010            (do_init_cmdlist): Differ between key pairs and public keys
1011            and allowed actions.
1012            (keyedit_change_ownertrust): Show msgbox on success.
1013            (get_default_key): New.
1014            * wptPassphraseDlg.cpp (request_passphrase): Reset @cancel.
1015            
1016    2006-01-27  Timo Schulz  <[email protected]>
1017    
1018            * WinPT.cpp (WinMain): Set minimal list mode as default.
1019            * wptKeyCache.cpp (gpg_keycache_sync): Handle special v3 keys.
1020            
1021    2006-01-25  Timo Schulz  <[email protected]>
1022    
1023            * wptRegistry.cpp (get_reg_entry_gpg): Return NULL if
1024            the key exist with no value.
1025            * wptMDSumDlg.cpp (mdsum_dlg_proc): Translate string.
1026            * wptKeysignDlg.cpp (do_fill_seclist): Select the
1027            default key if possible.
1028            * wptFirstRunDlg.cpp (firstrun_dlg_proc): Directly
1029            return the choice.
1030            * wptKeylist.cpp (get_key_desc): New.
1031            (keylist_upd_key): Free memory.
1032            * wptKeyCache.cpp (gpg_keycache_get_default_key): New.
1033            (gpg_keycache_set_default_key): New.
1034            * WinPT.cpp (gpg_prefs_ok): New.
1035            (WinMain): Only start gpg prefs if needed.
1036            
1037    2006-01-24  Timo Schulz  <[email protected]>
1038    
1039            * wptKeyManager.cpp (km_dropped_file_import): New.
1040            * wptKeyManagerDlg.cpp (keylist_subclass_proc): Allow
1041            to drop files and try to import them.
1042            (keymanager_dlg_proc): Pass kmi as opaque to the subclass
1043            proc.
1044            
1045    2006-01-23  Timo Schulz  <[email protected]>
1046    
1047            * wptMDSumDlg.cpp (mdsum_dlg_proc): Allow to send output
1048            to the clipboard.
1049            * wptKeyEditDlgs.cpp (keyedit_change_ownertrust): New.
1050            (do_editkey_enable_disable): New.
1051            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Usability fix. Do not
1052            close the dialog if the user cancelled the ownertrust dialog.
1053            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Return TRUE to indicate
1054            an update of any value.
1055            
1056    2006-01-21  Timo Schulz  <[email protected]>
1057    
1058            * wptKeyCache.cpp (keycache_next_key): Handle the case
1059            that there is a secret key without a public part.
1060            * wptKeyserver.cpp (kserver_save_conf): Save ports.
1061            * wptKeyserverDlg.cpp (keyserver_modify_dlg_proc):
1062            Reset keyserver name.
1063            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Just indicate
1064            an update, do not update the cache.
1065            * wptFileManagerDlg.cpp (file_import_dlg_proc): Use one
1066            dialog for both clipboard and file imports.
1067            * wptKeyManager.cpp (km_file_import, km_clip_import):
1068            Changes to support new update system.
1069            (gpg_clip_import): New.
1070            * wptKeyManagerDlg.cpp (km_gui_import): New.
1071            (find_keypos): Rewritten.
1072            (refresh_keylist): Improved error checking.
1073            
1074    2006-01-20  Timo Schulz  <[email protected]>
1075    
1076            * wptKeyCache.cpp (w32_tmpfile): New.
1077            (parse_attr_data): Use it here.
1078            * wptGPGUtil.cpp (gpg_get_photoid_data): Reset @ndata var.
1079            
1080    2006-01-19  Timo Schulz  <[email protected]>
1081    
1082            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Do not
1083            reload the entire cache, just update the key.
1084            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Likewise.
1085            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Set update flag.
1086            * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise.
1087            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Update key
1088            if need after showing the properties.
1089            * wptGPGMEData.cpp (gpg_data_putc): Fix off-by-one bug.
1090            * wptKeyManager.cpp (km_import_file): New param. Changed
1091            all callers.
1092            (km_import_clip): Likewise.
1093            (delete_keys_from_cache): Delete secret part if available.
1094            * wptClipImportDlg.cpp (print_import_status): If there
1095            are too many new keys, use reload code.
1096            
1097    2006-01-18  Timo Schulz  <[email protected]>
1098    
1099            * wptKeyEditCB.cpp (cmd_delsig_handler): Do not assume
1100            the self sig is always index 0. Noted by Kurt.
1101            * wptPassphraseCB.cpp (passphrase_dlg_proc): Do not assume
1102            the key user-ID contains an email address.
1103            * wptKeyEditDlgs.cpp (do_find_userid): Likewise.
1104            (do_editkey_deluid): Likewise.
1105            (do_editkey_revuid): Likewise.
1106            
1107    2006-01-18  Timo Schulz  <[email protected]>
1108    
1109            * wptListview.cpp (listview_del_sel_items): Fixed index
1110            calculation. This fixed a lot of problems with the KM listview
1111            update.
1112            (listview_del_all): Renamed to...
1113            (listview_del_all_items): ..this. Changed all callers.
1114            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Just refresh
1115            list when file import contained new/updated keys.
1116            * wptKeyManager.cpp (km_file_import): Indicate if the
1117            import contained any new/update keys.
1118            * wptClipImportDlg.cpp (print_import_status): Just mark
1119            keys which actually changed.
1120            
1121    2006-01-17  Timo Schulz  <[email protected]>
1122    
1123            * wptMAPI.cpp (mapi_send_pubkey_ext): New.
1124            * wptKeysigDlg.cpp (do_delsig): Just flag the key, do not
1125            update it.
1126            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Be more
1127            careful about const pointers.
1128            * wptKeyEditDlgs.cpp (get_subkey_fingerprint): Renamed to..
1129            (get_subkey_keyid): ..this. Fix problem that key was updated
1130            twice and this corrupted.
1131            (keyedit_add_subkey): Set @lv item in the callback context.
1132            
1133    2006-01-16  Timo Schulz  <[email protected]>
1134    
1135            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Restore
1136            window if it lost focus during the operation. Thanks to Kurt.
1137            Update keylist when the window is enabled.
1138            (find_keypos): New.
1139            * wptKeyCache.cpp (keycache_next_key): Reset update status.
1140            (gpg_keycache_next_updated_key): New arg @r_status. Change all
1141            callers.
1142            (gpg_keycache_update_key): Different status for new and updated.
1143            Include key signatures.
1144            * wptClipImportDlg.cpp (print_import_status): Mark all
1145            imported keys.
1146            * wptMainProc.cpp (clip_gpg_dlg): On import refresh KM keylist.
1147            Thanks to Kurt.
1148            * wptKeysigDlg.cpp (recv_missing_keys): Mark all received keys.
1149            (do_delsig): Directly reload key. Thanks to Kurt.
1150            * wptGPGME.cpp (keycache_set_reload, keycache_get_reload):
1151            Removed.
1152            * wptKeygenDlg.cpp (keygen_dlg_proc): Use new update system.
1153            * wptClipImportDlg.cpp (clip_import_dlg_proc): Return
1154            FALSE if no keys were updated or operation was cancelled.
1155            * wptCommonDlg.cpp (http_dlg_proc): Fix title selection code.
1156            * wptKeylist.cpp (get_ext_validity): Handle disabled keys.
1157            * wptKeyPropsDlg.cpp (keyprops_dlg_proc):
1158            Do not allow to change ownertrust of invalid keys.
1159            Changed translation.
1160            Slightly different user interface.
1161            
1162    2006-11-14  Timo Schulz  <[email protected]>
1163    
1164            * wptW32API.cpp (make_special_filename): New.
1165            * wptRegistry.cpp (set_winpt_reg_prefs, get_winpt_reg_prefs):
1166            Removed 'KeyServer' item.
1167            * wptPreferencesDlg.cpp (prefs_dlg_proc): Remove keyserver
1168            config item.
1169            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Disable group
1170            window until we really use it.
1171            * wptKeyserver.cpp (kserver_save_conf): New.
1172            (wsock_end): Save keyserver config file.
1173            * wptKeyserverDlg.cpp (keyserver_edit): New.
1174            (keyserver_remove): New.
1175            (keyserver_add): New.
1176            (fill_keyserv_types): New.
1177            (keyserver_modify_dlg_proc): New.
1178            (keyserver_dlg_proc): Provide context menu to modify the
1179            keyserver list.
1180            (keyserver_build_list): Remove 'proto' column because it is
1181            not really useful.
1182            * WinPT.cpp (load_keyserver_conf): Store keyserver.conf at
1183            $APPDATA\winpt. If keyserver.conf exists in the current folder
1184            move it to the new destination.
1185            
1186    2006-11-13  Timo Schulz  <[email protected]>
1187    
1188            * wptPreferencesDlg.cpp (prefs_dlg_proc): Changed translation.
1189            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Likewise.
1190            * wptAboutDlgs.cpp (about_dlg_proc): Make sure GPG about
1191            dialog isn't shown twice.
1192            * wptKeyCache.cpp (gpg_keycache_next_updated_key): New.
1193            (gpg_keycache_update_key): Set update flag.
1194            * wptKeyManagerDlg.cpp (refresh_keylist): New.
1195            (keymanager_dlg_proc): Use new refresh system for keyservers.
1196            * wptKeyserverSearchDlg.cpp (kserver_search_dlg_proc):
1197            Update keycache.
1198            * wptKeyserverDlg.cpp (hkp_dlg_proc): Likewise.
1199            * wptKeyserver.cpp (socket_read_ext): New.
1200            (kserver_recv_key_ext): New.
1201            (kserver_read_config, kserver_write_config): Removed.
1202            
1203    2006-01-12  Timo Schulz  <[email protected]>
1204    
1205            * wptListView.cpp (listview_set_image_list): Make icons
1206            always transparent.
1207            * wptImageList.cpp (imagelist_load): New icons.
1208            * wptGPGMEData.cpp (gpg_data_putc): New.
1209            * wptKeyManagerDlg.cpp (load_toolbar): Include new icons.
1210            (keymanager_dlg_proc): Add tooltips.
1211            * wptKeyserverDlg.cpp (keyserver_list_build): Use icons.
1212            * wptKeyserver.cpp (URL_encode): New.
1213            (URL_must_encode): New.
1214            (kserver_search_init): Properly encode pattern.
1215            (parse_iso_date): New.
1216            (keyserver_search): Be more strict to prevent buffer overflows.
1217            
1218    2006-01-11  Timo Schulz  <[email protected]>
1219    
1220            * wptKeyManagerDlg.cpp (load_toolbar): 2 new icons.
1221            (keymanager_dlg_proc): Adjust tooltips.
1222            (update_ui_items): Handle new icons.
1223            * wptImageList.cpp (imagelist_load): New icons.
1224            
1225    2006-01-10  Timo Schulz  <[email protected]>
1226    
1227            * wptMainProc.cpp (winpt_main_proc): Restore iconic
1228            File/Key Manager windows if needed.
1229            * wptGPGPrefsDlg.cpp (gpg_prefs_dlg_proc): Disable button.
1230            * wptSiglist.cpp (init_cmp): New.
1231            (siglist_sort): New.
1232            (siglist_cmp_cb): New.
1233            (siglist_add_key): Force NOKEY status when key was not found.
1234            * wptKeysigDlg.cpp (recv_single_key): New.
1235            (recv_missing_keys): Reload entire key when more than one key
1236            was fetched.
1237            (keysig_dlg_proc): Support sorting the listview items.
1238            
1239    2006-01-09  Timo Schulz  <[email protected]>
1240    
1241            * WinPT.cpp (load_gettext): Remove file locking.
1242            (WinMain): Use pre-defined autoconf constants.
1243            * wptW32API.cpp (init_file_lock, release_file_lock): Deleted.
1244            * wptGPG.cpp (check_gnupg_engine): Add param @need_gpg_ver.
1245            Change all callers.
1246            
1247    2006-01-07  Timo Schulz  <[email protected]>
1248    
1249            * wptKeyManager.cpp (km_refresh_from_keyserver): Summarize
1250            import status if just one key was selected.
1251    
1252    2006-01-04  Timo Schulz  <[email protected]>
1253    
1254            * wptGPGMEWrapper.c (setChangeVersion): New.
1255            (exportToBuffer, exportToFile, exportToClipboard): New.
1256            (setArmor, getArmor): New.
1257            * wptKeylist.cpp (get_key_expire_date): Return locale specific
1258            date.
1259            (keylist_get_recipients): Do not fetch the key again.
1260            (keylist_enum_recipients): Likewise.
1261            * wptGPG.cpp (create_empty_keyring): New.
1262            (get_gnupg_keyring): Fixed 'strict' logic.
1263            * wptKeyManagerDlg.cpp (update_ui_items): Disable some buttons
1264            when no secret keys are available.
1265            * wptKeyManager.cpp (km_send_to_mail_recipient): Release key data
1266            before the MAPI call is made.
1267            * WinPT.cpp (check_for_empty_keyrings): New.
1268            
1269    2006-01-03  Timo Schulz  <[email protected]>
1270    
1271            * pubkey.ico, keypair.ico: New.
1272            * wptListview.cpp (listview_add_item_image): New.
1273            (listview_set_image_list): New.
1274            * wptSigList.cpp (siglist_add_key): Correct order of the sigs.
1275            * wptKeyProps.cpp (keyprops_load_photo): Adjusted for new
1276            JPEG data.
1277            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not allow to
1278            add items to revoked keys.
1279            * wptKeyManager.cpp (km_delete_keys): Do not use uninitialized
1280            keyid buffer. This fixes a segv.
1281            * wptKeyserver.cpp (spawn_application): New.
1282            (ldap_recv_key): Support recent protocols and several cleanups.
1283            * wptKeylist.cpp (do_addkey): Set image which depends on the
1284            key type.
1285            (keylist_enum_recipients): Cleanups.
1286            (keylist_get_keyflags): Rewritten.
1287            * wptKeyCache.cpp (free_attr_list): New.
1288            (parse_attr_list): New.
1289            (parse_attr_data): New.
1290            (keycache_update_photo): New.
1291            (keycache_update_photos): New.
1292            (gpg_keycache_update_key): Automatically reload photos if needed.
1293            * wptGPGUtil.cpp (create_process): New param @err. Change all
1294            callers.
1295            (map_tmpfile): New param @nread. Change all callers.
1296            (gpg_get_photoid_data): New.
1297            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not allow to
1298            add items to revoked keys.
1299            (subkey_init_list): Store gpgme key object.
1300            
1301    2005-12-29  Timo Schulz  <[email protected]>
1302    
1303            * wptKeygenDlg.cpp (keygen_dlg_proc): Request passphrase dynamically.
1304            (gpg_genkey_params): Simplified.
1305            * wptPreferencesDlg.cpp (prefs_dlg_proc): Fix problem with mutal
1306            exclusion of the dialog items.
1307            * wptAboutDlgs.cpp (about_winpt_dlg_proc): Allow to use ESC to
1308            quit the dialog.
1309            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
1310            * wptMDSumDlg.cpp (mdsum_dlg_proc): Handle WM_SYSCOMMAND.
1311            (id2algo): New.
1312    
1313    2005-12-28  Timo Schulz  <[email protected]>
1314    
1315            * wptKeyserverDlg.cpp (show_imported_keys): Decode user IDs.
1316            * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise.
1317            * wptKeylist.cpp (keylist_udp_key): Likewise.
1318            * wptKeyManager.cpp (key_get_clip_info, key_get_info): Likewise.
1319            * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Fix problem
1320            when no signing key was found.
1321            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Properly decode
1322            user IDs.
1323            (translate_popup_strings): s/Revoke/Revoke Cert.
1324            * wptKeyEditDlgs.cpp (do_init_keylist): Do not assume a
1325            0x prefixed keyid.
1326            * wptKeyEditCB.cpp (editkey_command_handler): Also reset
1327            step in case of a bad passphrase.
1328            
1329    2005-12-27  Timo Schulz  <[email protected]>
1330    
1331            * wptListView.cpp (listview_set_view): New.
1332            (listview_del_column): New.
1333            * wptW32API.cpp (get_locale_date): New.
1334            (get_menu_state): New.
1335            (force_foreground_window): New.
1336            * wptVerifyList.cpp (strtimestamp): Support for
1337            locale date formats.
1338            * wptGPGUtil.cpp (gpg_revoke_cert): Handle bad
1339            passphrases.
1340            * wptKeyEditCB.cpp (editkey_command_handler): Immediately
1341            return when a bad passphrase was submitted.
1342            * wptKeyRevokersDlg.cpp (keyrevokers_dlg_proc): Change
1343            column order.
1344            * wptKeylist.cpp (keylist_upd_col): New.
1345            * wptKeyManagerDlg.cpp (update_ui_items): Deactivate
1346            'Revocation' for public keys.
1347            (translate_menu_strings): s/Revoke/Revoke Cert.
1348            (modify_listview_columns): New.
1349            
1350  2005-12-18  Timo Schulz  <[email protected]>  2005-12-18  Timo Schulz  <[email protected]>
1351    
1352          * wptKeyManagerDlg.cpp (save_column_size): New.          * wptKeyManagerDlg.cpp (save_column_size): New.
# Line 1102  Line 2451 
2451    
2452          * WinPT.cpp (load_keyserver_conf): New. Factored out some code          * WinPT.cpp (load_keyserver_conf): New. Factored out some code
2453          from WinMain ().          from WinMain ().
2454          (WinMain): Load keyserver config at the begin. Thanks to Bodo A�ner          (WinMain): Load keyserver config at the begin. Thanks to Bodo Aßner
2455          * wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver          * wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver
2456          in the list control, add at least the internal default HKP server.          in the list control, add at least the internal default HKP server.
2457          * wptKeygenDlg.cpp (keygen_wizard_dlg_proc): NLS support.          * wptKeygenDlg.cpp (keygen_wizard_dlg_proc): NLS support.

Legend:
Removed from v.128  
changed lines
  Added in v.276

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26