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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26