/[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 196 by twoaday, Fri Apr 7 10:47:37 2006 UTC
# Line 1  Line 1 
1  2005-07-22  Timo Schulz  <[email protected]>  2006-04-07  Timo Schulz  <[email protected]>
2    
3          * wptMainProc.cpp (winpt_main_proc): Take care for shutdown          * wptW32API.cpp (set_clip_text): Change code so it also
4          messages and make sure WinPT make a keyring backup in this case.          works again with non-XP systems.
5          * wptGPGME.cpp (keycache_reload): Do not rebuild the signature          
6          cache each time. Just do it on startup.  2006-04-02  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          * wptKeyserver.cpp: decrease general threshold for timeout.
9          was set by the calling function.          * wptKeyEditDlgs.cpp (do_editkey_clean): New.
10          * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups.          
11          (keygen_dlg_proc): Only add the generated key to the keycache  2006-04-01  Timo Schulz  <[email protected]>
12          and do not reload the entire cache.  
13          * wptKeyManager.cpp (km_delete_keys): Store the number of keys          * wptFileVerifyDlg.cpp (file_verify_use_event): Removed.
14          because in each loop iteration it will be new calculated.          * wptFileManager.cpp (restore_original_name): New.
15          * wptListView.cpp (listview_del_items): Likewise.          (fm_decrypt): Restore original file name from literal
16          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the          packet if possible.
17          generated key to the list instead of reloading the entire cache.          
18          * wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn.  2006-03-31  Timo Schulz  <[email protected]>
19    
20            * wptCommonDlg.cpp (nls_load_langlist): New.
21            (nsl_set_language): New.
22            (nls_dlg_proc): New.
23            (select_language): New. Allow user to select the language.
24            * wptNLS.c (get_gettext_langid): Updated available languages.
25            * WinPT.cpp (WinMain): Allow to select the languag on first
26            start in non-installer environments.
27            * wptVerifyList.cpp (verlist_build): Simplified.
28            (verlist_add_sig_log): Likewise.
29            * wptListview.cpp (listview_set_column_width,
30            listview_get_selected_item): New.
31            * wptKeyManager.cpp (gpg_clip_export): Merged into..
32            (km_clip_export): ..this function.
33            
34    2006-03-30  Timo Schulz  <[email protected]>
35    
36            * wptW32API.cpp (insert_menu_item): New.
37            * wptSigTreeDlg.cpp (create_popup): Use it.
38            (sigtree_dlg_proc): Only show the name of the owner in the title.
39            * wptMainProc.cpp (init_common_controls): Initialize all
40            common controls here.
41            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Drop static
42            keyserver menu concept. Add all keyservers dynamically.
43            
44    2006-03-29  Timo Schulz  <[email protected]>
45    
46            * wptKeyManager.cpp (km_refresh_one_key): Fix problem
47            with preferred keyserver.
48            * wptCommonDlg.cpp (check_URL): Allow non-http URL.
49            * wptKeyEditDlgs.cpp (subkey_subclass_proc,
50            uid_subclass_proc): Disable shortcuts for non keypairs.
51            * wptMainProc.cpp (winpt_main_proc): No user interaction
52            on automatic shutdown. Thanks to Werner.
53            * wptGPGUtil.cpp (xcalloc): New.
54            (gpg_rebuild_cache): Use --batch.
55            
56    2006-03-26  Timo Schulz  <[email protected]>
57    
58            * wptSigTreeDlg.cpp (sigtree_load): Always use UTF8.
59            * wptMainProc.cpp (winpt_main_proc): Reload key cache
60            when the GPG settings were changed.
61            * wptKeygenDlg.cpp (keygen_wizard_dlg_proc,
62            keygen_dlg_proc): Improved check for the email address.
63            * wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Likewise.
64            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Modified design.
65            
66    2006-03-22  Timo Schulz  <[email protected]>
67    
68            * wptClipSignDlg.cpp (on_init_dialog): New.
69            Check that there is at least one useable signing key.
70            * wptSigTreeDlg.cpp (sigtree_load): Correct UTF8 handling.
71            * wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): Show error
72            if needed.
73            
74    2006-03-21  Timo Schulz  <[email protected]>
75    
76            * wptUTF8.cpp (native_to_utf8): Use directly W32 API.
77            (utf8_to_native): Likewise. Remove cp850 conversion.
78            * wptKeyEditDlgs.cpp (do_find_userid): Correct UTF8 handling.
79            * wptKeyManager.cpp (km_delete_keys): Do not reset 'with_seckey'
80            flag.
81            
82    2006-03-20  Timo Schulz  <[email protected]>
83    
84            * wptUTF8.cpp (get_native_charset): Removed.
85            (utf8_to_native): Rewritten.
86            * wptKeyEditDlgs.cpp (do_add_new_userid): Correct charset
87            handling.
88            * wptKeygenCBDlg.cpp (keygen_cb): Do proper reset if needed.
89            
90    2006-03-16  Timo Schulz  <[email protected]>
91    
92            * wptMainProc.cpp (winpt_main_proc): Disable all CryptDisk code.
93            * wptCryptDisk.cpp: Disable code.
94            * wptProxySettingsDlg.cpp (proxy_settings_dlg_proc): Support for
95            NONE proxy protocol.
96            (init_proxy_procotol): Likewise.
97            (read_proxy): Likewise.
98            * wptKeyserverSearchDlg.cpp (on_init_dialog): New.
99            (keyserver_search_dlg_proc): Use it here.
100            * wptKeyserverDlg.cpp (hkp_send_key): Use GPGME wrapper.
101            * wptKeyserver.cpp (kserver_search_end): New.
102            (kserver_search_begin): Be more strict on mem allocation.
103            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Fix 'redraw'
104            problem.
105            * wptAboutDlgs.cpp (about_dlg_proc): Hide 'Help' button.
106            
107    2006-03-12  Timo Schulz  <[email protected]>
108    
109            * wptGPG.cpp (gnupg_load_config): Search for 'ask-cert-expire'.
110            * wptKeyPropsDlg.cpp (display_key_info): Automatically update
111            sym algorithm preferences if needed.
112            * wptKeysignDlg.cpp (date_is_today): New.
113            (keysign_dlg_proc): Only allow to set cert expire date if
114            the option was found.
115            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Allow to set
116            'ask-cert-expire'.
117            
118    2006-03-10  Timo Schulz  <[email protected]>
119    
120            * wptHTTP.c: deleted.
121            * wptHTTP.cpp (wHTTP): Transformed old code into an object.
122            * wptKeyManager.cpp (km_http_import): Use new code.
123            (km_refresh_one_key): Use preferred keyserver if possible.
124            * wptComonDlg.cpp (check_URL): Better conformance checking.
125            * wptKeyEditCB.cpp (cmd_keyserver_handler): By default
126            set keyserver for all userids.
127            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Enable code
128            to set preferred keyserver.
129            * wptKeyCache.cpp (decode_subpacket): New.
130            (gpg_keycache_update_attr): New.
131            * wptGPGUtil.cpp (gpg_find_key_subpacket): New.
132            * wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): Use
133            -1 as an index for all userids.
134            
135    2006-03-07  Timo Schulz  <[email protected]>
136    
137            * WinPT.cpp (set_default_keyserver): New.
138            * wptKeyserver.cpp (kserver_set_socket_timeout): New.
139            (kserver_set_default_keyserver): Initialize default settings
140            if needed.
141            * wptSymEnc.cpp (gpg_encrypt_symmetric): Disallow empty passwords.
142            * wptPassphraseDlg.cpp (request_passphrase): Handle new flag.
143            (passphrase_dlg_proc): Support new safe edit window procedure.
144            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
145            * wptPreferencesDlg.cpp (prefs_dlg_proc): Flush passphrase cache
146            if user disable it.
147            * wptKeylist.cpp (keylist_build): Do not scale images but use
148            original size.
149            * wptListView.cpp (listview_set_image_list): New size params.
150            Change all callers.
151            
152    2006-03-01  Timo Schulz  <[email protected]>
153    
154            * wptW32API.cpp (set_clip_text): Free all memory.
155            
156    2006-02-27  Timo Schulz  <[email protected]>
157    
158            * wptSOCKS.cpp (socks_handshake): New.
159            * wptMainProc.cpp (winpt_main_proc): A dbl-click forces
160            the key manager in teh foreground if possible.
161            * wptHotkey.cpp (hotkey_unregister): Unregister all hotkeys.
162            * wptRegistry.cpp (get_reg_proxy_prefs,
163            set_reg_proxy_prefs): Use directly the proxy context.
164            Changed all callers.
165            * wptProxySettingsDlg.cpp (init_proxy_protocols): New.
166            (keyserver_proxy_dlg_proc): Use directly the proxy context.
167            * wptKeyserver.cpp (kserver_connect): Better proxy support.
168            (kserver_send_request, kserver_recvkey_request): Likewise.
169            * wptKeyserverDlg.cpp (name_from_proto): New.
170            (set_proxy): Adjusted for the new code.
171            
172    2006-02-26  Timo Schulz  <[email protected]>
173    
174            * WinPT.cpp (WinMain): Removed hotkey_modify() code.
175            * wptKeyEditDlgs.cpp (is_idea_protect_algo): Better support
176            v4 keys.
177            * wptKeyserver.cpp (sock_getline): Skip '\r'.
178            (base64_encode): Remove @maxlen param. Changed all callers.
179            (finger_readline): Removed.
180            (finger_recvkey): Use internal functions.
181            * wptSigTreeDlg.cpp (sigtree_dlg_proc): Support a context menu.
182            (show_sigprops): New.
183            (create_popup): New.
184            * wptPreferenceDlg.cpp (prefs_dlg_proc): Cache amount is
185            now in minutes.
186            * wptRegistry.cpp (get_winpt_reg_prefs, set_winpt_reg_prefs):
187            Change code to use hotkeys directly.
188            * wptHotkeys.cpp (hotkeys_enable, hotkey_disable): Likewise.
189            
190    2006-02-24  Timo Schulz  <[email protected]>
191    
192            * wptGPG.cpp (set_gnupg_default_key): Allow to remove entry
193            when parameter is NULL.
194            * wptKeyManager.cpp (check_exist_default_key): New.
195            (km_delete_keys): Check if the default key is still valid,
196            if not delete entry.
197            * wptSigTreeDlg.cpp (sigtree_dlg_proc): Forgot to localize
198            button.
199            
200    2006-02-21  Timo Schulz  <[email protected]>
201    
202            * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Minor
203            cleanups.
204            * wptGPGUtil.cpp (file_extract_recipients): New.
205            (clip_extract_recipients): New.
206            (gpg_get_recipients): New.
207            * wptPassphraseCB.cpp (passphrase_callback_proc): Support
208            external recipient listings.
209            
210    2006-02-15  Timo Schulz  <[email protected]>
211    
212            * wptKeysignDlg.cpp (keysign_dlg_proc): Localize new checkbox.
213            * wptFileStatDlg.cpp (get_s2k_algo): New.
214            * wptFileManagerDlg.cpp (update_status_bar): Use human readable
215            formats.
216            
217    2006-02-14  Timo Schulz  <[email protected]>
218    
219            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Localize 'Cancel'.
220            * wptKeysignDlg.cpp (keysign_dlg_proc): Implement 'Hide Typing'.
221            * wptFileManager.cpp (fm_sym_encrypt): Set cancel.
222            (fm_parse_files): Handle cancel.
223            
224    2006-02-10  Timo Schulz  <[email protected]>
225    
226            * wptKeyPropsDlg.cpp (props_dlg_proc): Removed unused vars.
227            * wptKeyEditDlgs.cpp (do_editkey_check): Use winpt_key_t
228            for the dialog param.
229            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use new list
230            signature dialog by default.
231            * wptKeysigDlg.cpp (sigprops_dlg_proc): Use directly
232            gpgme_key_sig_t as param.
233            (keysig_dlg_proc): Change param for property dialog.
234            * wptSigTreeDlg.cpp (sigtree_load): Skip revoked user-ids
235            and use icons.
236            (sigtree_dlg_proc): Allow to execute old list dialog to
237            edit the signatures.
238            
239    2006-02-09  Timo Schulz  <[email protected]>
240    
241            * wptRegistry.cpp (set_winpt_reg_prefs): Removed keylist mode.
242            * wptNLS.c (gettext_localize_dialog): New.
243            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Add 'Cancel' button
244            to avoid to reload the key cache.
245            * wptClipEncryptDlg.cpp (clipenc_dlg_proc): Drop old 'normal'
246            list mode.
247            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
248            * wptPreferencesDlg.cpp (on_init_dialog): New. Move dialog
249            initiation code to this function.
250            (prefs_dlg_proc): Use it here.
251            
252    2006-02-07  Timo Schulz  <[email protected]>
253    
254            * wptKeyEdit.cpp (setNoPassphrase): New.
255            (getValidDays): New.
256            * wptKeysignDlg.cpp (keysign_dlg_proc): Check on init
257            if the key is protected.
258            * wptKeyEditDlgs.cpp (keyedit_addphoto_dlg_proc): Handle
259            keys without a passphrase.
260            (keyedit_addrevoker_dlg_proc): Likewise.
261            
262    2006-02-04  Timo Schulz  <[email protected]>
263    
264            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Check for
265            at least one ultimately trusted key.
266            * wptKeyManager.cpp (km_refresh_key_from_keyserver):
267            Only check inet connection if we refresh all keys.
268            * wptGPGUtil.cpp (gpg_extract_keys): New.
269            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Use textmode.
270            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
271            * wptClipSignDlg.cpp (get_selected_key): New.
272            (one_key_proc): Use it here.
273            (count_useable_seckeys): New.
274            * wptSigTreeDlg.cpp (sigtree_dlg_proc): New.
275            * wptKeyEditDlgs.cpp (diff_time): Removed.
276            (w32_mktime): New.
277            (keyedit_addsubkey_dlg_proc): Use it here.
278            
279    2006-02-02  Timo Schulz  <[email protected]>
280    
281            * wptW32API.cpp (get_temp_name): New.
282            * wptKeyserver.cpp (ldap_recvkey): Use it here.
283            * wptKeyPropsDlg.cpp (get_photo_tmpname): Likewise.
284            * wptGPGUtil.cpp (create_tempfile): Likewise.
285            * wptImportList.cpp (implist_load): Likewise.
286            * wptKeyCache.cpp (parse_attr_data): Likewise.
287            (w32_tempfile): Removed.
288            * wptGPGME.cpp (check_ultimate_trusted_key): New.
289            
290    2006-01-31  Timo Schulz  <[email protected]>
291    
292            * wptMainProc.cpp (winpt_main_proc): Fix usage of the
293            help system.
294            * wptListView.cpp (listview_set_chkbox_style): New.
295            (listview_get_item_state): Support new checkbox style.
296            (listview_new): Reset flag var.
297            * wptKeylist.cpp (keylist_build): Support new checkbox style.
298            
299    2006-01-30  Timo Schulz  <[email protected]>
300    
301            * WinPT.cpp (check_readonly_attr): New.
302            (load_gpg_env): Use it here.
303            (WinPT): Make the the default key is searched in the
304            secret key cache.
305            Change error message.
306            * wptRegistry.cpp (regist_int_winpt): Make sure
307            the register extension is only offered once to the user.
308            * wptKeyPropsDlg.cpp (get_photo_tmpname): Always use
309            temp directory. Fixed a privilege problem.
310            
311    2006-01-29  Timo Schulz  <[email protected]>
312    
313            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Allow to use ESC
314            to quit dialog.
315            * wptKeysignDlg.cpp (sig_class_dlg_proc): More space for
316            translations. Directly return sig class.
317            (keysign_dlg_proc): Change msgbox title.
318            * wptKeyEdit.cpp (signUserid): New.
319            (getUseridIndex): New.
320            (getKeyIndex): New.
321            (getSigIndex): New.
322            (clear): New.
323            * wptKeyEditCB.cpp (cmd_sign_handler): Allow to select
324            user-id first.
325            * wptKeyEditDlgs.cpp (lookup_cmd): New.
326            (do_editkey_sign_userid): New.
327            (do_init_cmdlist): Differ between key pairs and public keys
328            and allowed actions.
329            (keyedit_change_ownertrust): Show msgbox on success.
330            (get_default_key): New.
331            * wptPassphraseDlg.cpp (request_passphrase): Reset @cancel.
332            
333    2006-01-27  Timo Schulz  <[email protected]>
334    
335            * WinPT.cpp (WinMain): Set minimal list mode as default.
336            * wptKeyCache.cpp (gpg_keycache_sync): Handle special v3 keys.
337            
338    2006-01-25  Timo Schulz  <[email protected]>
339    
340            * wptRegistry.cpp (get_reg_entry_gpg): Return NULL if
341            the key exist with no value.
342            * wptMDSumDlg.cpp (mdsum_dlg_proc): Translate string.
343            * wptKeysignDlg.cpp (do_fill_seclist): Select the
344            default key if possible.
345            * wptFirstRunDlg.cpp (firstrun_dlg_proc): Directly
346            return the choice.
347            * wptKeylist.cpp (get_key_desc): New.
348            (keylist_upd_key): Free memory.
349            * wptKeyCache.cpp (gpg_keycache_get_default_key): New.
350            (gpg_keycache_set_default_key): New.
351            * WinPT.cpp (gpg_prefs_ok): New.
352            (WinMain): Only start gpg prefs if needed.
353            
354    2006-01-24  Timo Schulz  <[email protected]>
355    
356            * wptKeyManager.cpp (km_dropped_file_import): New.
357            * wptKeyManagerDlg.cpp (keylist_subclass_proc): Allow
358            to drop files and try to import them.
359            (keymanager_dlg_proc): Pass kmi as opaque to the subclass
360            proc.
361            
362    2006-01-23  Timo Schulz  <[email protected]>
363    
364            * wptMDSumDlg.cpp (mdsum_dlg_proc): Allow to send output
365            to the clipboard.
366            * wptKeyEditDlgs.cpp (keyedit_change_ownertrust): New.
367            (do_editkey_enable_disable): New.
368            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Usability fix. Do not
369            close the dialog if the user cancelled the ownertrust dialog.
370            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Return TRUE to indicate
371            an update of any value.
372            
373    2006-01-21  Timo Schulz  <[email protected]>
374    
375            * wptKeyCache.cpp (keycache_next_key): Handle the case
376            that there is a secret key without a public part.
377            * wptKeyserver.cpp (kserver_save_conf): Save ports.
378            * wptKeyserverDlg.cpp (keyserver_modify_dlg_proc):
379            Reset keyserver name.
380            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Just indicate
381            an update, do not update the cache.
382            * wptFileManagerDlg.cpp (file_import_dlg_proc): Use one
383            dialog for both clipboard and file imports.
384            * wptKeyManager.cpp (km_file_import, km_clip_import):
385            Changes to support new update system.
386            (gpg_clip_import): New.
387            * wptKeyManagerDlg.cpp (km_gui_import): New.
388            (find_keypos): Rewritten.
389            (refresh_keylist): Improved error checking.
390            
391    2006-01-20  Timo Schulz  <[email protected]>
392    
393            * wptKeyCache.cpp (w32_tmpfile): New.
394            (parse_attr_data): Use it here.
395            * wptGPGUtil.cpp (gpg_get_photoid_data): Reset @ndata var.
396            
397    2006-01-19  Timo Schulz  <[email protected]>
398    
399            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Do not
400            reload the entire cache, just update the key.
401            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Likewise.
402            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Set update flag.
403            * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise.
404            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Update key
405            if need after showing the properties.
406            * wptGPGMEData.cpp (gpg_data_putc): Fix off-by-one bug.
407            * wptKeyManager.cpp (km_import_file): New param. Changed
408            all callers.
409            (km_import_clip): Likewise.
410            (delete_keys_from_cache): Delete secret part if available.
411            * wptClipImportDlg.cpp (print_import_status): If there
412            are too many new keys, use reload code.
413            
414    2006-01-18  Timo Schulz  <[email protected]>
415    
416            * wptKeyEditCB.cpp (cmd_delsig_handler): Do not assume
417            the self sig is always index 0. Noted by Kurt.
418            * wptPassphraseCB.cpp (passphrase_dlg_proc): Do not assume
419            the key user-ID contains an email address.
420            * wptKeyEditDlgs.cpp (do_find_userid): Likewise.
421            (do_editkey_deluid): Likewise.
422            (do_editkey_revuid): Likewise.
423            
424    2006-01-18  Timo Schulz  <[email protected]>
425    
426            * wptListview.cpp (listview_del_sel_items): Fixed index
427            calculation. This fixed a lot of problems with the KM listview
428            update.
429            (listview_del_all): Renamed to...
430            (listview_del_all_items): ..this. Changed all callers.
431            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Just refresh
432            list when file import contained new/updated keys.
433            * wptKeyManager.cpp (km_file_import): Indicate if the
434            import contained any new/update keys.
435            * wptClipImportDlg.cpp (print_import_status): Just mark
436            keys which actually changed.
437            
438    2006-01-17  Timo Schulz  <[email protected]>
439    
440            * wptMAPI.cpp (mapi_send_pubkey_ext): New.
441            * wptKeysigDlg.cpp (do_delsig): Just flag the key, do not
442            update it.
443            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Be more
444            careful about const pointers.
445            * wptKeyEditDlgs.cpp (get_subkey_fingerprint): Renamed to..
446            (get_subkey_keyid): ..this. Fix problem that key was updated
447            twice and this corrupted.
448            (keyedit_add_subkey): Set @lv item in the callback context.
449            
450    2006-01-16  Timo Schulz  <[email protected]>
451    
452            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Restore
453            window if it lost focus during the operation. Thanks to Kurt.
454            Update keylist when the window is enabled.
455            (find_keypos): New.
456            * wptKeyCache.cpp (keycache_next_key): Reset update status.
457            (gpg_keycache_next_updated_key): New arg @r_status. Change all
458            callers.
459            (gpg_keycache_update_key): Different status for new and updated.
460            Include key signatures.
461            * wptClipImportDlg.cpp (print_import_status): Mark all
462            imported keys.
463            * wptMainProc.cpp (clip_gpg_dlg): On import refresh KM keylist.
464            Thanks to Kurt.
465            * wptKeysigDlg.cpp (recv_missing_keys): Mark all received keys.
466            (do_delsig): Directly reload key. Thanks to Kurt.
467            * wptGPGME.cpp (keycache_set_reload, keycache_get_reload):
468            Removed.
469            * wptKeygenDlg.cpp (keygen_dlg_proc): Use new update system.
470            * wptClipImportDlg.cpp (clip_import_dlg_proc): Return
471            FALSE if no keys were updated or operation was cancelled.
472            * wptCommonDlg.cpp (http_dlg_proc): Fix title selection code.
473            * wptKeylist.cpp (get_ext_validity): Handle disabled keys.
474            * wptKeyPropsDlg.cpp (keyprops_dlg_proc):
475            Do not allow to change ownertrust of invalid keys.
476            Changed translation.
477            Slightly different user interface.
478            
479    2006-11-14  Timo Schulz  <[email protected]>
480    
481            * wptW32API.cpp (make_special_filename): New.
482            * wptRegistry.cpp (set_winpt_reg_prefs, get_winpt_reg_prefs):
483            Removed 'KeyServer' item.
484            * wptPreferencesDlg.cpp (prefs_dlg_proc): Remove keyserver
485            config item.
486            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Disable group
487            window until we really use it.
488            * wptKeyserver.cpp (kserver_save_conf): New.
489            (wsock_end): Save keyserver config file.
490            * wptKeyserverDlg.cpp (keyserver_edit): New.
491            (keyserver_remove): New.
492            (keyserver_add): New.
493            (fill_keyserv_types): New.
494            (keyserver_modify_dlg_proc): New.
495            (keyserver_dlg_proc): Provide context menu to modify the
496            keyserver list.
497            (keyserver_build_list): Remove 'proto' column because it is
498            not really useful.
499            * WinPT.cpp (load_keyserver_conf): Store keyserver.conf at
500            $APPDATA\winpt. If keyserver.conf exists in the current folder
501            move it to the new destination.
502            
503    2006-11-13  Timo Schulz  <[email protected]>
504    
505            * wptPreferencesDlg.cpp (prefs_dlg_proc): Changed translation.
506            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Likewise.
507            * wptAboutDlgs.cpp (about_dlg_proc): Make sure GPG about
508            dialog isn't shown twice.
509            * wptKeyCache.cpp (gpg_keycache_next_updated_key): New.
510            (gpg_keycache_update_key): Set update flag.
511            * wptKeyManagerDlg.cpp (refresh_keylist): New.
512            (keymanager_dlg_proc): Use new refresh system for keyservers.
513            * wptKeyserverSearchDlg.cpp (kserver_search_dlg_proc):
514            Update keycache.
515            * wptKeyserverDlg.cpp (hkp_dlg_proc): Likewise.
516            * wptKeyserver.cpp (socket_read_ext): New.
517            (kserver_recv_key_ext): New.
518            (kserver_read_config, kserver_write_config): Removed.
519            
520    2006-01-12  Timo Schulz  <[email protected]>
521    
522            * wptListView.cpp (listview_set_image_list): Make icons
523            always transparent.
524            * wptImageList.cpp (imagelist_load): New icons.
525            * wptGPGMEData.cpp (gpg_data_putc): New.
526            * wptKeyManagerDlg.cpp (load_toolbar): Include new icons.
527            (keymanager_dlg_proc): Add tooltips.
528            * wptKeyserverDlg.cpp (keyserver_list_build): Use icons.
529            * wptKeyserver.cpp (URL_encode): New.
530            (URL_must_encode): New.
531            (kserver_search_init): Properly encode pattern.
532            (parse_iso_date): New.
533            (keyserver_search): Be more strict to prevent buffer overflows.
534            
535    2006-01-11  Timo Schulz  <[email protected]>
536    
537            * wptKeyManagerDlg.cpp (load_toolbar): 2 new icons.
538            (keymanager_dlg_proc): Adjust tooltips.
539            (update_ui_items): Handle new icons.
540            * wptImageList.cpp (imagelist_load): New icons.
541            
542    2006-01-10  Timo Schulz  <[email protected]>
543    
544            * wptMainProc.cpp (winpt_main_proc): Restore iconic
545            File/Key Manager windows if needed.
546            * wptGPGPrefsDlg.cpp (gpg_prefs_dlg_proc): Disable button.
547            * wptSiglist.cpp (init_cmp): New.
548            (siglist_sort): New.
549            (siglist_cmp_cb): New.
550            (siglist_add_key): Force NOKEY status when key was not found.
551            * wptKeysigDlg.cpp (recv_single_key): New.
552            (recv_missing_keys): Reload entire key when more than one key
553            was fetched.
554            (keysig_dlg_proc): Support sorting the listview items.
555            
556    2006-01-09  Timo Schulz  <[email protected]>
557    
558            * WinPT.cpp (load_gettext): Remove file locking.
559            (WinMain): Use pre-defined autoconf constants.
560            * wptW32API.cpp (init_file_lock, release_file_lock): Deleted.
561            * wptGPG.cpp (check_gnupg_engine): Add param @need_gpg_ver.
562            Change all callers.
563            
564    2006-01-07  Timo Schulz  <[email protected]>
565    
566            * wptKeyManager.cpp (km_refresh_from_keyserver): Summarize
567            import status if just one key was selected.
568    
569    2006-01-04  Timo Schulz  <[email protected]>
570    
571            * wptGPGMEWrapper.c (setChangeVersion): New.
572            (exportToBuffer, exportToFile, exportToClipboard): New.
573            (setArmor, getArmor): New.
574            * wptKeylist.cpp (get_key_expire_date): Return locale specific
575            date.
576            (keylist_get_recipients): Do not fetch the key again.
577            (keylist_enum_recipients): Likewise.
578            * wptGPG.cpp (create_empty_keyring): New.
579            (get_gnupg_keyring): Fixed 'strict' logic.
580            * wptKeyManagerDlg.cpp (update_ui_items): Disable some buttons
581            when no secret keys are available.
582            * wptKeyManager.cpp (km_send_to_mail_recipient): Release key data
583            before the MAPI call is made.
584            * WinPT.cpp (check_for_empty_keyrings): New.
585            
586    2006-01-03  Timo Schulz  <[email protected]>
587    
588            * pubkey.ico, keypair.ico: New.
589            * wptListview.cpp (listview_add_item_image): New.
590            (listview_set_image_list): New.
591            * wptSigList.cpp (siglist_add_key): Correct order of the sigs.
592            * wptKeyProps.cpp (keyprops_load_photo): Adjusted for new
593            JPEG data.
594            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not allow to
595            add items to revoked keys.
596            * wptKeyManager.cpp (km_delete_keys): Do not use uninitialized
597            keyid buffer. This fixes a segv.
598            * wptKeyserver.cpp (spawn_application): New.
599            (ldap_recv_key): Support recent protocols and several cleanups.
600            * wptKeylist.cpp (do_addkey): Set image which depends on the
601            key type.
602            (keylist_enum_recipients): Cleanups.
603            (keylist_get_keyflags): Rewritten.
604            * wptKeyCache.cpp (free_attr_list): New.
605            (parse_attr_list): New.
606            (parse_attr_data): New.
607            (keycache_update_photo): New.
608            (keycache_update_photos): New.
609            (gpg_keycache_update_key): Automatically reload photos if needed.
610            * wptGPGUtil.cpp (create_process): New param @err. Change all
611            callers.
612            (map_tmpfile): New param @nread. Change all callers.
613            (gpg_get_photoid_data): New.
614            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not allow to
615            add items to revoked keys.
616            (subkey_init_list): Store gpgme key object.
617            
618    2005-12-29  Timo Schulz  <[email protected]>
619    
620            * wptKeygenDlg.cpp (keygen_dlg_proc): Request passphrase dynamically.
621            (gpg_genkey_params): Simplified.
622            * wptPreferencesDlg.cpp (prefs_dlg_proc): Fix problem with mutal
623            exclusion of the dialog items.
624            * wptAboutDlgs.cpp (about_winpt_dlg_proc): Allow to use ESC to
625            quit the dialog.
626            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
627            * wptMDSumDlg.cpp (mdsum_dlg_proc): Handle WM_SYSCOMMAND.
628            (id2algo): New.
629    
630    2005-12-28  Timo Schulz  <[email protected]>
631    
632            * wptKeyserverDlg.cpp (show_imported_keys): Decode user IDs.
633            * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise.
634            * wptKeylist.cpp (keylist_udp_key): Likewise.
635            * wptKeyManager.cpp (key_get_clip_info, key_get_info): Likewise.
636            * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Fix problem
637            when no signing key was found.
638            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Properly decode
639            user IDs.
640            (translate_popup_strings): s/Revoke/Revoke Cert.
641            * wptKeyEditDlgs.cpp (do_init_keylist): Do not assume a
642            0x prefixed keyid.
643            * wptKeyEditCB.cpp (editkey_command_handler): Also reset
644            step in case of a bad passphrase.
645            
646    2005-12-27  Timo Schulz  <[email protected]>
647    
648            * wptListView.cpp (listview_set_view): New.
649            (listview_del_column): New.
650            * wptW32API.cpp (get_locale_date): New.
651            (get_menu_state): New.
652            (force_foreground_window): New.
653            * wptVerifyList.cpp (strtimestamp): Support for
654            locale date formats.
655            * wptGPGUtil.cpp (gpg_revoke_cert): Handle bad
656            passphrases.
657            * wptKeyEditCB.cpp (editkey_command_handler): Immediately
658            return when a bad passphrase was submitted.
659            * wptKeyRevokersDlg.cpp (keyrevokers_dlg_proc): Change
660            column order.
661            * wptKeylist.cpp (keylist_upd_col): New.
662            * wptKeyManagerDlg.cpp (update_ui_items): Deactivate
663            'Revocation' for public keys.
664            (translate_menu_strings): s/Revoke/Revoke Cert.
665            (modify_listview_columns): New.
666            
667    2005-12-18  Timo Schulz  <[email protected]>
668    
669            * wptKeyManagerDlg.cpp (save_column_size): New.
670            (restore_column_size): New.
671            (keymanager_dlg_proc): Save and restore column sizes for
672            the listview control.
673            * wptKeyManager.cpp (key_get_info): New.
674            (km_delete_keys): Use it here to have a consistent message.
675            Use stored key context and not the column data.
676            (km_enable_disable_key): Likewise.
677            (km_send_to_keyserver): Likewise.
678            (km_set_implicit_trust): Likewise.
679            * wptKeylist.cpp (get_key_pubalgo2): New.
680            
681    2005-12-17  Timo Schulz  <[email protected]>
682    
683            * wptUTF8.cpp: Removed unused charset array.
684            * wptSigList.cpp (siglist_build): Increase size for 'class'
685            column.
686            * wptGPG.cpp (get_gnupg_path): Simplified.
687            * WinPT.cpp (load_gpg_env): New.
688            (check_crypto_engine): Return type is now bool.
689            * wptRegistry.cpp (is_gpg4win_installed): New.
690            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): More consistent
691            dialog design.
692            * wptKeyManagerDlg.cpp (translate_menu_strings): New.
693            (translate_popupmenu_strings): New.
694            * wptKeyEditDlgs.cpp (is_jpg_file): New.
695            
696    2005-12-13  Timo Schulz  <[email protected]>
697    
698            * wptCommonDlg.cpp (http_dlg_proc): Localized missing elements.
699            * wptKeyManagerDlg.cpp (change_edit_menu): New.
700            (change_key_menu): Renamed from...
701            (menu_gpg_readonly): ..this.
702            (clip_contains_pgpkey): New.
703            (update_ui_items): Do not allow to sign expired keys.
704            (keymanager_dlg_proc): Same for popup menu.
705            * wptKeyPropsDlg.cpp (parse_preflist): Fixed string handling.
706            * wptKeyCache.cpp (copy_uid_prefs):
707            (gpg_keycache_sync): Copy uid prefs so the key property
708            dialog show the correct values. Thanks to Shane.
709            
710    2005-12-11  Timo Schulz  <[email protected]>
711    
712            * wptW32API.cpp (get_file_version): New.
713            * wptGPGUtil.cpp (create_process): Always hide window.
714            * wptClipEditDlg.cpp (clipedit_dlg_proc): Use 'Close'
715            instead of 'Exit'.
716            * wptKeyManager.cpp (km_http_import): New filename
717            generation code.
718            (km_send_to_mail_recipient): Cleanups.
719            * wptKeyEditDlg.cpp (showpref_dlg_proc): Localize dialog.
720            * wptKeyManagerDlg.cpp (update_ui_items): Handle the case
721            when multiple keys are selected.
722            (popup_multiple): New.
723            * WinPT.cpp (WinMain): Check that the PTD.dll and WinPT.exe
724            file versions are equal. Rewrote --keymanager code.
725            
726    2005-12-08  Timo Schulz  <[email protected]>
727    
728            * wptKeyserverDlg.cpp (show_imported_keys): Enhanced.
729            (hkp_recv_key2): Show user-id of the imported key instead
730            of just the pattern.
731            * wptFileCBS.cpp (read_cb): Changed to W32 API.
732            (write_cb): Likewise. Create output file on demand.
733            (gpg_file_data_new): Adjusted code for new API.
734            * wptKeyEdit.cpp (cleanKey): New.
735            * wptKeyEditCB.cpp (cmd_clean_handler): New.
736            (editkey_command_handler): Call clean handler.
737            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Sort
738            keylist after inserting items.
739            * wptFileManager.cpp (fm_set_status): Take care of
740            cleartext sigs.
741            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Make
742            sure can be closed.
743            
744    2005-12-07  Timo Schulz  <[email protected]>
745    
746            * wptOwnertrustDlg.cpp (ownertrust_dlg_proc):
747            Use 'Close' instead of 'Exit'.
748            * wptKeyEditDlgs.cpp (keyedit_dlg_proc): Likewise.
749            * wptGPG.cpp (gnupg_backup_keyrings): Use $APPDATA
750            as the destination dir. Thanks to Werner.
751            * wptRegistry.cpp (is_gpgee_installed): New.
752            (regist_inst_winpt): Do not register file extensions
753            if GPGee is available.
754            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Limit
755            use of local vars.
756            * wptPreferencesDlg.cpp (prefs_dlg_proc): Make sure
757            no illegal backup mode is saved.
758            * wptKeyserverDlg.cpp (show_imported_key): New.
759            (hkp_recv_key2): Show imported keys if the blob
760            contained more than one.
761            
762    2005-12-06  Timo Schulz  <[email protected]>
763    
764            * WinPT.cpp (WinMain): Load the gettext environment soon
765            as possible so all 'first start' messages are localized.
766            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): If a single key is
767            received via the keyserver, return the gpgme key context on
768            success and add it directly to the list.
769            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Support a param
770            to store the key.
771            (hkp_recv_key2): Add extra param for the fingerprint.
772            (hkp_recv_key): Call hkp_recv_key2 without fingerprint.
773            
774    2005-12-02  Werner Koch  <[email protected]>
775    
776            * wptKeyEditDlgs.cpp (subkey_list_init): Avoid trigraphs.
777    
778    2005-12-01  Timo Schulz  <[email protected]>
779    
780            * wptClipVerifyDlg.cpp (clipverify_dlg_proc): Use new semantic
781            for get_gpg_sigstat().
782            * wptGPGME.cpp (get_gpg_sigstat): New. It is now a function.
783            As a macro strings will not be translated at runtime.
784            * wptKeyserverDlg.cpp (hkp_recv_key): Properly detect if we
785            need to update the cache. Thanks to Jan-Oliver.
786            * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Localized.
787            
788    2005-11-30  Timo Schulz  <[email protected]>
789    
790            * wptW32API.cpp (dialog_box_param): Removed LANG_DE code.
791            * WinPT-en.rc: Removed string list.
792            * wptFileSaveDlg.cpp (file_save_dlg_proc): Localized
793            * wptKeylist.cpp (keylist_build): Cannot use global
794            arrays for the columns due to gettext.
795            
796    2005-11-29  Timo Schulz  <[email protected]>
797    
798            * WinPT.cpp (WinMain): Modify --keymanager. If an instance
799            is running, just send the command to open the manager.
800            
801    2005-11-25  Timo Schulz  <[email protected]>
802    
803            * wptKeyEditCB.cpp (addrev_cmd_handler): Avoid hanging
804            process when the revoker is already there.
805            
806    2005-11-24  Timo Schulz  <[email protected]>
807    
808            * wptPassphraseCB.cpp (passphrase_callback_proc): Localize
809            signing dialog items.
810            * wptMainProc.cpp (confirm_delclip_dlg): Localize dialog items.
811            * wptAboutDlgs.cpp (about_winpt_dlg_proc): Disable help for now.
812            * wptMDSumDlg.cpp (mdsum_dlg_proc): Localize missing items.
813            * wptKeylist.cpp (key_check_validity): Likewise.
814            * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Likewise.
815            
816    2005-11-22  Timo Schulz  <[email protected]>
817    
818            * wptCardEditCB.cpp (gpg_write): Due to removed _DEBUG
819            macro debug output will be generated in release version.
820            
821    2005-11-21  Timo Schulz  <[email protected]>
822    
823            * WinPT.cpp (WinMain): Implement --stop switch.
824            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Localize
825            missing string.
826            * wptPreferencesDlg.cpp (prefs_dlg_proc): Likewise.
827            * wptKeygenDlg.cpp (keygen_dlg_proc): Verify valid context
828            first. Thanks to Ralf.
829            * wptFileManagerDlg.cpp (update_ui_items): New.
830            * wptFileManager.cpp (fm_set_status): New sigmode param.
831            Changed all callers.
832            
833    2005-11-17  Timo Schulz  <[email protected]>
834    
835            * wptGPG.cpp (check_last_gnupg_access): Kludge to avoid that
836            the cache will be loaded twice.
837            * wptRegistry.cpp (regist_inst_winpt): More comments.
838            * wptKeyManagerDlg.cpp (do_center_window): Make sure that
839            neg. coordinates are never used.
840            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Localize all
841            strings.
842            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
843            * wptFileManagerDlg.cpp (filemanager_dlg_proc): Localize menu
844            and save 'AlwaysOnTop' in the registry.
845            
846    2005-11-16  Timo Schulz  <[email protected]>
847    
848            * WinPT.cpp (check_crypto_engine): Min is now GPG 1.4.2.
849            * wptKeylist.cpp (keylist_add_key): Add disabled keys in list
850            mode.
851            * wptPreferencesDlg.cpp (prefs_dlg_proc): Localize all strings.
852            * wptRegistry.cpp (regist_inst_winpt): Set install directory.
853            Useful for other programs to figure out the path to the EXE.
854            
855    2005-11-14  Timo Schulz  <[email protected]>
856    
857            * wptGPG.cpp (check_gnupg_engine): Fix version check.
858            * wptMainProc.cpp (winpt_main_proc): Check keyring
859            file permissions always and do not use interative output
860            when the windows session ends.
861            * wptProxySettingsDlg.cpp (proxy_settings_dlg_proc):
862            Localize all strings.
863            * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.
864            * wptGPGPrefsDlg.cpp (gpg_prefs_dlg): Likewise.
865            * wptKeyEditDlgs.cpp (do_init_keylist): Skip all
866            non-valid keys.
867            
868    2005-11-12  Timo Schulz  <[email protected]>
869    
870            Fix more GCC warnings.
871    
872    2005-11-10  Timo Schulz  <[email protected]>
873    
874            * wptClipSignDlg.cpp (one_key_proc): Use
875            release_gpg_passphrase_cb() to free the context.
876            * wptListView.cpp (listview_deselect_all): New.
877            * wptMAPI.cpp (mapi_send_pubkey): Works again.
878            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Support encrypt &
879            zip.    
880            * wptPassphraseCB.cpp (passphrase_callback_proc): Fix passphrase
881            caching for signing operations.
882            * wptKeyManager.cpp (km_send_to_mail_recipient): Works again.
883            * wptFileManager.cpp (fm_send_file): Likewise.
884            (fm_encrypt_into_zip): New.      
885            
886    2005-11-09  Timo Schulz  <[email protected]>
887    
888            * wptNLS.c (get_gettext_langid): Map user language id to
889            printable gettext language strings.
890            * wptRegistry.cpp (get_reg_entry_mo): Support for the
891            gettext environment.
892            * wptFileManager.cpp (fm_encrypt): Close all files before
893            the wipe procedure is called.
894            * wptVerlist.cpp (verlist_add_sig): Handle the case the
895            issuer is not valid but the signature is.
896            (verlist_add_sig_log): Likewise. Thanks to the folks on
897            winpt-users.
898            
899    2005-11-08  Werner Koch  <[email protected]>
900    
901            * SAFE.ICO, SIGN.ICO: Fixed capitalization.
902            * WinPT-en.rc: Ditto.
903            * winpt_km.ico:  Moved from ../.
904    
905            * Makefile.am (resource_files): Add missing backslash.
906    
907    2005-11-08  Timo Schulz  <[email protected]>
908    
909            More minor changes to avoid GCC warnings.
910            
911            * wptGPG.cpp (check_homedir): Free memory in case of errors.
912            (multi_gnupg_path): Add strict mode. If non-strict mode return
913            the folder even if it does not exist.
914            (check_for_gpgwin): New.
915            * wptKeyserverDlg.cpp (hkp_recv_key): Make sure import_res is
916            initialized.
917            * wptRegistry.cpp (get_reg_entry_gpg4win): New.
918            (get_reg_entry_mo): Support for gpg4win.
919            
920    2005-11-07  Timo Schulz  <[email protected]>
921    
922            * wptMainProc.cpp (winpt_main_proc): Disable
923            some menu items when no secret key is available.
924            
925    2005-11-05  Timo Schulz  <[email protected]>
926    
927            More minor changes to avoid GCC warnings.
928            
929            * wptErrors.cp (winpt_strerror): Return w32
930            formatted error and do not use 'break'.
931            
932    2005-11-04  Werner Koch  <[email protected]>
933    
934            * WinPT-en.rc: Fixed locations of icons.
935    
936    2005-11-03  Timo Schulz  <[email protected]>
937    
938            A lot of minor changes to avoid GCC warnings.
939    
940            * wptGPG.cpp (get_gnupg_keyring): Only check size for
941            public keyring.
942            * wptKeyManager.cpp (km_update_default_key_str): Do
943            not issue a bug message when no secret key was found.
944            * wptGPGPrefsDlg.cpp: Replace "" with NULL in the name struct.
945            
946    2005-11-02  Werner Koch  <[email protected]>
947    
948            * WinPT.cpp (WinMain): Disabled PTD version tests.
949            (check_crypto_engine): Fixed version check for scard.
950    
951            * wptErrors.cpp (debug_end): Add dummy function.
952    
953            * Makefile.am (code_files): Added wptCardEditCB.cpp and
954            wptKeyEditCB.cpp.
955    
956    2005-10-31  Werner Koch  <[email protected]>
957    
958            * wptCurrWnd.cpp: Include wptVersion.h to get prototypes of PTD
959            functions.
960    
961            * wptKeyEditDlgs.cpp: Include oleauto.h
962            * wptKeyEdit.cpp: Include time.h.
963            * wptRegistry.cpp (gpg_filetypes): New from ../Include/wptGPG.h.
964            * wptGPGUtil.cpp (gpg_manage_ownertrust): s/export/exportflag/.
965    
966            * Makefile.am (code_files): Add wptGPGUtil.cpp, wptCardEdit.cpp,
967            wptKeyEdit.cpp and wptKeycache.cpp.
968    
969            * wptPassphraseCB.cpp: Fixed spelling of wptKeylist.h
970            * wptImportList.cpp (implist_load): Use remove and not unlink.
971            * wptGPG.cpp: Fixed spelling of wptGpgCmds.h
972            * wptImportList.cpp (implist_load): Use remove and not unlink.
973            * wptKeyManager.cpp (km_http_import): Ditto
974            * wptMainProc.cpp: Include wptCrypto.h
975            * wptKeyManager.cpp: Ditto.
976            * wptFileManager.cpp: Ditto.
977            * wptImportList.cpp (parse_colon_key): Need to cast argument for
978            isdigit.  Include ctype.h.
979            * wptGPG.cpp: Include shlobj.h.
980    
981            Fixed double inclusion of windows.h.
982            
983            * Makefile.am (bin_PROGRAMS): Don't build KeyManagerExe for now.
984            * wptKeylist.cpp (get_key_created): Broke up trigraph.
985            (get_key_status): Removed dangerous use of sprintf.  Still other
986            flaws present, see comment.
987    
988            * wptCardPCSC.c: Don't include winscard.h.
989            (pcsc_readerstate_t, pcsc_context_t): New.  Changed call users to
990            use these types.
991            (PCSC_): Added a lot of constants, all taked from GnuPG 1.9.
992            (SCARD_S_SUCCESS): Changed all compares to test the value directly
993            against zero.
994    
995            * WinPT.cpp: Include wptCrypto.h.
996            (WinMain): Don't shard S. Removed usunsed variable SIZE.
997            * Makefile.am (code_files): Actually add files by adding a first
998            backslash.
999            * wptMDSumDlg.cpp: Include wptCrypto.h.
1000            * wptProxySettingsDlg.cpp: Included ctype.h.
1001            * wptKeysigDlg.cpp: Fixed spelling of wptKeylist.h.
1002            * wptKeysignDlg.cpp: Ditto
1003            * wptKeyRevokersDlg.cpp: Ditto. Fixed spelling of wptW32API.h.
1004            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Replaced unlink by remove.
1005            Removed unused variable.
1006            * wptClipVerifyDlg.cpp (show_notation_data): s/not/nota/ due to
1007            silly c++ operator synonyms.
1008            * wptKeyEditDlgs.cpp: Include time.h.
1009            * wptClipDecryptDlg.cpp: Include wptCrypto.h to define PGP_MESSAGE.
1010            * wptFileManagerDlg.cpp: Ditto.
1011            (space_wipefrees_dlg_proc): Replaced unlink by remove; it doesn't
1012            matter if it does an rmdir for a directory.
1013    
1014            Fixed include of resource.h which is not anymore in the top
1015            directory.
1016    
1017    2005-10-28  Werner Koch  <[email protected]>
1018    
1019            * wptProxySettingsDlg.cpp (check_number): Cast isdigit() arg to
1020            unsigned.  Never ever use a possible signed char as argument for
1021            ctype tests.  An alternative is to first test using isascii ().
1022            (keyserver_proxy_dlg_proc): Removed unused variable.
1023    
1024    2005-10-27  Timo Schulz  <[email protected]>
1025    
1026            * wptKeyPropsDlg.cpp (get_validity): Take care of disabled keys.
1027            * wptKeylist.cpp (keylist_add_key): Check global key flag to
1028            see if the key is disabled and not each subkey.
1029            (seclist_init): Likewise.
1030            * wptClipDecryptDlg.cpp (gpgme_op_clip_decrypt): Use
1031            gpgme_op_decrypt_verify.
1032            (clip_decrypt_dlg_proc): Fixed fingerprint
1033            to keyid conversation. This also fixes a crash.
1034            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise.
1035            * wptKeyEditDlgs.cpp (do_editkey_expire): Ask if the key
1036            already expired if the user wants to change the date.
1037            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Replace old
1038            'v3 sig' option with the 'ask cert level' option. Sync
1039            with global preferences.
1040            * wptKeySignDlg.cpp (keysign_dlg_proc): Watch if the
1041            gpg.conf contains 'ask-cert-level'. If not disable button.
1042            * wptKeySigDlg.cpp (keysig_dlg_proc): Automatically disable
1043            the button when the key is available.
1044            Reload key directly, not the entire cache.
1045            
1046    2005-10-26  Timo Schulz  <[email protected]>
1047    
1048            * wptFileManager.cpp (is_floppy_disc): Prevent very unlikely but
1049            possible overflow.
1050            (is_openpgp_ext): Compare case insentensive.
1051            (add_single_file): New.
1052            (fm_add_opened_files): Support multi file selection.
1053            * wptKeyPropsDlg.cpp (do_change_ownertrust): Removed.
1054            * wptKeyManager.cpp (km_enable_disable_key): Do not set cache
1055            reload flag. Just update the single key.
1056            * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Remove static var
1057            and disable anonymize recipient for now.
1058    
1059            Begin to port code to GCC. Fix all warning issued by the gcc
1060            compiler.
1061    
1062    2005-10-25  Timo Schulz  <[email protected]>
1063    
1064            * wptGPGUtil.cpp (create_process): Hide window.
1065            * wptKeyPropsDlg.cpp (get_photo_tmpname): New.
1066            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Remove
1067            static var 'enable'.
1068            * wptKeygenDlg.cpp (keygen_dlg_proc): Likewise.
1069            (gpg_genkey_params): Make sure all primary keys are capable
1070            for signing and certification.
1071            * wptKeySigDlg.cpp (is_sig): If no item is selected, return 0.
1072            * wptGPG.cpp (gnupg_access_keyring): Check return value for
1073            NULL. Noted by Ralf.
1074            (get_gnupg_prog): Simplified.
1075            (check_homedir): Fixed. Return 0 when the dir is successfully created.
1076            * wptKeyManagerDlg.cpp (km_file_import): Use the hourglass to
1077            indicate a pending GPG process.
1078            * wptFileManager.cpp (op_begin, op_end): New. Indicate an start
1079            and and of an operation. For now just the cursor changes.
1080            (fm_parse_command_line): Remove debug output. Thanks to Ralf again.
1081            * WinPT.cpp (WinMain): Check if there is already an instance and
1082            set a variable early as possible.
1083            (load_gettext): If a previous instance was found, do not output
1084            any errors. Kudos to Ralf.      
1085    
1086    2005-10-24  Timo Schulz  <[email protected]>
1087    
1088            * wptPassphraseCB.cpp (passphrase_callback_proc): Allow to use
1089            pre-defined recipients.
1090            (release_gpg_passphrase_cb): Release recipients.
1091            * wptKeyPropsDlg.cpp (keyprops_load_photo): Set photo-id
1092            validity if needed.
1093            (keyprops_dlg_proc): Issue a warning if the photo is valid.
1094    
1095    2005-10-23  Timo Schulz  <[email protected]>
1096    
1097            * wptFileManager.cpp (fm_get_file_type): Detect detached sigs.  
1098            * wptKeyList.cpp (keylist_cmp_cb): Take care of expired/revoked keys.
1099            (get_ext_validity): New.
1100            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Several cleanups.
1101            * wptClipEditDlg.cpp (load_clipboard): Factored out some code into
1102            this function.
1103            (load_clipboard_from_file): Likewise.
1104            (save_clipboard_to_file): New.
1105            * wptKeyManagerDlg.cpp (keyprops_dlg_proc): Fix stack overflow.
1106    
1107    2005-10-22  Timo Schulz  <[email protected]>
1108    
1109            Localized a lot of more strings.
1110    
1111            * wptMainProc.cpp (load_smartcard): New.
1112            * wptFileManager.cpp (fm_parse_command_line): Simplify code.
1113            (fm_check_armor_type): Add new arg. Change all callers.
1114            (fm_get_file_type): Likewise.
1115            * wptKeyPropsDlg.cpp (display_key_info): New.  
1116            (keyprops_show_photo): Factored out some code into..
1117            (keyprops_load_photo): ..this function.
1118    
1119    2005-10-21  Timo Schulz  <[email protected]>
1120    
1121            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Use
1122            WM_INITPOPUPMENU to localize popup menu texts.
1123            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
1124            * wptClipSignDlg.cpp (one_key_proc): Use wipememory instead of memset.  
1125    
1126    2005-10-20  Timo Schulz  <[email protected]>
1127    
1128            Now WinPT depends on GPG 1.4.3 and GPGME 1.2.0.
1129    
1130            * wptPassphraseCB.cpp (passphrase_cb): Complete card support.
1131            * wptCardEdit.cpp (genKey): Handle cancel case.
1132            * keycache.c: Renamed into...
1133            * wptKeyCache.cpp: ...this.
1134            * wptW32API.cpp (set_menu_text): Removed unused code.
1135            (set_menu_text_bypos): New.
1136            * wptCrypto.h: New.
1137            * wptMainProc.cpp (winpt_main_proc): Complete localize
1138            menu texts.
1139            * wptErrors.cpp (log_debug): Use a static var so the file
1140            is only opened once.
1141            (debug_end): Cleanup. Currently just close the log file.
1142            * wptErrors.h (wipememory): New.
1143            (sfree_if_alloc): Use it here.
1144            * WinPT.cpp (WinMain): Display the min. GPGME version which
1145            is needed in case of an error.
1146    
1147    2005-10-17  Timo Schulz  <[email protected]>
1148    
1149            Free all memory returned by the GPGME dll with gpgme_free ().
1150    
1151            s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT.
1152    
1153            * wptKeyEdit.cpp (getCardStatus): Remove dummy key.
1154            (list_handler): With user interaction to allow to insert
1155            the card into the reader.
1156            * wptKeyEditCB.cpp (gpg_edit_card): Likewise.
1157            (common_card_handler): Fixed incorrect command string.
1158            * wptKeyPropsDlg.cpp (get_card_type): New.
1159            (keyprops_dlg_proc): Show card information if present.
1160            * wptFileManager.cpp (secret_key_available): Make the code faster.
1161            
1162    
1163    2005-10-16  Timo Schulz  <[email protected]>
1164    
1165            * wptPassphraseCB.cpp (passphrase_cb): Fix problem
1166            with hanging GPG process on cancel.
1167            * keycache.c (gpg_keycache_release): Release all objects.
1168    
1169    2005-10-15  Timo Schulz  <[email protected]>
1170    
1171            * wptCardEdit.cpp (setResult, getResult): New.
1172            (reset): New.
1173            (getCardStatus): Check return codes and release all objects
1174            in case of errors.
1175            * wptCardEditCB.cpp (change_pin_handler): Call reset()
1176            before quit.
1177            (editcard_handler): Likewise.
1178            (common_card_handler): New.
1179            * wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask
1180            the old PIN when 'Hide Typing' is disabled.
1181            * wptPassphraseCB.cpp (passphrase_cb): The card detection
1182            works again. Support to re-enter passphrase.
1183    
1184    2005-10-14  Timo Schulz  <[email protected]>
1185    
1186            * wptCardDlg.cpp (card_status): New fields for the
1187            fingerprint creation time. Display card info as title.
1188            (get_printable_version): New.
1189            * wptCardEditCB.cpp (editcard_handler): Fix problem
1190            with the counter comparison.
1191    
1192    2005-10-11  Timo Schulz  <[email protected]>
1193    
1194            Port to GPGME basically finished.
1195    
1196    2005-09-20  Timo Schulz  <[email protected]>
1197    
1198            * wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc):
1199            Do not use gpgme_recipients_t but the listview directly
1200            to add the selected files.
1201    
1202    2005-09-07  Timo Schulz  <[email protected]>
1203    
1204            * Make sure all GetOpenFileName filters are terminated by \0\0.
1205    
1206    2005-09-01  Timo Schulz  <[email protected]>
1207    
1208            * wptW32API.cpp (center_window): New argument for parent window.
1209            Change all callers.
1210            (center_window2): Likewise.
1211            * GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'.
1212            * wptGPG.cpp (gnupg_backup_options): Remove param. One backup
1213            file is enough. Changed all callers.
1214    
1215    2005-08-15  Timo Schulz  <[email protected]>
1216    
1217            * wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys.
1218            * wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title.
1219            * Make sure the passphrase is always overwritten before it is
1220            freed (or the function returns).
1221            * wptKeyPropDlg.cpp (get_pref_cipher): New.
1222            (keyprops_dlg_proc): Use it here.
1223    
1224    2005-08-06  Timo Schulz  <[email protected]>
1225    
1226            * wptGPGME.cpp (keycache_update): Reload OpenPGP parts
1227            of the secret key.
1228            (keycache_init): cache name of secret keyring.
1229            * wptKeyList.cpp (keylist_upd_key): Do not add long keyid.
1230            (get_key_type): Do not assume 'ultimate' means key pair.
1231            * wptKeyEditDlgs.cpp (diff_time): New.
1232            (keyedit_addsubkey_dlg_proc): Changed design and use
1233            diff_time. Drop checks for invalid keylength (< 1024, > 4096)
1234            because the combo box automatically handles this.
1235            * wptKeyManager.cpp (km_set_implicit_trust): Return error code.
1236            * wptGPG.cpp (get_backup_name): New.
1237            (gnupg_backup_keyrings): Rotate backup names, from 0..3.
1238            * wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory.
1239            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and
1240            not the long keyid.
1241    
1242    2005-08-05  Timo Schulz  <[email protected]>
1243    
1244            * wptListView.cpp (listview_set_item2): New.
1245            * wptKeyManager.cpp (km_check_if_protected): Directly
1246            retrieve gpgme_key_t from the list.
1247            (km_check_key_status): Likewise.        
1248            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use
1249            a human-readable name for secret key export.
1250            Reload just the keys which were affected by updates
1251            (edit-key).
1252            (update_key): New.
1253            * wptKeyList.cpp ((keylist_upd_key): Stripped down
1254            version of keylist_add_key.
1255            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not
1256            reload the keycache here, just flag 'update'. Give the
1257            control to the calling dialog.
1258            * wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t
1259            as parameter. Changed all callers.
1260            Add date of expiration to the key info.
1261            (get_expire_date): New.
1262            Use a checkbox to allow to ask for the cert level.
1263            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload
1264            the cache.
1265    
1266    2005-08-04  Timo Schulz  <[email protected]>
1267    
1268            * wptListView.cpp (listview_scroll): New.
1269            (listview_get_item2): New.
1270            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the
1271            item was found, make it visible with scrolling.
1272            * wptKeyManager.cpp (km_find_key): New.
1273            (keylist_subclass_proc): Support to handle some acceleators.
1274            Strg+{C, P, F, A}.
1275            (km_get_key_status): Get the gpgme_key_t object directly
1276            from the list.
1277            * wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set
1278            the config file (if it exists).
1279            * wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code
1280            to handle the click->activate situation.
1281            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
1282            Support to check the passphrase quality.
1283            * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.
1284            (request_passphrase): Rename 'init' to 'flags' to allow more
1285            options.
1286            * wptMAPI.cpp: Check all *alloc results.
1287            * wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary
1288            passphrase quality check.
1289            * wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file
1290            format and allow to save the checksum in a file.
1291            * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning
1292            when the PGP mode is disabled.
1293            wptKeyEditDlgs.cpp (do_editkey_primary): Return if just
1294            one user-ID exists.
1295            (keyedit_dlg_proc): Fixed index problem.
1296            * wptKeyPropsDlg.cpp (get_validity): New.
1297            (keyprops_dlg_proc): Actually show extended validity if possible.
1298            * wptKeyList.cpp (get_key_fpr): Support for old v3 format.
1299            (do_addkey): Use listview_add_item2 to store key as opaque
1300            param inside the list.
1301            * wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx.
1302            (file_stat_dlg_proc): End dialog if no PGP data was found.
1303            (do_list_packets): Return the number of valid PGP packets
1304            of the file.
1305    
1306    2005-08-02  Timo Schulz  <[email protected]>
1307    
1308            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of
1309            using 'Default Keyserver' add the real keyserver name to
1310            the menu.
1311            The rebuild command does not reload the cache any longer.
1312            Use ATTR_NAME + .asc as the filename and not keyid + .asc.
1313            * wptProxySettingsDlg.cpp (enable_proxy_auth): New.
1314            (keyserver_proxy_dlg_proc): Changed the design a little
1315            and add some additional sanity checks.
1316            * wptGPGParser.cpp (commit_gpg_options): Use W32 line endings.
1317            This fixes the problem that the GPG option dialog does not show
1318            very nice lines.
1319            * wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config.
1320            * wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected
1321            check for 'NOKEY' before asking a keyserver.
1322            * wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag.
1323            If a lot of keys were selected, ask if the user wants to confirm
1324            each delete procedure or allow to cancel the operation.
1325            * wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much
1326            keys the file contain.
1327            * wptKeyList.cpp (get_key_algo): Beautified.
1328            (get_key_status): Drop the "[XYZ] Unknown" format, it is too
1329            confusing for users.
1330            * wptKeyManager.cpp (km_check_key_status): Adjustments for the
1331            new code.
1332            (km_check_for_seckey): Reset utrust parameter. Return -1 for
1333            invalid (exp+rev+dis) keys.
1334    
1335    2005-08-01  Timo Schulz  <[email protected]>
1336    
1337            * wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given
1338            sizes.
1339            (check_IP_or_hostname): New.
1340            (kserver_load_conf): Correct finger URL parsing problem.
1341            (port_from_proto): New.
1342            (keyserver_load_conf): Guess the port.
1343            (keyserver_set_default): Allocate new buffer.
1344            (kserver_load_conf): Likewise.
1345            * wptHTTP.c (parse_reqline, parse_request): Removed.
1346            Use WinPT error code and remove all unused code.
1347            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs.
1348            * wptProxySettingsDlg.cpp (read_proxy): Simple check for
1349            invalid host/IP addresses.
1350            * wptGPG.cpp (multi_gnupg_path): Return allocated buffer.
1351            Changed all callers.
1352            * wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start,
1353            automatically set 'backup to homedir'.
1354            * WinPT.cpp (WinMain): Use desktop window as the parent window
1355            to load 'first-start' dialogs.
1356            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh'
1357            flag after deleting keys.
1358            * wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure
1359            for passing the arguments.
1360            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for
1361            the OptFile. This was responsible for a lot of 'General Errors'
1362            after the first start related to key caching.
1363            Automatically set the gpg binary if possible.
1364    
1365    2005-07-22  Timo Schulz  <[email protected]>
1366    
1367            * wptMainProc.cpp (winpt_main_proc): Take care for shutdown
1368            messages and make sure WinPT make a keyring backup in this case.
1369            * wptGPGME.cpp (keycache_reload): Do not rebuild the signature
1370            cache each time. Just do it on startup.
1371            * wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION.
1372            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag
1373            was set by the calling function.
1374            * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups.
1375            (keygen_dlg_proc): Only add the generated key to the keycache
1376            and do not reload the entire cache.
1377            * wptKeyManager.cpp (km_delete_keys): Store the number of keys
1378            because in each loop iteration it will be new calculated.
1379            * wptListView.cpp (listview_del_items): Likewise.
1380            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the
1381            generated key to the list instead of reloading the entire cache.
1382            * wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn.
1383    
1384  2005-05-09  Timo Schulz  <[email protected]>  2005-05-09  Timo Schulz  <[email protected]>
1385    
1386          * wptCommonDlg.cpp (http_file_dlg_proc): Renamed to..          * wptCommonDlg.cpp (http_file_dlg_proc): Renamed to..
# Line 60  Line 1424 
1424          * wptProxySettingsDlg.cpp (check_number): New.          * wptProxySettingsDlg.cpp (check_number): New.
1425          (read_proxy): Check the entered port number.          (read_proxy): Check the entered port number.
1426          * wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button.          * wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button.
1427            * wptW32API.cpp (get_folder_dlg): Free memory.
1428    
1429  2005-04-11  Timo Schulz  <[email protected]>  2005-04-11  Timo Schulz  <[email protected]>
1430    
# Line 403  Line 1768 
1768    
1769          * WinPT.cpp (load_keyserver_conf): New. Factored out some code          * WinPT.cpp (load_keyserver_conf): New. Factored out some code
1770          from WinMain ().          from WinMain ().
1771          (WinMain): Load keyserver config at the begin. Thanks to Bodo A�ner          (WinMain): Load keyserver config at the begin. Thanks to Bodo Aßner
1772          * wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver          * wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver
1773          in the list control, add at least the internal default HKP server.          in the list control, add at least the internal default HKP server.
1774          * 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.196

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26