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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.46  
changed lines
  Added in v.217

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26